alpha: Do non-default symbols in pt-vfork.S
[platform/upstream/glibc.git] / ChangeLog
1 2014-05-25  Richard Henderson  <rth@twiddle.net>
2
3         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4         define if !NOT_IN_libc.
5         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6         define with non-default symbol versions.
7
8 2014-05-23  Richard Henderson  <rth@twiddle.net>
9
10         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11         (vfork, __vfork): Define via compat_symbol.
12
13         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14         [!HAVE_IFUNC] (vfork_compat): Remove.
15         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16
17 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18
19         [BZ #16978]
20         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
22         variable.
23
24 2014-05-23  Richard Henderson  <rth@twiddle.net>
25
26         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
29         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30
31         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
37         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
39         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
42         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
46         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
47         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
49         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
50         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
52         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
53         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
54         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
55         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
56         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
57         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
58         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
59         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
60         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
61         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
62         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
63         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
64         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
65         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
66         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
67         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
68         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
69         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
70         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
71         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
72         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
73         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
74         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
75         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
76         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
77         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
78         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
79         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
80         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
81         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
82         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
83         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
84         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
85         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
86         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
87
88         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
89         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
90         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
91         before exiting on error.
92         (__libc_vfork): New strong alias.
93         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
94         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
95
96         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
97         that was previously under [RESET_PID].
98         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
99
100         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
101
102 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
103
104         [BZ #16977]
105         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
106         value when x - 1 is zero.
107         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
108         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
109         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
110         0.0L for an argument of 1.0L.
111         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
112         Likewise.
113         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
114         value when x - 1 is zero.
115         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
116         * sysdeps/i386/fpu/libm-test-ulps: Update.
117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
118
119 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
120
121         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
122         alphasort and versionsort.
123
124 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
125
126         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
127         macro.
128         [copysignf]: Likewise.
129
130 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
131
132         * crypt/md5-crypt.c: Fix formatting.
133
134 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
135
136         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
137         (b64_from_24bit): New function.
138
139 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
140
141         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
142         libc_hidden_builtin_def to ifunc.
143         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
144         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
145
146 2014-05-21  Roland McGrath  <roland@hack.frob.com>
147
148         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
149         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
150
151 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
152
153         * nscd/Depend (linuxthreads): Remove.
154         (nptl): Add.
155         * resolv/Depend (linuxthreads): Remove.
156         * rt/Depend (linuxthreads): Remove.
157
158         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
159         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
160         $(common-objpfx)elf/.
161         (link-libc-before-gnulib): Likewise.
162         (elfobjdir): Remove variable.
163         * Makefile (install): Use $(elf-objpfx) instead of
164         $(common-objpfx)elf/.
165         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
166         $(elfobjdir)/.
167         (link-libc-deps): Likewise.
168         ($(common-objpfx)libc.so): Likewise.
169         ($(common-objpfx)linkobj/libc.so): Likewise.
170         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
171         instead of $(common-objpfx)elf/.
172         (symbolic-link-list): Likewise.
173         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
174         [$(cross-compiling) = no]: Likewise.
175         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
176         $(elfobjdir)/.
177         (static-gnulib-arch): Likewise.
178         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
179         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
180         $(common-objpfx)elf/.
181
182 2014-05-21  Richard Henderson  <rth@redhat.com>
183
184         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
185         (SINGLE_THREAD_P): Use the correct width load.  Fold
186         into the ldr offset.
187
188         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
189         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
190
191 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
192
193         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
194         (libgcc_s_resume): Use __attribute_used__.
195         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
196         Likewise.
197
198 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
199
200         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
201         optimization when used with float constants.
202
203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
204
205 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
206
207         [BZ #16915]
208         * locale/nl_langinfo_l.c: Make direct reference to every
209         _nl_current_CATEGORY symbol.
210         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
211         (tests-static): Add tst-langinfo-static.
212         (tests-special): Add tst-langinfo-static.out.
213         ($(objpfx)tst-langinfo.out): Redirect output.
214         ($(objpfx)tst-langinfo-static.out): New.
215         * localedata/tst-langinfo.sh: Send output to stdout.
216         * localedata/tst-langinfo-static.c: New file.
217
218         [BZ #16965]
219         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
220         when the shift amount is modulo the limb size.
221
222 2014-05-20  Richard Henderson  <rth@redhat.com>
223
224         [BZ #16967]
225         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
226         Change type of sa_flags from unsigned int to int.
227
228         [BZ #16966]
229         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
230
231         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
232
233 2014-05-20  Will Newton  <will.newton@linaro.org>
234
235         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
236         Test the return value of the system call in the nocancel case.
237
238 2014-05-20  Will Newton  <will.newton@linaro.org>
239             Yvan Roux  <yvan.roux@linaro.org>
240
241         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
242         #include of asm/ptrace.h.
243         (PTRACE_GET_THREAD_AREA): Remove #undef.
244         (PTRACE_GETHBPREGS): Likewise.
245         (PTRACE_SETHBPREGS): Likewise.
246         (struct user_regs_struct): New structure.
247         (struct user_fpsimd_struct): New structure.
248         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
249         #include of asm/ptrace.h and second #include of sys/user.h.
250         (PTRACE_GET_THREAD_AREA): Remove #undef.
251         (PTRACE_GETHBPREGS): Likewise.
252         (PTRACE_SETHBPREGS): Likewise.
253         (ELF_NGREG): Use new struct user_regs_struct.
254         (elf_fpregset_t): Use new struct user_fpsimd_struct.
255
256 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
257
258         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
259         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
260
261 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
262
263         [BZ #16958]
264         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
265         membar to avoid block loads/stores to overlap previous stores.
266
267 2014-05-17  Richard Henderson  <rth@redhat.com>
268
269         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
270         Create the __##syscall_name##_nocancel entry point.
271         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
272         Remove; let the sysdep-cancel.h code create it.
273
274 2014-05-17  David S. Miller  <davem@davemloft.net>
275
276         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
277         Protect with __USE_GNU.
278         (TIOCSET_TEMPT): Likewise.
279         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
280         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
281         these are already provided in bits/ioctl-types.h
282
283 2014-05-16  Roland McGrath  <roland@hack.frob.com>
284
285         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
286         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
287
288         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
289         Use wait4 regardless of [__NR_waitpid].
290
291 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
292
293         PR libgcc/60166
294         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
295         (_FP_NANSIGN_Q): Set the quiet bit.
296
297 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
298
299         * benchtests/Makefile
300         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
301         not $(common-objpfx)math/libm.so.
302         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
303         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
304         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
305         $(common-objpfx)dlfcn/libdl.so.
306         ($(objpfx)tst-audit8): Depend on $(libm), not
307         $(common-objpfx)math/libm.so.
308         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
309         not $(common-objpfx)dlfcn/libdl.so.
310         * math/Makefile
311         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
312         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
313         [$(build-shared) = yes].
314         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
315         $(common-objpfx)nptl/libpthread.so.
316         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
317         $(common-objpfx)math/libm.so$(libm.so-version) or
318         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
319         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
320         $(common-objpfx)dlfcn/libdl.so.
321         * setjmp/Makefile (link-libm): Remove variable.
322         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
323         * stdio-common/Makefile (link-libm): Remove variable.
324         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
325         * stdlib/Makefile (link-libm): Remove variable.
326         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
327         ($(objpfx)tst-strtod-round): Likewise.
328         ($(objpfx)tst-tininess): Likewise.
329         ($(objpfx)tst-strtod-underflow): Likewise.
330         ($(objpfx)tst-strtod6): Likewise.
331         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
332         $(libdl), not $(common-objpfx)nptl/libpthread.so and
333         $(common-objpfx)dlfcn/libdl.so.
334
335 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
336
337         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
338         BSD terminal modes definitions.
339
340 2014-05-16  Roland McGrath  <roland@hack.frob.com>
341
342         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
343         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
344
345         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
346         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
347         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
348         Don't do #include_next.
349         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
350         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
351         Don't do #include_next.
352         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
353         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
354         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
355         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
356
357 2014-05-16  Allan McRae  <allan@archlinux.org>
358
359         * po/sv.po: Update Swedish translation from translation project.
360
361         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
362         in sed expression.
363
364 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
365
366         [BZ #16917]
367         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
368         errno if the TIOCGPTN ioctl fails with an error different than
369         EINVAL.
370         * login/tst-ptsname.c: New file.
371         * login/Makefile (tests): Add tst-ptsname.
372
373         [BZ #16943]
374         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
375         and prlimit64.
376
377 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
378
379         [BZ #16849]
380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
381         herrno to return EAI_AGAIN.
382
383 2014-05-14  Roland McGrath  <roland@hack.frob.com>
384
385         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
386         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
387         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
388         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
389         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
390         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
391         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
392         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
393         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
394         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
395         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
396         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
397         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
398         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
399         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
400         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
401         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
402         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
403         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
404         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
405         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
406         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
407         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
408         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
409         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
410         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
411         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
412         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
413         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
414         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
416         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
418         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
420         Moved ...
421         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
423         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
425         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
427         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
429         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
431         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
433         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
435         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
437         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
439         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
441         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
443         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
445         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
447         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
449         Moved ...
450         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
452         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
454         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
456         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
458         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
460         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
462         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
464         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
466         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
468         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
470         Moved ...
471         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
473         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
474
475         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
476         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
477         (libpthread-sysdep_routines): Add elision-related stuff here instead.
478         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
479         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
480         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
481         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
482         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
483         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
484         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
485         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
486         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
487         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
488         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
489         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
490         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
491         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
492         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
493         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
494         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
495         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
496         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
497         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
498         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
499         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
500         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
501         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
502         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
503         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
504         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
505         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
506
507         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
508         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
509
510         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
511         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
512         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
513         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
514         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
515         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
516         Moved ...
517         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
518         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
519         Moved ...
520         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
521         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
522         Moved ...
523         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
524         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
525         Moved ...
526         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
527         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
528         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
529         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
530         Moved ...
531         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
532         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
533         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
534         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
535         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
536         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
537         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
538         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
539         Moved ...
540         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
541         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
542         Moved ...
543         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
544         ... here.
545         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
546         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
547         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
548         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
549         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
550         Moved ...
551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
552         ... here.
553         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
554         Moved ...
555         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
556         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
557         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
558         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
559         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
560         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
561         Moved ...
562         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
563         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
564         Moved ...
565         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
566         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
567         Moved ...
568         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
569         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
570         Moved ...
571         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
572         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
573         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
574         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
575         Moved ...
576         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
577         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
578         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
579         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
580         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
581         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
582         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
583         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
584         Moved ...
585         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
586         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
587         Moved ...
588         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
589         ... here.
590         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
591         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
592         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
593         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
594         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
595         Moved ...
596         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
597         ... here.
598         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
599         Moved ...
600         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
601         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
602         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
603         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
604         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
605         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
606         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
607         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
608         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
609         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
610         Moved ...
611         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
612         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
613         Moved ...
614         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
615         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
616         Moved ...
617         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
618         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
619         Moved ...
620         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
621         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
622         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
623         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
624         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
625         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
626         Moved ...
627         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
628         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
629         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
630         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
631         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
632         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
633         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
634         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
635         Moved ...
636         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
637         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
638         Moved ...
639         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
640         ... here.
641         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
642         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
643         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
644         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
645         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
646         Moved ...
647         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
648         ... here.
649         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
650         Moved ...
651         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
652         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
653         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
654         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
655         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
656         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
657         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
658         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
659         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
660         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
661         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
662
663         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
664         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
665
666         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
667         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
668
669         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
670         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
671         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
672         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
673         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
674         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
675         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
676         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
677         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
678         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
679         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
680         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
681         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
682         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
683         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
685         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
686         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
687         Moved ...
688         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
689         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
690         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
691         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
692         Moved ...
693         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
694         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
695         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
696         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
697         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
698         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
699         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
700         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
701         Moved ...
702         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
703         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
704         Moved ...
705         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
707         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
708         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
709         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
710         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
711         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
712         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
713         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
714         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
715         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
716         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
717         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
718         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
719         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
720         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
721         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
722
723         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
724         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
725         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
726         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
727         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
728
729         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
730         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
731         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
732         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
733         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
734         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
735         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
736         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
737         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
738         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
739
740         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
741         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
742
743         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
744         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
745         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
746         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
747         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
748         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
749         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
750         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
751         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
752         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
753         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
754         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
755         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
756         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
758         Update #include.
759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
760         Likewise.
761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
762         Likewise.
763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
764         Likewise.
765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
766         Likewise.
767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
768         Likewise.
769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
770         Likewise.
771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
772         Likewise.
773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
774         Likewise.
775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
776         Likewise.
777         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
778         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
779         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
781         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
782         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
783         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
784         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
785         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
787         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
788         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
789         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
790         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
791         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
792
793         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
794         that was previously under [RESET_PID].
795         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
796         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
797         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
798
799         * sysdeps/i386/nptl/Implies: New file.
800         * sysdeps/x86_64/nptl/Implies: New file.
801         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
802         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
803         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
804         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
805
806         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
807         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
808         (__libc_vfork): New strong alias.
809         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
810         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
811
812         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
813         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
814         (__libc_vfork): New strong alias.
815         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
816         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
817
818         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
819         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
820         (__libc_vfork): New strong alias.
821         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
822         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
823         * nptl/pt-vfork.c: New file.
824         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
825         (libpthread: GLIBC_2.20): New version set (empty).
826
827 2014-05-14  Will Newton  <will.newton@linaro.org>
828
829         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
830         rather than #if.
831
832 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
833
834         [BZ #16564]
835         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
836         arguments with exponent 65 or above.
837         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
838         arguments 0x1p113L or above.
839         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
840         to arguments 0x1p107L or above.
841         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
842         positive arguments with exponent 65 or above.
843         * math/auto-libm-test-in: Add more tests of log1p.
844         * math/auto-libm-test-out: Regenerated.
845
846         [BZ #16928]
847         * math/s_cacos.c (__cacos): Ensure zero real part of result from
848         non-finite arguments is +0.
849         * math/s_cacosf.c (__cacosf): Likewise.
850         * math/s_cacosl.c (__cacosl): Likewise.
851         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
852         * sysdeps/i386/fpu/libm-test-ulps: Update.
853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
854
855         [BZ #16927]
856         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
857         value.
858         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
859         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
860         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
861         for explicit high bit of mantissa when testing for argument equal
862         to 1.
863         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
864         * sysdeps/i386/fpu/libm-test-ulps: Update.
865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
866
867         [BZ #16516]
868         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
869         (__erf): Scale by 16 instead of 8 in potentially underflowing
870         case.  Ensure exception if result actually underflows.
871         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
872         (__erff): Scale by 16 instead of 8 in potentially underflowing
873         case.  Ensure exception if result actually underflows.
874         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
875         (efx8): Remove variable.
876         (__erfl): Scale by 16 instead of 8 in potentially underflowing
877         case.  Ensure exception if result actually underflows.
878         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
879         (efx8): Remove variable.
880         (__erfl): Scale by 16 instead of 8 in potentially underflowing
881         case.  Ensure exception if result actually underflows.
882         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
883         (efx8): Remove variable.
884         (__erfl): Scale by 16 instead of 8 in potentially underflowing
885         case.  Ensure exception if result actually underflows.
886         * math/auto-libm-test-in: Add more tests of erf.
887         * math/auto-libm-test-out: Regenerated.
888
889 2014-05-14  Andreas Schwab  <schwab@suse.de>
890
891         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
892         Remove code conditionalized on USE___THREAD.
893
894         * config.h.in (HAVE_PT_CHOWN): Define as 0.
895         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
896         not definedness.
897
898 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
899
900         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
901         Define unconditionally.
902         (__ASSUME_O_CLOEXEC): Likewise.
903         (__ASSUME_SOCK_CLOEXEC): Likewise.
904         (__ASSUME_IN_NONBLOCK): Likewise.
905         (__ASSUME_PIPE2): Likewise.
906         (__ASSUME_EVENTFD2): Likewise.
907         (__ASSUME_SIGNALFD4): Likewise.
908         (__ASSUME_DUP3): Likewise.
909         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
910         (__ASSUME_DUP3): Do not define.
911         (__ASSUME_EVENTFD2): Likewise.
912         (__ASSUME_IN_NONBLOCK): Likewise.
913         (__ASSUME_O_CLOEXEC): Likewise.
914         (__ASSUME_PIPE2): Likewise.
915         (__ASSUME_SIGNALFD4): Likewise.
916         (__ASSUME_SOCK_CLOEXEC): Likewise.
917         (__ASSUME_UTIMES): Undefine.
918         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
919         (__ASSUME_UTIMES): Do not define.
920         (__ASSUME_O_CLOEXEC): Likewise.
921         (__ASSUME_SOCK_CLOEXEC): Likewise.
922         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
923         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
924         0x020621].
925         (__ASSUME_PIPE2): Likewise.
926         (__ASSUME_EVENTFD2): Likewise.
927         (__ASSUME_SIGNALFD4): Likewise.
928         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
929         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
930         Do not define.
931         (__ASSUME_EVENTFD2): Likewise.
932         (__ASSUME_SIGNALFD4): Likewise.
933         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
934         (__ASSUME_32BITUIDS): Likewise.
935         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
936         (__ASSUME_IPC64): Likewise.
937         (__ASSUME_ST_INO_64_BIT): Likewise.
938         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
939         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
940         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
941         (__ASSUME_UTIMES): Do not define.
942         (__ASSUME_PSELECT): Likewise.
943         (__ASSUME_PPOLL): Likewise.
944         (__ASSUME_O_CLOEXEC): Likewise.
945         (__ASSUME_SOCK_CLOEXEC): Likewise.
946         (__ASSUME_IN_NONBLOCK): Likewise.
947         (__ASSUME_PIPE2): Likewise.
948         (__ASSUME_EVENTFD2): Likewise.
949         (__ASSUME_SIGNALFD4): Likewise.
950         (__ASSUME_DUP3): Likewise.
951         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
952         (__ASSUME_UTIMES): Likewise.
953         (__ASSUME_O_CLOEXEC): Likewise.
954         (__ASSUME_SOCK_CLOEXEC): Likewise.
955         (__ASSUME_IN_NONBLOCK): Likewise.
956         (__ASSUME_PIPE2): Likewise.
957         (__ASSUME_EVENTFD2): Likewise.
958         (__ASSUME_SIGNALFD4): Likewise.
959         (__ASSUME_DUP3): Likewise.
960         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
961         (__ASSUME_UTIMES): Likewise.
962         (__ASSUME_O_CLOEXEC): Likewise.
963         (__ASSUME_SOCK_CLOEXEC): Likewise.
964         (__ASSUME_IN_NONBLOCK): Likewise.
965         (__ASSUME_PIPE2): Likewise.
966         (__ASSUME_EVENTFD2): Likewise.
967         (__ASSUME_SIGNALFD4): Likewise.
968         (__ASSUME_DUP3): Likewise.
969         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
970         Likewise.
971         (__ASSUME_UTIMES): Likewise.
972         (__ASSUME_EVENTFD2): Likewise.
973         (__ASSUME_SIGNALFD4): Likewise.
974         * sysdeps/unix/sysv/linux/tile/kernel-features.h
975         (__ASSUME_O_CLOEXEC): Likewise.
976         (__ASSUME_SOCK_CLOEXEC): Likewise.
977         (__ASSUME_IN_NONBLOCK): Likewise.
978         (__ASSUME_PIPE2): Likewise.
979         (__ASSUME_EVENTFD2): Likewise.
980         (__ASSUME_SIGNALFD4): Likewise.
981         (__ASSUME_DUP3): Likewise.
982         (__ASSUME_UTIMES): Undefine.
983
984         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
985         feclearexcept.  Remove symbol versioning code.
986         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
987         symbol versioning code.
988         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
989         symbol versioning code.
990         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
991         feupdateenv.  Remove symbol versioning code.
992         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
993         fegetexceptflag.  Remove symbol versioning code.
994         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
995         fesetexceptflag.  Remove symbol versioning code.
996         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
997         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
998         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
999         (__posix_fadvise64_l32): Remove prototype.
1000         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1001         code.
1002
1003 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1004
1005         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1006         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1007         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1008         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1009
1010 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
1011
1012         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1013         current working directory
1014
1015 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1016
1017         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1018         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1019         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1020         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1021         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1022         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1023         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1024         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1025         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1026         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1027         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1028         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1029         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1030         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1031         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1032         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1033         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1034         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1035         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1036         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1037         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1038         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1039         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1040         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1041         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1042         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1043         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1044         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1045         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1046         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1047         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1048         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1049         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1050         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1051         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1052         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1053         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1054         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1055         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1056         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1057         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1058         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1059
1060         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1061         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1062
1063         * sysdeps/unix/sysv/linux/arm/Makefile
1064         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1065         Add rt-aeabi_unwind_cpp_pr1.
1066         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1067         Add nptl-aeabi_unwind_cpp_pr1.
1068         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1069         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1070         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1071         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1072         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1073         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1074
1075         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1076         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1077         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1078         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1079
1080         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1081         Deconditionalize the code that was previously under [RESET_PID].
1082         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1083
1084         * sysdeps/generic/exit-thread.h: New file.
1085         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1086         * include/unistd.h (__exit_thread): Remove declaration.
1087         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1088         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1089         * csu/libc-start.c: Include <exit-thread.h>.
1090         (LIBC_START_MAIN): Pass no argument to __exit_thread.
1091         * nptl/pthread_create.c: Include <exit-thread.h>.
1092         (start_thread): Call __exit_thread in place of __exit_thread_inline.
1093         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1094         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1095         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1096         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1097         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1098         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1099         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1100         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1101         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1102         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1103         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1104         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1105         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1106         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1107         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1108         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1109
1110 2014-05-13  Andreas Schwab  <schwab@suse.de>
1111
1112         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1113
1114 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
1115
1116         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1117         (__ASSUME_UTIMES): Do not condition on kernel version.
1118         (__ASSUME_PSELECT): Define unconditionally.
1119         (__ASSUME_PPOLL): Likewise.
1120         (__ASSUME_ATFCTS): Likewise.
1121         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1122         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1123         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1124         (__ASSUME_UTIMENSAT): Define unconditionally.
1125         (__ASSUME_PRIVATE_FUTEX): Likewise.
1126         (__ASSUME_FALLOCATE): Likewise.
1127         (__ASSUME_O_CLOEXEC): Likewise.
1128         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1129         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1130         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1131         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1132         (__ASSUME_IN_NONBLOCK): Likewise.
1133         (__ASSUME_PIPE2): Likewise.
1134         (__ASSUME_EVENTFD2): Likewise.
1135         (__ASSUME_SIGNALFD4): Likewise.
1136         (__ASSUME_DUP3): Likewise.
1137         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1138         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1139         (__ASSUME_AT_RANDOM): Likewise.
1140         (__ASSUME_PREADV): Likewise.
1141         (__ASSUME_PWRITEV): Likewise.
1142         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1143         (__ASSUME_F_GETOWN_EX): Define unconditionally.
1144         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1145         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1146         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1147         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1148         (__ASSUME_O_CLOEXEC): Define unconditionally.
1149         (__ASSUME_PSELECT): Do not undefine conditionally.
1150         (__ASSUME_PPOLL): Likewise.
1151         (__ASSUME_ATFCTS): Likewise.
1152         (__ASSUME_SET_ROBUST_LIST): Likewise.
1153         (__ASSUME_UTIMENSAT): Likewise.
1154         (__ASSUME_FDATASYNC): Define unconditionally.
1155         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1156         (__ASSUME_SIGFRAME_V2): Likewise.
1157         )__ASSUME_EVENTFD2): Likewise.
1158         (__ASSUME_SIGNALFD4): Likewise.
1159         (__ASSUME_PSELECT): Do not undefine conditionally.
1160         (__ASSUME_PPOLL): Likewise.
1161         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1162         (__ASSUME_PSELECT): Define unconditionally.
1163         (__ASSUME_PPOLL): Likewise.
1164         (__ASSUME_O_CLOEXEC): Likewise.
1165         (__ASSUME_SOCK_CLOEXEC): Likewise.
1166         (__ASSUME_IN_NONBLOCK): Likewise.
1167         (__ASSUME_PIPE2): Likewise.
1168         (__ASSUME_EVENTFD2): Likewise.
1169         (__ASSUME_SIGNALFD4): Likewise.
1170         (__ASSUME_DUP3): Likewise.
1171         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1172         (__ASSUME_O_CLOEXEC): Likewise.
1173         (__ASSUME_SOCK_CLOEXEC): Likewise.
1174         (__ASSUME_IN_NONBLOCK): Likewise.
1175         (__ASSUME_PIPE2): Likewise.
1176         (__ASSUME_EVENTFD2): Likewise.
1177         (__ASSUME_SIGNALFD4): Likewise.
1178         (__ASSUME_DUP3): Likewise.
1179         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1180         (__ASSUME_EVENTFD2): Likewise.
1181         (__ASSUME_SIGNALFD4): Likewise.
1182         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1183
1184 2014-05-12  Andreas Schwab  <schwab@suse.de>
1185
1186         [BZ #16932]
1187         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1188         (_nss_nis_gethostbyname4_r): Return error if item length is larger
1189         than maximum RPC packet size.
1190         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1191         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1192         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1193         (_nss_nis_getservbyport_r): Likewise.
1194
1195 2014-05-12  Will Newton  <will.newton@linaro.org>
1196
1197         * malloc/Makefile (tests): Add tst-mallopt.
1198         * malloc/tst-mallopt.c: New file.
1199
1200 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1201
1202         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1203         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1204
1205 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1206
1207         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1208         (tst-tlsmod6.so): Likewise.
1209
1210 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1211
1212         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1213
1214 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
1215
1216         [BZ #16064]
1217         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1218         and <dl-procinfo.h>.
1219         (__fegetenv): Save SSE state in envp->__eip if supported.
1220         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1221         envp->__eip if supported.
1222         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1223         and <dl-procinfo.h>.
1224         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1225         __data_offset and __data_selector in environment to 0.  Set SSE
1226         state if supported.
1227         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1228         test-fenv-sse.
1229         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1230         -mfpmath=sse.
1231         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1232
1233 2014-05-09  Will Newton  <will.newton@linaro.org>
1234
1235         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1236         and libc_relro_required for ARM.
1237         * sysdeps/arm/preconfigure: Regenerate.
1238
1239 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1240             Stefan Liebler  <stli@linux.vnet.ibm.com>
1241
1242         * config.make.in (enable-lock-elision): New Makefile variable.
1243         * configure.ac: Likewise.
1244         * configure: Regenerate.
1245         * sysdeps/s390/configure.ac:
1246         Add check for gcc transactions support.
1247         * sysdeps/s390/configure: Regenerate.
1248         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1249         Build elision files if enabled.
1250         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1251         Add lock elision support for s390.
1252         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1253         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1254         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1255         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1256         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1257         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1258         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1259         Likewise.
1260         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1261         Likewise.
1262         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1263         Likewise.
1264         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1265         Likewise.
1266         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1267         (__lll_timedlock_elision, __lll_lock_elision)
1268         (__lll_unlock_elision, __lll_trylock_elision)
1269         (lll_timedlock_elision, lll_lock_elision)
1270         (lll_unlock_elision, lll_trylock_elision): Add.
1271         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1272         (pthread_mutex_t): Add lock elision support for s390.
1273
1274 2014-05-14  Wilco  <wdijkstr@arm.com>
1275
1276         * sysdeps/arm/fclrexcpt.c: Cleanup.
1277         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1278         * sysdeps/arm/feenablxcpt.c: Cleanup.
1279         * sysdeps/arm/fegetenv.c: Cleanup.
1280         * sysdeps/arm/fegetexcept.c: Cleanup.
1281         * sysdeps/arm/fegetround.c: Cleanup.
1282         * sysdeps/arm/feholdexcpt.c: Cleanup.
1283         * sysdeps/arm/fesetenv.c: Cleanup.
1284         * sysdeps/arm/fesetround.c: Cleanup.
1285         * sysdeps/arm/feupdateenv.c: Cleanup.
1286         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1287         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1288         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1289         * sysdeps/arm/ftestexcept.c: Cleanup.
1290         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1291         * sysdeps/arm/setfpucw.c: Cleanup.
1292
1293 2014-05-09  Will Newton  <will.newton@linaro.org>
1294
1295         * sysdeps/arm/armv7/strcmp.S: New file.
1296         * NEWS: Mention addition of ARMv7 optimized strcmp.
1297
1298 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1299
1300         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1301         look for %.ac rather than %.in.
1302
1303         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1304         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1305         * sysdeps/mach/hurd/configure: Regenerated.
1306         * sysdeps/unix/sysv/linux/configure: Regenerated.
1307
1308         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1309
1310 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1311
1312         [BZ# 16922]
1313         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1314         (LONG_SUB): Ditto.
1315         (PTR_SUB): Ditto.
1316
1317 2014-05-07  Andreas Schwab  <schwab@suse.de>
1318
1319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1320         when skipping over non-matching result from nscd.
1321
1322 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1323
1324         [BZ #16876]
1325         * nptl/sockperf.c (client): Check socket return value.
1326
1327         [BZ #16877]
1328         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1329         nscd security class.
1330
1331 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1332
1333         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1334         * sysdeps/arm/unwind.h: ... here.
1335
1336 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1337
1338         [BZ# 16916]
1339         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1340         Define.
1341
1342 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1343
1344         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1345         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1346         multiarch strncpy for PPC64.
1347         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1348         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1350         multiarch optimizations.
1351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1352         (__libc_ifunc_impl_list): Likewise.
1353         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1354         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1355         multiarch stpncpy for PPC64.
1356         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1357         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1358
1359 2014-05-06  Andreas Schwab  <schwab@suse.de>
1360
1361         [BZ #16912]
1362         * gmon/mcount.c (_MCOUNT_DECL): Use
1363         atomic_compare_and_exchange_bool_acq instead of
1364         catomic_compare_and_exchange_bool_acq.
1365
1366 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1367
1368         * elf/Makefile (others, install-bin): Remove pldd.
1369         (pldd-modules): Variable removed.
1370         ($(objpfx)pldd): Target removed.
1371         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1372         (others, install-bin): Append pldd here.
1373         ($(objpfx)pldd): New target.
1374
1375         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1376         to 0, so the first #if test emitted later doesn't see it undefined.
1377         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1378         * sysdeps/gnu/errlist.c: Regenerated.
1379
1380 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1381
1382         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1383         [libc_hidden_builtin_def]: Define to empty value.
1384         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1385         [libc_hidden_builtin_def]: Likewise.
1386         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1387         [libc_hidden_builtin_def]: Likewise.
1388         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1389         [libc_hidden_builtin_def]: Likewise.
1390         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1391         __redirect_memcpy and define ifunc as default hidden symbol.
1392         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1393         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1394
1395 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1396
1397         * locale/iso-4217.def: Reintroduce XDR currency.
1398
1399 2014-05-04  Allan McRae  <allan@archlinux.org>
1400
1401         * po/eo.po: Update Esperanto translation from translation project.
1402
1403 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1404
1405         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1406         and FEATURE_INDEX_MAX to 1.
1407         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1408
1409 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1410
1411         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1412         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1413         * iconvdata/big5.c (ONE_DIRECTION): Define.
1414         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1415         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1416         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1417         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1418         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1419         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1420         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1421         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1422         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1423         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1424         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1425         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1426         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1427         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1428         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1429         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1430         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1431         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1432         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1433         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1434         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1435         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1436         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1437         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1438         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1439         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1440         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1441         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1442         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1443         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1444         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1445         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1446         * iconvdata/johab.c (ONE_DIRECTION): Define.
1447         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1448         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1449         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1450         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1451         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1452         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1453         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1454         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1455         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1456         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1457
1458 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1459
1460         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1461         (_IO_JUMPS_OFFSET): Define to 0.
1462
1463         * nptl/sysdeps/pthread/bits/libc-lock.h
1464         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1465         (__libc_lock_define_initialized_recursive): Always define using
1466         initializer.  Modern compilers treat uninitialized (implicit zero) and
1467         explicit zero initializers the same (i.e. put the datum in bss).
1468
1469 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1470
1471         * nscd/nscd-client.h: Include <string.h>.
1472
1473 2014-05-01  David S. Miller  <davem@davemloft.net>
1474
1475         [BZ #16885]
1476         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1477         multiple zero bytes exist at the end of a string.
1478         Reported by Aurelien Jarno <aurelien@aurel32.net>
1479
1480         * string/test-strcmp.c (check): Add explicit test for situations where
1481         there are multiple zero bytes after the first.
1482
1483 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1484
1485         [BZ #16890]
1486         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1487         when compiling wprintf.
1488         * stdio-common/tstdiomisc.c (t3): New function.
1489         (main): Call it.
1490
1491 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1492
1493         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1494         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1495         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1496         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1497
1498 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1499
1500         * stdlib/longlong.h: Updated from GCC.
1501
1502 2014-05-01  Will Newton  <will.newton@linaro.org>
1503             Bernard Ogden  <bernie.ogden@linaro.org>
1504
1505         * NEWS: Update fixed bug list.
1506
1507         [BZ #15119]
1508         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1509
1510 2014-04-30  David S. Miller  <davem@davemloft.net>
1511
1512         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1513         (libc_feholdexcept_setround_sparc_ctx): New function.
1514         (libc_fesetenv_sparc_ctx): Likewise.
1515         (libc_feupdateenv_sparc_ctx): Likewise.
1516         (libc_feholdsetround_sparc_ctx): Likewise.
1517         (libc_feholdexcept_setround_ctx): Define.
1518         (libc_feholdexcept_setroundf_ctx): Likewise.
1519         (libc_feholdexcept_setroundl_ctx): Likewise.
1520         (libc_fesetenv_ctx): Likewise.
1521         (libc_fesetenvf_ctx): Likewise.
1522         (libc_fesetenvl_ctx): Likewise.
1523         (libc_feupdateenv_ctx): Likewise.
1524         (libc_feupdateenvf_ctx): Likewise.
1525         (libc_feupdateenvl_ctx): Likewise.
1526         (libc_feresetround_ctx): Likewise.
1527         (libc_feresetroundf_ctx): Likewise.
1528         (libc_feresetroundl_ctx): Likewise.
1529         (libc_feholdsetround_ctx): Likewise.
1530         (libc_feholdsetroundf_ctx): Likewise.
1531         (libc_feholdsetroundl_ctx): Likewise.
1532
1533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1534         with __USE_GNU instead of XOPEN cpp guards.
1535
1536         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1537         0.
1538
1539         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1540         with XOPEN cpp guards.
1541
1542 2014-04-30  Julian Brown  <julian@codesourcery.com>
1543
1544         [BZ #16888]
1545         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1546         handling.
1547
1548 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1549
1550         [BZ #9894]
1551         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1552         Change to 2.6.32.
1553         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1554         * sysdeps/unix/sysv/linux/configure: Regenerated.
1555         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1556         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1557         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1558         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1559         * README: Update reference to required Linux kernel version.
1560         * manual/install.texi (Linux): Update reference to required Linux
1561         kernel headers version.
1562         * INSTALL: Regenerated.
1563
1564         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1565         header inclusion.
1566         [POSIX] (limits.h): Likewise.
1567         [POSIX] (math.h): Likewise.
1568         [POSIX] (sys/wait.h): Likewise.
1569         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1570         function.
1571         [POSIX] (stddef.h): Do not allow header inclusion.
1572
1573 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1574
1575         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1576
1577 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1578
1579         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1580         Return immediately after lll_futex_wake.
1581
1582 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1583
1584         [BZ #16791]
1585         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1586         structure.
1587         (datahead_init_pos): Call datahead_init_common early.
1588         (datahead_init_neg): Likewise.
1589
1590         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1591         datahead_init_neg): New functions.
1592         * nscd/aicache.c (addhstaiX): Use them.
1593         * nscd/grpcache.c (cache_addgr): Likewise.
1594         * nscd/hstcache.c (cache_addhst): Likewise.
1595         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1596         * nscd/netgroupcache.c (do_notfound): Likewise.
1597         (addgetnetgrentX): Likewise.
1598         (addinnetgrX): Likewise.
1599         * nscd/pwdcache.c (cache_addpw): Likewise.
1600         * nscd/servicescache.c (cache_addserv): Likewise.
1601
1602 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1603             Atsushi Onoe  <atsushi@onoe.org>
1604
1605         [BZ #14308]
1606         [BZ #12994]
1607         [BZ #13651]
1608         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1609         one response is valid.
1610         * resolv/res_send.c (send_dg): Check for validity of other
1611         response if the current response is a referral.
1612
1613 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1614
1615         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1616
1617 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1618
1619         [BZ #16823]
1620         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1621         Always divide by positive zero when computing -Inf result.
1622         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1623         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1624
1625 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1626
1627         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1628         FPSCR if value do not change.
1629         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1630         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1631         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1632         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1633         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1634         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1635         function.
1636
1637 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1638
1639         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1640         * sysdeps/unix/sysv/linux/hppa: Move directory from
1641         ports/systeps/unix/sysv/linux/hppa.
1642         * README: Update listing for hppa-*-linux-gnu.
1643
1644 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
1645
1646         [BZ #16754]
1647         * manual/stdio.texi (Hook functions): Fix types of stream hook
1648         functions.
1649         [BZ #16854]
1650         * socket/sys/socket.h: Fix typo in comment.
1651
1652 2014-04-28  Wilco  <wdijkstr@arm.com>
1653
1654         * sysdeps/arm/fenv_private.h: New file.
1655         * sysdeps/arm/math_private.h: New file.
1656         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1657
1658 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
1659
1660         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1661         with __int128_t.
1662         (La_x86_64_retval): Likewise.
1663
1664 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
1665
1666         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1667         fpsr if value didn't change.
1668         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1669         to fpcr if value didn't change.
1670         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1671         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1672         fpsr or fpcr if value didn't change.
1673         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1674         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1675         fpcr if value didn't change.
1676         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1677         to fpsr if value didn't change.
1678
1679 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1680
1681         * nptl/tst-sem3.c: Use test-skeleton.c
1682         (main): Rename to do_test.  Use return instead of
1683         exit.
1684         * nptl/tst-sem4.c: Use test-skeleton.c
1685         (main): Rename to do_test.
1686
1687 2014-04-22  David S. Miller  <davem@davemloft.net>
1688
1689         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1690         (struct sigaction): New struct member __glibc_reserved0, change
1691         type of sa_flags to int.
1692
1693 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
1694
1695         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1696         (COUNT_LEADING_ZEROS_0): Define for AArch64.
1697
1698 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1699
1700         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1701         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1702
1703 2014-04-22  Will Newton  <will.newton@linaro.org>
1704             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1705
1706         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1707         (__longjmp): Add longjmp and longjmp_target SystemTap
1708         probes.
1709         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1710         (__sigsetjmp): Add setjmp SystemTap probe.
1711
1712 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
1713
1714         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1715         match manual order.
1716
1717 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1718
1719         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1720
1721         * sysdeps/powerpc/fpu/fenv_private.h
1722         (libc_feholdexcept_setroundl_ctx): Define to
1723         libc_feholdexcept_setround_ppc_ctx.
1724         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1725         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1726         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1727         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1728
1729 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1730
1731         * sysdeps/aarch64/math-tests.h: New file.
1732
1733 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
1734
1735         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1736         New.
1737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1738         Check and set bit_AVX2_Usable.
1739         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1740         macro.
1741         (bit_AVX2): Likewise.
1742         (index_AVX2_Usable): Likewise.
1743         (CPUID_AVX2): Likewise.
1744         (HAS_AVX2): Likewise.
1745
1746 2014-04-17  Will Newton  <will.newton@linaro.org>
1747
1748         * manual/setjmp.texi (System V contexts): Add note that
1749         calling setcontext on a context created by a call to a
1750         signal handler is undefined.  Update text to note that
1751         setcontext from a signal handler is possible but not
1752         recommended.
1753
1754         [BZ #16629]
1755         * stdlib/tst-setcontext.c: Include signal.h.
1756         (main): Check that the signal stack before and
1757         after swapcontext is the same.
1758
1759         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1760         Re-implement to restore registers in user code and avoid
1761         rt_sigreturn system call.
1762
1763 2014-04-17  Wilco  <wdijkstr@arm.com>
1764
1765         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1766         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1767         * math/test-fenv.c: Skip exception trap tests on targets which only
1768         support non-stop mode.
1769
1770 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1771             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1772
1773         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1774         (libc_feholdsetround_aarch64_ctx)
1775         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1776         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1777         (libc_feresetround_ctx, libc_feresetroundf_ctx)
1778         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1779         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1780         (libc_feresetround_noexl_ctx): Define.
1781
1782 2014-04-16  Richard Henderson  <rth@redhat.com>
1783
1784         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1785
1786         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1787         unwind tables.
1788
1789         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1790         const from the non-libc, non-ldso copy.
1791
1792         * sysdeps/alpha/libm-test-ulps: Regenerate.
1793
1794 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
1795             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1796
1797         * sysdeps/aarch64/fpu/math_private.h: New file.
1798
1799 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1800
1801         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1802
1803 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
1804
1805         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1806         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1808         Intel MPX bound registers before _dl_profile_fixup.
1809         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1810         registers after _dl_profile_fixup.  Save and restore bound
1811         registers bnd0/bnd1 when calling _dl_call_pltexit.
1812         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1813         (LR_BND_OFFSET): Likewise.
1814         (LRV_BND0_OFFSET): Likewise.
1815         (LRV_BND1_OFFSET): Likewise.
1816
1817 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1818
1819         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1820         to...
1821         * sysdeps/mach/hurd/i386/tls.h: ... here.
1822         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1823         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1824         fields.
1825
1826 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1827
1828         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1829
1830 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1831
1832         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1833
1834 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1835
1836         [BZ #14770]
1837         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1838         * sysdeps/s390/configure: Regenerate.
1839
1840         [BZ #16824]
1841         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1842         Set round-to-nearest internally to reduce error accumulation.
1843
1844 2014-04-16  Alan Modra  <amodra@gmail.com>
1845
1846         [BZ #16740]
1847         [BZ #16619]
1848         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1849         * math/libm-test.inc (frexp_test_data): Add tests.
1850         * NEWS: Update fixed bug list.
1851
1852 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1853
1854         * benchtests/Makefile: Depend on libraries in build directory.
1855         (bench-math): Separate out math tests.
1856         (bench-pthread): Separate out pthread tests.
1857         (bench): Include math and pthread tests.
1858
1859 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
1860
1861         [BZ #16831]
1862         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1863         _dl_debug_initialize.
1864
1865         * configure.ac: Remove SELinux header check.
1866         * configure: Regenerate.
1867         * nscd/selinux.c (perms): Array of const char* to permission names.
1868         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1869         default policy. Call string_to_security_class and string_to_av_perm to
1870         translate strings. Enforce default policy and call avs_has_perm with
1871         results of translated strings.
1872
1873 2014-04-13  David S. Miller  <davem@davemloft.net>
1874
1875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1876
1877 2014-04-12  Allan McRae  <allan@archlinux.org>
1878
1879         [BZ #16838]
1880         * manual/string.texi (Collation Functions): Fix qsort argument
1881         order in example.
1882         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1883
1884 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1885
1886         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1887         Make the test a no-op if there are no exceptions defined.
1888
1889 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1890
1891         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1892         enable-hardcoded-path-in-tests
1893
1894 2014-04-11  Will Newton  <will.newton@linaro.org>
1895
1896         * benchtests/Makefile (extra-objs): Add json-lib.o.
1897         (bench-func): Tidy up JSON output.
1898         * benchtests/bench-skeleton.c: Include json-lib.h.
1899         (main): Use JSON library functions to do output of
1900         benchmark results.
1901         * benchtests/bench-timing-type.c (main): Output the
1902         timing type simply, leaving formatting to the user.
1903         * benchtests/json-lib.c: New file.
1904         * benchtests/json-lib.h: Likewise.
1905
1906 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1907
1908         [BZ #15215]
1909         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1910         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1911         memory barriers.  Add comments.
1912         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1913         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1914         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1915         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1916         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1917         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1918
1919 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1920
1921         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1922         * sysdeps/s390/s390-64/configure.ac: ... this ...
1923         * sysdeps/s390/configure.ac: ... to here.
1924         * sysdeps/s390/s390-32/configure: Delete file.
1925         * sysdeps/s390/s390-64/configure: Delete file.
1926         * sysdeps/s390/configure: Regenerate.
1927
1928 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1929
1930         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1931
1932 2014-04-11  Will Newton  <will.newton@linaro.org>
1933
1934         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1935         to zero if it is not defined elsewhere.  (mtrim): Test
1936         the value of MALLOC_DEBUG with #if rather than #ifdef.
1937
1938 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1939
1940         * benchtests/pthread_once-inputs: New file.
1941         * benchtests/pthread_once-source.c: New file.
1942         * benchtests/README: Update documentation.
1943
1944 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1945             H.J. Lu  <hongjiu.lu@intel.com>
1946
1947         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1948         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1949         * sysdeps/x86_64/configure: Regenerated.
1950         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1951         macro.
1952         (REGISTER_SAVE_RAX): Likewise.
1953         (REGISTER_SAVE_RCX): Likewise.
1954         (REGISTER_SAVE_RDX): Likewise.
1955         (REGISTER_SAVE_RSI): Likewise.
1956         (REGISTER_SAVE_RDI): Likewise.
1957         (REGISTER_SAVE_R8): Likewise.
1958         (REGISTER_SAVE_R9): Likewise.
1959         (REGISTER_SAVE_BND0): Likewise.
1960         (REGISTER_SAVE_BND1): Likewise.
1961         (REGISTER_SAVE_BND2): Likewise.
1962         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1963         bound registers when calling _dl_fixup.
1964
1965 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1966
1967         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1968         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1969         of its definition.
1970         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1971         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1972         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1973         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1974         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1975         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1976         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1977
1978 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
1979
1980         [BZ #15514]
1981         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1982         pathconf(_PC_NAME_MAX).
1983
1984 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1985
1986         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1987         Remove macro usage.
1988         (__PTHREAD_SPINS): Move definition to ...
1989         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1990         (__PTHREAD_SPINS): ... here.
1991         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1992         (__PTHREAD_SPIN): Likewise.
1993         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1994         (__PTHREAD_SPIN): Likewise.
1995         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1996         (__PTHREAD_SPIN): Likewise.
1997         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1998         (__PTHREAD_SPIN): Likewise.
1999         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2000         (__PTHREAD_SPIN): Likewise.
2001         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2002         (__PTHREAD_SPIN): Likewise.
2003         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2004         (__PTHREAD_SPIN): Likewise.
2005         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2006         (__PTHREAD_SPIN): Likewise.
2007         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2008         (__PTHREAD_SPIN): Likewise.
2009         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2010         (__PTHREAD_SPIN): Likewise.
2011         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2012         (__PTHREAD_SPIN): Likewise.
2013         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2014         (__PTHREAD_SPIN): Likewise.
2015
2016         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2017         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2018         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2019         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2020         imply folder.
2021         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2022         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2023         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2024         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2025         correct imply path.
2026         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2027         strlen symbol for non multi-arch builds.
2028         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2029         missing hidden_def and weak_alias.
2030
2031 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
2032
2033         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2034
2035 2014-04-07  Will Newton  <will.newton@linaro.org>
2036
2037         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2038         and contents.  [!_LIBC] Remove #ifndef and contents.
2039         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
2040         * string/memccpy.c (__memccpy): Use ANSI prototype.
2041         * string/memfrob.c (memfrob): Likewise.
2042         * string/strcoll.c (STRCOLL): Likewise.
2043         * string/strlen.c (strlen): Likewise.
2044         * string/strtok.c (STRTOK): Likewise.
2045         * string/strcat.c: Remove unused #include of memcopy.h.
2046         (strcat): Use ANSI prototype.
2047         * string/strchr.c: Remove unused #include of memcopy.h.
2048         (strchr): Use ANSI prototype.
2049         * string/strcmp.c: Remove unused #include of memcopy.h.
2050         (strcmp): Use ANSI prototype.
2051         * string/strcpy.c: Remove unused #include of memcopy.h.
2052         (strcpy): Use ANSI prototype.
2053
2054 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2055
2056         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2057         * config.make.in (config-extra-cppflags): Set it from
2058         libc_extra_cppflags.
2059         * configure.ac (libc_extra_cflags): Make it accumulate over
2060         configure fragments.
2061         (libc_extra_cppflags): New flag.
2062         * configure. Regenerate.
2063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2064         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2065         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2067
2068         [BZ #16815]
2069         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2070         result for FE_DOWNWARD rounding mode.
2071         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2072         Likewise.
2073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2074
2075 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
2076
2077         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2078         in function argument name.
2079
2080 2014-04-03  David Svoboda  <svoboda@cert.org>
2081
2082         [BZ #5666]
2083         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2084         explicitly.
2085
2086 2014-04-03  Roland McGrath  <roland@hack.frob.com>
2087
2088         * elf/dl-unmap-segments.h: New file.
2089         * sysdeps/generic/ldsodefs.h
2090         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2091         * elf/dl-close.c: Include <dl-unmap-segments.h>.
2092         * elf/dl-fptr.c: Likewise.
2093         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2094         * sysdeps/aarch64/tlsdesc.c: Likewise.
2095         * sysdeps/arm/tlsdesc.c: Likewise.
2096         * sysdeps/i386/tlsdesc.c: Likewise.
2097         * sysdeps/tile/dl-runtime.c: Likewise.
2098         * sysdeps/x86_64/tlsdesc.c: Likewise.
2099         * elf/dl-load.h: New file.
2100         * elf/dl-load.c: Include it.
2101         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2102         Macros moved to dl-load.h.
2103         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2104         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2105         Use _dl_unmap_segments in place of __munmap.
2106         Break out segment-mapping loop into ...
2107         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2108
2109 2014-04-03  Will Newton  <will.newton@linaro.org>
2110
2111         * elf/dl-lookup.c (do_lookup_x): Remove comment
2112         referring to nested function and move variable
2113         declarations down to before first use.
2114
2115 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
2116
2117         [BZ #16799]
2118         [BZ #16800]
2119         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2120         with 0 numerator.
2121         * math/s_catanf.c (__catanf): Likewise.
2122         * math/s_catanh.c (__catanh): Likewise.
2123         * math/s_catanhf.c (__catanhf): Likewise.
2124         * math/s_catanhl.c (__catanhl): Likewise.
2125         * math/s_catanl.c (__catanl): Likewise.
2126         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2127         by positive zero when computing -Inf result.
2128         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2129         (catanh_test): Likewise.
2130         * sysdeps/i386/fpu/libm-test-ulps: Update.
2131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2132
2133         [BZ #16789]
2134         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2135         instead of using underflowing value in computing result.
2136         * math/s_clog10.c (__clog10): Likewise.
2137         * math/s_clog10f.c (__clog10f): Likewise.
2138         * math/s_clog10l.c (__clog10l): Likewise.
2139         * math/s_clogf.c (__clogf): Likewise.
2140         * math/s_clogl.c (__clogl): Likewise.
2141         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2142         (clog10_test): Likewise.
2143         * sysdeps/i386/fpu/libm-test-ulps: Update.
2144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2145
2146 2014-04-02  Alan Modra  <amodra@gmail.com>
2147
2148         [BZ #16739]
2149         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2150         output when value is near a power of two.  Use int64_t for lx and
2151         remove casts.  Use decimal rather than hex exponent constants.
2152         Don't use long double multiplication when double will suffice.
2153         * math/libm-test.inc (nextafter_test_data): Add tests.
2154         * NEWS: Add 16739 and 16786 to bug list.
2155
2156         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2157
2158         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2159
2160 2014-04-01  Will Newton  <will.newton@linaro.org>
2161
2162         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2163         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
2164
2165 2014-04-01  Florian Weimer  <fweimer@redhat.com>
2166
2167         [BZ #13347]
2168         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2169         * nptl/tst-setuid2.c: New file.
2170         * nptl/Makefile (xtests): Add tst-setuid2.
2171
2172 2014-04-01  Alan Modra  <amodra@gmail.com>
2173
2174         [BZ #16786]
2175         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2176
2177 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2178
2179         [BZ #6803]
2180         [BZ #6804]
2181         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2182         set errno as appropriate.
2183         * math/w_scalbf.c (__scalbf): Likewise.
2184         * math/w_scalbl.c (__scalbl): Likewise.
2185         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2186         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2187         * math/libm-test.inc (scalb_test_data): Add errno expectations.
2188         Add more NaN tests.
2189
2190         [BZ #16349]
2191         * math/w_atan2.c: Include <errno.h>.
2192         (__atan2): Set errno for result underflowing to zero.
2193         * math/w_atan2f.c: Include <errno.h>.
2194         (__atan2f): Set errno for result underflowing to zero.
2195         * math/w_atan2l.c: Include <errno.h>.
2196         (__atan2l): Set errno for result underflowing to zero.
2197         * math/auto-libm-test-in: Don't allow missing errno for some atan2
2198         tests.
2199         * math/auto-libm-test-out: Regenerated.
2200
2201 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2202
2203         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2204         Encode instruction correctly in little endian.
2205         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2206         Likewise.
2207         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2208         Likewise.
2209         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2210         Likewise.
2211         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2212         Likewise.
2213
2214 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2215
2216         [BZ #9894]
2217         * sysdeps/unix/sysv/linux/kernel-features.h
2218         [__sparc__ && !__arch64__ && !__sparc_v9__]
2219         (__ASSUME_SET_ROBUST_LIST): Do not define.
2220         [__sparc__ && !__arch64__ && !__sparc_v9__]
2221         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2222         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2223         Likewise.
2224         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2225         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2226         (__ASSUME_REQUEUE_PI): Likewise.
2227         (__ASSUME_SET_ROBUST_LIST): Likewise.
2228         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2229         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2230         Undefine.
2231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2232         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2233         Likewise.
2234         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2235         Likewise.
2236         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2237         Likewise.
2238         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2239         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2240         Undefine.
2241         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2242         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2243         Likewise.
2244
2245         [BZ #16648]
2246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2247         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2248         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2249
2250 2014-03-31  Will Newton  <will.newton@linaro.org>
2251
2252         * benchtests/Makefile (bench): Add ffs and ffsll to list
2253         of tests.
2254         * benchtests/ffs-inputs: New file.
2255         * benchtests/ffsll-inputs: Likewise.
2256
2257 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2258
2259         [BZ #16770]
2260         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2261         too large before casting to int.
2262         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2263         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2264         * math/libm-test.inc (scalb_test_data): Add more tests.
2265
2266 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2267
2268         * benchtests/Makefile (DETAILED_OPT): New make option.
2269         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2270         set.
2271         * benchtests/bench-skeleton.c: Include stdbool.h.
2272         (main): Store and print timings per input.
2273         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2274         member to each argument value.
2275         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2276         (_print_arg_data): Initialize per-input timing to 0.
2277
2278         * benchtests/Makefile (timing-type): New binary.
2279         (bench-clean): Also remove bench-timing-type.
2280         (bench): New target for timing-type.
2281         (bench-func): Print output in JSON format.
2282         * benchtests/bench-skeleton.c (main): Print output in JSON
2283         format.
2284         * benchtests/bench-timing-type.c: New file.
2285         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2286         (TIMING_PRINT_STATS): Remove.
2287         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2288         name separately.
2289
2290         * benchtests/bench-modf.c: Remove.
2291         * benchtests/modf-inputs: New inputs file.
2292
2293 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2294
2295         [BZ #16362]
2296         * math/s_clog10.c (M_PI_LOG10E): New macro.
2297         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2298         imaginary parts are 0.
2299         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2300         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2301         imaginary parts are 0.
2302         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2303         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2304         imaginary parts are 0.
2305         * math/libm-test.inc (clog10_test_data): Update expected results
2306         for when real and imaginary parts are 0.
2307
2308 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2309
2310         * elf/dl-load.c: Finish conversion of __builtin_expect into
2311         __glibc_{un}likely.
2312
2313 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2314
2315         [BZ #16348]
2316         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2317         1+x for argument with exponent below -67.
2318         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2319         Likewise.
2320         * math/auto-libm-test-in: Add more tests of exp.
2321         * math/auto-libm-test-out: Regenerated.
2322
2323 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2324
2325         [BZ #16759]
2326         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2327         (nscd_getnetgrent): Use it.
2328
2329         [BZ #16760]
2330         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2331         of stpcpy.
2332
2333 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2334
2335         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2336         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2337         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2338         (lll_robust_unlock): Remove out of line section. Use cfi
2339         intrinsics.
2340         (LLL_STUB_UNWIND_INFO*): Remove.
2341         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2342         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2343         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2344         (lll_robust_unlock): Remove out of line section. Use cfi
2345         intrinsics.
2346         (LLL_STUB_UNWIND_INFO*): Remove.
2347
2348 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2349
2350         [BZ #16758]
2351         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2352         blank values.
2353
2354 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2355
2356         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2357
2358 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2359
2360         [BZ #16198]
2361         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2362         fnstenv.
2363         * math/test-fenv-preserve.c: New file.
2364         * math/Makefile (tests): Add test-fenv-preserve.
2365
2366 2014-03-26  Will Newton <will.newton@linaro.org>
2367
2368         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2369
2370 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2371
2372         * scripts/versionlist.awk: Partition the version sets and emit all
2373         GLIBC_* (sorted) before all others (sorted).
2374
2375 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2376
2377         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2378         GLIBC_2.2.5 version.
2379
2380 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2381
2382         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2383         calls.
2384
2385         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2386         previous change.
2387
2388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2389
2390 2014-03-25  Andreas Schwab  <schwab@suse.de>
2391
2392         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2393         label to be used after in6ailist is initialized.
2394
2395 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2396
2397         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2398         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2399
2400 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2401
2402         [BZ #16357]
2403         [BZ #16599]
2404         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2405         min_plus_half.
2406         (fp_formats): Update initializers.
2407         (init_fp_formats): Initialize new field.
2408         (output_for_one_input_case): Allow underflow for results up to
2409         min_plus_half.
2410         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2411         * math/auto-libm-test-in: Don't mark some underflows from asin and
2412         atanh as spurious.
2413         * math/auto-libm-test-out: Regenerated.
2414         * sysdeps/i386/fpu/libm-test-ulps: Update.
2415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2416
2417 2014-03-25  Andreas Schwab  <schwab@suse.de>
2418
2419         * libio/Makefile (tst-ftell-partial-wide-ENV)
2420         (tst-ftell-active-handler-ENV): Define.
2421
2422 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2423
2424         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2425
2426 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2427
2428         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2429
2430 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2431
2432         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2433         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2434         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2435
2436 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2437
2438         [BZ #16634]
2439         * elf/dl-load.c (open_verify): Add mode parameter.
2440         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2441         (open_path): Change from boolean 'secure' to complete flag 'mode'
2442         (_dl_map_object): Adjust.
2443         * elf/Makefile (tests): Add tst-dlopen-aout.
2444         * elf/tst-dlopen-aout.c: New test.
2445
2446 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2447
2448         [BZ #16714]
2449         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2450         (struct stat): Rename member pad0 to __glibc_reserved0.
2451
2452         [BZ #16712]
2453         * sysdeps/s390/s390-32/bits/wordsize.h
2454         (__WORDSIZE32_SIZE_ULONG): New define.
2455         * sysdeps/s390/s390-64/bits/wordsize.h
2456         (__WORDSIZE32_SIZE_ULONG): Likewise.
2457         * sysdeps/generic/stdint.h (SIZE_MAX):
2458         Define as UL if __WORDSIZE32_SIZE_ULONG.
2459
2460         [BZ #16713]
2461         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2462         (__glibc_reserved0): New variable.
2463         (sa_flags): Change type to int.
2464
2465         * posix/Makefile (before-compile): Use += before-compile instead
2466         of a :=.
2467
2468         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2469         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2470
2471 2014-03-20  Andreas Schwab  <schwab@suse.de>
2472
2473         [BZ #16743]
2474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2475         non-matching result from nscd.
2476
2477 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2478
2479         * scripts/bench.py: Moved to ...
2480         * benchtests/scripts/bench.py: ... here.
2481         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2482
2483 2014-03-24  Andreas Schwab  <schwab@suse.de>
2484
2485         [BZ #16002]
2486         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2487         alloca_account and account alloca use for struct in6ailist.
2488
2489 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2490
2491         [BZ #16284]
2492         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2493         rounding mode to recompute results that overflow to infinity or
2494         underflow to zero.
2495         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2496         bug 16284.
2497         * math/auto-libm-test-out: Regenerated.
2498         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2499         (ccosh_test): Likewise.
2500         (csin_test_data): Use plus_oflow.
2501         (csin_test): Use ALL_RM_TEST.
2502         (csinh_test_data): Use plus_oflow.
2503         (csinh_test): Use ALL_RM_TEST.
2504         * sysdeps/i386/fpu/libm-test-ulps: Update.
2505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2506
2507 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2508
2509         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2510         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2511         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2512
2513         [BZ #16731]
2514         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2515         when x - 1 is zero.
2516         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2517         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2518         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2519         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2520         argument is 1.
2521         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2522         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2523         zero.
2524         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2525         * sysdeps/i386/fpu/libm-test-ulps: Update.
2526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2527
2528 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2529
2530         * scripts/bench.pl: Remove file.
2531         * scripts/bench.py: New benchmark script.
2532         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2533         * benchtests/README: Mention python dependency.
2534         * scripts/pylintrc: New file.
2535         * scripts/pylint: New file.
2536
2537         * bits/mathdef.h: Use #ifdef instead of #if.
2538         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2539         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2540         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2541         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2542         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2543         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2544
2545 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2546             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2547
2548         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2550         and strpbrk-ppc64 objects.
2551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2552         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2553         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2554         multiarch strpbrk for POWER7.
2555         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2556         multiarch strpbrk for PPC64.
2557         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2558         ifunc selector.
2559         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2560         strpbrk for POWER7.
2561
2562 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2563
2564         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2565         (atan_test): Likewise.
2566         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2567         (atanh_test): Use ALL_RM_TEST.
2568         (atan2_test_data): Likewise.
2569         (cabs_test): Likewise.
2570         (cacosh_test): Likewise.
2571         (carg_test): Likewise.
2572         (casin_test): Likewise.
2573         (casinh_test): Likewise.
2574         (cbrt_test): Likewise.
2575         (csqrt_test): Likewise.
2576         (erf_test): Likewise.
2577         (erfc_test): Likewise.
2578         (pow10_test): Likewise.
2579         (exp2_test): Likewise.
2580         (hypot_test): Likewise.
2581         (j0_test): Likewise.
2582         (j1_test): Likewise.
2583         (lgamma_test): Likewise.
2584         (gamma_test): Likewise.
2585         (sincos_test): Likewise.
2586         (tanh_test): Likewise.
2587         (y0_test): Likewise.
2588         (y1_test): Likewise.
2589         * sysdeps/i386/fpu/libm-test-ulps: Update.
2590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2591
2592 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2593
2594         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2596         and strcspn-ppc64 objects.
2597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2598         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2599         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2600         multiarch strcspn for POWER7.
2601         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2602         multiarch strcspn for PPC64.
2603         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2604         ifunc selector.
2605         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2606         strcspn for POWER7.
2607
2608 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2609
2610         * math/gen-libm-test.pl (generate_testfile): Expect only function
2611         name as argument to AUTO_TESTS_* and pass results for all rounding
2612         modes to parse_args.
2613         (parse_auto_input): Separate inputs of automatic tests from
2614         outputs before storing in %auto_tests.
2615         * math/libm-test.inc (acos_test_data): Update call to
2616         AUTO_TESTS_f_f.
2617         (acos_test): Use ALL_RM_TEST.
2618         (acos_tonearest_test_data): Remove.
2619         (acos_test_tonearest): Likewise.
2620         (acos_towardzero_test_data): Likewise.
2621         (acos_test_towardzero): Likewise.
2622         (acos_downward_test_data): Likewise.
2623         (acos_test_downward): Likewise.
2624         (acos_upward_test_data): Likewise.
2625         (acos_test_upward): Likewise.
2626         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2627         (asin_test_data): Likewise.
2628         (asin_test): Use ALL_RM_TEST.
2629         (asin_tonearest_test_data): Remove.
2630         (asin_test_tonearest): Likewise.
2631         (asin_towardzero_test_data): Likewise.
2632         (asin_test_towardzero): Likewise.
2633         (asin_downward_test_data): Likewise.
2634         (asin_test_downward): Likewise.
2635         (asin_upward_test_data): Likewise.
2636         (asin_test_upward): Likewise.
2637         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2638         (atan_test_data): Likewise.
2639         (atanh_test_data): Likewise.
2640         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2641         (cabs_test_data): Update call to AUTO_TESTS_c_f.
2642         (carg_test_data): Likewise.
2643         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2644         (ccos_test_data): Update call to AUTO_TESTS_c_c.
2645         (ccosh_test_data): Likewise.
2646         (cexp_test_data): Likewise.
2647         (clog_test_data): Likewise.
2648         (clog10_test_data): Likewise.
2649         (cos_test_data): Update call to AUTO_TESTS_f_f.
2650         (cos_test): Use ALL_RM_TEST.
2651         (cos_tonearest_test_data): Remove.
2652         (cos_test_tonearest): Likewise.
2653         (cos_towardzero_test_data): Likewise.
2654         (cos_test_towardzero): Likewise.
2655         (cos_downward_test_data): Likewise.
2656         (cos_test_downward): Likewise.
2657         (cos_upward_test_data): Likewise.
2658         (cos_test_upward): Likewise.
2659         (cosh_test_data): Update call to AUTO_TESTS_f_f.
2660         (cosh_test): Use ALL_RM_TEST.
2661         (cosh_tonearest_test_data): Remove.
2662         (cosh_test_tonearest): Likewise.
2663         (cosh_towardzero_test_data): Likewise.
2664         (cosh_test_towardzero): Likewise.
2665         (cosh_downward_test_data): Likewise.
2666         (cosh_test_downward): Likewise.
2667         (cosh_upward_test_data): Likewise.
2668         (cosh_test_upward): Likewise.
2669         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2670         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2671         (ctan_test_data): Likewise.
2672         (ctan_test): Use ALL_RM_TEST.
2673         (ctan_tonearest_test_data): Remove.
2674         (ctan_test_tonearest): Likewise.
2675         (ctan_towardzero_test_data): Likewise.
2676         (ctan_test_towardzero): Likewise.
2677         (ctan_downward_test_data): Likewise.
2678         (ctan_test_downward): Likewise.
2679         (ctan_upward_test_data): Likewise.
2680         (ctan_test_upward): Likewise.
2681         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2682         (ctanh_test): Use ALL_RM_TEST.
2683         (ctanh_tonearest_test_data): Remove.
2684         (ctanh_test_tonearest): Likewise.
2685         (ctanh_towardzero_test_data): Likewise.
2686         (ctanh_test_towardzero): Likewise.
2687         (ctanh_downward_test_data): Likewise.
2688         (ctanh_test_downward): Likewise.
2689         (ctanh_upward_test_data): Likewise.
2690         (ctanh_test_upward): Likewise.
2691         (erf_test_data): Update call to AUTO_TESTS_f_f.
2692         (erfc_test_data): Likewise.
2693         (exp_test_data): Likewise.
2694         (exp_test): Use ALL_RM_TEST.
2695         (exp_tonearest_test_data): Remove.
2696         (exp_test_tonearest): Likewise.
2697         (exp_towardzero_test_data): Likewise.
2698         (exp_test_towardzero): Likewise.
2699         (exp_downward_test_data): Likewise.
2700         (exp_test_downward): Likewise.
2701         (exp_upward_test_data): Likewise.
2702         (exp_test_upward): Likewise.
2703         (exp10_test_data): Update call to AUTO_TESTS_f_f.
2704         (exp10_test): Use ALL_RM_TEST.
2705         (exp10_tonearest_test_data): Remove.
2706         (exp10_test_tonearest): Likewise.
2707         (exp10_towardzero_test_data): Likewise.
2708         (exp10_test_towardzero): Likewise.
2709         (exp10_downward_test_data): Likewise.
2710         (exp10_test_downward): Likewise.
2711         (exp10_upward_test_data): Likewise.
2712         (exp10_test_upward): Likewise.
2713         (exp2_test_data): Update call to AUTO_TESTS_f_f.
2714         (expm1_test_data): Likewise.
2715         (expm1_test): Use ALL_RM_TEST.
2716         (expm1_tonearest_test_data): Remove.
2717         (expm1_test_tonearest): Likewise.
2718         (expm1_towardzero_test_data): Likewise.
2719         (expm1_test_towardzero): Likewise.
2720         (expm1_downward_test_data): Likewise.
2721         (expm1_test_downward): Likewise.
2722         (expm1_upward_test_data): Likewise.
2723         (expm1_test_upward): Likewise.
2724         (fma_test_data): Update call to AUTO_TESTS_fff_f.
2725         (fma_test): Use ALL_RM_TEST.
2726         (fma_towardzero_test_data): Remove.
2727         (fma_test_towardzero): Likewise.
2728         (fma_downward_test_data): Likewise.
2729         (fma_test_downward): Likewise.
2730         (fma_upward_test_data): Likewise.
2731         (fma_test_upward): Likewise.
2732         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2733         (j0_test_data): Update call to AUTO_TESTS_f_f.
2734         (j1_test_data): Likewise.
2735         (jn_test_data): Update call to AUTO_TESTS_if_f.
2736         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2737         (log_test_data): Update call to AUTO_TESTS_f_f.
2738         (log10_test_data): Likewise.
2739         (log1p_test_data): Likewise.
2740         (log2_test_data): Likewise.
2741         (pow_test_data): Update call to AUTO_TESTS_ff_f.
2742         (pow_tonearest_test_data): Likewise.
2743         (sin_test_data): Update call to AUTO_TESTS_f_f.
2744         (sin_test): Use ALL_RM_TEST.
2745         (sin_tonearest_test_data): Remove.
2746         (sin_test_tonearest): Likewise.
2747         (sin_towardzero_test_data): Likewise.
2748         (sin_test_towardzero): Likewise.
2749         (sin_downward_test_data): Likewise.
2750         (sin_test_downward): Likewise.
2751         (sin_upward_test_data): Likewise.
2752         (sin_test_upward): Likewise.
2753         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2754         (sinh_test_data): Update call to AUTO_TESTS_f_f.
2755         (sinh_test): Use ALL_RM_TEST.
2756         (sinh_tonearest_test_data): Remove.
2757         (sinh_test_tonearest): Likewise.
2758         (sinh_towardzero_test_data): Likewise.
2759         (sinh_test_towardzero): Likewise.
2760         (sinh_downward_test_data): Likewise.
2761         (sinh_test_downward): Likewise.
2762         (sinh_upward_test_data): Likewise.
2763         (sinh_test_upward): Likewise.
2764         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2765         (sqrt_test): Use ALL_RM_TEST.
2766         (sqrt_tonearest_test_data): Remove.
2767         (sqrt_test_tonearest): Likewise.
2768         (sqrt_towardzero_test_data): Likewise.
2769         (sqrt_test_towardzero): Likewise.
2770         (sqrt_downward_test_data): Likewise.
2771         (sqrt_test_downward): Likewise.
2772         (sqrt_upward_test_data): Likewise.
2773         (sqrt_test_upward): Likewise.
2774         (tan_test_data): Update call to AUTO_TESTS_f_f.
2775         (tan_test): Use ALL_RM_TEST.
2776         (tan_tonearest_test_data): Remove.
2777         (tan_test_tonearest): Likewise.
2778         (tan_towardzero_test_data): Likewise.
2779         (tan_test_towardzero): Likewise.
2780         (tan_downward_test_data): Likewise.
2781         (tan_test_downward): Likewise.
2782         (tan_upward_test_data): Likewise.
2783         (tan_test_upward): Likewise.
2784         (tanh_test_data): Update call to AUTO_TESTS_f_f.
2785         (tgamma_test_data): Likewise.
2786         (y0_test_data): Likewise.
2787         (y1_test_data): Likewise.
2788         (yn_test_data): Update call to AUTO_TESTS_if_f.
2789         (main): Do not call removed functions.
2790
2791 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2792
2793         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2794         (ldexp_test_data): Remove.
2795         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
2796         scalbn_test_data.
2797         (scalb_test): Use ALL_RM_TEST.
2798
2799 2014-03-19  Andreas Schwab  <schwab@suse.de>
2800
2801         * nscd/nscd.service: Also invalidate netgroup cache on reload.
2802
2803 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2804
2805         [BZ #16649]
2806         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2807         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2808         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2809         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2810         (__ASSUME_PREADV): Undefine.
2811         (__ASSUME_PWRITEV): Likewise.
2812
2813 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2814
2815         * bits/mman-linux.h: Add comment about non-Linux use.
2816         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2817         bits/mman-linux.h resting place.
2818
2819         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2820         * bits/mman-linux.h: ... here.
2821
2822 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2823
2824         * conform/conformtest.pl: Add standard definition when calling C
2825         preprocessor on data files.
2826         (checknamespace): Remove unused variable.
2827
2828 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2829
2830         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2831         minus_oflow, plus_uflow and minus_uflow in expected results.
2832         * math/libm-test.inc (scalbn_test_data): Add more tests of
2833         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
2834         minus_uflow.
2835         (scalbn_test): Use ALL_RM_TEST.
2836         (scalbln_test_data): Add more tests of negative arguments.  Use
2837         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2838         (scalbln_test): Use ALL_RM_TEST.
2839
2840 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2841
2842         * scripts/abilist.awk: Ignore symbols marked with .hidden.
2843
2844 2014-03-18  Will Newton  <will.newton@linaro.org>
2845
2846         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2847         inaccurate comment.
2848
2849 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2850
2851         * Makerules [!subdir] (check-abi): Exit with error status if a
2852         test failed.
2853
2854 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2855
2856         * math/libm-test.inc (nearbyint_test_data): Include all tests used
2857         for rint.  Include results for all rounding modes.
2858         (nearbyint_test): Use ALL_RM_TEST.
2859         (rint_test_data): Include all tests used for nearbyint.
2860
2861 2014-03-17  Will Newton  <will.newton@linaro.org>
2862
2863         * nptl/sysdeps/pthread/pthread.h: Revert previous
2864         change.
2865
2866         * sysdeps/generic/ldsodefs.h: Revert previous
2867         change.
2868
2869         * libio/genops.c: Revert previous change.
2870         * libio/libioP.h: Likewise.
2871         * stdio-common/vfprintf.c: Likewise.
2872
2873         * sysdeps/generic/math_private.h: Revert previous
2874         change.
2875
2876         * sysdeps/generic/math_private.h: Check whether
2877         HAVE_RM_CTX is defined with #ifdef rather
2878         than #if.
2879
2880         * argp/argp-fmtstream.h: Check whether
2881         __STRICT_ANSI__ is defined with #ifdef rather
2882         than #if.
2883         * argp/argp.h: Likewise.
2884
2885         * libio/genops.c: Check whether
2886         _IO_JUMPS_OFFSET is defined with #ifdef rather
2887         than #if.
2888         * libio/libioP.h: Likewise.
2889         * stdio-common/vfprintf.c: Likewise.
2890
2891         * sysdeps/generic/ldsodefs.h: Check whether
2892         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2893         than #if.
2894
2895         * nptl/sysdeps/pthread/pthread.h: Check
2896         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2897         its value.
2898
2899 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2900
2901         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2902         setting O_APPEND.
2903         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2904         test case.
2905
2906         [BZ #16680]
2907         * libio/fileops.c (_IO_file_open): Seek to end of file but
2908         don't cache the offset.
2909         (get_file_offset): Remove function.
2910         (do_ftell): Use cached offset when available.
2911         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2912         don't cache the offset.
2913         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2914         case.
2915         (do_one_test): Call it.
2916         (do_ftell_test): Fix up expected old offset for a+ mode.
2917         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2918         available.
2919
2920         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2921         up test status with function return status.
2922         (do_write_test): Likewise.
2923         (do_append_test): Likewise.
2924
2925         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2926         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2927         Remove.
2928
2929 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2930
2931         * math/gen-libm-test.pl (parse_args): Handle results specified for
2932         each rounding mode separately.
2933         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2934         tests and results from lrint_tonearest_test_data,
2935         lrint_towardzero_test_data, lrint_downward_test_data and
2936         lrint_upward_test_data.
2937         (lrint_test): Use ALL_RM_TEST.
2938         (lrint_tonearest_test_data): Remove.
2939         (lrint_test_tonearest): Likewise.
2940         (lrint_towardzero_test_data): Likewise.
2941         (lrint_test_towardzero): Likewise.
2942         (lrint_downward_test_data): Likewise.
2943         (lrint_test_downward): Likewise.
2944         (lrint_upward_test_data): Likewise.
2945         (lrint_test_upward): Likewise.
2946         (llrint_test_data): Merge in per-rounding-mode tests and results
2947         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2948         llrint_downward_test_data and llrint_upward_test_data.
2949         (llrint_test): Use ALL_RM_TEST.
2950         (llrint_tonearest_test_data): Remove.
2951         (llrint_test_tonearest): Likewise.
2952         (llrint_towardzero_test_data): Likewise.
2953         (llrint_test_towardzero): Likewise.
2954         (llrint_downward_test_data): Likewise.
2955         (llrint_test_downward): Likewise.
2956         (llrint_upward_test_data): Likewise.
2957         (llrint_test_upward): Likewise.
2958         (rint_test_data): Merge in per-rounding-mode tests and results
2959         from rint_tonearest_test_data, rint_towardzero_test_data,
2960         rint_downward_test_data and rint_upward_test_data.  Add
2961         per-rounding-mode results for tests not in those arrays.
2962         (rint_test): Use ALL_RM_TEST.
2963         (rint_tonearest_test_data): Remove.
2964         (rint_test_tonearest): Likewise.
2965         (rint_towardzero_test_data): Likewise.
2966         (rint_test_towardzero): Likewise.
2967         (rint_downward_test_data): Likewise.
2968         (rint_test_downward): Likewise.
2969         (rint_upward_test_data): Likewise.
2970         (rint_test_upward): Likewise.
2971         (main): Don't call removed functions.
2972
2973 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2974
2975         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2976         "Compiled on ..." crapola.  It is anti-useful.
2977
2978 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
2979
2980         * scripts/evaluate-test.sh: Handle fourth argument to determine
2981         whether test run should stop on failure.
2982         * Makeconfig (stop-on-test-failure): New variable.
2983         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2984         $(stop-on-test-failure).
2985         * Makefile (tests): Give a summary of results from testing and
2986         exit with failure status if they include an ERROR or FAIL.
2987         (xtests): Likewise.
2988         * manual/install.texi (Configuring and compiling): Mention
2989         stop-on-test-failure=y.
2990         * INSTALL: Regenerated.
2991
2992 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2993
2994         * scripts/versionlist.awk: New file.
2995         * Makerules [$(build-shared) = yes]
2996         (postclean-generated): Add Versions.def, not Versions.def.v and
2997         Versions.def.v.i.
2998         ($(common-objpfx)Versions.def.v.i): Target removed.
2999         ($(common-objpfx)Versions.def): New target.
3000         ($(common-objpfx)Versions.all): Depend on that rather that
3001         $(common-objpfx)Versions.def.v.
3002         * Versions.def: File removed.
3003
3004         * Makeconfig (+gccwarn): Add -Wundef.
3005         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3006         a dl-sysdep.h breaking its contract.
3007         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3008         * include/stackinfo.h: New file.
3009         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3010         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3011         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3012         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3013         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3014         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3015         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3016         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3017         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3018         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3019         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3020         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3021         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3022         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3023         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3024
3025 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3026
3027         [BZ #16707]
3028         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3029         implementation.
3030         * math/libm-test.inc (round_test_data): Add more tests.
3031
3032         [BZ #16706]
3033         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3034         implementation.
3035         * math/libm-test.inc (nearbyint_test_data): Add more tests.
3036
3037         [BZ #16701]
3038         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3039         implementation.
3040         * math/libm-test.inc (ceil_test_data): Add more tests.
3041
3042         * math/libm-test.inc (trunc_test_data): Add more tests related to
3043         BZ#16414.
3044
3045 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3046
3047         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3048         with #if rather than #ifdef.
3049         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3050
3051 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3052
3053         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3054         first.  Disable AVX-512 GCC support if assembler doesn't support
3055         it.
3056         * sysdeps/x86_64/configure: Regenerated.
3057
3058 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
3059
3060         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3061         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3062         (__old_pthread_attr_setstack): Likewise.
3063         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3064         [!_STACK_GROWS_DOWN]: Likewise.
3065
3066 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3067
3068         * config.make.in (have-bash2): Delete.
3069         * configure.ac (libc_cv_have_bash2): Delete.
3070         * configure: Regenerate.
3071         * elf/Makefile (common-ldd-rewrite): Rename to ...
3072         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
3073         (sh-ldd-rewrite): Delete.
3074         (bash-ldd-rewrite): Delete.
3075         (have-bash2): Delete checks.
3076         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3077         ldd-rewrite.
3078
3079         * config.make.in (have-ksh): Delete.
3080         (KSH): Delete.
3081         * configure.ac (libc_cv_have_ksh): Delete.
3082         * configure: Regenerate.
3083
3084         * elf/Makefile: Delete $(have-ksh) check.
3085         ($(objpfx)sotruss): Change KSH to BASH.
3086         * elf/sotruss.ksh: Rename to ...
3087         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
3088         function style to match POSIX.  Drop ksh vim mode setting.
3089
3090         * manual/time.texi (Specifying the Time Zone with TZ): Change
3091         Tuesday to Thursday.
3092
3093         * debug/tst-longjmp_chk2.c: Update header comment.
3094         (stackoverflow_handler): Add comment.  Call assert on pass value.
3095
3096 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
3097
3098         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3099         (HAVE_AVX512_ASM_SUPPORT): Likewise.
3100         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3101         (La_x86_64_vector): Add zmm.
3102         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3103         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3104         ($(objpfx)tst-audit10): New target.
3105         ($(objpfx)tst-audit10.out): Likewise.
3106         (tst-audit10-ENV): New.
3107         (AVX512-CFLAGS): Likewise.
3108         (CFLAGS-tst-audit10.c): Likewise.
3109         (CFLAGS-tst-auditmod10a.c): Likewise.
3110         (CFLAGS-tst-auditmod10b.c): Likewise.
3111         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3112         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3113         * sysdeps/x86_64/configure: Regenerated.
3114         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3115         AVX-512 zmm register support.
3116         (_dl_x86_64_save_sse): Likewise.
3117         (_dl_x86_64_restore_sse): Likewise.
3118         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3119         size vector registers.
3120         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3121         (ZMM_SIZE): Likewise.
3122         * sysdeps/x86_64/tst-audit10.c: New file.
3123         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3124         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3125
3126 2014-03-13  Roland McGrath  <roland@hack.frob.com>
3127
3128         * configure.ac (HAVE_EHDR_START): New check.
3129         * configure: Regenerated.
3130         * config.h.in (HAVE_EHDR_START): New #undef.
3131         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3132         assuming the lowest-addressed segment maps the start of the file.
3133
3134 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
3135
3136         * INSTALL: Regenerated.
3137
3138 2014-03-13  Will Newton  <will.newton@linaro.org>
3139
3140         * manual/setjmp.texi (System V contexts): Improve
3141         clarity and grammar of documentation.
3142
3143 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3144
3145         [BZ #16381]
3146         * elf/Makefile (tests): Add tst-pie2.
3147         (tests-pie): Add tst-pie2.
3148         * elf/tst-pie2.c: New file.
3149         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3150         for ET_EXEC.
3151         * elf/rtld.c (map_doit): Load executable as lt_executable.
3152         (dl_main): Likewise.
3153
3154 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
3155
3156         [BZ #16642]
3157         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3158         (__ASSUME_PSELECT): Undefine.
3159
3160 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3161
3162         [BZ #16689]
3163         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3164         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3165         static build.
3166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3167         selector for static builds.
3168
3169 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3170
3171         [BZ #16695]
3172         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3173         key in the buffer.
3174
3175 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3176
3177         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3178         IFUNC selector for static builds.
3179
3180 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
3181
3182         * sysdeps/mips/math_private.h [__mips_hard_float]
3183         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3184         libc_feresetround_mips_ctx.
3185         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3186         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3187         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3188
3189         [BZ #16677]
3190         * math/s_nextafter.c (__nextafter): Do not return value from
3191         overflowing computation.
3192         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3193         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3194         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3195         Likewise.
3196         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3197         Likewise.
3198         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3199         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3200
3201 2014-03-11  Roland McGrath  <roland@hack.frob.com>
3202
3203         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3204         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3205         Move sfi_sp use from the load-multiple (that no longer sets sp) to
3206         the new mov targetting sp.
3207
3208 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3209
3210         [BZ #16683]
3211         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3212         Define it for static builds as well.
3213         (NO_BZERO_IMPL): Likewise.
3214
3215 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3216
3217         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3218         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3219         multiarch strspn for PPC64.
3220         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3221         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3223         (__libc_ifunc_impl_list): Likewise.
3224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3225         multiarch optimizations
3226         * string/strspn.c (strspn): Using macro to redefine symbol name.
3227
3228 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3229             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3230
3231         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3232         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3233         multiarch strncat for PPC64.
3234         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3235         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3237         (__libc_ifunc_impl_list): Likewise.
3238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3239         multiarch optimizations
3240
3241 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3242
3243         [BZ #16639]
3244         * nscd/nscd.service: Make service type forking.
3245
3246 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3247
3248         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3249         sign in non default rounding modes.
3250         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3251
3252 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3253
3254         * math/libm-test.inc (ALL_RM_TEST): New macro.
3255         (ceil_test): Use ALL_RM_TEST.
3256         (cimag_test): Likewise.
3257         (conj_test): Likewise.
3258         (copysign_test): Likewise.
3259         (cproj_test): Likewise.
3260         (creal_test): Likewise.
3261         (fabs_test): Likewise.
3262         (floor_test): Likewise.
3263         (fmax_test): Likewise.
3264         (fmin_test): Likewise.
3265         (fmod_test): Likewise.
3266         (fpclassify_test): Likewise.
3267         (frexp_test): Likewise.
3268         (ilogb_test): Likewise.
3269         (isfinite_test): Likewise.
3270         (finite_test): Likewise.
3271         (isgreater_test): Likewise.
3272         (isgreaterequal_test): Likewise.
3273         (isinf_test): Likewise.
3274         (isless_test): Likewise.
3275         (islessequal_test): Likewise.
3276         (islessgreater_test): Likewise.
3277         (isnan_test): Likewise.
3278         (isnormal_test): Likewise.
3279         (issignaling_test): Likewise.
3280         (isunordered_test): Likewise.
3281         (logb_test): Likewise.
3282         (logb_downward_test_data): Remove.
3283         (logb_test_downward): Likewise.
3284         (lround_test): Use ALL_RM_TEST.
3285         (llround_test): Likewise.
3286         (modf_test): Likewise.
3287         (nexttoward_test): Likewise.
3288         (remainder_test): Likewise.
3289         (drem_test): Likewise.
3290         (remainder_tonearest_test_data): Likewise.
3291         (remainder_test_tonearest): Likewise.
3292         (drem_test_tonearest): Likewise.
3293         (remainder_towardzero_test_data): Likewise.
3294         (remainder_test_towardzero): Likewise.
3295         (drem_test_towardzero): Likewise.
3296         (remainder_downward_test_data): Likewise.
3297         (remainder_test_downward): Likewise.
3298         (drem_test_downward): Likewise.
3299         (remainder_upward_test_data): Likewise.
3300         (remainder_test_upward): Likewise.
3301         (drem_test_upward): Likewise.
3302         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3303         (round_test): Use ALL_RM_TEST.
3304         (signbit_test): Likewise.
3305         (trunc_test): Likewise.
3306         (significand_test): Likewise.
3307         (main): Don't call removed functions.
3308
3309 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3310
3311         [BZ #16674]
3312         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3313         || __USE_XOPEN2K8].
3314         (ILL_ILLOPN): Likewise.
3315         (ILL_ILLADR): Likewise.
3316         (ILL_ILLTRP): Likewise.
3317         (ILL_PRVOPC): Likewise.
3318         (ILL_PRVREG): Likewise.
3319         (ILL_COPROC): Likewise.
3320         (ILL_BADSTK): Likewise.
3321         (FPE_INTDIV): Likewise.
3322         (FPE_INTOVF): Likewise.
3323         (FPE_FLTDIV): Likewise.
3324         (FPE_FLTOVF): Likewise.
3325         (FPE_FLTUND): Likewise.
3326         (FPE_FLTRES): Likewise.
3327         (FPE_FLTINV): Likewise.
3328         (FPE_FLTSUB): Likewise.
3329         (SEGV_MAPERR): Likewise.
3330         (SEGV_ACCERR): Likewise.
3331         (BUS_ADRALN): Likewise.
3332         (BUS_ADRERR): Likewise.
3333         (BUS_OBJERR): Likewise.
3334         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3335         (TRAP_TRACE): Likewise.
3336         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3337         __USE_XOPEN2K8].
3338         (CLD_KILLED): Likewise.
3339         (CLD_DUMPED): Likewise.
3340         (CLD_TRAPPED): Likewise.
3341         (CLD_STOPPED): Likewise.
3342         (CLD_CONTINUED): Likewise.
3343         (POLL_IN): Likewise.
3344         (POLL_OUT): Likewise.
3345         (POLL_MSG): Likewise.
3346         (POLL_ERR): Likewise.
3347         (POLL_PRI): Likewise.
3348         (POLL_HUP): Likewise.
3349         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3350         Likewise.
3351         (ILL_ILLOPN): Likewise.
3352         (ILL_ILLADR): Likewise.
3353         (ILL_ILLTRP): Likewise.
3354         (ILL_PRVOPC): Likewise.
3355         (ILL_PRVREG): Likewise.
3356         (ILL_COPROC): Likewise.
3357         (ILL_BADSTK): Likewise.
3358         (FPE_INTDIV): Likewise.
3359         (FPE_INTOVF): Likewise.
3360         (FPE_FLTDIV): Likewise.
3361         (FPE_FLTOVF): Likewise.
3362         (FPE_FLTUND): Likewise.
3363         (FPE_FLTRES): Likewise.
3364         (FPE_FLTINV): Likewise.
3365         (FPE_FLTSUB): Likewise.
3366         (SEGV_MAPERR): Likewise.
3367         (SEGV_ACCERR): Likewise.
3368         (BUS_ADRALN): Likewise.
3369         (BUS_ADRERR): Likewise.
3370         (BUS_OBJERR): Likewise.
3371         (BUS_MCEERR_AR): Likewise.
3372         (BUS_MCEERR_AO): Likewise.
3373         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3374         (TRAP_TRACE): Likewise.
3375         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3376         __USE_XOPEN2K8].
3377         (CLD_KILLED): Likewise.
3378         (CLD_DUMPED): Likewise.
3379         (CLD_TRAPPED): Likewise.
3380         (CLD_STOPPED): Likewise.
3381         (CLD_CONTINUED): Likewise.
3382         (POLL_IN): Likewise.
3383         (POLL_OUT): Likewise.
3384         (POLL_MSG): Likewise.
3385         (POLL_ERR): Likewise.
3386         (POLL_PRI): Likewise.
3387         (POLL_HUP): Likewise.
3388         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3389         (ILL_ILLOPN): Likewise.
3390         (ILL_ILLADR): Likewise.
3391         (ILL_ILLTRP): Likewise.
3392         (ILL_PRVOPC): Likewise.
3393         (ILL_PRVREG): Likewise.
3394         (ILL_COPROC): Likewise.
3395         (ILL_BADSTK): Likewise.
3396         (FPE_INTDIV): Likewise.
3397         (FPE_INTOVF): Likewise.
3398         (FPE_FLTDIV): Likewise.
3399         (FPE_FLTOVF): Likewise.
3400         (FPE_FLTUND): Likewise.
3401         (FPE_FLTRES): Likewise.
3402         (FPE_FLTINV): Likewise.
3403         (FPE_FLTSUB): Likewise.
3404         (SEGV_MAPERR): Likewise.
3405         (SEGV_ACCERR): Likewise.
3406         (BUS_ADRALN): Likewise.
3407         (BUS_ADRERR): Likewise.
3408         (BUS_OBJERR): Likewise.
3409         (BUS_MCEERR_AR): Likewise.
3410         (BUS_MCEERR_AO): Likewise.
3411         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3412         (TRAP_TRACE): Likewise.
3413         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3414         __USE_XOPEN2K8].
3415         (CLD_KILLED): Likewise.
3416         (CLD_DUMPED): Likewise.
3417         (CLD_TRAPPED): Likewise.
3418         (CLD_STOPPED): Likewise.
3419         (CLD_CONTINUED): Likewise.
3420         (POLL_IN): Likewise.
3421         (POLL_OUT): Likewise.
3422         (POLL_MSG): Likewise.
3423         (POLL_ERR): Likewise.
3424         (POLL_PRI): Likewise.
3425         (POLL_HUP): Likewise.
3426         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3427         Likewise.
3428         (ILL_ILLOPN): Likewise.
3429         (ILL_ILLADR): Likewise.
3430         (ILL_ILLTRP): Likewise.
3431         (ILL_PRVOPC): Likewise.
3432         (ILL_PRVREG): Likewise.
3433         (ILL_COPROC): Likewise.
3434         (ILL_BADSTK): Likewise.
3435         (ILL_BADIADDR): Likewise.
3436         (ILL_BREAK): Likewise.
3437         (FPE_INTDIV): Likewise.
3438         (FPE_INTOVF): Likewise.
3439         (FPE_FLTDIV): Likewise.
3440         (FPE_FLTOVF): Likewise.
3441         (FPE_FLTUND): Likewise.
3442         (FPE_FLTRES): Likewise.
3443         (FPE_FLTINV): Likewise.
3444         (FPE_FLTSUB): Likewise.
3445         (FPE_DECOVF): Likewise.
3446         (FPE_DECDIV): Likewise.
3447         (FPE_DECERR): Likewise.
3448         (FPE_INVASC): Likewise.
3449         (FPE_INVDEC): Likewise.
3450         (SEGV_MAPERR): Likewise.
3451         (SEGV_ACCERR): Likewise.
3452         (SEGV_PSTKOVF): Likewise.
3453         (BUS_ADRALN): Likewise.
3454         (BUS_ADRERR): Likewise.
3455         (BUS_OBJERR): Likewise.
3456         (BUS_MCEERR_AR): Likewise.
3457         (BUS_MCEERR_AO): Likewise.
3458         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3459         (TRAP_TRACE): Likewise.
3460         (TRAP_BRANCH): Likewise.
3461         (TRAP_HWBKPT): Likewise.
3462         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3463         __USE_XOPEN2K8].
3464         (CLD_KILLED): Likewise.
3465         (CLD_DUMPED): Likewise.
3466         (CLD_TRAPPED): Likewise.
3467         (CLD_STOPPED): Likewise.
3468         (CLD_CONTINUED): Likewise.
3469         (POLL_IN): Likewise.
3470         (POLL_OUT): Likewise.
3471         (POLL_MSG): Likewise.
3472         (POLL_ERR): Likewise.
3473         (POLL_PRI): Likewise.
3474         (POLL_HUP): Likewise.
3475         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3476         (ILL_ILLOPN): Likewise.
3477         (ILL_ILLADR): Likewise.
3478         (ILL_ILLTRP): Likewise.
3479         (ILL_PRVOPC): Likewise.
3480         (ILL_PRVREG): Likewise.
3481         (ILL_COPROC): Likewise.
3482         (ILL_BADSTK): Likewise.
3483         (FPE_INTDIV): Likewise.
3484         (FPE_INTOVF): Likewise.
3485         (FPE_FLTDIV): Likewise.
3486         (FPE_FLTOVF): Likewise.
3487         (FPE_FLTUND): Likewise.
3488         (FPE_FLTRES): Likewise.
3489         (FPE_FLTINV): Likewise.
3490         (FPE_FLTSUB): Likewise.
3491         (SEGV_MAPERR): Likewise.
3492         (SEGV_ACCERR): Likewise.
3493         (BUS_ADRALN): Likewise.
3494         (BUS_ADRERR): Likewise.
3495         (BUS_OBJERR): Likewise.
3496         (BUS_MCEERR_AR): Likewise.
3497         (BUS_MCEERR_AO): Likewise.
3498         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3499         (TRAP_TRACE): Likewise.
3500         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3501         __USE_XOPEN2K8].
3502         (CLD_KILLED): Likewise.
3503         (CLD_DUMPED): Likewise.
3504         (CLD_TRAPPED): Likewise.
3505         (CLD_STOPPED): Likewise.
3506         (CLD_CONTINUED): Likewise.
3507         (POLL_IN): Likewise.
3508         (POLL_OUT): Likewise.
3509         (POLL_MSG): Likewise.
3510         (POLL_ERR): Likewise.
3511         (POLL_PRI): Likewise.
3512         (POLL_HUP): Likewise.
3513         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3514         (ILL_ILLOPN): Likewise.
3515         (ILL_ILLADR): Likewise.
3516         (ILL_ILLTRP): Likewise.
3517         (ILL_PRVOPC): Likewise.
3518         (ILL_PRVREG): Likewise.
3519         (ILL_COPROC): Likewise.
3520         (ILL_BADSTK): Likewise.
3521         (FPE_INTDIV): Likewise.
3522         (FPE_INTOVF): Likewise.
3523         (FPE_FLTDIV): Likewise.
3524         (FPE_FLTOVF): Likewise.
3525         (FPE_FLTUND): Likewise.
3526         (FPE_FLTRES): Likewise.
3527         (FPE_FLTINV): Likewise.
3528         (FPE_FLTSUB): Likewise.
3529         (SEGV_MAPERR): Likewise.
3530         (SEGV_ACCERR): Likewise.
3531         (BUS_ADRALN): Likewise.
3532         (BUS_ADRERR): Likewise.
3533         (BUS_OBJERR): Likewise.
3534         (BUS_MCEERR_AR): Likewise.
3535         (BUS_MCEERR_AO): Likewise.
3536         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3537         (TRAP_TRACE): Likewise.
3538         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3539         __USE_XOPEN2K8].
3540         (CLD_KILLED): Likewise.
3541         (CLD_DUMPED): Likewise.
3542         (CLD_TRAPPED): Likewise.
3543         (CLD_STOPPED): Likewise.
3544         (CLD_CONTINUED): Likewise.
3545         (POLL_IN): Likewise.
3546         (POLL_OUT): Likewise.
3547         (POLL_MSG): Likewise.
3548         (POLL_ERR): Likewise.
3549         (POLL_PRI): Likewise.
3550         (POLL_HUP): Likewise.
3551         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3552         (ILL_ILLOPN): Likewise.
3553         (ILL_ILLADR): Likewise.
3554         (ILL_ILLTRP): Likewise.
3555         (ILL_PRVOPC): Likewise.
3556         (ILL_PRVREG): Likewise.
3557         (ILL_COPROC): Likewise.
3558         (ILL_BADSTK): Likewise.
3559         (FPE_INTDIV): Likewise.
3560         (FPE_INTOVF): Likewise.
3561         (FPE_FLTDIV): Likewise.
3562         (FPE_FLTOVF): Likewise.
3563         (FPE_FLTUND): Likewise.
3564         (FPE_FLTRES): Likewise.
3565         (FPE_FLTINV): Likewise.
3566         (FPE_FLTSUB): Likewise.
3567         (SEGV_MAPERR): Likewise.
3568         (SEGV_ACCERR): Likewise.
3569         (BUS_ADRALN): Likewise.
3570         (BUS_ADRERR): Likewise.
3571         (BUS_OBJERR): Likewise.
3572         (BUS_MCEERR_AR): Likewise.
3573         (BUS_MCEERR_AO): Likewise.
3574         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3575         (TRAP_TRACE): Likewise.
3576         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3577         __USE_XOPEN2K8].
3578         (CLD_KILLED): Likewise.
3579         (CLD_DUMPED): Likewise.
3580         (CLD_TRAPPED): Likewise.
3581         (CLD_STOPPED): Likewise.
3582         (CLD_CONTINUED): Likewise.
3583         (POLL_IN): Likewise.
3584         (POLL_OUT): Likewise.
3585         (POLL_MSG): Likewise.
3586         (POLL_ERR): Likewise.
3587         (POLL_PRI): Likewise.
3588         (POLL_HUP): Likewise.
3589         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3590         (ILL_ILLOPN): Likewise.
3591         (ILL_ILLADR): Likewise.
3592         (ILL_ILLTRP): Likewise.
3593         (ILL_PRVOPC): Likewise.
3594         (ILL_PRVREG): Likewise.
3595         (ILL_COPROC): Likewise.
3596         (ILL_BADSTK): Likewise.
3597         (ILL_DBLFLT): Likewise.
3598         (ILL_HARDWALL): Likewise.
3599         (FPE_INTDIV): Likewise.
3600         (FPE_INTOVF): Likewise.
3601         (FPE_FLTDIV): Likewise.
3602         (FPE_FLTOVF): Likewise.
3603         (FPE_FLTUND): Likewise.
3604         (FPE_FLTRES): Likewise.
3605         (FPE_FLTINV): Likewise.
3606         (FPE_FLTSUB): Likewise.
3607         (SEGV_MAPERR): Likewise.
3608         (SEGV_ACCERR): Likewise.
3609         (BUS_ADRALN): Likewise.
3610         (BUS_ADRERR): Likewise.
3611         (BUS_OBJERR): Likewise.
3612         (BUS_MCEERR_AR): Likewise.
3613         (BUS_MCEERR_AO): Likewise.
3614         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3615         (TRAP_TRACE): Likewise.
3616         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3617         __USE_XOPEN2K8].
3618         (CLD_KILLED): Likewise.
3619         (CLD_DUMPED): Likewise.
3620         (CLD_TRAPPED): Likewise.
3621         (CLD_STOPPED): Likewise.
3622         (CLD_CONTINUED): Likewise.
3623         (POLL_IN): Likewise.
3624         (POLL_OUT): Likewise.
3625         (POLL_MSG): Likewise.
3626         (POLL_ERR): Likewise.
3627         (POLL_PRI): Likewise.
3628         (POLL_HUP): Likewise.
3629         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3630         (ILL_ILLOPN): Likewise.
3631         (ILL_ILLADR): Likewise.
3632         (ILL_ILLTRP): Likewise.
3633         (ILL_PRVOPC): Likewise.
3634         (ILL_PRVREG): Likewise.
3635         (ILL_COPROC): Likewise.
3636         (ILL_BADSTK): Likewise.
3637         (FPE_INTDIV): Likewise.
3638         (FPE_INTOVF): Likewise.
3639         (FPE_FLTDIV): Likewise.
3640         (FPE_FLTOVF): Likewise.
3641         (FPE_FLTUND): Likewise.
3642         (FPE_FLTRES): Likewise.
3643         (FPE_FLTINV): Likewise.
3644         (FPE_FLTSUB): Likewise.
3645         (SEGV_MAPERR): Likewise.
3646         (SEGV_ACCERR): Likewise.
3647         (BUS_ADRALN): Likewise.
3648         (BUS_ADRERR): Likewise.
3649         (BUS_OBJERR): Likewise.
3650         (BUS_MCEERR_AR): Likewise.
3651         (BUS_MCEERR_AO): Likewise.
3652         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3653         (TRAP_TRACE): Likewise.
3654         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3655         __USE_XOPEN2K8].
3656         (CLD_KILLED): Likewise.
3657         (CLD_DUMPED): Likewise.
3658         (CLD_TRAPPED): Likewise.
3659         (CLD_STOPPED): Likewise.
3660         (CLD_CONTINUED): Likewise.
3661         (POLL_IN): Likewise.
3662         (POLL_OUT): Likewise.
3663         (POLL_MSG): Likewise.
3664         (POLL_ERR): Likewise.
3665         (POLL_PRI): Likewise.
3666         (POLL_HUP): Likewise.
3667         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3668         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3669
3670         [BZ #16670]
3671         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3672         before #include of <time.h>.
3673         [!__USE_XOPEN2K] (__need_timespec): Likewise.
3674         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3675         (test-xfail-UNIX98/sched.h/conform): Likewise.
3676
3677 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3678
3679         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3680         error absence of trapping exception support.
3681         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3682
3683 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3684
3685         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3686         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3687         * timezone/Makefile (testdata): Move definition above include of
3688         Rules.
3689         (test-zones): New variable.
3690         (tests-special): Add zone files.
3691         (build-testdata): Use $(evaluate-test).
3692
3693         * elf/Makefile (tests-special): Rename tests to end with .out.
3694         ($(objpfx)noload-mem): Likewise.
3695         ($(objpfx)tst-leaks1-mem): Likewise.
3696         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3697         * iconv/Makefile (xtests-special): Change test-iconvconfig to
3698         $(objpfx)test-iconvconfig.out.
3699         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
3700         set -e inside subshell and redirect output to file.
3701         * iconvdata/Makefile (generated): Rename tests to end with .out.
3702         Correct type.
3703         (tests-special): Rename tests to end with .out.
3704         ($(objpfx)mtrace-tst-loading): Likewise.
3705         * intl/Makefile (generated): Likewise.
3706         (tests-special): Likewise.
3707         ($(objpfx)mtrace-tst-gettext): Likewise.
3708         * misc/Makefile (generated): Likewise.
3709         (tests-special): Likewise.
3710         ($(objpfx)tst-error1-mem): Likewise.
3711         * nptl/Makefile (tests-special): Likewise.
3712         ($(objpfx)tst-stack3-mem): Likewise.
3713         (generated): Likewise.
3714         * posix/Makefile (generated): Likewise.
3715         (tests-special): Likewise.
3716         (xtests-special): Likewise.
3717         ($(objpfx)tst-fnmatch-mem): Likewise.
3718         ($(objpfx)bug-regex2-mem): Likewise.
3719         ($(objpfx)bug-regex14-mem): Likewise.
3720         ($(objpfx)bug-regex21-mem): Likewise.
3721         ($(objpfx)bug-regex31-mem): Likewise.
3722         ($(objpfx)tst-vfork3-mem): Likewise.
3723         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3724         ($(objpfx)tst-pcre-mem): Likewise.
3725         ($(objpfx)tst-boost-mem): Likewise.
3726         ($(objpfx)bug-ga2-mem): Likewise.
3727         ($(objpfx)bug-glob2-mem): Likewise.
3728         * resolv/Makefile (generate): Likewise.
3729         (tests-special): Likewise.
3730         (xtests-special): Likewise.
3731         (generated): Likewise.
3732         ($(objpfx)mtrace-tst-leaks): Likewise.
3733         ($(objpfx)mtrace-tst-leaks2): Likewise.
3734
3735         * scripts/merge-test-results.sh: New file.
3736         * Makefile (tests-special-notdir): New variable.
3737         (tests): Run merge-test-results.sh.
3738         (xtests): Likewise.
3739         * Rules (tests-special-notdir): New variable.
3740         (xtests-special-notdir): Likewise.
3741         (tests): Run merge-test-results.sh
3742         (xtests): Likewise.
3743
3744         * Makeconfig (test-xfail-name): New variable.
3745         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3746         compute variable name for expected failures.
3747         * conform/Makefile (conformtest-headers-data): New variable.
3748         (conformtest-standards): Likewise.
3749         (conformtest-headers-ISO): Likewise.
3750         (conformtest-headers-ISO99): Likewise.
3751         (conformtest-headers-ISO11): Likewise.
3752         (conformtest-headers-POSIX): Likewise.
3753         (conformtest-headers-XPG3): Likewise.
3754         (conformtest-headers-XPG4): Likewise.
3755         (conformtest-headers-UNIX98): Likewise.
3756         (conformtest-headers-XOPEN2K): Likewise.
3757         (conformtest-headers-POSIX2008): Likewise.
3758         (conformtest-headers-XOPEN2K8): Likewise.
3759         (conformtest-header-list-base): Likewise.
3760         (conformtest-header-list-tests): Likewise.
3761         (conformtest-header-base): Likewise.
3762         (conformtest-header-tests): Likewise.
3763         (tests-special): Add $(conformtest-header-list-tests).  If
3764         [$(fast-check) && !$(cross-compiling)], add
3765         $(conformtest-header-tests) instead of
3766         $(objpfx)run-conformtest.out.
3767         (generated): Add $(conformtest-header-list-base).  If
3768         [$(fast-check) && !$(cross-compiling)], add
3769         $(conformtest-header-base).  Remove previous setting.
3770         ($(conformtest-header-list-tests)): New target.
3771         (test-xfail-run-conformtest): Remove variable.
3772         ($(objpfx)run-conformtest.out): Remove target.
3773         (test-xfail-ISO11/complex.h/conform): New variable.
3774         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3775         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3776         (test-xfail-XPG3/varargs.h/conform): Likewise.
3777         (test-xfail-XPG4/varargs.h/conform): Likewise.
3778         (test-xfail-UNIX98/varargs.h/conform): Likewise.
3779         (test-xfail-XPG4/ndbm.h/conform): Likewise.
3780         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3781         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3782         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3783         (test-xfail-XPG3/fcntl.h/conform): Likewise.
3784         (test-xfail-XPG3/ftw.h/conform): Likewise.
3785         (test-xfail-XPG3/grp.h/conform): Likewise.
3786         (test-xfail-XPG3/langinfo.h/conform): Likewise.
3787         (test-xfail-XPG3/limits.h/conform): Likewise.
3788         (test-xfail-XPG3/pwd.h/conform): Likewise.
3789         (test-xfail-XPG3/search.h/conform): Likewise.
3790         (test-xfail-XPG3/signal.h/conform): Likewise.
3791         (test-xfail-XPG3/stdio.h/conform): Likewise.
3792         (test-xfail-XPG3/stdlib.h/conform): Likewise.
3793         (test-xfail-XPG3/string.h/conform): Likewise.
3794         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3795         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3796         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3797         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3798         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3799         (test-xfail-XPG3/sys/types.h/conform): Likewise.
3800         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3801         (test-xfail-XPG3/termios.h/conform): Likewise.
3802         (test-xfail-XPG3/time.h/conform): Likewise.
3803         (test-xfail-XPG3/unistd.h/conform): Likewise.
3804         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3805         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3806         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3807         (test-xfail-XPG4/netdb.h/conform): Likewise.
3808         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3809         (test-xfail-XPG4/signal.h/conform): Likewise.
3810         (test-xfail-XPG4/stdio.h/conform): Likewise.
3811         (test-xfail-XPG4/stdlib.h/conform): Likewise.
3812         (test-xfail-XPG4/stropts.h/conform): Likewise.
3813         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3814         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3815         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3816         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3817         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3818         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3819         (test-xfail-XPG4/sys/time.h/conform): Likewise.
3820         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3821         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3822         (test-xfail-XPG4/termios.h/conform): Likewise.
3823         (test-xfail-XPG4/ucontext.h/conform): Likewise.
3824         (test-xfail-XPG4/unistd.h/conform): Likewise.
3825         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3826         (test-xfail-POSIX/sched.h/conform): Likewise.
3827         (test-xfail-POSIX/signal.h/conform): Likewise.
3828         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3829         (test-xfail-POSIX/tar.h/conform): Likewise.
3830         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3831         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3832         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3833         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3834         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3835         (test-xfail-UNIX98/sched.h/conform): Likewise.
3836         (test-xfail-UNIX98/signal.h/conform): Likewise.
3837         (test-xfail-UNIX98/stdio.h/conform): Likewise.
3838         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3839         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3840         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3841         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3842         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3843         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3844         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3845         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3846         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3847         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3848         (test-xfail-UNIX98/unistd.h/conform): Likewise.
3849         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3850         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3851         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3852         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3853         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3854         (test-xfail-XOPEN2K/math.h/conform): Likewise.
3855         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3856         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3857         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3858         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3859         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3860         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3861         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3862         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3863         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3864         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3865         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3866         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3867         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3868         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3869         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3870         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3871         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3872         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3873         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3874         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3875         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3876         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3877         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3878         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3879         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3880         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3881         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3882         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3883         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3884         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3885         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3886         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3887         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3888         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3889         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3890         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3891         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3892         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3893         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3894         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3895         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3896         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3897         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3898         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3899         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3900         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3901         (conformtest-cc-flags): Likewise.
3902         ($(conformtest-header-tests): New target.
3903         * conform/check-header-lists.sh: New file.
3904         * conform/run-conformtest.sh: Remove.
3905
3906         * conform/conformtest.pl: Allow ' and \ in values given for
3907         constants.
3908         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3909         inclusion.
3910         [POSIX] (sys/types.h): Likewise.
3911         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3912         inclusion.
3913         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3914         inclusion.
3915         * conform/data/signal.h-data (SIGIO): Remove expectation.
3916         [XPG3] (SIGBUS): Do not expect.
3917         [POSIX || XPG3] (SIGPOLL): Likewise.
3918         [POSIX || XPG3] (SIGPROF): Likewise.
3919         [POSIX || XPG3] (SIGSYS): Likewise.
3920         [XPG3] (SIGTRAP): Likewise.
3921         [POSIX || XPG3] (SIGURG): Likewise.
3922         [POSIX || XPG3] (SIGVTALRM): Likewise.
3923         [POSIX || XPG3] (SIGXCPU): Likewise.
3924         [POSIX || XPG3] (SIGXFSZ): Likewise.
3925         [POSIX] (SA_SIGINFO): Expect.
3926         [XPG3] (siginfo_t): Do not expect type or contents.
3927         [POSIX] (si_pid): Do not expect element.
3928         [POSIX] (si_uid): Likewise.
3929         [POSIX] (si_addr): Likewise.
3930         [POSIX] (si_status): Likewise.
3931         [POSIX] (si_band): Likewise.
3932         [XPG4] (si_value): Likewise.
3933         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3934         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3935         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3936         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3937         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3938         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3939         [POSIX || XPG3] (ILL_COPROC): Likewise.
3940         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3941         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3942         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3943         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3944         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3945         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3946         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3947         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3948         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3949         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3950         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3951         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3952         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3953         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3954         [POSIX || XPG3] (CLD_EXITED): Likewise.
3955         [POSIX || XPG3] (CLD_KILLED): Likewise.
3956         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3957         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3958         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3959         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3960         [POSIX || XPG3] (POLL_IN): Likewise.
3961         [POSIX || XPG3] (POLL_OUT): Likewise.
3962         [POSIX || XPG3] (POLL_MSG): Likewise.
3963         [POSIX || XPG3] (POLL_ERR): Likewise.
3964         [POSIX || XPG3] (POLL_PRI): Likewise.
3965         [POSIX || XPG3] (POLL_HUP): Likewise.
3966         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3967         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3968         (SIG*): Do not allow.
3969         [XPG3] (si_*): Likewise.
3970         [XPG3] (SI_*): Likewise.
3971         [XPG3 || XPG4] (sigev_*): Likewise.
3972         [XPG3 || XPG4] (SIGEV_*): Likewise.
3973         [XPG3 || XPG4] (sival_*): Likewise.
3974         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3975         [POSIX || XPG3] (BUS_*): Likewise.
3976         [POSIX || XPG3] (CLD_*): Likewise.
3977         [POSIX || XPG3] (FPE_*): Likewise.
3978         [POSIX || XPG3] (ILL_*): Likewise.
3979         [POSIX || XPG3] (POLL_*): Likewise.
3980         [POSIX || XPG3] (SEGV_*): Likewise.
3981         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3982         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3983         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3984         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3985         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3986         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3987         Specify type and value.
3988         (TVERSLEN): Likewise.
3989         (REGTYPE): Likewise.
3990         (AREGTYPE): Likewise.
3991         (LNKTYPE): Likewise.
3992         (SYMTYPE): Likewise.
3993         (CHRTYPE): Likewise.
3994         (BLKTYPE): Likewise.
3995         (DIRTYPE): Likewise.
3996         (FIFOTYPE): Likewise.
3997         (CONTTYPE): Likewise.
3998         (TSUID): Likewise.
3999         (TSGID): Likewise.
4000         (TSVTX): Likewise.
4001         (TUREAD): Likewise.
4002         (TUWRITE): Likewise.
4003         (TUEXEC): Likewise.
4004         (TGREAD): Likewise.
4005         (TGWRITE): Likewise.
4006         (TGEXEC): Likewise.
4007         (TOREAD): Likewise.
4008         (TOWRITE): Likewise.
4009         (TOEXEC): Likewise.
4010         [POSIX] (TSVTX): Expect constant.
4011
4012 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
4013
4014         * Makefile (tests): Change dependencies to ....
4015         (tests-special): ... additions to this variable.
4016         (tests): Depend on $(tests-special).
4017         * Makerules (check-abi-list): New variable.
4018         (check-abi): Depend on $(check-abi-list).
4019         [$(subdir) = elf] (tests-special): Add
4020         $(objpfx)check-abi-libc.out.
4021         [$(build-shared) = yes && subdir] (tests-special): Add
4022         $(check-abi-list).
4023         [$(build-shared) = yes && subdir] (tests): Do not depend on
4024         check-abi.
4025         * Rules (tests): Depend on $(tests-special).
4026         (xtests): Depend on $(xtests-special).
4027         * catgets/Makefile (tests): Change dependencies to ....
4028         (tests-special): ... additions to this variable.
4029         * conform/Makefile (tests): Change dependencies to ....
4030         (tests-special): ... additions to this variable.
4031         * elf/Makefile (tests): Change dependencies to ....
4032         (tests-special): ... additions to this variable.
4033         * grp/Makefile (tests): Change dependencies to ....
4034         (tests-special): ... additions to this variable.
4035         * iconv/Makefile (xtests): Change dependencies to ....
4036         (xtests-special): ... additions to this variable.
4037         * iconvdata/Makefile (tests): Change dependencies to ....
4038         (tests-special): ... additions to this variable.
4039         * intl/Makefile (tests): Change dependencies to ....
4040         (tests-special): ... additions to this variable.  Also add
4041         $(objpfx)tst-gettext.out.
4042         * io/Makefile (tests): Change dependencies to ....
4043         (tests-special): ... additions to this variable.
4044         * libio/Makefile (tests): Change dependencies to ....
4045         (tests-special): ... additions to this variable.
4046         * malloc/Makefile (tests): Change dependencies to ....
4047         (tests-special): ... additions to this variable.
4048         * misc/Makefile (tests): Change dependencies to ....
4049         (tests-special): ... additions to this variable.
4050         * nptl/Makefile (tests): Change dependencies to ....
4051         (tests-special): ... additions to this variable.
4052         * nptl_db/Makefile (tests): Change dependencies to ....
4053         (tests-special): ... additions to this variable.
4054         * posix/Makefile (tests): Change dependencies to ....
4055         (tests-special): ... additions to this variable.
4056         (xtests): Change dependencies to ....
4057         (xtests-special): ... additions to this variable.
4058         * resolv/Makefile (tests): Change dependencies to ....
4059         (tests-special): ... additions to this variable.
4060         (xtests): Change dependencies to ....
4061         (xtests-special): ... additions to this variable.
4062         * stdio-common/Makefile (tests): Change dependencies to ....
4063         (tests-special): ... additions to this variable.
4064         (do-tst-unbputc): Remove target.
4065         (do-tst-printf): Likewise.
4066         * stdlib/Makefile (tests): Change dependencies to ....
4067         (tests-special): ... additions to this variable.
4068         * string/Makefile (tests): Change dependencies to ....
4069         (tests-special): ... additions to this variable.
4070         * sysdeps/x86/Makefile (tests): Change dependencies to ....
4071         (tests-special): ... additions to this variable.
4072
4073         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4074         whole file.
4075         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4076         whole file.
4077         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4078         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4079
4080         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4081         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4082         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4083         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4084         * conform/data/libgen.h-data [XPG3]: Likewise.
4085         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4086         * conform/data/ndbm.h-data [XPG3]: Likewise.
4087         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4088         * conform/data/netdb.h-data [XPG3]: Likewise.
4089         * conform/data/netinet/in.h-data [XPG3]: Likewise.
4090         * conform/data/poll.h-data [XPG3]: Likewise.
4091         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4092         * conform/data/strings.h-data [XPG3]: Likewise.
4093         * conform/data/stropts.h-data [XPG3]: Likewise.
4094         * conform/data/sys/mman.h-data [XPG3]: Likewise.
4095         * conform/data/sys/resource.h-data [XPG3]: Likewise.
4096         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4097         Likewise.
4098         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4099         * conform/data/sys/time.h-data [XPG3]: Likewise.
4100         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4101         * conform/data/sys/uio.h-data [XPG3]: Likewise.
4102         * conform/data/sys/un.h-data [XPG3]: Likewise.
4103         * conform/data/syslog.h-data [XPG3]: Likewise.
4104         * conform/data/ucontext.h-data [XPG3]: Likewise.
4105         * conform/data/utmpx.h-data [XPG3]: Likewise.
4106         * conform/data/varargs.h-data [UNIX98]: Enable file.
4107
4108         * manual/Makefile (INSTALL_INFO): Remove variable setting.
4109
4110         * math/libm-test.inc (struct test_f_f_data): Move expected results
4111         into structure for each rounding mode.
4112         (struct test_ff_f_data): Likewise.
4113         (struct test_ff_f_data_nexttoward): Likewise.
4114         (struct test_fi_f_data): Likewise.
4115         (struct test_fl_f_data): Likewise.
4116         (struct test_if_f_data): Likewise.
4117         (struct test_fff_f_data): Likewise.
4118         (struct test_c_f_data): Likewise.
4119         (struct test_f_f1_data): Likewise.
4120         (struct test_fF_f1_data): Likewise.
4121         (struct test_ffI_f1_data): Likewise.
4122         (struct test_c_c_data): Likewise.
4123         (struct test_cc_c_data): Likewise.
4124         (struct test_f_i_data): Likewise.
4125         (struct test_ff_i_data): Likewise.
4126         (struct test_f_l_data): Likewise.
4127         (struct test_f_L_data): Likewise.
4128         (struct test_fFF_11_data): Likewise.
4129         (RM_): New macro.
4130         (RM_FE_DOWNWARD): Likewise.
4131         (RM_FE_TONEAREST): Likewise.
4132         (RM_FE_TOWARDZERO): Likewise.
4133         (RM_FE_UPWARD): Likewise.
4134         (RUN_TEST_LOOP_f_f): Update references to expected results.
4135         (RUN_TEST_LOOP_2_f): Likewise.
4136         (RUN_TEST_LOOP_fff_f): Likewise.
4137         (RUN_TEST_LOOP_c_f): Likewise.
4138         (RUN_TEST_LOOP_f_f1): Likewise.
4139         (RUN_TEST_LOOP_fF_f1): Likewise.
4140         (RUN_TEST_LOOP_fI_f1): Likewise.
4141         (RUN_TEST_LOOP_ffI_f1): Likewise.
4142         (RUN_TEST_LOOP_c_c): Likewise.
4143         (RUN_TEST_LOOP_cc_c): Likewise.
4144         (RUN_TEST_LOOP_f_i): Likewise.
4145         (RUN_TEST_LOOP_f_i_tg): Likewise.
4146         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4147         (RUN_TEST_LOOP_f_b): Likewise.
4148         (RUN_TEST_LOOP_f_b_tg): Likewise.
4149         (RUN_TEST_LOOP_f_l): Likewise.
4150         (RUN_TEST_LOOP_f_L): Likewise.
4151         (RUN_TEST_LOOP_fFF_11): Likewise.
4152         * math/gen-libm-test.pl (parse_args): Output four copies of
4153         expected results for each test.
4154
4155         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4156         (__ASSUME_UTIMES): Remove.
4157         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4158         (__ASSUME_UTIMES): Likewise.
4159
4160         * math/gen-auto-libm-tests.c: Update comment on output format.
4161         (output_for_one_input_case): Generate before-rounding and
4162         after-rounding information as conditions on output flags not
4163         floating-point format.
4164         * math/auto-libm-test-out: Regenerated.
4165         * math/gen-libm-test.pl (cond_value): New function.
4166         (or_cond_value): Use cond_value.
4167         (generate_testfile): Handle conditional exceptions.
4168
4169 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
4170
4171         * math/libm-test.inc (max_valid_error): New variable.
4172         (init_max_error): Take new argument specifying whether function
4173         results are exactly determined.  Set max_valid_error and bound
4174         other variables for errors based on this argument.
4175         (set_max_error): Do not record results above max_valid_error.
4176         (check_float_internal): Only accept errors of up to 0.5ulps if
4177         also at most max_valid_error.
4178         (START): Take new argument EXACT and pass it to init_max_error.
4179         (acos_test): Update call to START.
4180         (acos_test_tonearest): Likewise.
4181         (acos_test_towardzero): Likewise.
4182         (acos_test_downward): Likewise.
4183         (acos_test_upward): Likewise.
4184         (acosh_test): Likewise.
4185         (asin_test): Likewise.
4186         (asin_test_tonearest): Likewise.
4187         (asin_test_towardzero): Likewise.
4188         (asin_test_downward): Likewise.
4189         (asin_test_upward): Likewise.
4190         (asinh_test): Likewise.
4191         (atan_test): Likewise.
4192         (atanh_test): Likewise.
4193         (atan2_test): Likewise.
4194         (cabs_test): Likewise.
4195         (cacos_test): Likewise.
4196         (cacosh_test): Likewise.
4197         (carg_test): Likewise.
4198         (casin_test): Likewise.
4199         (casinh_test): Likewise.
4200         (catan_test): Likewise.
4201         (catanh_test): Likewise.
4202         (cbrt_test): Likewise.
4203         (ccos_test): Likewise.
4204         (ccosh_test): Likewise.
4205         (ceil_test): Likewise.
4206         (cexp_test): Likewise.
4207         (cimag_test): Likewise.
4208         (clog_test): Likewise.
4209         (clog10_test): Likewise.
4210         (conj_test): Likewise.
4211         (copysign_test): Likewise.
4212         (cos_test): Likewise.
4213         (cos_test_tonearest): Likewise.
4214         (cos_test_towardzero): Likewise.
4215         (cos_test_downward): Likewise.
4216         (cos_test_upward): Likewise.
4217         (cosh_test): Likewise.
4218         (cosh_test_tonearest): Likewise.
4219         (cosh_test_towardzero): Likewise.
4220         (cosh_test_downward): Likewise.
4221         (cosh_test_upward): Likewise.
4222         (cpow_test): Likewise.
4223         (cproj_test): Likewise.
4224         (creal_test): Likewise.
4225         (csin_test): Likewise.
4226         (csinh_test): Likewise.
4227         (csqrt_test): Likewise.
4228         (ctan_test): Likewise.
4229         (ctan_test_tonearest): Likewise.
4230         (ctan_test_towardzero): Likewise.
4231         (ctan_test_downward): Likewise.
4232         (ctan_test_upward): Likewise.
4233         (ctanh_test): Likewise.
4234         (ctanh_test_tonearest): Likewise.
4235         (ctanh_test_towardzero): Likewise.
4236         (ctanh_test_downward): Likewise.
4237         (ctanh_test_upward): Likewise.
4238         (erf_test): Likewise.
4239         (erfc_test): Likewise.
4240         (exp_test): Likewise.
4241         (exp_test_tonearest): Likewise.
4242         (exp_test_towardzero): Likewise.
4243         (exp_test_downward): Likewise.
4244         (exp_test_upward): Likewise.
4245         (exp10_test): Likewise.
4246         (exp10_test_tonearest): Likewise.
4247         (exp10_test_towardzero): Likewise.
4248         (exp10_test_downward): Likewise.
4249         (exp10_test_upward): Likewise.
4250         (pow10_test): Likewise.
4251         (exp2_test): Likewise.
4252         (expm1_test): Likewise.
4253         (expm1_test_tonearest): Likewise.
4254         (expm1_test_towardzero): Likewise.
4255         (expm1_test_downward): Likewise.
4256         (expm1_test_upward): Likewise.
4257         (fabs_test): Likewise.
4258         (fdim_test): Likewise.
4259         (floor_test): Likewise.
4260         (fma_test): Likewise.
4261         (fma_test_towardzero): Likewise.
4262         (fma_test_downward): Likewise.
4263         (fma_test_upward): Likewise.
4264         (fmax_test): Likewise.
4265         (fmin_test): Likewise.
4266         (fmod_test): Likewise.
4267         (fpclassify_test): Likewise.
4268         (frexp_test): Likewise.
4269         (hypot_test): Likewise.
4270         (ilogb_test): Likewise.
4271         (isfinite_test): Likewise.
4272         (finite_test): Likewise.
4273         (isgreater_test): Likewise.
4274         (isgreaterequal_test): Likewise.
4275         (isinf_test): Likewise.
4276         (isless_test): Likewise.
4277         (islessequal_test): Likewise.
4278         (islessgreater_test): Likewise.
4279         (isnan_test): Likewise.
4280         (isnormal_test): Likewise.
4281         (issignaling_test): Likewise.
4282         (isunordered_test): Likewise.
4283         (j0_test): Likewise.
4284         (j1_test): Likewise.
4285         (jn_test): Likewise.
4286         (ldexp_test): Likewise.
4287         (lgamma_test): Likewise.
4288         (gamma_test): Likewise.
4289         (lrint_test): Likewise.
4290         (lrint_test_tonearest): Likewise.
4291         (lrint_test_towardzero): Likewise.
4292         (lrint_test_downward): Likewise.
4293         (lrint_test_upward): Likewise.
4294         (llrint_test): Likewise.
4295         (llrint_test_tonearest): Likewise.
4296         (llrint_test_towardzero): Likewise.
4297         (llrint_test_downward): Likewise.
4298         (llrint_test_upward): Likewise.
4299         (log_test): Likewise.
4300         (log10_test): Likewise.
4301         (log1p_test): Likewise.
4302         (log2_test): Likewise.
4303         (logb_test): Likewise.
4304         (logb_test_downward): Likewise.
4305         (lround_test): Likewise.
4306         (llround_test): Likewise.
4307         (modf_test): Likewise.
4308         (nearbyint_test): Likewise.
4309         (nextafter_test): Likewise.
4310         (nexttoward_test): Likewise.
4311         (pow_test): Likewise.
4312         (pow_test_tonearest): Likewise.
4313         (pow_test_towardzero): Likewise.
4314         (pow_test_downward): Likewise.
4315         (pow_test_upward): Likewise.
4316         (remainder_test): Likewise.
4317         (drem_test): Likewise.
4318         (remainder_test_tonearest): Likewise.
4319         (drem_test_tonearest): Likewise.
4320         (remainder_test_towardzero): Likewise.
4321         (drem_test_towardzero): Likewise.
4322         (remainder_test_downward): Likewise.
4323         (drem_test_downward): Likewise.
4324         (remainder_test_upward): Likewise.
4325         (drem_test_upward): Likewise.
4326         (remquo_test): Likewise.
4327         (rint_test): Likewise.
4328         (rint_test_tonearest): Likewise.
4329         (rint_test_towardzero): Likewise.
4330         (rint_test_downward): Likewise.
4331         (rint_test_upward): Likewise.
4332         (round_test): Likewise.
4333         (scalb_test): Likewise.
4334         (scalbn_test): Likewise.
4335         (scalbln_test): Likewise.
4336         (signbit_test): Likewise.
4337         (sin_test): Likewise.
4338         (sin_test_tonearest): Likewise.
4339         (sin_test_towardzero): Likewise.
4340         (sin_test_downward): Likewise.
4341         (sin_test_upward): Likewise.
4342         (sincos_test): Likewise.
4343         (sinh_test): Likewise.
4344         (sinh_test_tonearest): Likewise.
4345         (sinh_test_towardzero): Likewise.
4346         (sinh_test_downward): Likewise.
4347         (sinh_test_upward): Likewise.
4348         (sqrt_test): Likewise.
4349         (sqrt_test_tonearest): Likewise.
4350         (sqrt_test_towardzero): Likewise.
4351         (sqrt_test_downward): Likewise.
4352         (sqrt_test_upward): Likewise.
4353         (tan_test): Likewise.
4354         (tan_test_tonearest): Likewise.
4355         (tan_test_towardzero): Likewise.
4356         (tan_test_downward): Likewise.
4357         (tan_test_upward): Likewise.
4358         (tanh_test): Likewise.
4359         (tgamma_test): Likewise.
4360         (trunc_test): Likewise.
4361         (y0_test): Likewise.
4362         (y1_test): Likewise.
4363         (yn_test): Likewise.
4364         (significand_test): Likewise.
4365
4366         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4367         individual tests in comment.
4368         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4369         (prev_max_error): New variable.
4370         (prev_real_max_error): Likewise.
4371         (prev_imag_max_error): Likewise.
4372         (compare_ulp_data): Don't refer to test names in comment.
4373         (find_test_ulps): Remove function.
4374         (find_function_ulps): Likewise.
4375         (find_complex_function_ulps): Likewise.
4376         (init_max_error): Take function name as argument.  Look up ulps
4377         for that function.
4378         (print_ulps): Remove function.
4379         (print_max_error): Use prev_max_error instead of calling
4380         find_function_ulps.
4381         (print_complex_max_error): Use prev_real_max_error and
4382         prev_imag_max_error instead of calling find_complex_function_ulps.
4383         (check_float_internal): Take max_ulp parameter instead of calling
4384         find_test_ulps.  Don't call print_ulps.
4385         (check_float): Update call to check_float_internal.
4386         (check_complex): Update calls to check_float_internal.
4387         (START): Pass argument to init_max_error.
4388         * math/gen-libm-test.pl (%results): Don't include "kind"
4389         information.
4390         (parse_ulps): Don't handle ulps of individual tests.
4391         (print_ulps_file): Likewise.
4392         (output_ulps): Likewise.
4393         * math/README.libm-test: Update.
4394         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4395         individual tests.
4396         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4397         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4398         * sysdeps/arm/libm-test-ulps: Likewise.
4399         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4400         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4401         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4402         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4403         * sysdeps/microblaze/libm-test-ulps: Likewise.
4404         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4405         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4406         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4407         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4408         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4409         * sysdeps/sh/libm-test-ulps: Likewise.
4410         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4411         * sysdeps/tile/libm-test-ulps: Likewise.
4412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4413
4414 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4415
4416         * math/libm-test.inc (print_complex_max_error): Check separately
4417         whether real and imaginary errors are within allowed range and
4418         pass 0 to print_complex_function_ulps instead of value within
4419         allowed range.
4420
4421 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4422
4423         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4424         formatting.
4425         (get_handles_fopen): Likewise.
4426         (do_write_test): Likewise.
4427
4428         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4429
4430         * libio/fileops.c (do_ftell): Use cached offset when
4431         available.
4432         * libio/iofwide.c (do_ftell_wide): Likewise.
4433         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4434         _IO_file_attach.
4435         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4436
4437         [BZ #16532]
4438         * libio/libioP.h (get_file_offset): New function.
4439         * libio/fileops.c (get_file_offset): Likewise.
4440         (do_ftell): Likewise.
4441         (_IO_new_file_seekoff): Split out ftell logic.
4442         * libio/wfileops.c (do_ftell_wide): Likewise.
4443         (_IO_wfile_seekoff): Split out ftell logic.
4444         * libio/tst-ftell-active-handler.c: New test case.
4445         * libio/Makefile (tests): Add it.
4446
4447 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4448
4449         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4450         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4451
4452 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4453
4454         [BZ #16639]
4455         * nscd/connections.c (nscd_init): Call do_exit.
4456         (start_threads): Call do_exit and notify_parent.
4457         (begin_drop_privileges): Call do_exit.
4458         (finish_drop_privileges): Likewise.
4459         * nscd/selinux.c (preserve_capabilities): Likewise.
4460         (install_real_capabilities): Likewise.
4461         (nscd_selinux_enabled): Likewise.
4462         (avc_create_thread): Likewise.
4463         (avc_alloc_lock): Likewise.
4464         (nscd_avc_init): Likewise.
4465         * nscd/nscd.c (parent_fd): New static variable.
4466         (main): Create a pipe between parent and child processes.
4467         Skip closing parent_fd.
4468         (monitor_child): New function.
4469         (do_exit): Likewise.
4470         (notify_parent): Likewise.
4471         * nscd/nscd.h (notify_parent): Likewise.
4472         (do_exit): Likewise.
4473
4474 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4475
4476         * malloc/malloc.c (__libc_calloc): Revert last change.
4477
4478 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4479
4480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4481
4482 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4483
4484         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4486         implementation.
4487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4488         (__libc_ifunc_impl_list): Likewise.
4489         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4490         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4491         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4492         * string/strrchr.c: Define STRRCHR.
4493
4494 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4495
4496         * benchtest/bench-strtok.c (simple_strtok): Delete.
4497         (strtok_string): Use as benchmark.
4498         * string/strtok (STRTOK): New macro.
4499
4500 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4501
4502         * manual/threads.texi: Add header and standard comments to all
4503         functions.
4504
4505         * elf/dl-lookup.c (check_match): New function.
4506         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4507         (do_lookup_x): Remove nested function check_match. Use non-nested
4508         function check_match.
4509
4510 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4511
4512         * csu/Makefile (generated, before-compile): Use += rather than =.
4513         * catgets/Makefile (generated, generated-dirs): Likewise.
4514         * debug/Makefile (generated): Likewise.
4515         * dlfcn/Makefile (generated): Likewise.
4516         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4517         * iconvdata/Makefile (before-compile, generated): Likewise.
4518         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4519         * libio/Makefile (generated): Likewise.
4520         * malloc/Makefile (generated): Likewise.
4521         * manual/Makefile (generated, generated-dirs): Likewise.
4522         * misc/Makefile (generated): Likewise.
4523         * posix/Makefile (generated): Likewise.
4524         * resolv/Makefile (generated): Likewise.
4525         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4526         * timezone/Makefile (generated, generated-dirs): Likewise.
4527
4528         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4529
4530 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4531
4532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4533         power8 implementation.
4534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4535         file: POWER8 llround ifunc implementation.
4536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4537         (__lllround): Add POWER8 implementation.
4538         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4539         POWER8 llround implementation.
4540
4541         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4542         power8 implementation.
4543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4544         file: POWER8 llrint ifunc implementation.
4545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4546         Add POWER8 implementation.
4547         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4548         POWER8 llrint implementation.
4549
4550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4551         power8 implementation.
4552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4553         file: POWER8 finite ifunc implementation.
4554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4555         Add POWER8 implementation.
4556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4557         Likewise.
4558         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4559         POWER8 finite implementation.
4560         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4561
4562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4563         power8 implementation.
4564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4565         file: POWER8 isinf ifunc implementation.
4566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4567         POWER8 implementation.
4568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4569         Likewise.
4570         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4571         isinf implementation.
4572         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4573
4574         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4575         (INIT_ARCH): Add hwcap2 initialization.
4576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4577         power8 implementation.
4578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4579         file: POWER8 isnan ifunc implementation.
4580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4581         POWER8 implementation.
4582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4583         Likewise.
4584         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4585         isnan implementation.
4586         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4587
4588 2014-02-27  Joey Ye  <joey.ye@arm.com>
4589
4590         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4591         (_FP_NANFRAC_Q): Set to zero.
4592
4593 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4594
4595         [BZ #16623]
4596         * math/auto-libm-test-in: New test inputs.
4597         * math/auto-libm-test-out: Regenerate.
4598         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4599         and DA.
4600         (__cos): Likewise.
4601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4602
4603 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4604
4605         * scripts/evaluate-test.sh: Take new argument indicating whether
4606         failure is expected.
4607         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4608         indicating whether failure is expected.
4609         * conform/Makefile (test-xfail-run-conformtest): New variable.
4610         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4611         level.
4612         * posix/Makefile (test-xfail-annexc): New variable.
4613         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4614
4615 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4616
4617         * argp/Makefile: Include Makeconfig immediately after defining
4618         subdir.
4619         * assert/Makefile: Likewise.
4620         * benchtests/Makefile: Likewise.
4621         * catgets/Makefile: Likewise.
4622         * conform/Makefile: Likewise.
4623         * crypt/Makefile: Likewise.
4624         * csu/Makefile: Likewise.
4625         (all): Remove target.
4626         * ctype/Makefile: Include Makeconfig immediately after defining
4627         subdir.
4628         * debug/Makefile: Likewise.
4629         * dirent/Makefile: Likewise.
4630         * dlfcn/Makefile: Likewise.
4631         * gmon/Makefile: Likewise.
4632         * gnulib/Makefile: Likewise.
4633         * grp/Makefile: Likewise.
4634         * gshadow/Makefile: Likewise.
4635         * hesiod/Makefile: Likewise.
4636         * hurd/Makefile: Likewise.
4637         (all): Remove target.
4638         * iconvdata/Makefile: Include Makeconfig immediately after
4639         defining subdir.
4640         * inet/Makefile: Likewise.
4641         * intl/Makefile: Likewise.
4642         * io/Makefile: Likewise.
4643         * libio/Makefile: Likewise.
4644         (all): Remove target.
4645         * locale/Makefile: Include Makeconfig immediately after defining
4646         subdir.
4647         * login/Makefile: Likewise.
4648         * mach/Makefile: Likewise.
4649         (all): Remove target.
4650         * malloc/Makefile: Include Makeconfig immediately after defining
4651         subdir.
4652         (all): Remove target.
4653         * manual/Makefile: Include Makeconfig immediately after defining
4654         subdir.
4655         * math/Makefile: Likewise.
4656         * misc/Makefile: Likewise.
4657         * nis/Makefile: Likewise.
4658         * nss/Makefile: Likewise.
4659         * po/Makefile: Likewise.
4660         (all): Remove target.
4661         * posix/Makefile: Include Makeconfig immediately after defining
4662         subdir.
4663         * pwd/Makefile: Likewise.
4664         * resolv/Makefile: Likewise.
4665         * resource/Makefile: Likewise.
4666         * rt/Makefile: Likewise.
4667         * setjmp/Makefile: Likewise.
4668         * shadow/Makefile: Likewise.
4669         * signal/Makefile: Likewise.
4670         * socket/Makefile: Likewise.
4671         * soft-fp/Makefile: Likewise.
4672         * stdio-common/Makefile: Likewise.
4673         * stdlib/Makefile: Likewise.
4674         * streams/Makefile: Likewise.
4675         * string/Makefile: Likewise.
4676         * sunrpc/Makefile: Likewise.
4677         (all): Remove target.
4678         * sysvipc/Makefile: Include Makeconfig immediately after defining
4679         subdir.
4680         * termios/Makefile: Likewise.
4681         * time/Makefile: Likewise.
4682         * timezone/Makefile: Likewise.
4683         (all): Remove target.
4684         * wcsmbs/Makefile: Include Makeconfig immediately after defining
4685         subdir.
4686         * wctype/Makefile: Likewise.
4687
4688 2014-02-26  Steve Ellcey  <sellcey@mips.com>
4689
4690         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4691         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4692         (libc_feholdexcept_setround_mips): Ditto.
4693         (libc_feholdsetround): New.
4694         (libc_feholdsetroundf): New.
4695         (libc_feholdsetroundl): New.
4696         (libc_feupdateenv_test_mips): New.
4697         (libc_feupdateenv_test): New.
4698         (libc_feupdateenv_testf): New.
4699         (libc_feupdateenv_testl): New.
4700         (libc_feresetround): New.
4701         (libc_feresetroundf): New.
4702         (libc_feresetroundl): New.
4703         (libc_fetestexcept_mips): New.
4704         (libc_fetestexcept): New.
4705         (libc_fetestexceptf): New.
4706         (libc_fetestexceptl): New.
4707         (HAVE_RM_CTX): New.
4708         (libc_feholdexcept_setround_mips_ctx): New.
4709         (libc_feholdexcept_setround_ctx): New.
4710         (libc_feholdexcept_setroundf_ctx): New.
4711         (libc_feholdexcept_setroundl_ctx): New.
4712         (libc_fesetenv_mips_ctx): New.
4713         (libc_fesetenv_ctx): New.
4714         (libc_fesetenv_ctxf): New.
4715         (libc_fesetenv_ctxl): New.
4716         (libc_feupdateenv_mips_ctx): New.
4717         (libc_feupdateenv_ctx): New.
4718         (libc_feupdateenvf_ctx): New.
4719         (libc_feupdateenvl_ctx): New.
4720         (libc_feholdsetround_mips_ctx): New.
4721         (libc_feholdsetround_ctx): New.
4722         (libc_feholdsetroundf_ctx): New.
4723         (libc_feholdsetroundl_ctx): New.
4724         (libc_feresetround_mips_ctx): New.
4725         (libc_feresetround_ctx): New.
4726         (libc_feresetroundf_ctx): New.
4727         (libc_feresetroundl_ctx): New.
4728
4729 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
4730
4731         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4732
4733         * manual/ipc.texi: New file.
4734         * manual/Makefile (chapters): Add ipc.
4735         * manual/job.texi: Add "Inter-Process Communication" to next.
4736         * manual/process.texi: Add "Inter-Process Communication" to prev.
4737
4738 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4739
4740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4741
4742 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
4743
4744         * malloc/malloc.c (__libc_calloc): Simplify implementation.
4745
4746         * manual/arith.texi: Fix spaces after sentences.
4747         * manual/charset.texi: Likewise.
4748         * manual/errno.texi: Likewise.
4749         * manual/install.texi: Likewise.
4750         * manual/llio.texi: Likewise.
4751         * manual/locale.texi: Likewise.
4752         * manual/maint.texi: Likewise.
4753         * manual/math.texi: Likewise.
4754         * manual/memory.texi: Likewise.
4755         * manual/message.texi: Likewise.
4756         * manual/probes.texi: Likewise.
4757         * manual/resource.texi: Likewise.
4758         * manual/signal.texi: Likewise.
4759         * manual/socket.texi: Likewise.
4760         * manual/stdio.texi: Likewise.
4761         * manual/string.texi: Likewise.
4762         * manual/time.texi: Likewise.
4763         * manual/users.texi: Likewise.
4764
4765 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
4766
4767         [BZ #16632]
4768         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4769         _DEFAULT_SOURCE is defined.
4770
4771 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
4772             Carlos O'Donell  <carlos@redhat.com>
4773
4774         [BZ #16613]
4775         * elf/dl-tls.c (_dl_count_modids): New function.
4776         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4777         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4778         audit library and increment generation counter.
4779         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4780         * elf/tst-audit9.c: New file.
4781         * elf/tst-auditmod9a.c: New file.
4782         * elf/tst-auditmod9b.c: New file.
4783         * elf/Makefile: Add rules to build and run tst-audit9.
4784
4785 2014-02-25  Florian Weimer  <fweimer@redhat.com>
4786
4787         [BZ #15347]
4788         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4789
4790 2014-02-25  Will Newton  <will.newton@linaro.org>
4791
4792         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4793         (__longjmp): Restore sp and lr before restoring callee
4794         saved registers.  Add longjmp and longjmp_target
4795         SystemTap probe point.
4796         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4797         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4798         Define to zero to match jmpbuf layout.
4799         * sysdeps/arm/setjmp.S: Include stap-probe.h.
4800         (__sigsetjmp): Save sp and lr before saving callee
4801         saved registers.  Add setjmp SystemTap probe point.
4802
4803 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4804
4805         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4806
4807 2014-02-24  Andreas Schwab  <schwab@suse.de>
4808
4809         [BZ #15804]
4810         * elf/pldd.c (wait_for_ptrace_stop): New function.
4811         (main): Call it after attaching.
4812
4813 2014-02-22  Roland McGrath  <roland@hack.frob.com>
4814
4815         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4816         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4817         Versions files is now verboten.
4818         * hurd/Versions (libc: GLIBC_2.0):
4819         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4820         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4821         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4822         * mach/Versions: Likewise.
4823
4824         * csu/Versions: Remove unused %include.
4825         * resolv/Versions: Likewise.
4826
4827 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
4828
4829         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4830         ($(objpfx)check-local-headers.out): Likewise.
4831         ($(objpfx)begin-end-check.out): Likewise.
4832         * Makerules (check-abi-%.out): Likewise.
4833         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4834         ($(objpfx)test2.cat): Likewise.
4835         ($(objpfx)de/libc.cat): Likewise.
4836         ($(objpfx)test-gencat.out): Likewise.
4837         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4838         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4839         ($(objpfx)noload-mem): Likewise.
4840         ($(objpfx)tst-pathopt.out): Likewise.
4841         ($(objpfx)tst-rtld-load-self.out): Likewise.
4842         ($(objpfx)tst-array1-cmp.out): Likewise.
4843         ($(objpfx)tst-array1-static-cmp.out): Likewise.
4844         ($(objpfx)tst-array2-cmp.out): Likewise.
4845         ($(objpfx)tst-array3-cmp.out): Likewise.
4846         ($(objpfx)tst-array4-cmp.out): Likewise.
4847         ($(objpfx)tst-array5-cmp.out): Likewise.
4848         ($(objpfx)tst-array5-static-cmp.out): Likewise.
4849         ($(objpfx)check-textrel.out): Likewise.
4850         ($(objpfx)check-execstack.out): Likewise.
4851         ($(objpfx)check-localplt.out): Likewise.
4852         ($(objpfx)order2-cmp.out): Likewise.
4853         ($(objpfx)tst-leaks1-mem): Likewise.
4854         ($(objpfx)tst-leaks1-static-mem): Likewise.
4855         ($(objpfx)tst-initorder-cmp.out): Likewise.
4856         ($(objpfx)tst-initorder2-cmp.out): Likewise.
4857         ($(objpfx)tst-unused-dep.out): Likewise.
4858         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4859         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4860         * iconv/Makefile (test-iconvconfig): Likewise.
4861         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4862         ($(objpfx)iconv-test.out): Likewise.
4863         ($(objpfx)tst-tables.out): Likewise.
4864         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4865         ($(objpfx)tst-gettext.out): Likewise.
4866         ($(objpfx)tst-translit.out): Likewise.
4867         ($(objpfx)tst-gettext2.out): Likewise.
4868         ($(objpfx)tst-gettext4.out): Likewise.
4869         ($(objpfx)tst-gettext6.out): Likewise.
4870         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4871         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4872         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4873         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4874         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4875         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4876         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4877         ($(objpfx)wordexp-tst.out): Likewise.
4878         ($(objpfx)annexc.out): Likewise.
4879         ($(objpfx)tst-fnmatch-mem): Likewise.
4880         ($(objpfx)bug-regex2-mem): Likewise.
4881         ($(objpfx)bug-regex14-mem): Likewise.
4882         ($(objpfx)bug-regex21-mem): Likewise.
4883         ($(objpfx)bug-regex31-mem): Likewise.
4884         ($(objpfx)tst-vfork3-mem): Likewise.
4885         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4886         ($(objpfx)tst-pcre-mem): Likewise.
4887         ($(objpfx)tst-boost-mem): Likewise.
4888         ($(objpfx)tst-getconf.out): Likewise.
4889         ($(objpfx)bug-ga2-mem): Likewise.
4890         ($(objpfx)bug-glob2-mem): Likewise.
4891         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4892         ($(objpfx)mtrace-tst-leaks2): Likewise.
4893         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4894         ($(objpfx)tst-printf.out): Likewise.
4895         ($(objpfx)tst-setvbuf1.out): Likewise.
4896         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4897         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4898         ($(objpfx)tst-fmtmsg.out): Likewise.
4899         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4900         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4901
4902         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4903         * bits/sigaction.h [__USE_MISC]: Likewise.
4904         * bits/waitstatus.h: Update #endif comments.
4905         * ctype/ctype.h: Likewise.
4906         * dirent/dirent.h: Likewise.
4907         [__USE_MISC]: Remove redundant conditionals.
4908         * grp/grp.h: Update #endif comments.
4909         [__USE_GNU]: Remove redundant conditionals.
4910         [__USE_MISC]: Likewise.
4911         * inet/netinet/in.h [__USE_GNU]: Likewise.
4912         * io/sys/stat.h [__USE_MISC]: Likewise.
4913         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4914         * libio/bits/stdio.h: Update #endif comments.
4915         [__USE_MISC]: Remove redundant conditionals.
4916         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4917         * libio/stdio.h: Update #endif comments.
4918         [__USE_MISC]: Remove redundant conditionals.
4919         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4920         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4921         * math/math.h: Update #else and #endif comments.
4922         [__USE_MISC]: Remove redundant conditionals.
4923         * misc/sys/uio.h: Update #endif comments.
4924         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4925         * posix/glob.h [__USE_MISC]: Likewise.
4926         * posix/sys/types.h: Update #endif comments.
4927         [__USE_MISC]: Remove redundant conditionals.
4928         * posix/sys/wait.h: Update #endif comments.
4929         [__USE_MISC]: Remove redundant conditionals.
4930         * posix/unistd.h: Update #endif comments.
4931         [__USE_MISC]: Remove redundant conditionals.
4932         * pwd/pwd.h [__USE_GNU]: Likewise.
4933         [__USE_MISC]: Likewise.
4934         * resolv/netdb.h [__USE_GNU]: Likewise.
4935         * signal/signal.h: Update #endif comments.
4936         [__USE_MISC]: Remove redundant conditionals.
4937         * stdlib/stdlib.h: Update #else and #endif comments.
4938         [__USE_MISC]: Remove redundant conditionals.
4939         [__USE_GNU]: Likewise.
4940         * string/bits/string2.h [__USE_MISC]: Likewise.
4941         * string/string.h: Update #endif comments.
4942         [__USE_MISC]: Remove redundant conditionals.
4943         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4944         Likewise.
4945         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4946         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4947         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4948         Likewise.
4949         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4950         Likewise.
4951         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4952         comments.
4953         [__USE_MISC]: Remove redundant conditionals.
4954         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4955         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4956         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4957         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4958         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4959         Likewise.
4960         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4961         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4962         Likewise.
4963         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4964         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4965         Likewise.
4966         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4967         Likewise.
4968         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4969         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4970         Likewise.
4971         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4972         Likewise.
4973         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4974         * sysdeps/x86/bits/string.h: Update #endif comments.
4975         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4976         conditionals.
4977         * time/sys/time.h: Update #endif comments.
4978         * time/time.h: Likewise.
4979         [__USE_MISC]: Remove redundant conditionals.
4980
4981 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
4982
4983         [BZ #16600]
4984         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4985
4986 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
4987
4988         * Versions.def (librt): Add GLIBC_2.17.
4989
4990 2014-02-21  Adam Conrad  <adconrad@0c3.net>
4991
4992         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4993         synonym for _SYS_AUXV_H to allow direct inclusion.
4994         * sysdeps/sparc/bits/hwcap.h: Likewise.
4995         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4996         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4997         * sysdeps/sparc/sysdep.h: Likewise.
4998
4999 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5000
5001         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5002
5003 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5004
5005         * benchtests/bench-strrchr.c: Print length instead of position.
5006
5007 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
5008
5009         [BZ #16611]
5010         * sysdeps/unix/sysv/linux/kernel-features.h
5011         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5012         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5013         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5014         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5015         Likewise.
5016         [__i386__ || __powerpc__ || __sh__ || __sparc__]
5017         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5018         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5019         (__ASSUME_SENDMMSG): Define instead of using previous
5020         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5021         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5022         (__ASSUME_SENDMMSG_SYSCALL): Define.
5023         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5024         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5025         Likewise.
5026         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5027         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5028         Likewise.
5029         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5030         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5031         Likewise.
5032         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5033         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5034         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5035         [__ASSUME_SENDMMSG]: Change conditionals to
5036         [__ASSUME_SENDMMSG_SOCKETCALL].
5037         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5038         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5039         Define.
5040         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5041         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5042         Likewise.
5043         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5044         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5045         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5046         [!__ASSUME_SENDMMSG]: Change conditional to
5047         [!__ASSUME_SENDMMSG_SOCKETCALL].
5048         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5049         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5050         Define.
5051
5052         [BZ #16610]
5053         * sysdeps/unix/sysv/linux/kernel-features.h
5054         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5055         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5056         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5057         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5058         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5059         [__i386__ || __sparc__]
5060         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5061         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5062         (__ASSUME_RECVMMSG): Define instead of using previous
5063         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5064         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5065         (__ASSUME_RECVMMSG_SYSCALL): Define.
5066         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5067         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5068         Likewise.
5069         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5070         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5071         Likewise.
5072         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5073         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5074         Likewise.
5075         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5076         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5077         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5078         [__ASSUME_RECVMMSG]: Change condition to
5079         [__ASSUME_RECVMMSG_SOCKETCALL].
5080         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5081         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5082         Define.
5083         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5084         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5085         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5086         Likewise.
5087         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5088         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5089         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5090         [!__ASSUME_RECVMMSG]: Change condition to
5091         [!__ASSUME_RECVMMSG_SOCKETCALL].
5092         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5093         (__ASSUME_RECVMMSG_SYSCALL): Define.
5094
5095         [BZ #16609]
5096         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5097         __powerpc__ || __s390__ || __sh__ || __sparc__]
5098         (__ASSUME_SOCKETCALL): Define.
5099         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5100         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5101         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5102         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5103         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5104         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5105         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5106         (__ASSUME_ACCEPT4): Define instead of using previous
5107         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5108         __powerpc__ || __sparc__ || __s390__)] condition.
5109         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5110         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5111         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5112         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5113         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5114         [!__ASSUME_ACCEPT4]: Change condition to
5115         [!__ASSUME_ACCEPT4_SOCKETCALL].
5116         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5117         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
5118         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5119         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5120         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5121         __ASSUME_ACCEPT4_SYSCALL.
5122         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5123         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5124         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5125         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5126         __ASSUME_ACCEPT4_SYSCALL.
5127         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5128         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5129         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5130         [__ASSUME_ACCEPT4]: Change condition to
5131         [__ASSUME_ACCEPT4_SOCKETCALL].
5132         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5133         (__ASSUME_SOCKETCALL): Define.
5134         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5135         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5136         (__ASSUME_SOCKETCALL): Define.
5137         (__ASSUME_ACCEPT4): Remove.
5138         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5139         Define.
5140         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5141         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5142         Likewise.
5143         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5144         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5145
5146         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5147         macro.
5148         (HWCAP_ARM_LPAE): Likewise.
5149         (HWCAP_ARM_EVTSTRM): Likewise.
5150         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5151         Add vpfd32, lpae and evtstrm.
5152         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5153         Increase to 22.
5154
5155 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
5156
5157         * math/auto-libm-test-in: Add tests of clog10.
5158         * math/auto-libm-test-out: Regenerated.
5159         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5160         * sysdeps/i386/fpu/libm-test-ulps: Update.
5161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5162
5163 2014-02-18  Andreas Schwab  <schwab@suse.de>
5164
5165         [BZ #16574]
5166         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5167         Store non-zero if the second buffer was newly allocated.
5168         (send_dg): Likewise.
5169         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5170         to send_vc and send_dg.
5171         (res_nsend): Pass NULL for ansp2_malloced.
5172         * resolv/res_query.c (__libc_res_nquery): Add parameter
5173         answerp2_malloced and pass it down to __libc_res_nsend.
5174         (res_nquery): Pass additional NULL to __libc_res_nquery.
5175         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5176         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
5177         second answer buffer if answerp2_malloced was set.
5178         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5179         (__libc_res_nquerydomain): Add parameter
5180         answerp2_malloced and pass it down to __libc_res_nquery.
5181         (res_nquerydomain): Pass additional NULL to
5182         __libc_res_nquerydomain.
5183         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5184         additional NULL to __libc_res_nsend and __libc_res_nquery.
5185         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5186         additional NULL to __libc_res_nsearch.
5187         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
5188         parameter of __libc_res_nsearch to check for separately allocated
5189         second buffer.
5190         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5191         __libc_res_nquery.
5192         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5193         additional NULL to __libc_res_nquery.
5194         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5195         __libc_res_nsearch.
5196         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5197         * include/resolv.h: Update prototypes of __libc_res_nquery,
5198         __libc_res_nsearch, __libc_res_nsend.
5199
5200 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
5201
5202         * math/auto-libm-test-in: Add tests of fma.
5203         * math/auto-libm-test-out: Regenerated.
5204         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5205         (fma_towardzero_test_data): Likewise.
5206         (fma_downward_test_data): Likewise.
5207         (fma_upward_test_data): Likewise.
5208         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5209         mpc_mode.
5210         (rounding_modes): Add values for new field.
5211         (func_calc_method): Add value mpfr_fff_f.
5212         (func_calc_desc): Add mpfr_fff_f union field.
5213         (test_function): Add field exact_args.
5214         (FUNC): Add macro argument EXACT_ARGS.
5215         (FUNC_mpfr_f_f): Update call to FUNC.
5216         (FUNC_mpfr_f_f): Likewise.
5217         (FUNC_mpfr_ff_f): Likewise.
5218         (FUNC_mpfr_if_f): Likewise.
5219         (FUNC_mpc_c_f): Likewise.
5220         (FUNC_mpc_c_c): Likewise.
5221         (test_functions): Add fma.  Update calls to FUNC.
5222         (handle_input_arg): Add argument exact_args.
5223         (add_test): Update call to handle_input_arg.
5224         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5225         (output_for_one_input_case): Update call to calc_generic_results.
5226         Recalculate exact zero results in each rounding mode.
5227
5228         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5229         non-negative before setting low bit.
5230         * math/auto-libm-test-in: Mark one asin test possibly having
5231         spurious underflow.
5232         * math/auto-libm-test-out: Regenerated.
5233         * sysdeps/i386/fpu/libm-test-ulps: Update.
5234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5235
5236 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5237
5238         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5239         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5240         ports/sysdeps/unix/sysv/linux/microblaze.
5241         * README: Add missing listing for microblaze*-*-linux-gnu.
5242
5243 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5244
5245         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5246         * sysdeps/unix/sysv/linux/ia64: Move directory from
5247         ports/sysdeps/unix/sysv/linux/ia64.
5248         * README: Update listing for ia64-*-linux-gnu.
5249
5250 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5251             Joseph Myers  <joseph@codesourcery.com>
5252
5253         * Makeconfig (test-name): New variable.
5254         (evaluate-test): Likewise.
5255         * Makerules (do-test-clean): Remove .test-result files.
5256         (common-mostlyclean): Likewise.
5257         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5258         * scripts/evaluate-test.sh: New file.
5259
5260 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5261
5262         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5263         separate $(objpfx)tst-fopenloc-cmp.out and
5264         $(objpfx)tst-fopenloc-mem.out targets.
5265         (tests): Update dependencies.
5266         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5267         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5268         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5269         (tst-rxspencer-no-utf8-ARGS): New variable.
5270         (tst-rxspencer-no-utf8-ENV): Likewise.
5271         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5272         instead of $(objpfx)tst-rxspencer-mem.
5273         ($(objpfx)tst-rxspencer-mem): Change target to
5274         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5275         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5276         * posix/tst-rxspencer-no-utf8.c: New file.
5277
5278         * elf/Makefile ($(objpfx)order.out): Remove rule.
5279         [$(run-built-tests) = yes] (tests): Depend on
5280         $(objpfx)order-cmp.out.
5281         ($(objpfx)order-cmp.out): New rule.
5282         [$(run-built-tests) = yes] (tests): Depend on
5283         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5284         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5285         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5286         $(objpfx)tst-array5-static-cmp.out.
5287         ($(objpfx)tst-array1.out): Remove rule.
5288         ($(objpfx)tst-array1-cmp.out): New rule.
5289         ($(objpfx)tst-array1-static.out): Remove rule.
5290         ($(objpfx)tst-array1-static-cmp.out): New rule.
5291         ($(objpfx)tst-array2.out): Remove rule.
5292         ($(objpfx)tst-array2-cmp.out): New rule.
5293         ($(objpfx)tst-array3.out): Remove rule.
5294         ($(objpfx)tst-array3-cmp.out): New rule.
5295         ($(objpfx)tst-array4.out): Remove rule.
5296         ($(objpfx)tst-array4-cmp.out): New rule.
5297         ($(objpfx)tst-array5.out): Remove rule.
5298         ($(objpfx)tst-array5-cmp.out): New rule.
5299         ($(objpfx)tst-array5-static.out): Remove rule.
5300         ($(objpfx)tst-array5-static-cmp.out): New rule.
5301         [$(run-built-tests) = yes] (tests): Depend on
5302         $(objpfx)order2-cmp.out.
5303         ($(objpfx)order2.out): Remove rule.
5304         ($(objpfx)order2-cmp.out): New rule.
5305         ($(objpfx)tst-initorder.out): Remove rule.
5306         [$(run-built-tests) = yes] (tests): Depend on
5307         $(objpfx)tst-initorder-cmp.out.
5308         ($(objpfx)tst-initorder-cmp.out): New rule.
5309         ($(objpfx)tst-initorder2.out): Remove rule.
5310         [$(run-built-tests) = yes] (tests): Depend on
5311         $(objpfx)tst-initorder2-cmp.out.
5312         ($(objpfx)tst-initorder2-cmp.out): New rule.
5313         [$(run-built-tests) = yes] (tests): Depend on
5314         $(objpfx)tst-unused-dep-cmp.out.
5315         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5316         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5317         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5318         on $(objpfx)tst-setvbuf1-cmp.out.
5319         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5320         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5321         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5322         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5323         ($(objpfx)tst-svc.out): Remove rule.
5324         ($(objpfx)tst-svc-cmp.out): New rule.
5325
5326 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5327
5328         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5329         * ctype/ctype.h [__USE_MISC]: Likewise.
5330         * dirent/dirent.h [__USE_MISC]: Likewise.
5331         * grp/grp.h [__USE_MISC]: Likewise.
5332         * io/fcntl.h [__USE_MISC]: Likewise.
5333         * io/sys/stat.h [__USE_MISC]: Likewise.
5334         * libio/stdio.h [__USE_MISC]: Likewise.
5335         * posix/unistd.h [__USE_MISC]: Likewise.
5336         * pwd/pwd.h [__USE_MISC]: Likewise.
5337         * stdlib.h [__USE_MISC]: Likewise.
5338         * string/bits/string2.h [__USE_MISC]: Likewise.
5339         * string/string.h [__USE_MISC]: Likewise.
5340         * time/time.h [__USE_MISC]: Likewise.
5341
5342 2014-02-13  Andreas Schwab  <schwab@suse.de>
5343
5344         [BZ #16574]
5345         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5346         second answer buffer if it was separately allocated.
5347
5348 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5349
5350         * sysdeps/mips/math-tests.h: Include <features.h>.
5351         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5352         (ROUNDING_TESTS_long_double): Do not define.
5353         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5354         (EXCEPTION_TESTS_long_double): Likewise.
5355         * sysdeps/mips/mips64/libm-test-ulps: Update.
5356
5357         * include/features.h (__USE_BSD): Remove macro definitions.
5358         (__USE_SVID): Likewise.
5359         (_BSD_SOURCE): Likewise.
5360         (_SVID_SOURCE): Likewise.
5361         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5362         from definition of _DEFAULT_SOURCE.
5363         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5364         [_DEFAULT_SOURCE].
5365         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5366         * bits/mman.h [__USE_BSD]: Likewise.
5367         * bits/termios.h [__USE_BSD]: Likewise.
5368         * bits/waitstatus.h [__USE_BSD]: Likewise.
5369         * ctype/ctype.h [__USE_SVID]: Likewise.
5370         * dirent/dirent.h [__USE_BSD]: Likewise.
5371         * grp/grp.h [__USE_SVID]: Likewise.
5372         [__USE_BSD]: Likewise.
5373         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5374         * io/fcntl.h [__USE_BSD]: Likewise.
5375         * io/ftw.h [__USE_BSD]: Likewise.
5376         * io/sys/stat.h [__USE_BSD]: Likewise.
5377         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5378         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5379         * libio/stdio.h [__USE_SVID]: Likewise.
5380         [__USE_BSD]: Likewise.
5381         * math/math.h [__USE_SVID]: Likewise.
5382         [__USE_BSD]: Likewise.
5383         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5384         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5385         * misc/search.h [__USE_SVID]: Likewise.
5386         * misc/sys/mman.h [__USE_BSD]: Likewise.
5387         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5388         * misc/sys/uio.h [__USE_BSD]: Likewise.
5389         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5390         * posix/glob.h [__USE_BSD]: Likewise.
5391         * posix/regex.h [__USE_BSD]: Likewise.
5392         * posix/sys/types.h [__USE_BSD]: Likewise.
5393         [__USE_SVID]: Likewise.
5394         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5395         * posix/sys/wait.h [__USE_BSD]: Likewise.
5396         [__USE_SVID]: Likewise.
5397         * posix/unistd.h [__USE_BSD]: Likewise.
5398         [__USE_SVID]: Likewise.
5399         * pwd/pwd.h [__USE_SVID]: Likewise.
5400         * resolv/netdb.h [__USE_BSD]: Likewise.
5401         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5402         * signal/signal.h [__USE_BSD]: Likewise.
5403         [__USE_SVID]: Likewise.
5404         * socket/sys/socket.h [__USE_BSD]: Likewise.
5405         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5406         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5407         [__USE_SVID]: Likewise.
5408         * string/bits/string2.h [__USE_BSD]: Likewise.
5409         [__USE_SVID]: Likewise.
5410         * string/bits/string3.h [__USE_BSD]: Likewise.
5411         * string/endian.h [__USE_BSD]: Likewise.
5412         * string/string.h [__USE_SVID]: Likewise.
5413         [__USE_BSD]: Likewise.
5414         * string/strings.h [__USE_BSD]: Likewise.
5415         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5416         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5417         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5418         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5419         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5420         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5421         Likewise.
5422         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5423         Likewise.
5424         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5425         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5426         Likewise.
5427         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5428         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5429         Likewise.
5430         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5431         Likewise.
5432         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5433         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5434         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5435         Likewise.
5436         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5437         Likewise.
5438         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5439         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5440         * termios/termios.h [__USE_BSD]: Likewise.
5441         * time/sys/time.h [__USE_BSD]: Likewise.
5442         * time/time.h [__USE_BSD]: Likewise.
5443         [__USE_SVID]: Likewise.
5444
5445         * Makefile (subdir_targets): Remove subdir_lint.out.
5446
5447         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5448         (do-tst-printf): Likewise.
5449         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5450         $(objpfx)tst-printf.out.
5451
5452         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5453
5454         * Makerules (check-abi-%): Change target to
5455         $(objpfx)check-abi-%.out.
5456         (check-abi target): Update dependencies.
5457         (check-abi-pattern variable): Redirect output of diff to $@.
5458         (check-abi variable): Likewise.
5459         * elf/Makefile (check-abi): Update dependencies.
5460
5461         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5462         unused.
5463         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5464         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5465         subnormal range.
5466         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5467         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5468         value has largest subnormal exponent.
5469         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5470         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5471         * sysdeps/aarch64/soft-fp/sfp-machine.h
5472         (_FP_TININESS_AFTER_ROUNDING): New macro.
5473         * sysdeps/alpha/soft-fp/sfp-machine.h
5474         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5475         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5476         Likewise.
5477         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5478         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5479         * sysdeps/mips/soft-fp/sfp-machine.h
5480         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5481         * sysdeps/powerpc/soft-fp/sfp-machine.h
5482         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5483         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5484         Likewise.
5485         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5486         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5487         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5488         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5489         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5490         Likewise.
5491
5492 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5493
5494         [BZ #16545]
5495         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5496         model 1.
5497
5498 2014-02-12  Richard Henderson  <rth@redhat.com>
5499
5500         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5501         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5502         * sysdeps/unix/sysv/linux/alpha: Move directory from
5503         ports/sysdeps/unix/sysv/linux/alpha.
5504         * README: Update listing for alpha-*-linux-gnu.
5505
5506 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5507
5508         * include/features.h: Update comment documenting feature test
5509         macros.
5510         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5511         _DEFAULT_SOURCE.
5512         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5513         (_SVID_SOURCE): Likewise.
5514         (_DEFAULT_SOURCE): Update description of default features.
5515         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5516         with _GNU_SOURCE.
5517         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5518         (S_ISVTX): Likewise.
5519         * manual/math.texi (Mathematical Constants): Likewise.
5520         * manual/signal.texi (Interrupted Primitives): Likewise.
5521         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5522         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5523         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5524         Don't refer to _SVID_SOURCE in warning text.
5525
5526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5527
5528         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5529         already defined.
5530         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5531         * sysdeps/mips/dl-lookup.c: Remove.
5532         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5533
5534 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5535
5536         [BZ #16447]
5537         * math/auto-libm-test-in: Add testcase for expl.
5538         * math/auto-libm-test-out: Regenerate.
5539         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5540         calculation of unsafe.
5541         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5542
5543 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5544
5545         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5546         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5547         ports/sysdeps/unix/sysv/linux/aarch64.
5548         * README: Update listing for aarch64*-*-linux-gnu.
5549
5550 2014-02-11  Will Newton  <will.newton@linaro.org>
5551
5552         * manual/probes.texi (Mathematical Function Probes): Use
5553         "triggered" instead of "hit".
5554
5555         * manual/probes.texi (Internal Probes): Add documentation
5556         of setjmp, longjmp and longjmp_target probes.
5557
5558         * include/stap-probe.h: Add comment about probe argument
5559         format.
5560
5561         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5562         definition.  (tr_where, tr_freehook, tr_mallochook,
5563         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5564
5565 2014-02-11  David S. Miller  <davem@davemloft.net>
5566
5567         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5568         processing int_tests.
5569
5570 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5571
5572         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5573         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5574         * sysdeps/unix/sysv/linux/mips: Move directory from
5575         ports/sysdeps/unix/sysv/linux/mips.
5576         * README: Update listing for mips-*-linux-gnu and
5577         mips64-*-linux-gnu.
5578
5579 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5580
5581         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5582         * sysdeps/unix/sysv/linux/m68k: Move directory from
5583         ports/sysdeps/unix/sysv/linux/m68k.
5584         * README: Update listing for m68k-*-linux-gnu.
5585
5586 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5587
5588         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5589         * sysdeps/unix/sysv/linux/generic: Move directory from
5590         ports/sysdeps/unix/sysv/linux/generic.
5591         * sysdeps/unix/sysv/linux/tile: Move directory from
5592         ports/sysdeps/unix/sysv/linux/tile.
5593         * README: Update listing for tile*-*-linux-gnu.
5594
5595 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5596
5597         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5598         __builtin_expect.
5599         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5600         * catgets/open_catalog.c (__open_catalog): Likewise.
5601         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5602         * debug/confstr_chk.c: Likewise.
5603         * debug/fread_chk.c (__fread_chk): Likewise.
5604         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5605         * debug/getgroups_chk.c: Likewise.
5606         * debug/mbsnrtowcs_chk.c: Likewise.
5607         * debug/mbsrtowcs_chk.c: Likewise.
5608         * debug/mbstowcs_chk.c: Likewise.
5609         * debug/memcpy_chk.c: Likewise.
5610         * debug/memmove_chk.c: Likewise.
5611         * debug/mempcpy_chk.c: Likewise.
5612         * debug/memset_chk.c: Likewise.
5613         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5614         * debug/strcat_chk.c (__strcat_chk): Likewise.
5615         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5616         * debug/strncat_chk.c (__strncat_chk): Likewise.
5617         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5618         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5619         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5620         * debug/wcpncpy_chk.c: Likewise.
5621         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5622         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5623         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5624         * debug/wcsncpy_chk.c: Likewise.
5625         * debug/wcsnrtombs_chk.c: Likewise.
5626         * debug/wcsrtombs_chk.c: Likewise.
5627         * debug/wcstombs_chk.c: Likewise.
5628         * debug/wmemcpy_chk.c: Likewise.
5629         * debug/wmemmove_chk.c: Likewise.
5630         * debug/wmempcpy_chk.c: Likewise.
5631         * debug/wmemset_chk.c: Likewise.
5632         * dirent/scandirat.c (SCANDIRAT): Likewise.
5633         * dlfcn/dladdr1.c (dladdr1): Likewise.
5634         * dlfcn/dladdr.c (dladdr): Likewise.
5635         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5636         * dlfcn/dlerror.c (__dlerror): Likewise.
5637         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5638         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5639         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5640         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5641         * dlfcn/dlsym.c (dlsym_doit): Likewise.
5642         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5643         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5644         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5645         Likewise.
5646         * elf/dl-conflict.c: Likewise.
5647         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5648         * elf/dl-dst.h: Likewise.
5649         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5650         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5651         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5652         * elf/dl-init.c (call_init, _dl_init): Likewise.
5653         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5654         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5655         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5656         Likewise.
5657         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5658         Likewise.
5659         * elf/dl-minimal.c (__libc_memalign): Likewise.
5660         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5661         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5662         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5663         * elf/dl-sym.c (do_sym): Likewise.
5664         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5665         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5666         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5667         * elf/dl-writev.h (_dl_writev): Likewise.
5668         * elf/ldconfig.c (search_dir): Likewise.
5669         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5670         (dl_main): Likewise.
5671         * elf/setup-vdso.h (setup_vdso): Likewise.
5672         * grp/compat-initgroups.c (compat_call): Likewise.
5673         * grp/fgetgrent.c (fgetgrent): Likewise.
5674         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5675         * grp/putgrent.c (putgrent): Likewise.
5676         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5677         Likewise.
5678         * hurd/hurdinit.c: Likewise.
5679         * iconvdata/8bit-gap.c (struct): Likewise.
5680         * iconvdata/ansi_x3.110.c : Likewise.
5681         * iconvdata/big5.c : Likewise.
5682         * iconvdata/big5hkscs.c : Likewise.
5683         * iconvdata/cp1255.c: Likewise.
5684         * iconvdata/cp1258.c : Likewise.
5685         * iconvdata/cp932.c : Likewise.
5686         * iconvdata/euc-cn.c: Likewise.
5687         * iconvdata/euc-jisx0213.c : Likewise.
5688         * iconvdata/euc-jp.c: Likewise.
5689         * iconvdata/euc-jp-ms.c : Likewise.
5690         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5691         * iconvdata/gb18030.c : Likewise.
5692         * iconvdata/gbbig5.c (const): Likewise.
5693         * iconvdata/gbgbk.c: Likewise.
5694         * iconvdata/gbk.c : Likewise.
5695         * iconvdata/ibm1364.c : Likewise.
5696         * iconvdata/ibm930.c : Likewise.
5697         * iconvdata/ibm932.c: Likewise.
5698         * iconvdata/ibm933.c : Likewise.
5699         * iconvdata/ibm935.c : Likewise.
5700         * iconvdata/ibm937.c : Likewise.
5701         * iconvdata/ibm939.c : Likewise.
5702         * iconvdata/ibm943.c: Likewise.
5703         * iconvdata/iso_11548-1.c: Likewise.
5704         * iconvdata/iso-2022-cn.c : Likewise.
5705         * iconvdata/iso-2022-cn-ext.c : Likewise.
5706         * iconvdata/iso-2022-jp-3.c: Likewise.
5707         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5708         * iconvdata/iso-2022-kr.c : Likewise.
5709         * iconvdata/iso646.c (gconv_end): Likewise.
5710         * iconvdata/iso_6937-2.c : Likewise.
5711         * iconvdata/iso_6937.c : Likewise.
5712         * iconvdata/iso8859-1.c: Likewise.
5713         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5714         * iconvdata/shift_jisx0213.c : Likewise.
5715         * iconvdata/sjis.c : Likewise.
5716         * iconvdata/t.61.c : Likewise.
5717         * iconvdata/tcvn5712-1.c : Likewise.
5718         * iconvdata/tscii.c: Likewise.
5719         * iconvdata/uhc.c : Likewise.
5720         * iconvdata/unicode.c (gconv_end): Likewise.
5721         * iconvdata/utf-16.c (gconv_end): Likewise.
5722         * iconvdata/utf-32.c (gconv_end): Likewise.
5723         * iconvdata/utf-7.c (base64): Likewise.
5724         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5725         * iconv/gconv_close.c (__gconv_close): Likewise.
5726         * iconv/gconv_open.c (__gconv_open): Likewise.
5727         * iconv/gconv_simple.c (internal_ucs4_loop_single)
5728         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5729         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5730         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5731         (ucs4le_internal_loop_single): Likewise.
5732         * iconv/iconv.c (iconv): Likewise.
5733         * iconv/iconv_close.c: Likewise.
5734         * iconv/loop.c (SINGLE): Likewise.
5735         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5736         * include/atomic.h: Likewise.
5737         * inet/inet6_option.c (option_alloc): Likewise.
5738         * intl/bindtextdom.c (set_binding_values): Likewise.
5739         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5740         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5741         * intl/localealias.c (read_alias_file): Likewise.
5742         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5743         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5744         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5745         * libio/fmemopen.c (fmemopen): Likewise.
5746         * libio/iofgets.c (_IO_fgets): Likewise.
5747         * libio/iofgets_u.c (fgets_unlocked): Likewise.
5748         * libio/iofgetws.c (fgetws): Likewise.
5749         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5750         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5751         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5752         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5753         * locale/findlocale.c (_nl_find_locale): Likewise.
5754         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5755         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5756         Likewise.
5757         * locale/setlocale.c (setlocale): Likewise.
5758         * login/programs/pt_chown.c (main): Likewise.
5759         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5760         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5761         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5762         (mmap, mmap64, mremap, munmap): Likewise.
5763         * math/e_exp2l.c: Likewise.
5764         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5765         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5766         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5767         * math/s_catan.c (__catan): Likewise.
5768         * math/s_catanf.c (__catanf): Likewise.
5769         * math/s_catanh.c (__catanh): Likewise.
5770         * math/s_catanhf.c (__catanhf): Likewise.
5771         * math/s_catanhl.c (__catanhl): Likewise.
5772         * math/s_catanl.c (__catanl): Likewise.
5773         * math/s_ccosh.c (__ccosh): Likewise.
5774         * math/s_ccoshf.c (__ccoshf): Likewise.
5775         * math/s_ccoshl.c (__ccoshl): Likewise.
5776         * math/s_cexp.c (__cexp): Likewise.
5777         * math/s_cexpf.c (__cexpf): Likewise.
5778         * math/s_cexpl.c (__cexpl): Likewise.
5779         * math/s_clog10.c (__clog10): Likewise.
5780         * math/s_clog10f.c (__clog10f): Likewise.
5781         * math/s_clog10l.c (__clog10l): Likewise.
5782         * math/s_clog.c (__clog): Likewise.
5783         * math/s_clogf.c (__clogf): Likewise.
5784         * math/s_clogl.c (__clogl): Likewise.
5785         * math/s_csin.c (__csin): Likewise.
5786         * math/s_csinf.c (__csinf): Likewise.
5787         * math/s_csinh.c (__csinh): Likewise.
5788         * math/s_csinhf.c (__csinhf): Likewise.
5789         * math/s_csinhl.c (__csinhl): Likewise.
5790         * math/s_csinl.c (__csinl): Likewise.
5791         * math/s_csqrt.c (__csqrt): Likewise.
5792         * math/s_csqrtf.c (__csqrtf): Likewise.
5793         * math/s_csqrtl.c (__csqrtl): Likewise.
5794         * math/s_ctan.c (__ctan): Likewise.
5795         * math/s_ctanf.c (__ctanf): Likewise.
5796         * math/s_ctanh.c (__ctanh): Likewise.
5797         * math/s_ctanhf.c (__ctanhf): Likewise.
5798         * math/s_ctanhl.c (__ctanhl): Likewise.
5799         * math/s_ctanl.c (__ctanl): Likewise.
5800         * math/w_pow.c: Likewise.
5801         * math/w_powf.c: Likewise.
5802         * math/w_powl.c: Likewise.
5803         * math/w_scalb.c (sysv_scalb): Likewise.
5804         * math/w_scalbf.c (sysv_scalbf): Likewise.
5805         * math/w_scalbl.c (sysv_scalbl): Likewise.
5806         * misc/error.c (error_tail): Likewise.
5807         * misc/pselect.c (__pselect): Likewise.
5808         * nis/nis_callback.c (__nis_create_callback): Likewise.
5809         * nis/nis_call.c (__nisfind_server): Likewise.
5810         * nis/nis_creategroup.c (nis_creategroup): Likewise.
5811         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5812         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5813         * nis/nis_getservlist.c (nis_getservlist): Likewise.
5814         * nis/nis_lookup.c (nis_lookup): Likewise.
5815         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5816         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5817         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5818         * nis/nis_xdr.c (xdr_endpoint): Likewise.
5819         * nis/nss_compat/compat-grp.c (getgrent_next_file)
5820         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5821         * nis/nss_compat/compat-initgroups.c (add_group)
5822         (internal_getgrent_r): Likewise.
5823         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5824         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5825         * nis/nss_compat/compat-spwd.c (getspent_next_file)
5826         (internal_getspnam_r): Likewise.
5827         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5828         (_nss_nis_getaliasbyname_r): Likewise.
5829         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5830         (_nss_nis_getntohost_r): Likewise.
5831         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5832         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5833         (_nss_nis_getgrgid_r): Likewise.
5834         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5835         (internal_nis_gethostent_r, internal_gethostbyname2_r)
5836         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5837         (_nss_nis_gethostbyname4_r): Likewise.
5838         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5839         (initgroups_netid): Likewise.
5840         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5841         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5842         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5843         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5844         (_nss_nis_getprotobynumber_r): Likewise.
5845         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5846         (_nss_nis_getsecretkey): Likewise.
5847         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5848         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5849         (_nss_nis_getpwuid_r): Likewise.
5850         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5851         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5852         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5853         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5854         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5855         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5856         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5857         Likewise.
5858         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5859         (_nss_nisplus_getntohost_r): Likewise.
5860         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5861         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5862         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5863         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5864         Likewise.
5865         * nis/nss_nisplus/nisplus-initgroups.c
5866         (_nss_nisplus_initgroups_dyn): Likewise.
5867         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5868         (_nss_nisplus_getnetbyaddr_r): Likewise.
5869         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5870         (_nss_nisplus_getprotobynumber_r): Likewise.
5871         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5872         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5873         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5874         Likewise.
5875         * nis/nss_nisplus/nisplus-service.c
5876         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5877         (_nss_nisplus_getservbyport_r): Likewise.
5878         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5879         (_nss_nisplus_getspnam_r): Likewise.
5880         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5881         Likewise.
5882         * nscd/aicache.c (addhstaiX): Likewise.
5883         * nscd/cache.c (cache_search, prune_cache): Likewise.
5884         * nscd/connections.c (register_traced_file, send_ro_fd)
5885         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5886         (main_loop_epoll): Likewise.
5887         * nscd/grpcache.c (addgrbyX): Likewise.
5888         * nscd/hstcache.c (addhstbyX): Likewise.
5889         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5890         * nscd/mem.c (gc, mempool_alloc): Likewise.
5891         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5892         (addinnetgrX): Likewise.
5893         * nscd/nscd-client.h (__nscd_acquire_maplock)
5894         (__nscd_drop_map_ref): Likewise.
5895         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5896         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5897         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5898         Likewise.
5899         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5900         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5901         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5902         (__nscd_get_map_ref): Likewise.
5903         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5904         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5905         Likewise.
5906         * nscd/pwdcache.c (addpwbyX): Likewise.
5907         * nscd/selinux.c (preserve_capabilities): Likewise.
5908         * nscd/servicescache.c (addservbyX): Likewise.
5909         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5910         * posix/fnmatch.c (fnmatch): Likewise.
5911         * posix/getopt.c (_getopt_internal_r): Likewise.
5912         * posix/glob.c (glob, glob_in_dir): Likewise.
5913         * posix/wordexp.c (exec_comm_child): Likewise.
5914         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5915         (getanswer_r, gaih_getanswer_slice): Likewise.
5916         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5917         * resolv/res_init.c: Likewise.
5918         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5919         * resolv/res_query.c (__libc_res_nquery): Likewise.
5920         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5921         Likewise.
5922         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5923         * stdio-common/perror.c (perror): Likewise.
5924         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5925         * stdio-common/tmpnam.c (tmpnam): Likewise.
5926         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5927         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5928         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5929         Likewise.
5930         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5931         * stdlib/putenv.c (putenv): Likewise.
5932         * stdlib/setenv.c (__add_to_environ): Likewise.
5933         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5934         * stdlib/strtol_l.c (INTERNAL): Likewise.
5935         * string/memmem.c (memmem): Likewise.
5936         * string/strerror.c (strerror): Likewise.
5937         * string/strnlen.c (__strnlen): Likewise.
5938         * string/test-memmem.c (simple_memmem): Likewise.
5939         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5940         * sunrpc/pm_getport.c (__get_socket): Likewise.
5941         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5942         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5943         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5944         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5945         Likewise.
5946         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5947         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5948         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5949         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5950         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5951         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5952         Likewise.
5953         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5954         Likewise.
5955         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5956         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5957         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5958         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5959         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5961         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5962         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5963         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5964         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5965         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5966         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5967         Likewise.
5968         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5969         Likewise.
5970         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5971         Likewise.
5972         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5973         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5974         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5975         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5976         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5977         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5978         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5979         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5980         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5981         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5982         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5983         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5984         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5985         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5987         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5988         Likewise.
5989         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5990         Likewise.
5991         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5992         Likewise.
5993         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5994         Likewise.
5995         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5996         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5997         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5998         Likewise.
5999         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6000         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6001         * sysdeps/posix/opendir.c (__opendirat): Likewise.
6002         * sysdeps/posix/sleep.c: Likewise.
6003         * sysdeps/posix/tempname.c: Likewise.
6004         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6005         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6006         Likewise.
6007         * sysdeps/powerpc/powerpc32/dl-machine.h
6008         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6009         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6010         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6011         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6012         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6013         Likewise.
6014         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6015         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6016         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6017         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6018         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6019         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6020         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6021         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6022         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6023         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6024         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6025         (elf_machine_lazy_rel): Likewise.
6026         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6027         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6028         (elf_machine_lazy_rel): Likewise.
6029         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6030         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6031         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6032         * sysdeps/unix/grantpt.c (grantpt): Likewise.
6033         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6034         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6035         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6036         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6039         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6040         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6041         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6042         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6043         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6044         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6045         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6046         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6047         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6048         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6049         Likewise.
6050         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6051         (__posix_fallocate64_l64): Likewise.
6052         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6053         (posix_fallocate): Likewise.
6054         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6055         Likewise.
6056         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6057         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6058         (getifaddrs_internal): Likewise.
6059         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6060         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6061         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6062         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6063         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6064         (__posix_fallocate64_l64): Likewise.
6065         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6066         Likewise.
6067         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6068         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6069         (__get_clockfreq): Likewise.
6070         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6071         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6072         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6073         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6074         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6075         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6076         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6077         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6078         Likewise.
6079         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6080         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6081         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6082         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6083         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6084         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6085         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6086         Likewise.
6087         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6088         (posix_fallocate): Likewise.
6089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6090         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6091         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6092         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6093         (elf_machine_rela, elf_machine_rela_relative)
6094         (elf_machine_lazy_rel): Likewise.
6095         * time/asctime.c (asctime_internal): Likewise.
6096         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6097         * time/tzset.c (__tzset_parse_tz): Likewise.
6098         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6099         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6100         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6101         * wcsmbs/wcsmbsload.h: Likewise.
6102
6103         [BZ #15894]
6104         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6105
6106         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6107         (arena_get2): Remove THREAD_STATS conditionals.
6108         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6109         (__malloc_stats, int): Likewise.
6110
6111 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
6112
6113         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6114         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
6115
6116         * manual/setjmp.texi: Fix typos/grammar errors.
6117
6118         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6119         Only return early when n is <= 0.  Delete unused return statement.
6120
6121         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6122         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6123         * debug/tst-longjmp_chk3.c: New file.
6124
6125         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6126         (test_main): Replace code with set_fortify_handler call.
6127         * debug/test-strcpy_chk.c: Likewise.
6128         * debug/tst-chk1.c: Likewise.
6129         * debug/tst-longjmp_chk.c: Likewise.
6130         * test-skeleton.c: Include fcntl.h & paths.h
6131         (set_fortify_handler): Define.
6132
6133         * debug/tst-longjmp_chk.c: Add header comment and include
6134         ../test-skeleton.c.
6135         (do_test): Mark static.
6136         (TEST_FUNCTION): Define.
6137
6138         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6139         (IP_PMTUDISC_INTERFACE): Likewise.
6140         (IP_MULTICAST_IF): Likewise.
6141         (IP_MULTICAST_TTL): Likewise.
6142         (IP_MULTICAST_LOOP): Likewise.
6143         (IP_ADD_MEMBERSHIP): Likewise.
6144         (IP_DROP_MEMBERSHIP): Likewise.
6145         (IP_UNBLOCK_SOURCE): Likewise.
6146         (IP_BLOCK_SOURCE): Likewise.
6147         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6148         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6149         (IP_MSFILTER): Likewise.
6150         (MCAST_JOIN_GROUP): Likewise.
6151         (MCAST_BLOCK_SOURCE): Likewise.
6152         (MCAST_UNBLOCK_SOURCE): Likewise.
6153         (MCAST_LEAVE_GROUP): Likewise.
6154         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6155         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6156         (MCAST_MSFILTER): Likewise.
6157         (IP_MULTICAST_ALL): Likewise.
6158         (IP_UNICAST_IF): Likewise.
6159
6160         * timezone/Makefile: Delete $(have-ksh) check.
6161         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6162         * timezone/tzselect.ksh: Add +x mode bits.
6163
6164         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6165         (ANON_INODE_FS_MAGIC): Likewise.
6166         (BDEVFS_MAGIC): Likewise.
6167         (BINFMTFS_MAGIC): Likewise.
6168         (BTRFS_TEST_MAGIC): Likewise.
6169         (CRAMFS_MAGIC_WEND): Likewise.
6170         (DEBUGFS_MAGIC): Likewise.
6171         (ECRYPTFS_SUPER_MAGIC): Likewise.
6172         (EXT3_SUPER_MAGIC): Likewise.
6173         (EXT4_SUPER_MAGIC): Likewise.
6174         (FUTEXFS_SUPER_MAGIC): Likewise.
6175         (HOSTFS_SUPER_MAGIC): Likewise.
6176         (HUGETLBFS_MAGIC): Likewise.
6177         (MINIX3_SUPER_MAGIC): Likewise.
6178         (MTD_INODE_FS_MAGIC): Likewise.
6179         (NILFS_SUPER_MAGIC): Likewise.
6180         (OPENPROM_SUPER_MAGIC): Likewise.
6181         (PIPEFS_MAGIC): Likewise.
6182         (PSTOREFS_MAGIC): Likewise.
6183         (QNX6_SUPER_MAGIC): Likewise.
6184         (RAMFS_MAGIC): Likewise.
6185         (REISERFS_SUPER_MAGIC_STRING): Likewise.
6186         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6187         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6188         (SECURITYFS_MAGIC): Likewise.
6189         (SELINUX_MAGIC): Likewise.
6190         (SMACK_MAGIC): Likewise.
6191         (SOCKFS_MAGIC): Likewise.
6192         (SQUASHFS_MAGIC): Likewise.
6193         (STACK_END_MAGIC): Likewise.
6194         (TMPFS_MAGIC): Likewise.
6195         (USBDEVICE_SUPER_MAGIC): Likewise.
6196         (V9FS_MAGIC): Likewise.
6197         (XENFS_SUPER_MAGIC): Likewise.
6198         (CRAMFS_MAGIC): Fix typo in comment.
6199         (EXT2_SUPER_MAGIC): Update comment.
6200         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6201
6202 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
6203
6204         * sysdeps/arm: Move directory from ports/sysdeps/arm.
6205         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6206         * sysdeps/unix/sysv/linux/arm: Move directory from
6207         ports/sysdeps/unix/sysv/linux/arm.
6208         * README: Update listing for arm-*-linux-gnueabi.
6209
6210         * README: Remove mention of am33.
6211
6212 2014-02-07  Roland McGrath  <roland@hack.frob.com>
6213
6214         * bits/sigset.h (__sigemptyset): Use a statement expression rather
6215         than the comma operator, to avoid "rhs of comma has no effect"
6216         compiler warnings.
6217         (__sigfillset, __sigandset, __sigorset): Likewise.
6218         * include/signal.h (__sigemptyset): Likewise.
6219         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6220
6221 2014-02-07  Allan McRae  <allan@archlinux.org>
6222
6223         * version.h (RELEASE): Set to "development".
6224         (VERSION): Set to "2.19.90"
6225         * NEWS: Add 2.20 section.
6226
6227 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6228
6229         [BZ #16529]
6230         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6231
6232 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6233
6234         * manual/contrib.texi: Update entry for Carlos O'Donell,
6235         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6236
6237 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6238
6239         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6240
6241         * sysdeps/unix/sysv/linux/kernel-features.h
6242         [__LINUX_KERNEL_VERSION >= 0x020621]
6243         (__ASSUME_PROC_PID_TASK_COMM): Define.
6244
6245 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6246
6247         [BZ #16398]
6248         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6249         conversion when destination buffer does not have enough space.
6250         * libio/tst-ftell-partial-wide.c: New test case.
6251         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6252
6253         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6254         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6255         Leonard and Allan McRae.
6256
6257 2014-02-04  David S. Miller  <davem@davemloft.net>
6258
6259         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6260         32-bit.
6261
6262 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6263
6264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6265         New file
6266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6267         New file
6268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6269         New file.
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6271         New file.
6272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6273         New file.
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6275         New file.
6276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6277         New file.
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6279         New file.
6280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6281         New file.
6282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6283         New file.
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6285         New file.
6286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6287         New file.
6288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6289         New file.
6290
6291 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6292
6293         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6294         * shlib-versions: Likewise.
6295
6296 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6297             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6298
6299         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6300         (abilist-pattern): New variable, set to %-le.abilist.
6301
6302         * Makerules (abilist-pattern): New variable.
6303         (vpath): Use $(abilist-pattern) in place of %.abilist.
6304         (check-abi-% pattern rule): Likewise.
6305         (check-abi, update-abi): Likewise.
6306
6307 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6308
6309         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6310
6311 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6312
6313         * manual/startup.texi: Add next, previous, and top entries for
6314         the `Program Arguments' and `Environment Variables' nodes.
6315
6316 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6317
6318         * manual/macros.texi: Add comments before MTASC-safety macros.
6319
6320         * manual/users.texi: Document MTASC-safety properties.
6321
6322         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6323         (pthread_getspecific, pthread_setspecific): Format with
6324         @deftypefun, and add @safety note.
6325         * manual/signal.texi: Move comments that analyze the above
6326         functions to their home place.
6327
6328 2014-02-03  Allan McRae  <allan@archlinux.org>
6329
6330         * po/sl.po: Update Slovenian translation from translation project.
6331
6332 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6333
6334         * manual/time.texi (timegm): Add missing blank after @c.
6335         Reported by Joseph Myers <joseph@codesourcery.com>.
6336
6337 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6338
6339         * manual/check-safety.sh: New.
6340         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6341
6342         * manual/terminal.texi: Document MTASC-safety properties.
6343
6344         * manual/filesys.texi: Document MTASC-safety properties.
6345
6346         * manual/errno.texi: Document MTASC-safety properties.
6347
6348         * manual/intro.texi: Document safety identifiers and
6349         conditionals.
6350
6351         * manual/string.texi (wcstok): Fix prototype.
6352         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6353
6354         * manual/time.texi: Document MTASC-safety properties.
6355
6356         * manual/string.texi: Document MTASC-safety properties.
6357
6358         * manual/threads.texi: Document MTASC-safety properties.
6359
6360         * manual/stdio.texi: Document MTASC-safety properties.
6361
6362         * manual/syslog.texi: Document MTASC-safety properties.
6363
6364         * manual/sysinfo.texi: Document MTASC-safety properties.
6365
6366         * manual/startup.texi: Document MTASC-safety properties.
6367
6368         * manual/socket.texi: Document MTASC-safety properties.
6369
6370         * manual/signal.texi: Document MTASC-safety properties.
6371
6372 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6373
6374         * manual/setjmp.texi: Document MTASC-safety properties.
6375
6376         * manual/search.texi: Document MTASC-safety properties.
6377
6378         * manual/resource.texi: Document MTASC-safety properties.
6379
6380         * manual/process.texi: Document MTASC-safety properties.
6381
6382         * manual/platform.texi: Document MTASC-safety properties.
6383
6384         * manual/pipe.texi: Document MTASC-safety properties.
6385
6386         * manual/pattern.texi: Document MTASC-safety properties.
6387
6388         * manual/message.texi: Document MTASC-safety properties.
6389
6390         [BZ #12751]
6391         * manual/memory.texi: Document MTASC-safety properties.
6392
6393         * manual/math.texi: Document MTASC-safety properties.
6394
6395         * manual/locale.texi: Document MTASC-safety properties.
6396
6397         * manual/llio.texi: Document MTASC-safety properties.
6398
6399         * manual/libdl.texi: New.
6400
6401         * manual/lang.texi: Document MTASC-safety properties.
6402
6403         * manual/job.texi: Document MTASC-safety properties.
6404
6405         * manual/getopt.texi: Document MTASC-safety properties.
6406
6407         * manual/ctype.texi: Document MTASC-safety properties.
6408
6409 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6410
6411         [BZ #16046]
6412         * csu/libc-tls.c (static_map): Remove variable.
6413         (__libc_setup_tls): Use main executable's link map for TLS data.
6414         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6415         casing for LM_ID_BASE and GL(dl_nns).
6416         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6417         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6418         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6419         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6420         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6421         member.
6422         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6423         l_phnum members.
6424
6425 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6426
6427         * manual/debug.texi: Document MTASC-safety properties.
6428
6429 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6430
6431         [BZ #16510]
6432         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6433         of __x86_64__ when disabling x87 inline functions.
6434
6435 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6436
6437         * manual/charset.texi: Document MTASC-safety properties.
6438
6439         * manual/crypt.texi: Document MTASC-safety properties.
6440
6441         * manual/conf.texi: Document MTASC-safety properties.
6442
6443         * manual/arith.texi: Document MTASC-safety properties.
6444
6445         * manual/argp.texi: Document MTASC-safety properties.
6446
6447         * manual/macros.texi: Introduce macros to document multi
6448         thread, asynchronous signal and asynchronous cancellation
6449         safety properties.
6450         * manual/intro.texi: Introduce the properties themselves.
6451
6452 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6453
6454         * sysdeps/sh/sh4/Makefile: New file.
6455
6456 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6457
6458         * math/gen-libm-test.pl ($srcdir): New variable.
6459         ($auto_input): Use it.
6460
6461 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6462
6463         [BZ #16506]
6464         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6465         access beyond array bounds when parsing netgroups file.
6466
6467         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6468         the old buffer before realloc.
6469
6470 2014-01-27  Allan McRae  <allan@archlinux.org>
6471
6472         * po/fr.po: Update French translation from translation project.
6473
6474 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6475
6476         * sysdeps/sh/libm-test-ulps: Regenerate.
6477
6478 2014-01-24  David S. Miller  <davem@davemloft.net>
6479
6480         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6481
6482 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6483
6484         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6485         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6486
6487 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6488
6489         [BZ #16474]
6490         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6491         string pointers after reallocation.
6492
6493 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6494
6495         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6496         __SH4A__ instead of __SH_FPU_ANY__.
6497
6498 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6499
6500         * sysdeps/sh/fpu_control.h: New file.
6501         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6502         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6503         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6504         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6505         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6506         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6507         * sysdeps/sh/sys/ucontext.h: Remove.
6508         * sysdeps/sh/sys: Remove directory.
6509
6510 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6511
6512         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6513         s390/sys/ucontext.h.
6514         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6515         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6516
6517 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6518
6519         [BZ #15605]
6520         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6521
6522 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6523
6524         [BZ#16431]
6525         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6526         Adjust the vDSO correctly for internal calls.
6527         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6528
6529 2014-01-20  Allan McRae  <allan@archlinux.org>
6530
6531         * po/ca.po: Update Catalan translation from translation project.
6532
6533 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6534
6535         * sysdeps/s390/sotruss-lib.c: New file.
6536
6537 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6538
6539         [BZ#16430]
6540         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6541         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6542         local calls issues by not having a PLT stub required for IFUNC calls.
6543         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6544
6545 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6546
6547         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6548         * math/test-fpucw-static.c: Likewise.
6549
6550 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6551
6552         [BZ #16453]
6553         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6554
6555 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6556
6557         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6558         implementation for powerpc.
6559
6560 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6561
6562         [BZ #14782]
6563         * sysdeps/posix/system.c (__libc_system): Do not enable
6564         asynchronous cancellation.
6565
6566 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6567
6568         [BZ #16427]
6569         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6570         handling only for numbers special also in the IEEE case.
6571
6572 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6573
6574         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6575
6576 2014-01-11  Allan McRae  <allan@archlinux.org>
6577
6578         * po/bg.po: Update Bulgarian translation from translation project.
6579
6580         * po/de.po: Update German translation from translation project.
6581
6582 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6583
6584         * sysdeps/generic/gcc-compat.h: New file.
6585
6586 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6587
6588         * benchtests/asin-inputs: Correct slow inputs.
6589         * benchtests/acos-inputs: Likewise.
6590
6591 2014-01-10  Allan McRae  <allan@archlinux.org>
6592
6593         * po:sv.po: Update Swedish translation from translation project.
6594
6595         * po/vi.po: Update Vietnamese translation from translation project.
6596
6597         * po/eo.po: Update Esperanto translation from translation project.
6598
6599         * po/cs.po: Update Czech translation from translation project.
6600
6601         * po/nl.po: Update Dutch translation from translation project.
6602
6603         * po/pl.po: Update Polish translation from translation project.
6604
6605         * po/ru.po: Update Russian translation from translation project.
6606
6607         * po/uk.po: Update Ukrainian translation from translation project.
6608
6609 2014-01-08  Brooks Moses  <bmoses@google.com>
6610
6611         * elf/dl-load.c: Fix comment typo.
6612
6613 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6614
6615         * po/header.pot: Rename to...
6616         * po/pot.header: ... this.
6617         * po/Makefile: Use pot.header.
6618
6619 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6620             Maxim Kuvyrkov  <maxim@kugelworks.com>
6621
6622         [BZ #16394]
6623         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6624         SRC and DEST against LEN.
6625
6626 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6627
6628         [BZ #16414]
6629         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6630         implementation.
6631         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6632
6633 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6634
6635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6636
6637 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6638
6639         [BZ #16408]
6640         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6641         for large positive arguments.
6642
6643 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
6644
6645         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6646
6647         * math/auto-libm-test-in: Mark various tests with
6648         xfail-rounding:ldbl-128ibm.
6649         * math/auto-libm-test-out: Regenerated.
6650
6651         [BZ #16407]
6652         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6653         Increase overflow threshold.
6654
6655 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
6656
6657         [BZ #14286]
6658         * stdio-common/vfprintf.c: Check for integer overflow.
6659
6660 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6661
6662         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6663         the first argument and return value of __tls_get_addr_internal.
6664
6665 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6666
6667         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6668         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6669
6670 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6671
6672         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6673         * sysdeps/s390/rtld-global-offsets.sym: New file.
6674         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6675         GLIBC_2.19 symbol.
6676         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6677         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6678         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6679         ... this.
6680         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6681         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6682         ... this.
6683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6684         Regenerate.
6685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6686         Regenerate.
6687         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6688         halfs of GPRs for high_gprs contexts.
6689         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6690         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
6691         field.
6692         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6693         uc_flags field.
6694         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6695         64 bit versions:
6696         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6697         for high GPRs (uc_high_gprs) and for future extensions
6698         (__reserved).
6699         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6700         for future extensions (__reserved).
6701         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6702         64 bit versions:
6703         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6704         SC_HIGHGPRS offset definition.
6705         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6706         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6707
6708         * Versions.def: Add GLIBC_2.19 for libpthread.
6709         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6710         siglongjmp for libpthread with GLIBC_2.19 symver.
6711         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6712         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6713         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6714         * sysdeps/s390/__longjmp.c: New file.
6715         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6716         * sysdeps/s390/longjmp.c: New file.
6717         * sysdeps/s390/setjmp.S: New file.
6718         * sysdeps/s390/sigjmp.S: New file.
6719         * sysdeps/s390/v1-longjmp.c: New file.
6720         * sysdeps/s390/v1-setjmp.h: New file.
6721         * sysdeps/s390/v1-sigjmp.c: New file.
6722         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6723         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6724         GLIBC_2.19 version.
6725         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6726         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6727         versioned symbols for ____longjmp_chk.
6728         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6729         Likewise.
6730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6731         Regenerate.
6732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6733         Regenerate.
6734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6735         Regenerate.
6736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6737         Regenerate.
6738         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6739         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6740         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6741         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6742         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6743         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6744         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6745         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6746         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6747         * sysdeps/s390/rtld-__longjmp.c: New file.
6748         * sysdeps/s390/rtld-setjmp.S: New file.
6749
6750 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
6751
6752         [BZ #16400]
6753         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6754         Return -__logl (x) for small positive arguments without evaluating
6755         a polynomial.
6756
6757 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
6758
6759         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6760         Rename to ...
6761         (__ptrace_peeksiginfo_args): ... this.
6762         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6763         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6764         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6765
6766 2014-01-06  Allan McRae  <allan@archlinux.org>
6767
6768         * inet/netinet/in.h: Fix typo in comment.
6769
6770 2014-01-05  Andreas Jaeger  <aj@suse.de>
6771
6772         * sysdeps/i386/fpu/libm-test-ulps: Update.
6773
6774 2014-01-05  Allan McRae  <allan@archlinux.org>
6775
6776         * po/libc.pot: Regenerated.
6777
6778         * malloc/memusagestat.c: Fix gettext call formatting.
6779
6780 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
6781
6782         * nscd/nscd.c: Improve usage() output.
6783
6784 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
6785
6786         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6787         * sysdeps/unix/sysv/linux/configure: Regenerated.
6788         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6789         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6790
6791 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6792
6793         [BZ #16390]
6794         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6795         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6796
6797 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6798
6799         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6800         extra tokens at end of #undef directive.
6801         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6802         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6803         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6804
6805 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6806
6807         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6808
6809         * math/auto-libm-test-in: Mark various tests with
6810         xfail-rounding:ldbl-128ibm.
6811         * math/auto-libm-test-out: Regenerated.
6812
6813 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6814
6815         [BZ #16386]
6816         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6817         numbers with subnormal high part when calculating exponent.
6818
6819         [BZ #16385]
6820         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6821         fabs.
6822
6823         [BZ #16384]
6824         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6825         M_LN2l.
6826         (__ieee754_acoshl): Use __log1pl not __log1p.
6827
6828 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
6829
6830         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6831         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6832         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6833         (grow_heap, heap_trim, _int_new_arena, get_free_list)
6834         (reused_arena, arena_get2): Convert to GNU style.
6835         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6836         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6837         (memalign_check, __malloc_set_state): Likewise.
6838         * malloc/mallocbug.c (main): Likewise.
6839         * malloc/malloc.c (__malloc_assert, malloc_init_state)
6840         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6841         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6842         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6843         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6844         (__posix_memalign, malloc_info): Likewise.
6845         * malloc/malloc.h: Likewise.
6846         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6847         (mallochook, memalignhook, reallochook, mabort): Likewise.
6848         * malloc/mcheck.h: Likewise.
6849         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6850         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6851         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6852         * malloc/morecore.c (__default_morecore): Likewise.
6853         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6854         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6855         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6856         (print_and_abort): Likewise.
6857         * malloc/obstack.h: Likewise.
6858         * malloc/set-freeres.c (__libc_freeres): Likewise.
6859         * malloc/tst-mallocstate.c (main): Likewise.
6860         * malloc/tst-mtrace.c (main): Likewise.
6861         * malloc/tst-realloc.c (do_test): Likewise.
6862
6863 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6864
6865         [BZ #16366]
6866         * nscd/netgroupcache.c (do_notfound): New function.
6867         (addgetnetgrentX): Use it.
6868
6869         [BZ # 16365]
6870         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6871         NSS_STATUS_NOTFOUND.
6872
6873 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6874
6875         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6877
6878 2014-01-01  Allan McRae  <allan@archlinux.org>
6879
6880         * scripts/update-copyrights: Update configure input file suffix.
6881
6882         * NEWS: Update copyright year.
6883         * catgets/gencat.c: Likewise.
6884         * csu/version.c: Likewise.
6885         * debug/catchsegv.sh: Likewise.
6886         * debug/pcprofiledump.c: Likewise.
6887         * debug/xtrace.sh: Likewise.
6888         * elf/ldconfig.c: Likewise.
6889         * elf/ldd.bash.in: Likewise.
6890         * elf/pldd.c: Likewise.
6891         * elf/sotruss.ksh: Likewise.
6892         * elf/sprof.c: Likewise.
6893         * iconv/iconv_prog.c: Likewise.
6894         * iconv/iconvconfig.c: Likewise.
6895         * locale/programs/locale.c: Likewise.
6896         * locale/programs/localedef.c: Likewise.
6897         * login/programs/pt_chown.c: Likewise.
6898         * malloc/memusage.sh: Likewise.
6899         * malloc/memusagestat.c: Likewise.
6900         * malloc/mtrace.pl: Likewise.
6901         * manual/libc.texinfo: Likewise.
6902         * nscd/nscd.c: Likewise.
6903         * nss/getent.c: Likewise.
6904         * nss/makedb.c: Likewise.
6905         * posix/getconf.c: Likewise.
6906         * scripts/test-installation.pl: Likewise.
6907
6908         * All files with FSF copyright notices: Update copyright dates
6909         using scripts/update-copyrights.
6910         * intl/plural.c: Regenerated.
6911         * locale/programs/charmap-kw.h: Likewise.
6912         * locale/programs/locfile-kw.h: Likewise.
6913
6914 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6915
6916         * sysdeps/unix/sysv/linux/configure: Regenerated.
6917         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6918         the linux/fanotify.h header.
6919         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6920         HAVE_LINUX_FANOTIFY_H is defined.
6921
6922 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6923
6924         * benchtests/cos-inputs: New inputs.
6925         * benchtests/sin-inputs: Likewise.
6926
6927         * benchtests/atan-inputs: New inputs. Fix name of multiple
6928         precision fallback inputs.
6929
6930         * benchtests/atanh-inputs: New inputs.
6931         * benchtests/tanh-inputs: Likewise.
6932
6933         * benchtests/acosh-inputs: New inputs.
6934         * benchtests/asinh-inputs: Likewise.
6935
6936         * benchtests/cosh-inputs: New inputs.
6937         * benchtests/sinh-inputs: Likewise.
6938
6939         * benchtests/acos-inputs: Add more inputs.
6940         * benchtests/asin-inputs: Likewise.
6941
6942 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6943
6944         [BZ #16375]
6945         * manual/arith.texi: Fix spelling.
6946         * manual/charset.texi: Likewise.
6947         * manual/errno.texi: Likewise.
6948         * manual/filesys.texi: Likewise.
6949         * manual/lang.texi: Likewise.
6950         * manual/llio.texi: Likewise.
6951         * manual/locale.texi: Likewise.
6952         * manual/message.texi: Likewise.
6953         * manual/resource.texi: Likewise.
6954         * manual/search.texi: Likewise.
6955         * manual/setjmp.texi: Likewise.
6956         * manual/stdio.texi: Likewise.
6957         * manual/string.texi: Likewise.
6958         * manual/sysinfo.texi: Likewise.
6959         * manual/time.texi: Likewise.
6960
6961 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6962
6963         * po/sl.po: New file.
6964
6965 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6966
6967         * .gitignore: Add core/.gdbinit/.gdb_history.
6968
6969 2013-12-27  Allan McRae  <allan@archlinux.org>
6970
6971         [BZ #16369]
6972         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6973         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6974
6975 2013-12-24  Brooks Moses  <bmoses@google.com>
6976
6977         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6978         all compilers that claim C++98 compliance, not just GCC.
6979         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6980         Likewise.
6981
6982 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6983
6984         * NEWS: Restore accidentally deleted bug-fix entries.
6985
6986 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6987             Ondřej Bílka  <neleai@seznam.cz>
6988
6989         [BZ #15073]
6990         * malloc/malloc.c (_int_free): Perform sanity check only if we
6991         have_lock.
6992
6993 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
6994
6995         [BZ #12986]
6996         * manual/stdio.texi (String Input Conversions): Clarify that character
6997         classes are not supported.
6998
6999 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7000
7001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7002
7003 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
7004
7005         [BZ #16337]
7006         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7007         Calculate results for small negative arguments directly rather
7008         than using reflection formula with special underflow handling.
7009
7010         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7011         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7012         sysdeps/unix/bsd/bsd4.4/syscalls.list.
7013         (fchflags): Likewise.
7014         (revoke): Likewise.
7015         (setlogin): Likewise.
7016         (sigaltstack): Likewise.
7017         (wait4): Likewise.
7018         (sigblock): Remove.
7019         (sigsetmask): Likewise.
7020         (wait3): Likewise.
7021         (waitpid): Likewise.
7022         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7023         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7024         file.
7025         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7026         * sysdeps/unix/bsd/Makefile: ... here.
7027         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7028         * sysdeps/unix/bsd/Versions: ... here.
7029         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7030         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7031         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7032         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7033         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7034         * sysdeps/unix/bsd/sigblock.c: ... here.
7035         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7036         * sysdeps/unix/bsd/sigsetmask.c: ... here.
7037         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7038         * sysdeps/unix/bsd/sigvec.c: ... here.
7039         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7040         * sysdeps/unix/bsd/tcdrain.c: ... here.
7041         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7042         * sysdeps/unix/bsd/tcgetattr.c: ... here.
7043         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7044         * sysdeps/unix/bsd/tcsetattr.c: ... here.
7045         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7046         * sysdeps/unix/bsd/wait.c: ... here.
7047         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7048         * sysdeps/unix/bsd/wait3.c: ... here.
7049         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7050         * sysdeps/unix/bsd/waitpid.c: ... here.
7051
7052 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
7053
7054         [BZ #16356]
7055         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7056         round-to-nearest for [!USE_AS_EXPM1L].
7057         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7058         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
7059         more tests of exp and exp10.  Expect some exp10 tests to miss
7060         exceptions or fail in directed rounding modes.
7061         * math/auto-libm-test-out: Regenerated.
7062         * math/libm-test.inc (exp10_tonearest_test_data): New array.
7063         (exp10_test_tonearest): New function.
7064         (exp10_towardzero_test_data): New array.
7065         (exp10_test_towardzero): New function.
7066         (exp10_downward_test_data): New array.
7067         (exp10_test_downward): New function.
7068         (exp10_upward_test_data): New array.
7069         (exp10_test_upward): New function.
7070         (main): Call the new functions.
7071         * sysdeps/i386/fpu/libm-test-ulps: Update.
7072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7073
7074 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
7075
7076         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7077         asinh, atan, atan2, atanh, cbrt, cos and cosh.
7078         * math/auto-libm-test-out: Regenerated.
7079         * math/libm-test.inc (acosh_test_data): Add more tests.
7080         (atanh_test_data): Likewise.
7081         (ceil_test_data): Likewise.
7082         (copysign_test_data): Likewise.
7083         * sysdeps/i386/fpu/libm-test-ulps: Update.
7084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7085
7086         * timezone/checktab.awk: Update from tzcode 2013i.
7087         * timezone/private.h: Likewise.
7088         * timezone/scheck.c: Likewise.
7089         * timezone/tzfile.h: Likewise.
7090         * timezone/tzselect.ksh: Likewise.
7091         * timezone/zdump.c: Likewise.
7092         * timezone/zic.c: Likewise.
7093
7094         * math/auto-libm-test-in: Add tests of cpow.
7095         * math/auto-libm-test-out: Regenerated.
7096         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7097         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7098         mpc_cc_c.
7099         (func_calc_desc): Add mpc_cc_c union field.
7100         (test_functions): Add cpow.
7101         (special_fill_2pi): New function.
7102         (special_real_inputs): Add 2pi.
7103         (calc_generic_results): Handle mpc_cc_c.
7104         * sysdeps/i386/fpu/libm-test-ulps: Update.
7105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7106
7107         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7108         csqrt, ctan and ctanh.
7109         * math/auto-libm-test-out: Regenerated.
7110         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7111         (TEST_COND_x86): Likewise.
7112         (ccos_test_data): Use AUTO_TESTS_c_c.
7113         (ccosh_test_data): Likewise.
7114         (cexp_test_data): Likewise.
7115         (clog_test_data): Likewise.
7116         (csqrt_test_data): Likewise.
7117         (ctan_test_data): Likewise.
7118         (ctan_tonearest_test_data): Likewise.
7119         (ctan_towardzero_test_data): Likewise.
7120         (ctan_downward_test_data): Likewise.
7121         (ctan_upward_test_data): Likewise.
7122         (ctanh_test_data): Likewise.
7123         (ctanh_tonearest_test_data): Likewise.
7124         (ctanh_towardzero_test_data): Likewise.
7125         (ctanh_downward_test_data): Likewise.
7126         (ctanh_upward_test_data): Likewise.
7127         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7128         mpc_c_c.
7129         (func_calc_desc): Add mpc_c_c union field.
7130         (FUNC_mpc_c_c): New macro.
7131         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7132         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7133         ctanh.
7134         (special_fill_min_subnorm_p120): New function.
7135         (special_real_inputs): Add min_subnorm_p120.
7136         (calc_generic_results): Handle mpc_c_c.
7137         * sysdeps/i386/fpu/libm-test-ulps: Update.
7138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7139
7140 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7141
7142         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7143         (do_sin_slow): New functions.
7144         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7145         (cslow2, csloww1, csloww2): Use the new functions.
7146
7147         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7148         Use M to change sign of result instead of X.  Assume X is
7149         positive.
7150         (csloww1): Likewise.
7151         (__sin): Adjust.
7152         (__cos): Adjust.
7153
7154         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7155         arguments A and DA.
7156         (__sin): Adjust.
7157         (__cos): Likewise.
7158
7159         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7160         (__cos): Likewise.
7161         (sloww1): Don't adjust sign of DX.
7162         (csloww1): Likewise.
7163         (sloww2): Use X directly and don't adjust sign of DX.
7164         (csloww2): Likewise.
7165
7166 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7167
7168         * math/auto-libm-test-in: Add tests of cabs and carg.
7169         * math/auto-libm-test-out: Regenerated.
7170         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7171         (carg_test_data): Likewise.
7172         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7173         mpc_c_f.
7174         (func_calc_desc): Add mpc_c_f union field.
7175         (test_functions): Add cabs and carg.
7176         (calc_generic_results): Handle mpc_c_f.
7177
7178         * sysdeps/powerpc/powerpc32/libgcc-compat.S
7179         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7180         as a macro and a compat symbol.
7181         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7182         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7183         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7184         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7185         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7186         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7187         not use .hidden.
7188         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7189         Likewise.
7190         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7191         Likewise.
7192         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7193         Likewise.
7194         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7195         Likewise.
7196         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7197         Likewise.
7198         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7199         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7200         from GLIBC_2.3.2.
7201
7202 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7203
7204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7205
7206 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7207
7208         * manual/texinfo.tex: Update to version 2013-11-26.10 with
7209         trailing whitespace removed.
7210         * scripts/config.guess: Update to version 2013-11-29.
7211         * scripts/config.sub: Update to version 2013-10-01.
7212
7213         * math/auto-libm-test-in: Add tests of sincos.
7214         * math/auto-libm-test-out: Regenerated.
7215         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7216         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7217         mpfr_f_11.
7218         (func_calc_desc): Add mpfr_f_11 union field.
7219         (test_functions): Add sincos.
7220         (calc_generic_results): Handle mpfr_f_11.
7221         * sysdeps/i386/fpu/libm-test-ulps: Update.
7222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7223
7224 2013-12-19  Andreas Schwab  <schwab@suse.de>
7225
7226         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7227         CALL_MCOUNT.
7228         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7229         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7230         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7231
7232 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7233
7234         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7235         * sysdeps/i386/fpu/libm-test-ulps: Update.
7236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7237
7238         [BZ #16293]
7239         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7240         round-to-nearest mode when using frndint.
7241         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7242         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7243         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7244         Likewise.
7245         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7246         sinh test to fail.
7247         * math/auto-libm-test-out: Regenerated.
7248         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7249         (TEST_COND_x86): Likewise.
7250         (expm1_tonearest_test_data): New array.
7251         (expm1_test_tonearest): New function.
7252         (expm1_towardzero_test_data): New array.
7253         (expm1_test_towardzero): New function.
7254         (expm1_downward_test_data): New array.
7255         (expm1_test_downward): New function.
7256         (expm1_upward_test_data): New array.
7257         (expm1_test_upward): New function.
7258         (main): Run the new test functions.
7259         * sysdeps/i386/fpu/libm-test-ulps: Update.
7260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7261
7262         * include/features.h: Update comment documenting feature test
7263         macros.  Mention _DEFAULT_SOURCE in comment.
7264         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7265         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7266         _BSD_SOURCE and _SVID_SOURCE.
7267         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7268         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7269         !_SVID_SOURCE]: Likewise.
7270         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7271         (__USE_POSIX_IMPLICITLY): Define.
7272         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7273         (_POSIX_SOURCE): Undefine and redefine.
7274         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7275         (_POSIX_C_SOURCE): Likewise.
7276         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7277         (Feature Test Macros): Update documentation of default features.
7278
7279 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7280
7281         * benchtests/Makefile: Add bench-strtok.
7282         * benchtests/bench-strtok.c: New file: strtok benchtest.
7283
7284 2013-12-19  Allan McRae  <allan@archlinux.org>
7285
7286         * manual/install.texi: Suppress menu for plain text output.
7287         * INSTALL: Regenerated.
7288
7289 2013-12-18  Brooks Moses  <bmoses@google.com>
7290
7291         [BZ #15846]
7292         * misc/getauxval.c: Include errno.h.
7293         (__getauxval): Set errno to ENOENT if the requested type is not
7294         found.
7295         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7296         don't declare with __attribute_const__.
7297         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7298         * manual/startup.texi: Document that getauxval sets errno.
7299
7300 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7301
7302         * math/auto-libm-test-in: Add tests of jn and yn.
7303         * math/auto-libm-test-out: Regenerated.
7304         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7305         (yn_test_data): Likewise.
7306         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7307         mpfr_if_f.
7308         (func_calc_desc): Add mpfr_if_f union field.
7309         (FUNC_mpfr_if_f): New macro.
7310         (test_functions): Add jn and yn.
7311         (calc_generic_results): Assert type of second input for
7312         mpfr_ff_f.  Handle mpfr_if_f.
7313         (output_for_one_input_case): Disable all checking for arguments
7314         fitting floating-point types in case of an integer argument.
7315         * sysdeps/i386/fpu/libm-test-ulps: Update.
7316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7317
7318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7319         Don't expect fegetround reference in libm.so.
7320
7321 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7322
7323         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7324         $(config-cflags-nofma).
7325
7326 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7327
7328         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7329         * math/auto-libm-test-out: Regenerated.
7330
7331         [BZ #16338]
7332         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7333         to determine exponent and adjust argument to have exponent of -1.
7334         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7335         log2.
7336         * math/auto-libm-test-out: Regenerated.
7337         * sysdeps/i386/fpu/libm-test-ulps: Update.
7338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339
7340 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7341
7342         * manual/probes.texi: Remove cases when per-thread arenas are
7343         disabled.
7344
7345 2013-12-18  Andreas Schwab  <schwab@suse.de>
7346
7347         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7348         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7349         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7350         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7351         * sysdeps/i386/i686/multiarch/Makefile: Update.
7352         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7353
7354 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7355
7356         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7357         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7358
7359 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7360
7361         [BZ #15968]
7362         Support TZ transition times < 00:00:00.
7363         This is needed for version-3 tz-format files; it supports time
7364         stamps past 2037 for America/Godthab (the only entry in the tz
7365         database for which this change is relevant).
7366         * manual/time.texi (TZ Variable): Document transition times
7367         from -167:59:59 through -00:00:01.
7368         * time/tzset.c (tz_rule): Time of day is now signed.
7369         (__tzset_parse_tz): Parse negative time of day.
7370
7371         Document TZ transition times >= 25:00:00.
7372         * manual/time.texi (TZ Variable): Document transition times from
7373         25:00:00 through 167:59:59.  These are already supported, and this
7374         support will help with version-3 tz-format files.
7375
7376         * manual/time.texi (TZ Variable): Modernize North America example
7377         to reflect current (i.e., 2007-and-later) daylight saving rules.
7378
7379         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7380
7381 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7382
7383         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7384         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7385         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7386         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7387         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7388         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7389         * sysdeps/unix/bsd/clock.c: Likewise.
7390         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7391         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7392         * sysdeps/unix/bsd/init-posix.c: Likewise.
7393         * sysdeps/unix/bsd/poll.c: Likewise.
7394         * sysdeps/unix/bsd/ptsname.c: Likewise.
7395         * sysdeps/unix/bsd/seekdir.c: Likewise.
7396         * sysdeps/unix/bsd/setegid.c: Likewise.
7397         * sysdeps/unix/bsd/seteuid.c: Likewise.
7398         * sysdeps/unix/bsd/setgid.c: Likewise.
7399         * sysdeps/unix/bsd/setrgid.c: Likewise.
7400         * sysdeps/unix/bsd/setruid.c: Likewise.
7401         * sysdeps/unix/bsd/setsid.c: Likewise.
7402         * sysdeps/unix/bsd/setuid.c: Likewise.
7403         * sysdeps/unix/bsd/sigaction.c: Likewise.
7404         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7405         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7406         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7407         * sysdeps/unix/bsd/telldir.c: Likewise.
7408         * sysdeps/unix/bsd/times.c: Likewise.
7409         * sysdeps/unix/bsd/usleep.c: Likewise.
7410
7411         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7412         ($(objpfx)libbsd-compat.a): Remove rule.
7413
7414         * include/features.h (__FAVOR_BSD): Do not define.
7415         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7416         features conflicting with POSIX.
7417         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7418         (_BSD_SOURCE): Remove description of not being a subset of other
7419         feature test macros.
7420         * manual/job.texi (getpgrp): Do not document BSD version.
7421         (getpgid): Do not document by reference to BSD getpgrp.
7422         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7423         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7424         * signal/signal.h [__FAVOR_BSD]: Likewise.
7425         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7426         instead of making contents conditional on [__FAVOR_BSD].
7427         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7428
7429 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7430
7431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7432
7433 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7434
7435         [BZ #16314]
7436         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7437         values below 2**-450, not 2**-500.
7438         * math/auto-libm-test-in: Don't allow spurious underflow from
7439         hypot.
7440         * math/auto-libm-test-out: Regenerated.
7441
7442         [BZ #16316]
7443         [BZ #16330]
7444         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7445         values of ha and hb and sort them after adjusting subnormal
7446         arguments.
7447         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7448         Likewise.
7449         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7450         values of ea and eb and sort them after adjusting subnormal
7451         arguments.
7452         * math/auto-libm-test-in: Do not expect some hypot tests of
7453         subnormals to fail.  Add more hypot tests.
7454         * math/auto-libm-test-out: Regenerated.
7455
7456 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7457
7458         [BZ #13304]
7459         * sysdeps/sh/s_fma.c: New file.
7460         * sysdeps/sh/s_fmaf.c: New file.
7461         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7462         version.
7463         * sysdeps/sh/Implies: Add sh/soft-fp.
7464
7465 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7466
7467         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7468         level of indirection to members `objname', `errstring', `malloced'.
7469         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7470         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7471         it as the __longjmp argument (just pass 1 instead).
7472         (_dl_catch_error): Initialize C with argument pointers and address of
7473         volatile local ERRCODE rather than copying values out of C at return.
7474
7475 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7476
7477         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7478         * math/auto-libm-test-out: Regenerated.
7479         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7480         (hypot_test_data): Likewise.
7481         (pow_test_data): Likewise.
7482         (pow_tonearest_test_data): Likewise.
7483         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7484         mpfr_ff_f.
7485         (func_calc_desc): Add mpfr_ff_f union field.
7486         (FUNC_mpfr_ff_f): New macro.
7487         (test_functions): Add atan2, hypot and pow.
7488         (special_fill_min): New function.
7489         (special_fill_minus_min): Likewise.
7490         (special_fill_min_subnorm): Likewise.
7491         (special_fill_minus_min_subnorm): Likewise.
7492         (special_real_inputs): Add min, -min, min_subnorm and
7493         -min_subnorm.
7494         (calc_generic_results): Handle mpfr_ff_f.
7495         * sysdeps/i386/fpu/libm-test-ulps: Update.
7496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7497
7498 2013-12-16  Will Newton  <will.newton@linaro.org>
7499
7500         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7501         (Aligned Memory Blocks): Add documentation for aligned_alloc
7502         and suggest it as an alternative to posix_memalign.
7503         (Hooks for Malloc): Document __memalign_hook is also called
7504         for aligned_alloc.  (Summary of Malloc): Add summary for
7505         aligned alloc.  Document __memalign_hook is also called
7506         for aligned_alloc.
7507
7508 2013-12-16  Will Newton  <will.newton@linaro.org>
7509
7510         * manual/memory.texi (Malloc Examples): Clarify default
7511         alignment documentation.  Suggest posix_memalign rather
7512         than memalign or valloc.
7513         (Aligned Memory Blocks): Remove suggestion to use memalign
7514         or valloc.  Remove obsolete comment about BSD.
7515         Document memalign errno values and mark the function obsolete.
7516         Document posix_memalign returned error codes.  Mark valloc
7517         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7518         called for posix_memalign and valloc.
7519         (Summary of Malloc): Add posix_memalign to function summary.
7520         __memalign_hook is also called for posix_memalign and valloc.
7521
7522 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7523
7524         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7525         TAYLOR_SIN.
7526         (__sin): Adjust.
7527         (__cos): Likewise.
7528         (sloww): Use mynumber union.  Expand ternary operator into
7529         if-else statements.
7530         (cslow): use mynumber union.
7531
7532 2013-12-16  Allan McRae  <allan@archlinux.org>
7533
7534         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7535         * configure: Regenerated.
7536
7537         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7538
7539         [BZ #14120]
7540         * configure.ac: Added --enable-maintainer-mode. Check for
7541         autoconf when enabled.
7542         * configure: Regenerated.
7543
7544         * nscd/nscd.service: New file.
7545         * nscd/nscd.tmpfiles: New file.
7546
7547 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7548
7549         [BZ #12100]
7550         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7551         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7552         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7553         (strstr): Add __strstr_sse2_unaligned ifunc.
7554         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7555         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7556         (strcasestr): Remove __strcasestr_sse42 ifunc.
7557         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7558         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7560
7561 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7562
7563         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7564         * sysdeps/sh/bits/fenv.h: ... here.
7565         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7566
7567 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7568
7569         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7570
7571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7572         hypotf multiarch implementations.
7573         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7574         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7575         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7576         multiarch hypot for PPC64.
7577         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7578         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7579         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7580         multiarch hypotf for PPC64.
7581
7582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7583         modff multiarch implementations.
7584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7587         multiarch modf for PPC64.
7588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7591         multiarch modff for PPC64.
7592
7593         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7594         and logl multiarch implementations.
7595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7598         multiarch logb for PPC64.
7599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7602         multiarch logb for PPC64.
7603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7606         multiarch logb for PPC64.
7607
7608         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7609         isinff multiarch implementation.
7610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7611         file.
7612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7614         multiarch isinf for PPC64.
7615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7616         file.
7617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7618         multiarch isinff for PPC64.
7619
7620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7621         finitef multiarch implementation.
7622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7623         file.
7624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7626         multiarch finite for PPC64.
7627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7628         file.
7629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7630         multiarch finitef for PPC64.
7631
7632         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7633         lrint multiarch implementation.
7634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7635         file.
7636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7638         multiarch llrint for PPC64.
7639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7640         multiarch lrint for PPC64.
7641
7642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7643         copysignf multiarch implementation.
7644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7645         file.
7646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7647         file.
7648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7649         multiarch copysign for PPC64.
7650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7651         multiarch copysignf for PPC64.
7652
7653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7654         multiarch implementation.
7655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7656         file.
7657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7658         file.
7659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7660         file.
7661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7662         file.
7663         multiarch llround for PPC64.
7664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7665         multiarch trunc for PPC64.
7666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7667         multiarch truncf for PPC64.
7668
7669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7670         multiarch implementation.
7671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7672         file.
7673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7674         file.
7675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7676         file.
7677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7678         file.
7679         multiarch llround for PPC64.
7680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7681         multiarch round for PPC64.
7682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7683         multiarch roundf for PPC64.
7684
7685         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7686         multiarch implementation.
7687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7688         file.
7689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7690         file.
7691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7692         file.
7693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7694         file.
7695         multiarch llround for PPC64.
7696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7697         multiarch floor for PPC64.
7698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7699         multiarch floorf for PPC64.
7700
7701         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7702         multiarch implementation.
7703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7704         file.
7705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7706         file.
7707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7708         file.
7709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7710         file.
7711         multiarch llround for PPC64.
7712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7713         multiarch ceil for PPC64.
7714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7715         multiarch ceilf for PPC64.
7716
7717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7718         multiarch implementation.
7719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7720         file.
7721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7722         file.
7723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7724         file.
7725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7726         multiarch llround for PPC64.
7727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7728         multiarch lround for PPC64.
7729
7730         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7731         multiarch implementation.
7732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7735         file.
7736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7739         multiarch isnan for PPC64.
7740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7741         multiarch isnanf for PPC64.
7742
7743         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7744         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7745         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7746         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7747         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7749
7750         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7751         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7752         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7753         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7754
7755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7756         multiarch implementations.
7757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7758         (__libc_ifunc_impl_list): Likewise.
7759         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7761         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7762         multiarch stpcpy for PPC64.
7763
7764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7765         multiarch implementations.
7766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7767         (__libc_ifunc_impl_list): Likewise.
7768         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7769         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7770         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7771         multiarch strcpy for PPC64.
7772
7773         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7774         redefine function name.
7775         (_wordcopy_fwd_dest_aligned): Likewise.
7776         (_wordcopy_bwd_aligned): Likewise.
7777         (_wordcopy_bwd_dest_aligned): Likewise.
7778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7779         multiarch implementations.
7780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7781         (__libc_ifunc_impl_list): Likewise.
7782         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7783         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7784         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7785         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7786         multiarch wcscpy for PPC64.
7787
7788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7789         multiarch implementations.
7790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7791         (__libc_ifunc_impl_list): Likewise.
7792         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7793         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7794         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7795         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7796         multiarch wcscpy for PPC64.
7797
7798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7799         multiarch implementations.
7800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7801         (__libc_ifunc_impl_list): Likewise.
7802         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7803         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7804         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7805         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7806         multiarch wcsrchr for PPC64.
7807
7808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7809         multiarch implementations.
7810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7811         (__libc_ifunc_impl_list): Likewise.
7812         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7813         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7814         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7815         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7816         multiarch wcschr for PPC64.
7817
7818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7819         multiarch implementations.
7820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7821         (__libc_ifunc_impl_list): Likewise.
7822         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7823         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7824         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7825         multiarch strchrnul for PPC64.
7826
7827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7828         implementations.
7829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7830         (__libc_ifunc_impl_list): Likewise.
7831         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7832         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7833         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7834         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7835         strchr for PPC64.
7836
7837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7838         implementations.
7839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7840         (__libc_ifunc_impl_list): Likewise.
7841         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7842         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7843         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7844         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7845         strncmp for PPC64.
7846
7847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7848         multiarch implementations.
7849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7850         (__libc_ifunc_impl_list): Likewise.
7851         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7852         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7853         strncasecmp for PPC64.
7854         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7855         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7856         multiarch strncasecmp_l for PPC64.
7857
7858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7859         multiarch implementations.
7860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7861         (__libc_ifunc_impl_list): Likewise.
7862         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7863         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7864         multiarch strcasecmp for PPC64.
7865         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7866         file.
7867         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7868         multiarch strcasecmp_l for PPC64.
7869
7870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7871         implementations.
7872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7873         (__libc_ifunc_impl_list): Likewise.
7874         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7875         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7876         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7877         strnlen for PPC64.
7878
7879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7880         implementations.
7881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7882         (__libc_ifunc_impl_list): Likewise.
7883         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7884         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7885         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7886         strlen for PPC64.
7887
7888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7889         implementations.
7890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7891         (__libc_ifunc_impl_list): Likewise.
7892         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7893         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7894         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7895         rawmemrchr for PPC64.
7896
7897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7898         implementation.
7899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7900         (__libc_ifunc_impl_list): Likewise.
7901         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7902         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7903         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7904         memrchr for PPC64.
7905
7906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7907         implementation.
7908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7909         (__libc_ifunc_impl_list): Likewise.
7910         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7911         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7912         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7913         memchr for PPC64.
7914
7915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7916         implementation.
7917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7918         (__libc_ifunc_impl_list): Likewise.
7919         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7920         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7921         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7922         mempcpy for PPC64.
7923
7924         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7925         avoid cretion of __bzero symbol.
7926         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7927         Likewise.
7928         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7929         Likewise.
7930         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7931         Likewise.
7932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7933         multiarch implementations.
7934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7935         (__libc_ifunc_impl_list): Likewise.
7936         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7937         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7938         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7939         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7940         bzero for PPC32.
7941         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7942         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7943         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7944         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7945         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7946         memset for PPC64.
7947         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7948
7949         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7951         implementations.
7952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7953         (__libc_ifunc_impl_list): Likewise.
7954         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7955         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7956         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7957         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7958         memcmp for PPC64.
7959
7960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7961         multiarch for POWER/PPC64.
7962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7963         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7964         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7965         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7966         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7967         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7968         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7969         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7970         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7971         memcpy for PPC64.
7972
7973         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7974         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7975         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7976         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7977         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7978         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7979         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7980         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7981         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7982         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7983         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7984         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7985         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7986         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7987         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7995
7996 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7997
7998         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7999
8000 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8001
8002         * benchtests/Makefile (bench): Add exp2 and log2.
8003         (LDLIBS-bench-exp2): Add -lm.
8004         (LDLIBS-bench-log2): Likewise.
8005         * benchtests/exp2-inputs: New inputs file.
8006         * benchtests/log2-inputs: New inputs file.
8007         * benchtests/log-inputs: Add new inputs.
8008         * benchtests/tan-inputs: Likewise.
8009
8010 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8011
8012         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8013         definition...
8014         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8015         (csloww2): ... from here.
8016
8017         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8018         instead of structures.
8019         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8020         (POLYNOMIAL): Likewise.
8021         (TAYLOR_SLOW): Likewise.
8022         (__sin): Likewise.
8023         (__cos): Likewise.
8024         (slow1): Likewise.
8025         (slow2): Likewise.
8026         (sloww): Likewise.
8027         (sloww1); Likewise.
8028         (sloww2): Likewise.
8029         (bsloww1): Likewise.
8030         (bsloww2): Likewise.
8031         (cslow2): Likewise.
8032         (csloww): Likewise.
8033         (csloww1): Likewise.
8034         (csloww2): Likewise.
8035
8036 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
8037
8038         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8039         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8040         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8041         * malloc/hooks.c (realloc_check): Likewise.
8042
8043         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8044         * malloc/arena.c: Remove PER_THREAD conditional.
8045         [!PER_THREAD]: Remove code.
8046         (ptmalloc_unlock_all2): Likewise.
8047         (ptmalloc_init): Likewise.
8048         (_int_new_arena): Likewise.
8049         (arena_get2): Likewise.
8050         * malloc/hooks.c (__malloc_get_state): Likewise.
8051         (__malloc_set_state): Likewise.
8052         * malloc/malloc.c: Likewise.
8053         (struct malloc_state): Likewise.
8054         (struct malloc_par): Likewise.
8055         (__libc_realloc): Likewise.
8056         (__libc_mallopt): Likewise.
8057
8058 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8059
8060         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8061
8062 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
8063
8064         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8065         macro to a function.  Check for zero perturb_byte.
8066         (_int_malloc, _int_free): Remove zero perturb_byte checks.
8067
8068         * malloc/malloc.c: (force_reg): Remove.
8069         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8070         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8071         force_reg by atomic_forced_read.
8072         * malloc/arena.c (ptmalloc_init): Likewise.
8073         * malloc/hooks.c (top_check): Likewise.
8074
8075 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8076
8077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8078
8079 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
8080
8081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8082
8083 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
8084
8085         * math/auto-libm-test-in: Add tests of lgamma.
8086         * math/auto-libm-test-out: Regenerated.
8087         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8088         (M_LOG_2_SQRT_PIl): Likewise.
8089         (lgamma_test_data): Use AUTO_TESTS_f_f1.
8090         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8091         mpfr_f_f1.
8092         (func_calc_desc): Add mpfr_f_f1 union field.
8093         (ARGS1): New macro.
8094         (ARGS2): Likewise.
8095         (ARGS3): Likewise.
8096         (ARGS4): Likewise.
8097         (RET1): Likewise.
8098         (RET2): Likewise.
8099         (CALC): Likewise.
8100         (FUNC): Likewise.
8101         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8102         (test_functions): Add lgamma.
8103         (calc_generic_results): Handle mpfr_f_f1.
8104         * sysdeps/i386/fpu/libm-test-ulps: Update.
8105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8106
8107 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8108
8109         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8110         __mpn_add_n for PowerPC64/POWER7.
8111         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8112         __mpn_sub_n for PowerPC64/POWER7.
8113
8114         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8115         __mpn_addmul_1 for PowerPC64.
8116         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8117         __mpn_submul_1 for PowerPC64.
8118         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8119         for PowerPC64.
8120         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8121         for PowerPC64.
8122
8123 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
8124
8125         [BZ #15089]
8126         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8127
8128 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8129
8130         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8131
8132         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8133         add multiarch folders.
8134         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8135         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8136         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8137         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8138         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8139         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8140         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8141         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8142         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8143         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8144         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8151
8152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8153         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8155         New file.
8156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8157         New file.
8158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8159         multiarch __ieee754_hypot for PowerPC32.
8160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8161         New file.
8162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8163         New file.
8164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8165         multiarch __ieee754_hypotf for PowerPC32.
8166
8167         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8168         long_double_symbol only if __logbl is defined.
8169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8170         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8171         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8172         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8173         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8174         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8175         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8176         path for implementation.
8177         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8178         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8180         logb, and logbl multiarch implementations for PowerPC32.
8181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8182         file.
8183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8184         file.
8185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8186         multiarch logb for PowerPC32.
8187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8188         file.
8189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8190         file.
8191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8192         multiarch logbf for PowerPC32.
8193         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8195         file.
8196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8197         multiarch logbl implementation for PowerPC32.
8198
8199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8200         and modff multiarch implementations.
8201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8202         New file.
8203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8204         New file.
8205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8206         multiarch modf for PowerPC32.
8207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8208         New file.
8209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8210         New file.
8211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8212         multiarch modff for PowerPC32.
8213
8214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8215         and lrintf multiarch implementations.
8216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8217         New file.
8218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8219         New file.
8220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8221         multiarch lrint for PowerPC32.
8222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8223         file: multiarch lrintf for PowerPC32.
8224
8225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8226         and lroundf multiarch implementations.
8227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8228         New file.
8229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8230         New file.
8231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8232         New file.
8233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8234         multiarch lround for PowerPC32.
8235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8236         file: multiarch lroundf for PowerPC32.
8237
8238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8239         copysign and copysignf multiarch implementations.
8240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8241         New file.
8242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8243         New file.
8244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8245         file: multiarch copysign for PowerPC32.
8246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8247         file: multiarch copysignf for PowerPC32.
8248
8249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8250         and truncf multiarch implementations.
8251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8252         New file.
8253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8254         file.
8255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8256         multiarch trunc for PowerPC32.
8257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8258         New file.
8259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8260         New file.
8261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8262         multiarch truncf for PowerPC32.
8263
8264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8265         and roundf multiarch implementations.
8266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8267         New file.
8268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8269         file.
8270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8271         multiarch round for PowerPC32.
8272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8273         New file.
8274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8275         New file.
8276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8277         multiarch roundf for PowerPC32.
8278
8279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8280         and floorf multiarch implementations.
8281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8282         New file.
8283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8284         file.
8285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8286         multiarch floor for PowerPC32.
8287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8288         New file.
8289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8290         New file.
8291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8292         multiarch floorf for PowerPC32.
8293
8294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8295         and ceilf multiarch implementations.
8296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8297         New file.
8298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8299         file.
8300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8301         multiarch ceil for PowerPC32.
8302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8303         New file.
8304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8305         file.
8306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8307         multiarch ceilf for PowerPC32.
8308
8309         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8310         is defined.
8311         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8312         FINITEF is defined.
8313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8314         and finitef multiarch implementations.
8315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8316         New file.
8317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8318         file.
8319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8320         multiarch finite for PowerPC32.
8321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8322         New file.
8323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8324         file: multiarch finitef for PowerPC32.
8325
8326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8327         and isinff multiarch implementations.
8328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8329         file.
8330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8331         file.
8332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8333         multiarch isinf for PowerPC32.
8334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8335         New file.
8336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8337         multiarch isinff for PowerPC32.
8338
8339         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8340         alias when __isnan is defined.
8341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8342         and isnanf multiarch implementations.
8343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8344         file.
8345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8346         file.
8347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8348         file.
8349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8350         file.
8351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8352         multiarch isnan for PowerPC32.
8353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8354         New file.
8355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8356         New file.
8357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8358         multiarch isnanf for PowerPC32.
8359
8360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8361         and sqrtf multiarch implementations.
8362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8363         file.
8364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8365         file.
8366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8367         multiarch sqrt for PowerPC32.
8368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8369         file.
8370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8371         file.
8372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8373         multiarch sqrtf for PowerPC32.
8374
8375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8376         and llroundf multiarch implementations.
8377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8378         New file.
8379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8380         New file.
8381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8382         New file.
8383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8384         file: multiarch llround for PowerPC32.
8385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8386         file: multiarch llroundf for PowerPC32.
8387
8388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8389         multiarch PowerPC32 fpu implementations.
8390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8391         New file.
8392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8393         New file.
8394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8395         multiarch llrint for PowerPC32.
8396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8397         New file.
8398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8399         New file.
8400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8401         file.
8402
8403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8404
8405         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8406         file.
8407         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8408         file.
8409         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8410         file.
8411         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8412         multiarch wordcopy for PPC32.
8413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8414         wordcopy objects.
8415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8416         (__libc_ifunc_impl_list): Likewise.
8417         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8418         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8419         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8420         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8421         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8422         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8423
8424         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8426         file.
8427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8428         file.
8429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8430         file.
8431         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8432         multiarch wcscpy for PPC32.
8433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8434         multiarch objects.
8435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8436         (__libc_ifunc_impl_list): Likewise.
8437         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8438         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8439         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8440         sysdeps/powerpc/power6/wcscpy.c.
8441
8442         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8444         file.
8445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8446         file.
8447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8448         file.
8449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8450         multiarch wcsrchr for PPC32.
8451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8452         multiarch objects.
8453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8454         (__libc_ifunc_impl_list): Likewise.
8455         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8456         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8457         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8458         sysdeps/powerpc/power6/wcsrchr.c.
8459
8460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8461         file.
8462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8463         file.
8464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8466         multiarch wcschr for PPc32.
8467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8468         multiarch objects.
8469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8470         (__libc_ifunc_impl_list): Likewise.
8471         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8472         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8473         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8474         sysdeps/powerpc/power6/wcschr.c.
8475
8476         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8477         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8478         file.
8479         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8480         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8481         file: multiarch strchr for PPC32.
8482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8483         multiarch objects.
8484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8485         (__libc_ifunc_impl_list): Likewise.
8486
8487         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8488         name.
8489         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8490         file.
8491         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8492         file.
8493         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8494         multiarch strchrnul for PPC32.
8495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8496         multiarch objects.
8497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8498         (__libc_ifunc_impl_list): Likewise.
8499
8500         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8501         file.
8502         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8503         multiarch strncasecmp for PPC32.
8504         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8505         file.
8506         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8507         multiarch strncasecmp_l for PPC32.
8508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8509         strncasecmp multiarch objects.
8510         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8511         (__libc_ifunc_impl_list): Likewise.
8512
8513         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8514         file.
8515         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8516         multiarch strncasecmp for PPC32.
8517         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8518         New file.
8519         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8520         multiarch strcasecmp_l for PPC32.
8521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8522         multiarch objects.
8523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8524         (__libc_ifunc_impl_list): Likewise.
8525
8526         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8527         file.
8528         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8529         file.
8530         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8531         multiarch strncmp for PPC32.
8532         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8533         multiarch objects.
8534         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8535         (__libc_ifunc_impl_list): Likewise.
8536
8537         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8538         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8539         file.
8540         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8541         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8543         multiarch objects.
8544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8545         (__libc_ifunc_impl_list): Likewise.
8546
8547         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8548         file.
8549         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8550         file.
8551         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8553         multiarch objects.
8554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8555         (__libc_ifunc_impl_list): Likewise.
8556
8557         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8558         file.
8559         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8560         file.
8561         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8562         multiarch rawmemchr for PPC32.
8563         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8564         multiarch objects.
8565         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8566         (__libc_ifunc_impl_list): Likewise.
8567
8568         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8569         file.
8570         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8571         file.
8572         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8573         file: memrchr multiarch for PPC32.
8574         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8575         multiarch objects.
8576         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8577         (__libc_ifunc_impl_list): Likewise.
8578
8579         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8580         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8581         file.
8582         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8583         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8584         multiarch memchr for PPC32.
8585         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8586         multiarch objects.
8587         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8588         (__libc_ifunc_impl_list): Likewise.
8589
8590         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8591         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8592         file.
8593         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8594         file.
8595         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8596         file: multiarch mempcpy for PPC32.
8597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8598         multiarch objects.
8599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8600         (__libc_ifunc_impl_list): Likewise.
8601
8602         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8603         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8604         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8605         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8606         multiarch bzero for PPC32.
8607         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8608         file.
8609         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8610         file.
8611         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8612         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8613         file: multiarch memset for PPC32.
8614         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8616         memset multiarch objects.
8617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8618         (__libc_ifunc_impl_list): Likewise.
8619
8620         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8621         file.
8622         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8623         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8624         memcmp for PPC32.
8625         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8627         multiarch objects.
8628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8629         (__libc_ifunc_impl_list): Likewise.
8630
8631         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8632         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8633         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8634         file.
8635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8636         file.
8637         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8638         file.
8639         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8640         multiarch memcpy for PPC32.
8641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8642         multiarch objects.
8643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8644         (__libc_ifunc_impl_list): Likewise.
8645
8646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8647         support multiarch for POWER/PPC32.
8648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8649         Likewise.
8650         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8652         Implies file to make multiarch folder appers before the fpu and
8653         default folder for power4 configuration.
8654
8655 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8656
8657         * scripts/bench.pl: Append volatile keyword to type.
8658
8659 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8660
8661         * sysdeps/sh/sotruss-lib.c: New file.
8662         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8663
8664 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8665
8666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8667
8668 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
8669
8670         [BZ #6810]
8671         * math/w_tgamma.c: Include <errno.h>.
8672         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
8673         * math/w_tgammaf.c: Include <errno.h>.
8674         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
8675         * math/w_tgammal.c: Include <errno.h>.
8676         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
8677         * math/auto-libm-test-in: Do not allow missing errno on tgamma
8678         underflow.  Add more tgamma tests.
8679         * math/auto-libm-test-out: Regenerated.
8680         * sysdeps/i386/fpu/libm-test-ulps: Update.
8681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8682
8683         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8684         sin, sinh, tan, tanh, tgamma, y0 and y1.
8685         * math/auto-libm-test-out: Regenerated.
8686         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8687         (TEST_COND_x86): Likewise.
8688         (M_E2l): Remove macro.
8689         (M_E3l): Likewise.
8690         (M_2_SQRT_PIl): Likewise.
8691         (M_SQRT_PIl): Likewise.
8692         (M_1_DIV_El): Likewise.
8693         (log_test_data): Use AUTO_TESTS_f_f.
8694         (log10_test_data): Likewise.
8695         (log1p_test_data): Likewise.
8696         (log2_test_data): Likewise.
8697         (sin_test_data): Likewise.
8698         (sin_tonearest_test_data): Likewise.
8699         (sin_towardzero_test_data): Likewise.
8700         (sin_downward_test_data): Likewise.
8701         (sin_upward_test_data): Likewise.
8702         (sinh_test_data): Likewise.
8703         (sinh_tonearest_test_data): Likewise.
8704         (sinh_towardzero_test_data): Likewise.
8705         (sinh_downward_test_data): Likewise.
8706         (sinh_upward_test_data): Likewise.
8707         (tan_test_data): Likewise.
8708         (tan_tonearest_test_data): Likewise.
8709         (tan_towardzero_test_data): Likewise.
8710         (tan_downward_test_data): Likewise.
8711         (tan_upward_test_data): Likewise.
8712         (tanh_test_data): Likewise.
8713         (tgamma_test_data): Likewise.
8714         (y0_test_data): Likewise.
8715         (y1_test_data): Likewise.
8716         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8717         (special_real_inputs): Add pi/4.
8718         * sysdeps/i386/fpu/libm-test-ulps: Update.
8719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8720
8721 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8722
8723         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8724         "longjmp_target" static probes.
8725         (__longjmp): Rename to __longjmp_symbol.
8726         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8727         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8728         on which longjmp to generate.
8729         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8730         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8731         probe.
8732         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8733         (__sigjmp_save): Rename to __sigjmp_save_symbol.
8734         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8735         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8736         and __sigjmp_save_symbol based on which sigsetjmp to generated.
8737         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8739         __longjmp_symbol based on which __longjmp to generate.
8740         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8741         probe.
8742         (setjmp): Rename to setjmp_symbol.
8743         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8744         (_setjmp): Rename to _setjmp_symbol.
8745         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8746         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8747         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8748         which setjmp to generate.
8749         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8750         "longjmp_target" static probes.
8751
8752 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8753
8754         * benchtests/README: Add note about output arguments.
8755         * benchtests/bench-sincos.c: Remove file.
8756         * benchtests/sincos-inputs: New file.
8757         * scripts/bench.pl: Identify output arguments and define
8758         static variables for them.
8759
8760         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8761
8762         [BZ #15941]
8763         * Makefile (INSTALL): Add install-plain.texi as the primary
8764         dependency.
8765         * manual/install-plain.texi: New file.
8766         * manual/install.texi: Include node directive only for
8767         non-plaintext output.
8768
8769 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
8770
8771         * stdlib/longlong.h: Update from GCC.
8772
8773         [BZ #6807]
8774         [BZ #15901]
8775         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8776         * math/w_j0f.c (y0f): Likewise.
8777         * math/w_j0l.c (__y0l): Likewise.
8778         * math/w_j1.c (y1): Likewise.
8779         * math/w_j1f.c (y1f): Likewise.
8780         * math/w_j1l.c (__y1l): Likewise
8781         * math/w_jn.c (yn): Likewise.
8782         * math/w_jnf.c (ynf): Likewise.
8783         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8784         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
8785         value for Bessel function domain errors outside _SVID_ mode.
8786         Adjust sign of return value for yn (negative integer, 0).
8787         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8788         by zero in return for negative x and set sign appropriately for
8789         negative n.
8790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8791         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8792         * math/libm-test.inc (y0_test_data): Add more tests and adjust
8793         expectations in error cases.
8794         (y1_test_data): Likewise.
8795         (yn_test_data): Likewise.
8796         * sysdeps/i386/fpu/libm-test-ulps: Update.
8797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8798
8799 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8800
8801         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8802         "64" to "64-v1".  Add "64-v2".
8803         (abi-64-options): Rename to ...
8804         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
8805         (abi-64-condition): Rename to ...
8806         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
8807         (abi-64-ld-soname): Rename to ...
8808         (abi-64-v1-ld-soname): ... this.
8809         (abi-64-v2-options): Define.
8810         (abi-64-v2-condition): Likewise.
8811         (abi-64-v2-ld-soname): Likewise.
8812         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8813         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8817
8818 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8819             Alan Modra  <amodra@gmail.com>
8820
8821         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8822         New versions for use with the ELFv2 ABI.
8823         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8824         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8825         declaration.
8826         (struct La_ppc64v2_retval): Likewise.
8827         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8828         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8829         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8830         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8831         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8832         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8833         Do not save or restore CR.
8834         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8835         (_dl_profile_resolve): Do no save or restore CR.  Support extended
8836         return values for ELFv2 ABI.  Fix location of FPR return registers.
8837         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8838         updated values for _CALL_ELF == 2.
8839         (La_regs, La_retval, int_retval): Likewise.
8840
8841 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8842
8843         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8844         (FRAME_MIN_SIZE_PARM): Likewise.
8845         (FRAME_BACKCHAIN): Likewise.
8846         (FRAME_CR_SAVE): Likewise.
8847         (FRAME_LR_SAVE): Likewise.
8848         (FRAME_TOC_SAVE): Likewise.
8849         (FRAME_PARM_SAVE): Likewise.
8850         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8851         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8852         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8853         (call_mcount_parm_offset): New macro.
8854         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8855         (PROF): Use symbolic stack frame offsets.
8856         (TAIL_CALL_SYSCALL_ERROR): Likewise.
8857         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8858         Redefine in terms of FRAME_MIN_SIZE.
8859         (_dl_runtime_resolve): Use symbolic stack frame offsets.
8860         (_dl_profile_resolve): Likewise.  Update comment.
8861         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8862         symbols stack frame offsets.
8863         (__sigsetjmp): Likewise.
8864         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8865         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8866         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8867         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8868
8869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8870         (FRAME_BACKCHAIN): Remove.
8871         (FRAME_CR_SAVE): Likewise.
8872         (FRAME_LR_SAVE): Likewise.
8873         (FRAME_COMPILER_DW): Likewise.
8874         (FRAME_LINKER_DW): Likewise.
8875         (FRAME_TOC_SAVE): Likewise.
8876         (FRAME_PARM_SAVE): Likewise.
8877         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8878         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8879         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8881         (CHECK_SP): Use symbolic stack frame offsets.
8882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8883         zone" instead of caller's parameter save area for temp storage.
8884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8885         Likewise.  Also, use symbolic stack frame offsets.
8886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8887         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8888         our own stack frame instead of the caller's.
8889         (__socket): Use symbolic stack frame offsets.
8890
8891 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8892             Alan Modra  <amodra@gmail.com>
8893
8894         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8895         Define.
8896         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8897         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8898         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8899         New function.
8900         (elf_machine_fixup_plt): Call it.
8901         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8902         reloc arguments.
8903         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8904         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8905         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8906         r2 before calling target.
8907
8908 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8909             Alan Modra  <amodra@gmail.com>
8910
8911         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8912         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8913         versions of macros to support ELFv2 ABI.
8914         (LOCALENTRY): New macro.
8915         (ENTRY, EALIGN): Use it.
8916         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8917         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8918         fall through into ENTRY entry point.
8919         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8920         Only define if _CALL_ELF != 2.
8921
8922         (elf_machine_matches_host): Verify ABI version matches.
8923         (RTLD_START): Use LOCALENTRY.
8924         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8925         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8926         (PLT_ENTRY_WORDS): New macro.
8927         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8928         (elf_machine_runtime_setup): Support ELFv2 ABI.
8929         (elf_machine_fixup_plt): Likewise.
8930         (elf_machine_plt_conflict): Likewise.
8931         (resolve_ifunc): Likewise.
8932         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8933         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8934         Likewise.
8935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8936         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8938         (makecontext): Support ELFv2 ABI.
8939         * elf/elf.h (EF_PPC64_ABI): Define.
8940
8941 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8942
8943         * sysdeps/powerpc/powerpc64/sysdep.h
8944         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8945         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8946         (ENTRY) [ASSEMBLER]: ... but instead here ...
8947         (EALIGN) [ASSEMBLER]: ... and here.
8948         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8949         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8950         (ENTRY_2) [!ASSEMBLER]: Use it.
8951         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8952         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8953         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8954         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8955         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8957         Use PPC64_LOAD_FUNCPTR.
8958
8959         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8960
8961 2013-12-04  Alan Modra  <amodra@gmail.com>
8962
8963         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8964         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8965         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8966         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8967
8968         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8969         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8970         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8971         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8972         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8973         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8974
8975 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8976
8977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8978         (__makecontext): Fix incorrect CFI when backtracing out of
8979         context created via makecontext.
8980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8981         (__setcontext): Fix incorrect CFI during switch to new context.
8982         (__novec_setcontext): Likewise.
8983
8984 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8985
8986         [BZ #4772]
8987         * time/strptime_l.c (__strptime_internal): Allow modifiers
8988         in strptime.
8989         * time/tst-strptime.c (day_tests): Add testcase.
8990
8991 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8992
8993         * scripts/bench.pl: Skip over blank lines.
8994
8995 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8996
8997         [BZ #926]
8998         * manual/time.texi (Calendar Time): Clarify what timezone functions
8999         use.
9000
9001 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9002
9003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9004
9005 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9006
9007         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9008         implementation.
9009         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9010         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9011         * debug/memset_chk.c (__memset_chk): Likewise.
9012         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9013         * debug/strncpy_chk.c: Likewise.
9014
9015 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9016
9017         [BZ #15268]
9018         [BZ #15425]
9019         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9020         (__ieee754_exp): For possibly underflowing results, check size of
9021         result and force underflow exception if required.
9022         * math/auto-libm-test-in: Add more tests of exp.
9023         * math/auto-libm-test-out: Regenerated.
9024         * sysdeps/i386/fpu/libm-test-ulps: Update.
9025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9026
9027         [BZ #16283]
9028         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9029         * math/w_exp2f.c (__exp2f): Likewise.
9030         * math/w_exp2l.c (__exp2l): Likewise.
9031         * math/auto-libm-test-in: Do not allow missing errno on exp2
9032         underflow.
9033         * math/auto-libm-test-out: Regenerated.
9034
9035 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
9036
9037         [BZ #16274]
9038         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9039         handle filename validation.
9040         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9041         (do_open): Delete.
9042
9043 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9044
9045         [BZ #6786]
9046         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9047         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9048         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9049         <float.h>.
9050         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9051         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9052         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9053         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9054         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9055         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9056         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9057         * math/auto-libm-test-in: Don't allow missing errno from erfc.
9058         Add more erfc tests.
9059         * math/auto-libm-test-out: Regenerated.
9060         * sysdeps/i386/fpu/libm-test-ulps: Update.
9061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9062
9063         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9064         exp2, expm1, j0 and j1.
9065         * math/auto-libm-test-out: Regenerated.
9066         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9067         (erfc_test_data): Likewise.
9068         (exp_test_data): Likewise.
9069         (exp_tonearest_test_data): Likewise.
9070         (exp_towardzero_test_data): Likewise.
9071         (exp_downward_test_data): Likewise.
9072         (exp_upward_test_data): Likewise.
9073         (exp10_test_data): Likewise.
9074         (exp2_test_data): Likewise.
9075         (expm1_test_data): Likewise.
9076         (j0_test_data): Likewise.
9077         (j1_test_data): Likewise.
9078         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9079         (input_flag_type): Add flag_xfail_rounding.
9080         (input_flags): Add xfail-rounding.
9081         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9082         (output_for_one_input_case): Handle flag_xfail_rounding.
9083         * sysdeps/i386/fpu/libm-test-ulps: Update.
9084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9085
9086 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
9087
9088         [BZ #16289]
9089         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9090         division by 0.
9091
9092 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9093
9094         [BZ #16195]
9095         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9096         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9097         (STAP_PROBE0): New macro.
9098         (STAP_PROBE1): Likewise.
9099         (STAP_PROBE2): Likewise.
9100         (STAP_PROBE3): Likewise.
9101         (STAP_PROBE4): Likewise.
9102
9103 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
9104
9105         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9106
9107 2013-12-02  Steve Ellcey  <sellcey@mips.com>
9108
9109         * benchtests/Makefile (bench): Add sqrt.
9110         (LDLIBS-bench-sqrt): New.
9111         * benchtests/sqrt-input: New.
9112
9113 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
9114
9115         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9116         (GAIH_EAI): Likewise.
9117         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9118         (gaih_inet): Likewise.
9119         (getaddrinfo): Don't use GAIH_EAI.
9120
9121         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9122         (struct gaih): Remove definition.
9123
9124 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9125
9126         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9127         Use HERRNOP directly.
9128
9129 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9130
9131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9132
9133 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
9134
9135         * math/gen-auto-libm-tests.c (test_functions): Add more
9136         single-argument functions.
9137         (special_fill_pi_2): New function.
9138         (special_fill_minus_pi_2): Likewise.
9139         (special_fill_pi_6): Likewise.
9140         (special_fill_minus_pi_6): Likewise.
9141         (special_fill_pi_3): Likewise.
9142         (special_fill_2pi_3): Likewise.
9143         (special_fill_e): Likewise.
9144         (special_fill_1_e): Likewise.
9145         (special_fill_e_minus_1): Likewise.
9146         (special_real_inputs): Add more special inputs.
9147         (output_for_one_input_case): Do not require ERANGE on underflow to
9148         zero if round-to-nearest result does not underflow to zero, unless
9149         exact results required.
9150         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9151         atan, atanh, cbrt, cos and cosh.
9152         * math/auto-libm-test-out: Regenerated.
9153         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9154         (acos_tonearest_test_data): Likewise.
9155         (acos_towardzero_test_data): Likewise.
9156         (acos_downward_test_data): Likewise.
9157         (acos_upward_test_data): Likewise.
9158         (acosh_test_data): Likewise.
9159         (asin_test_data): Likewise.
9160         (asin_tonearest_test_data): Likewise.
9161         (asin_towardzero_test_data): Likewise.
9162         (asin_upward_test_data): Likewise.
9163         (asinh_test_data): Likewise.
9164         (atan_test_data): Likewise.
9165         (atanh_test_data): Likewise.
9166         (cbrt_test_data): Likewise.
9167         (cos_test_data): Likewise.
9168         (cos_tonearest_test_data): Likewise.
9169         (cos_towardzero_test_data): Likewise.
9170         (cos_downward_test_data): Likewise.
9171         (cos_upward_test_data): Likewise.
9172         (cosh_test_data): Likewise.
9173         (cosh_tonearest_test_data): Likewise.
9174         (cosh_towardzero_test_data): Likewise.
9175         (cosh_downward_test_data): Likewise.
9176         (cosh_upward_test_data): Likewise.
9177         * sysdeps/i386/fpu/libm-test-ulps: Update.
9178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9179
9180 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
9181
9182         [BZ #6787]
9183         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9184         * math/w_exp10f.c (__exp10f): Likewise.
9185         * math/w_exp10l.c (__exp10l): Likewise.
9186         * math/libm-test.inc (exp10_test_data): Add more tests and expect
9187         errno settings in existing tests.
9188
9189         [BZ #14032]
9190         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9191         precision control set to double precision.
9192         * sysdeps/i386/fpu/w_sqrt.c: New file.
9193         * math/auto-libm-test-in: Add more tests.
9194         * math/auto-libm-test-out: Update.
9195
9196         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9197         (sqrt_test_tonearest): New function.
9198         (sqrt_towardzero_test_data): New variable.
9199         (sqrt_test_towardzero): New function.
9200         (sqrt_downward_test_data): New variable.
9201         (sqrt_test_downward): New function.
9202         (sqrt_upward_test_data): New variable.
9203         (sqrt_test_upward): New function.
9204         (main): Call the new functions.
9205
9206         * math/gen-auto-libm-tests.c: New file.
9207         * math/auto-libm-test-in: Likewise.
9208         * math/auto-libm-test-out: New generated file.
9209         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9210         variables.
9211         (%beautify): Add generated representations of zero.
9212         (top level): Set $auto_input and call parse_auto_input.
9213         (beautify): Remove trailing "f" from hex float constants.
9214         (parse_args): Handle XFAIL_TEST.
9215         (convert_condition): New function.
9216         (or_value): Likewise.
9217         (or_cond_value): Likewise.
9218         (generate_testfile): Handle AUTO_TESTS_* lines.
9219         (parse_auto_input): New function.
9220         * math/libm-test.inc (XFAIL_TEST): New macro.
9221         (ERRNO_UNCHANGED): Update value.
9222         (ERRNO_EDOM): Likewise.
9223         (ERRNO_ERANGE): Likewise.
9224         (IGNORE_RESULT): Likewise.
9225         (TEST_COND_flt_32): New macro.
9226         (TEST_COND_dbl_64): Likewise.
9227         (TEST_COND_ldbl_96_intel): Likewise.
9228         (TEST_COND_ldbl_96_m68k): Likewise.
9229         (TEST_COND_ldbl_128): Likewise.
9230         (TEST_COND_ldbl_128ibm): Likewise.
9231         (TEST_COND_long32): Likewise.
9232         (TEST_COND_long64): Likewise.
9233         (TEST_COND_before_rounding): Likewise.
9234         (TEST_COND_after_rounding): Likewise.
9235         (enable_test): Handle XFAIL_TEST flag.
9236         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9237         with finite results.
9238         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9239         auto-libm-test-out.
9240
9241 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9242             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9243
9244         [BZ #16214]
9245         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9246         __tls_get_addr_internal instead of __tls_get_offset in order to
9247         avoid GOT pointer dependency.  Make rtld export
9248         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9249         __tls_get_addr since we are a __tls_get_offset platform.
9250         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9251         GOT pointer being set up before.
9252         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9253
9254 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9255
9256         * manual/math.texi (Errors in Math Functions): Document accuracy
9257         goals.
9258
9259         [BZ #15004]
9260         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9261         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9262         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9263         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9264         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9265         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9266         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9267         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9268         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9269         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9270         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9271         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9272         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9273         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9274         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9275         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9276
9277         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9278         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9279         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9280         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9281         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9282         Likewise.
9283         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9284         Likewise.
9285         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9286         Likewise.
9287         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9288         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9289         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9290         atomic-feupdateenv and flt-rounds.
9291         * sysdeps/powerpc/nofpu/Versions (libc): Add
9292         __atomic_feholdexcept, __atomic_feclearexcept,
9293         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9294         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9295         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9296         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9297         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9298         here.
9299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9300         Update.
9301
9302         * manual/arith.texi (FP Exceptions): Document that exceptions may
9303         not be raised when matherr is used.
9304         (Math Error Reporting): Document overflow in directed rounding
9305         modes.  Document that errno may not be set when finite values are
9306         returned on overflow.  Document intent to set errno on underflow
9307         only for underflow to zero.
9308
9309         [BZ #16271]
9310         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9311         round-to-nearest then adjust result for other rounding modes.
9312         * include/fenv.h (fegetround): Use libm_hidden_proto.
9313         * math/fegetround.c (fegetround): Use libm_hidden_def.
9314         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9315         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9316         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9317         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9318         Likewise.
9319         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9320         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9321         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9322         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9323
9324 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9325
9326         [BZ #16077]
9327         * nss/Versions (libnss_files): Add
9328         _nss_files_gethostbyname3_r.
9329         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9330         New function.
9331         (HOST_DB_LOOKUP): Remove macro.
9332         (_nss_files_gethostbyname_r): Implement function without the
9333         HOST_DB_LOOKUP macro.
9334         (_nss_files_gethostbyname2_r): Likewise.
9335
9336 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9337
9338         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9339
9340 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9341
9342         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9343         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9344         warning.
9345
9346 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9347
9348         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9349         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9350         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9351         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9352         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9353         __fe_nomask_env_priv and attribute_hidden.
9354         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9355         (libc_feupdateenv_test_ppc): Likewise.
9356         (libc_feresetround_ppc): Likewise.
9357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9358         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9359         compat_symbol macro.
9360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9361         (__fe_nomask_env): Likewise.
9362         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9363
9364 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9365
9366         * string/Makefile: Remove ifunc tests.
9367         * string/test-string.h: Define TEST_IFUNC.
9368         * string/test-bcopy-ifunc.c: Remove.
9369         * string/test-bzero-ifunc.c: Likewise.
9370         * string/test-memccpy-ifunc.c: Likewise.
9371         * string/test-memchr-ifunc.c: Likewise.
9372         * string/test-memcmp-ifunc.c: Likewise.
9373         * string/test-memcpy-ifunc.c: Likewise.
9374         * string/test-memmem-ifunc.c: Likewise.
9375         * string/test-memmove-ifunc.c: Likewise.
9376         * string/test-mempcpy-ifunc.c: Likewise.
9377         * string/test-memrchr-ifunc.c: Likewise.
9378         * string/test-memset-ifunc.c: Likewise.
9379         * string/test-rawmemchr-ifunc.c: Likewise.
9380         * string/test-stpcpy-ifunc.c: Likewise.
9381         * string/test-stpncpy-ifunc.c: Likewise.
9382         * string/test-strcasecmp-ifunc.c: Likewise.
9383         * string/test-strcasestr-ifunc.c: Likewise.
9384         * string/test-strcat-ifunc.c: Likewise.
9385         * string/test-strchr-ifunc.c: Likewise.
9386         * string/test-strchrnul-ifunc.c: Likewise.
9387         * string/test-strcmp-ifunc.c: Likewise.
9388         * string/test-strcpy-ifunc.c: Likewise.
9389         * string/test-strcspn-ifunc.c: Likewise.
9390         * string/test-strlen-ifunc.c: Likewise.
9391         * string/test-strncasecmp-ifunc.c: Likewise.
9392         * string/test-strncat-ifunc.c: Likewise.
9393         * string/test-strncmp-ifunc.c: Likewise.
9394         * string/test-strncpy-ifunc.c: Likewise.
9395         * string/test-strnlen-ifunc.c: Likewise.
9396         * string/test-strpbrk-ifunc.c: Likewise.
9397         * string/test-strrchr-ifunc.c: Likewise.
9398         * string/test-strspn-ifunc.c: Likewise.
9399         * string/test-strstr-ifunc.c: Likewise.
9400
9401 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9402
9403         * benchtests/Makefile: Remove ifunc tests.
9404         * benchtests/bench-string.h: Define TEST_IFUNC.
9405         * benchtests/bench-bcopy-ifunc.c: Remove.
9406         * benchtests/bench-bzero-ifunc.c: Likewise.
9407         * benchtests/bench-memccpy-ifunc.c: Likewise.
9408         * benchtests/bench-memchr-ifunc.c: Likewise.
9409         * benchtests/bench-memcmp-ifunc.c: Likewise.
9410         * benchtests/bench-memcpy-ifunc.c: Likewise.
9411         * benchtests/bench-memmem-ifunc.c: Likewise.
9412         * benchtests/bench-memmove-ifunc.c: Likewise.
9413         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9414         * benchtests/bench-memrchr-ifunc.c: Likewise.
9415         * benchtests/bench-memset-ifunc.c: Likewise.
9416         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9417         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9418         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9419         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9420         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9421         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9422         * benchtests/bench-strcat-ifunc.c: Likewise.
9423         * benchtests/bench-strchr-ifunc.c: Likewise.
9424         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9425         * benchtests/bench-strcmp-ifunc.c: Likewise.
9426         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9427         * benchtests/bench-strcpy-ifunc.c: Likewise.
9428         * benchtests/bench-strcspn-ifunc.c: Likewise.
9429         * benchtests/bench-strlen-ifunc.c: Likewise.
9430         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9431         * benchtests/bench-strncat-ifunc.c: Likewise.
9432         * benchtests/bench-strncmp-ifunc.c: Likewise.
9433         * benchtests/bench-strncpy-ifunc.c: Likewise.
9434         * benchtests/bench-strnlen-ifunc.c: Likewise.
9435         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9436         * benchtests/bench-strrchr-ifunc.c: Likewise.
9437         * benchtests/bench-strsep-ifunc.c: Likewise.
9438         * benchtests/bench-strspn-ifunc.c: Likewise.
9439         * benchtests/bench-strstr-ifunc.c: Likewise.
9440
9441 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9442
9443         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9444
9445 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9446
9447         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9448         * rt/aio.h: Likewise.
9449         * sysdeps/gnu/bits/utmp.h: Likewise.
9450         * sysdeps/gnu/bits/utmpx.h: Likewise.
9451         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9452         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9453         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9454         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9455         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9456         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9457         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9458         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9459         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9460         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9461         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9462         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9463         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9465         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9466         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9467         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9468         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9469         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9470         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9471         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9472         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9473         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9474         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9475         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9477         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9478         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9479         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9480         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9481         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9482         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9483         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9484         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9485         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9486         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9487         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9488         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9489         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9490         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9491         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9492         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9493
9494 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9495
9496         [BZ #16245]
9497         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9498         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9499
9500 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9501
9502         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9503         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9504         Likewise.
9505
9506 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9507
9508         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9509         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9510         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9511         (__fesetround): Remove define.
9512         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9513         rounding and exceptions handling.
9514         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9515         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9516         (__fe_nomask_env): Likewise.
9517         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9518         __fegetround instead of fegetround.
9519         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9520         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9521
9522 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9523
9524         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9525         it's there.
9526
9527         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9528
9529 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9530
9531         [BZ #11157]
9532         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9533         (encrypt_r): Likewise.
9534         * malloc/obstack.h (obstack_free): Likewise.
9535         * posix/unistd.h (encrypt): Likewise.
9536
9537 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9538
9539         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9540         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9541         DL_CALL_DT_FINI() that call the functions directly.
9542         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9543         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9544         * elf/dl-fini.c: Likewise.
9545
9546 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9547
9548         * malloc/hooks.c (memalign_check): Add alignment rounding.
9549         * malloc/malloc.c (_mid_memalign): New function.
9550         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9551         Implement by calling _mid_memalign.
9552         * manual/probes.texi (Memory Allocation Probes): Remove
9553         memory_valloc_retry and memory_pvalloc_retry.
9554
9555 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9556
9557         * locale/programs/locarchive.c (open_archive): Add const
9558         qualifier to ARCHIVEFNAME and copy default fname to
9559         DEFAULT_FNAME.
9560
9561         [BZ #15601]
9562         * libio/tst-widetext.input: Rename Oriya to Odia.
9563         * locale/iso-639.def: Likewise.
9564
9565         * manual/probes.texi (Mathematical Function Probes): Add
9566         documentation for sin, cos, asin and acos probes.
9567         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9568         (__sin32): Add slowasin probe.
9569         (__cos32): Add slowacos probe.
9570         (__mpsin): Add slowsin probe.
9571         (__mpcos): Add slowcos probe.
9572
9573 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9574
9575         [BZ #15483]
9576         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9577         thread-local __sim_exceptions_thread and global
9578         __sim_exceptions_global.
9579         (__sim_disabled_exceptions): Change to thread-local
9580         __sim_disabled_exceptions_thread and global
9581         __sim_disabled_exceptions_global.
9582         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9583         and global __sim_round_mode_global.
9584         (__simulate_exceptions): Use thread-local floating-point state and
9585         set global state from it as needed.
9586         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9587         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9588         __sim_round_mode_thread.
9589         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9590         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9591         and global __sim_exceptions_global.
9592         (__sim_disabled_exceptions): Change to thread-local
9593         __sim_disabled_exceptions_thread and global
9594         __sim_disabled_exceptions_global.
9595         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9596         and global __sim_round_mode_global.
9597         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9598         (SIM_SET_GLOBAL): Likewise.
9599         * sysdeps/powerpc/soft-fp/sfp-machine.h
9600         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9601         __sim_round_mode_thread.
9602         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9603         __sim_disabled_exceptions_thread.
9604         (__sim_exceptions): Change to __sim_exceptions_thread.
9605         (__sim_disabled_exceptions): Change to
9606         __sim_disabled_exceptions_thread.
9607         (__sim_round_mode): Change to __sim_round_mode_thread.
9608         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9609         thread-local floating-point state and set global state from it as
9610         needed.
9611         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9612         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9613         (__sim_disabled_exceptions): Remove extern declaration.
9614         (feenableexcept): Use thread-local floating-point state and set
9615         global state from it as needed.
9616         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9617         extern declaration.
9618         (__sim_disabled_exceptions): Likewise.
9619         (__sim_round_mode): Likewise.
9620         (__fegetenv): Use thread-local floating-point state.
9621         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9622         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9623         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9624         floating-point state and set global state from it as needed.
9625         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9626         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9627         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9628         Likewise.
9629         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9630         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9631         Likewise.
9632         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9633         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9634         Use __sim_round_mode_thread.
9635         * math/test-fenv-tls.c: New file.
9636         * math/Makefile (tests): Add test-fenv-tls.
9637         ($(objpfx)test-fenv-tls): Depend on
9638         $(common-objpfx)nptl/libpthread.so.
9639
9640 2013-11-19  Andreas Schwab  <schwab@suse.de>
9641
9642         * locale/programs/locale.c (show_info): Decode wordarray elements.
9643         * locale/categories.def (LC_MONETARY): Add element for
9644         _NL_MONETARY_CRNCYSTR.
9645         * locale/C-monetary.c (conversion_rate): New variable.
9646         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9647         element.
9648
9649 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
9650
9651         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9652         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9653
9654 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9655
9656         * elf/Makefile (tst-auxv): New test.
9657         * elf/tst-auxv.c: New
9658         * elf/rtld.c (dl_main): Adjust AT_EXECFN
9659
9660 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
9661
9662         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9663         (hidden_proto): Caller changed.
9664         (hidden_tls_proto): New macro.
9665         (libc_hidden_tls_proto): Likewise.
9666         (rtld_hidden_tls_proto): Likewise.
9667         (libm_hidden_tls_proto): Likewise.
9668         (libresolv_hidden_tls_proto): Likewise.
9669         (librt_hidden_tls_proto): Likewise.
9670         (libdl_hidden_tls_proto): Likewise.
9671         (libnss_files_hidden_tls_proto): Likewise.
9672         (libnsl_hidden_tls_proto): Likewise.
9673         (libnss_nisplus_hidden_tls_proto): Likewise.
9674         (libutil_hidden_tls_proto): Likewise.
9675
9676 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
9677
9678         [BZ #10253]
9679         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9680         (decompose_rpath): Defer expansion to fillin_rpath.
9681         (_dl_init_paths): Pass linkmap to fillin_rpath.
9682
9683 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9684
9685         * benchtests/Makefile: Add strsep.
9686         * benchtests/bench-strsep.c: New file: strsep benchtest.
9687         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9688
9689 2013-11-18  Andreas Schwab  <schwab@suse.de>
9690
9691         * locale/programs/locale.c (show_info) [case byte]: Check for
9692         '\377' instead of '\177'.
9693         * locale/C-monetary.c (not_available): Always use "\377".
9694         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9695         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
9696         detect unavailable sign_posn locale elements.
9697         * locale/localeconv.c (__localeconv): For grouping and
9698         mon_grouping handle "\177" and "\377" like no grouping.
9699         (INT_ELEM): New macro.  Use it to set all numeric members.
9700         * locale/programs/ld-monetary.c (monetary_read)
9701         <tok_mon_grouping>: Normalize single -1 to the empty string.
9702         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9703         Likewise.
9704
9705 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9706
9707         [BZ #16055]
9708         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9709         when we match (nil).
9710         * stdio-common/tst-sscanf.c (struct test): Add testcase.
9711
9712 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
9713
9714         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9715         (NO_TEST_INLINE): Update value.
9716         (ERRNO_UNCHANGED): Likewise.
9717         (ERRNO_EDOM): Likewise.
9718         (ERRNO_ERANGE): Likewise.
9719         (IGNORE_RESULT): Likewise.
9720         (check_float_internal): Check signs of NaN results if
9721         TEST_NAN_SIGN used.
9722         (check_complex): Pass TEST_NAN_SIGN flag through to second
9723         check_float_internal call.
9724         (copysign_test_data): Add tests with quiet NaNs as second
9725         argument.  Use TEST_NAN_SIGN.
9726         (fabs_test_data): Add test of negative quiet NaN argument.  Use
9727         TEST_NAN_SIGN.
9728         (signbit_test_data): Add tests of quiet NaN argument.
9729         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9730
9731         * math/gen-libm-test.pl (show_exceptions): Take extra argument
9732         $ignore_result.
9733         (parse_args): Handle function results specified as IGNORE.
9734         * math/libm-test.inc (IGNORE_RESULT): New macro.
9735         (check_float_internal): Do not check numerical result if flag
9736         IGNORE_RESULT set.
9737         (check_complex): Pass through IGNORE_RESULT to second
9738         check_float_internal call.
9739         (check_int): Do not check numerical result if flag IGNORE_RESULT
9740         set.
9741         (check_long): Likewise.
9742         (check_bool): Likewise.
9743         (check_longlong): Likewise.
9744         (lrint_test_data): Add tests of infinite and NaN arguments.
9745         (lrint_tonearest_test_data): Likewise.
9746         (lrint_towardzero_test_data): Likewise.
9747         (lrint_downward_test_data): Likewise.
9748         (lrint_upward_test_data): Likewise.
9749         (llrint_test_data): Likewise.
9750         (llrint_tonearest_test_data): Likewise.
9751         (llrint_towardzero_test_data): Likewise.
9752         (llrint_downward_test_data): Likewise.
9753         (llrint_upward_test_data): Likewise.
9754         (lround_test_data): Likewise.
9755         (llround_test_data): Likewise.
9756
9757         * math/libm-test.inc (NO_TEST_INLINE): New macro.
9758         (ERRNO_UNCHANGED): Update value.
9759         (ERRNO_EDOM): Likewise.
9760         (ERRNO_ERANGE): Likewise.
9761         (NO_TEST_INLINE_FLOAT): New macro.
9762         (NO_TEST_INLINE_DOUBLE): Likewise.
9763         (enable_test): New function.
9764         (RUN_TEST_f_f): Check enable_test before running test.
9765         (RUN_TEST_2_f): Likewise.
9766         (RUN_TEST_fff_f): Likewise.
9767         (RUN_TEST_c_f): Likewise.
9768         (RUN_TEST_f_f1): Likewise.
9769         (RUN_TEST_fF_f1): Likewise.
9770         (RUN_TEST_fI_f1): Likewise.
9771         (RUN_TEST_ffI_f1): Likewise.
9772         (RUN_TEST_c_c): Likewise.
9773         (RUN_TEST_cc_c): Likewise.
9774         (RUN_TEST_f_i): Likewise.
9775         (RUN_TEST_f_i_tg): Likewise.
9776         (RUN_TEST_ff_i_tg): Likewise.
9777         (RUN_TEST_f_b): Likewise.
9778         (RUN_TEST_f_b_tg): Likewise.
9779         (RUN_TEST_f_l): Likewise.
9780         (RUN_TEST_f_L): Likewise.
9781         (RUN_TEST_fFF_11): Likewise.
9782         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9783         conditionals.
9784         (cosh_test_data): Likewise.
9785         (exp_test_data): Likewise.
9786         (expm1_test_data): Likewise.
9787         (hypot_test_data): Likewise.
9788         (pow_test_data): Likewise.
9789         (sinh_test_data): Likewise.
9790         (tanh_test_data): Likewise.
9791         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9792         flags argument.
9793
9794         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9795         tests with quiet NaN input and output.
9796         (acosh_test_data): Likewise.
9797         (asin_test_data): Likewise.
9798         (asinh_test_data): Likewise.
9799         (atan_test_data): Likewise.
9800         (atanh_test_data): Likewise.
9801         (atan2_test_data): Likewise.
9802         (cbrt_test_data): Likewise.
9803         (cos_test_data): Likewise.
9804         (cosh_test_data): Likewise.
9805         (erf_test_data): Likewise.
9806         (erfc_test_data): Likewise.
9807         (exp_test_data): Likewise.
9808         (exp10_test_data): Likewise.
9809         (exp2_test_data): Likewise.
9810         (expm1_test_data): Likewise.
9811         (hypot_test_data): Likewise.
9812         (j0_test_data): Likewise.
9813         (j1_test_data): Likewise.
9814         (jn_test_data): Likewise.
9815         (lgamma_test_data): Likewise.
9816         (log_test_data): Likewise.
9817         (log10_test_data): Likewise.
9818         (log1p_test_data): Likewise.
9819         (log2_test_data): Likewise.
9820         (pow_test_data): Likewise.
9821         (scalb_test_data): Likewise.
9822         (sin_test_data): Likewise.
9823         (sincos_test_data): Likewise.
9824         (sinh_test_data): Likewise.
9825         (tan_test_data): Likewise.
9826         (tanh_test_data): Likewise.
9827         (tgamma_test_data): Likewise.
9828         (y0_test_data): Likewise.
9829         (y1_test_data): Likewise.
9830         (yn_test_data): Likewise.
9831
9832         [BZ #16167]
9833         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9834         argument being NaN and avoid computations with second argument in
9835         that case.
9836         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9837         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9838         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9839
9840 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
9841
9842         * locale/iso-639.def: Add Chitwani Tharu (the).
9843
9844 2013-11-14  Andreas Schwab  <schwab@suse.de>
9845
9846         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9847         word instead of empty string.
9848
9849 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9850
9851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9852         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9854         (__fe_nomask_env): Likewise.
9855
9856 2013-11-13  Steve Ellcey  <sellcey@mips.com>
9857
9858         * benchtests/bench-timing.h: Include time.h.
9859
9860 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
9861
9862         [BZ #15997]
9863         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9864         to 3.4.0 for x32.
9865         * sysdeps/unix/sysv/linux/configure: Regenerated.
9866
9867 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9868
9869         [BZ #16151]
9870         * stdlib/strtod_l.c (round_and_return): Do not consider
9871         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9872         exponent one less than half the least subnormal exponent.
9873         * stdlib/test-strtod-round-data: Add more tests.
9874         * stdlib/tst-strtod-round.c (tests): Regenerated.
9875
9876 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9877
9878         [BZ #14143]
9879         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9880         (__fe_mask_env): Likewise.
9881         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9882         libm_hidden_proto and add function prototype.
9883         (__fe_mask_env): Add function prototype.
9884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9885         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9887         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9889         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9890
9891 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9892
9893         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9894         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9895
9896 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9897
9898         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9899         of htab_find_slot().
9900
9901 2013-11-11  David S. Miller  <davem@davemloft.net>
9902
9903         [BZ #16150]
9904         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9905         symbol in the non-vis3 case in static builds.
9906         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9907         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9908         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9909         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9910
9911 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9912
9913         [BZ #387]
9914         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9915         it is empty.
9916
9917 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9918
9919         * benchtests/Makefile: Add bench-strtod.
9920         * benchtests/bench-strtod.c: New file: strtod benchtest
9921
9922 2013-11-11  Andreas Schwab  <schwab@suse.de>
9923
9924         [BZ #16153]
9925         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9926         terminating NUL in key length.
9927
9928 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9929
9930         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9931         Add artificial ODP entry for vDSO symbol for PPC64.
9932         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9933         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9934
9935 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9936
9937         [BZ #15374]
9938         * nss/getent.c (services_keys): Recognize services starting with digit.
9939
9940 2013-11-06  David S. Miller  <davem@davemloft.net>
9941
9942         [BZ #15985]
9943         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9944         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9945
9946 2013-11-06  Will Newton  <will.newton@linaro.org>
9947
9948         * manual/memory.texi (Malloc Examples): Remove register
9949         keyword from examples.
9950
9951 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9952
9953         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9954
9955 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9956
9957         [BZ #6981]
9958         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9959         depending on [__GCC_IEC_559 > 0].
9960         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9961         depending on [__GCC_IEC_559_COMPLEX > 0].
9962
9963 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9964
9965         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9966         to iso-639.def.
9967
9968 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
9969
9970         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9971
9972 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
9973
9974         [BZ #16112]
9975         * malloc/malloc (malloc_info): Do not handle first bin as
9976         special case.
9977
9978 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9979
9980         * locale/iso-639.def: Add Central Nahuatl (nhn).
9981
9982 2013-11-01  Bruno Haible  <bruno@clisp.org>
9983
9984         [BZ #7003]
9985         * manual/math.texi (BSD Random): Specify range upper bound as
9986         in POSIX.
9987
9988 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
9989
9990         * locale/iso-639.def: Add Meadow Mari (mhr).
9991
9992 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
9993
9994         [BZ #14752], [BZ #15763]
9995         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9996         Validate name.
9997         * rt/tst_shm.c: Add test for escaping directory.
9998
9999 2013-10-31  Andreas Schwab  <schwab@suse.de>
10000
10001         [BZ #15917]
10002         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10003         followed by 'x' as part of digit sequence.
10004         * stdio-common/tst-sscanf.c (double_tests2): New tests.
10005
10006 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10007
10008         [BZ #16037]
10009         * configure.ac: allow GNU Make 4.0 and greater.
10010         * configure: Regenerated.
10011
10012 2013-10-30  Will Newton  <will.newton@linaro.org>
10013
10014         [BZ #16038]
10015         * malloc/hooks.c (memalign_check): Limit alignment to the
10016         maximum representable power of two.
10017         * malloc/malloc.c (__libc_memalign): Likewise.
10018         * malloc/tst-memalign.c (do_test): Add test for very
10019         large alignment values.
10020         * malloc/tst-posix_memalign.c (do_test): Likewise.
10021
10022 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10023
10024         [BZ #11087]
10025         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10026         (munmap_chunk): Likewise.
10027         (mremap_chunk): Likewise.
10028
10029 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10030
10031         [BZ #15799]
10032         * stdlib/div.c (div): Remove obsolete code.
10033         * stdlib/ldiv.c (ldiv): Likewise.
10034         * stdlib/lldiv.c (lldiv): Likewise.
10035
10036 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10037
10038         [BZ #16071]
10039         * nss/nss_files/files-XXX.c (get_contents_ret): New
10040         enumerator.
10041         (get_contents): New function.
10042         (internal_getent): Use it.  Expand size of LINEBUFLEN.
10043
10044 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
10045
10046         * configure.in: Moved to ...
10047         * configure.ac: ... here. Change reference to configure.in
10048         to configure.ac.
10049         * sysdeps/arm/preconfigure.ac: ... here.
10050         configure.in to configure.ac.
10051         * sysdeps/gnu/configure.in: Moved to ...
10052         * sysdeps/gnu/configure.ac: ... here.
10053         * sysdeps/i386/configure.in: Moved to ...
10054         * sysdeps/i386/configure.ac: ... here.
10055         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10056         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10057         * sysdeps/mach/configure.in: Moved to ...
10058         * sysdeps/mach/configure.ac: ... here.
10059         * sysdeps/mach/hurd/configure.in: Moved to ...
10060         * sysdeps/mach/hurd/configure.ac: ... here.
10061         * sysdeps/powerpc/configure.in: Moved to ...
10062         * sysdeps/powerpc/configure.ac: ... here.
10063         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10064         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10065         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10066         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10067         * sysdeps/s390/s390-32/configure.in: Moved to ...
10068         * sysdeps/s390/s390-32/configure.ac: ... here.
10069         * sysdeps/s390/s390-64/configure.in: Moved to ...
10070         * sysdeps/s390/s390-64/configure.ac: ... here.
10071         * sysdeps/sh/configure.in: Moved to ...
10072         * sysdeps/sh/configure.ac: ... here.
10073         * sysdeps/sparc/configure.in: Moved to ...
10074         * sysdeps/sparc/configure.ac: ... here.
10075         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10076         * sysdeps/unix/sysv/linux/configure.ac: ... here.
10077         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10078         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10079         * sysdeps/x86_64/configure.in: Moved to ...
10080         * sysdeps/x86_64/configure.ac: ... here.
10081         * sysdeps/x86_64/preconfigure.in: Moved to ...
10082         * sysdeps/x86_64/preconfigure.ac: ... here.
10083         * aclocal.m4: Change reference to configure.in to configure.ac.
10084         * config.h.in: Likewise.
10085         * manual/install.texi: Likewise.
10086         * manual/maint.texi: Likewise.
10087         * Makefile: Likewise.
10088         * malloc/Makefile: Likewise.
10089         * nscd/Makefile: Likewise.
10090         * Makeconfig: Change reference to configure.in and
10091         preconfigure.in to configure.ac and preconfigure.ac
10092         respectively.
10093         * INSTALL: Regenerated.
10094         * configure: Likewise.
10095         * sysdeps/gnu/configure: Likewise.
10096         * sysdeps/i386/configure: Likewise.
10097         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10098         * sysdeps/mach/configure: Likewise.
10099         * sysdeps/mach/hurd/configure: Likewise.
10100         * sysdeps/powerpc/configure: Likewise.
10101         * sysdeps/powerpc/powerpc32/configure: Likewise.
10102         * sysdeps/powerpc/powerpc64/configure: Likewise.
10103         * sysdeps/s390/s390-32/configure: Likewise.
10104         * sysdeps/s390/s390-64/configure: Likewise.
10105         * sysdeps/sh/configure: Likewise.
10106         * sysdeps/sparc/configure: Likewise.
10107         * sysdeps/unix/sysv/linux/configure: Likewise.
10108         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10109         * sysdeps/x86_64/configure: Likewise.
10110         * sysdeps/x86_64/preconfigure: Likewise.
10111
10112 2013-10-29  Andreas Schwab  <schwab@suse.de>
10113
10114         * stdio-common/Makefile (tst-swscanf-ENV): Define.
10115
10116 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10117
10118         * benchtests/pow-inputs: Add new inputs.
10119
10120         * benchtests/exp-inputs: Add new inputs.
10121
10122         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10123         conditional check for return value.
10124         (__cos32): Likewise.
10125
10126 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10127
10128         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10129         to provide a boost for large inputs with word alignment.
10130         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10131         implementation based on optimized PPC64 strcpy.
10132         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10133         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10134         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10135         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10136
10137 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10138
10139         [BZ #2801]
10140         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10141
10142 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10143
10144         [BZ #14876]
10145         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10146         * time/tst-strptime.c (day_tests): Add testcase.
10147
10148 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10149
10150         [BZ #14029]
10151         * manual/pattern.texi: Acknowledge that fnmatch can fail.
10152
10153 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
10154
10155         [BZ #16074]
10156         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10157         MAP_FAILED on error.
10158
10159 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10160
10161         [BZ #16072]
10162         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10163         heap for large requests.
10164
10165 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
10166
10167         [BZ #9954]
10168         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10169         result if the result has no associated interface.
10170         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10171         interface for all 127.X.Y.Z addresses.
10172
10173 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
10174
10175         * locale/iso-639.def: Add Ligurian (lij)
10176
10177 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
10178
10179         [BZ #15825]
10180         * sunrpc/rpc_main.c: Document rpcgen -5.
10181
10182 2013-10-19  Michael Stahl  <mstahl@redhat.com>
10183
10184         * elf/rtld.c (do_preload): Print the reason why preloading failed.
10185
10186 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10187
10188         [BZ #10278]
10189         * posix/glob.c: Match only directories when trailing slash is present.
10190         * posix/tst-gnuglob.c (my_opendir): Do not open files.
10191         (main): Add testcase.
10192
10193 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10194
10195         [BZ #15670]
10196         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10197
10198 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
10199
10200         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10201         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10202         AUTH_DES and cindex for FIPS 140-2.
10203         (DES Encryption): Add cindex FIPS 46-3.
10204
10205         * locale/locarchive.h (struct locarhandle): Add fname.
10206         * locale/programs/localedef.c (main): Pass ARGV[remaining]
10207         if an optional argument was specified to --list-archive,
10208         otherwise NULL.
10209         * locale/programs/locarchive.c (show_archive_content): Take new
10210         argument fname and pass it via ah.fname to open_archive.
10211         * locale/programs/localedef.h: Update decl.
10212         (open_archive): If AH->fname is non-null, open that file
10213         rather than the default file name, and don't ignore ENOENT.
10214         (create_archive): Set AH.fname to NULL.
10215         (delete_locales_from_archive): Likewise.
10216         (add_locales_to_archive): Likewise.
10217         * locale/programs/locfile.c (write_all_categories): Likewise.
10218
10219 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
10220             Aldy Hernandez  <aldyh@redhat.com>
10221
10222         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10223         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10224         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10225         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10226         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10227         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10228         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10229         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10230         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10231         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10232         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10233         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10234         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10235         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10236         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10237         Likewise.
10238         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10239         Likewise.
10240         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10241         Likewise.
10242         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10243         Likewise.
10244         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10245         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10246         Likewise.
10247         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10248         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10249         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10250         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10251         Likewise.
10252         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10253         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10254         * sysdeps/powerpc/preconfigure: Likewise.
10255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10256         Likewise.
10257         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10258         Replace contents of file by #include of <fenv_libc.h>.
10259         * sysdeps/powerpc/soft-fp/sfp-machine.h
10260         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10261         and <sys/prctl.h>.
10262         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10263         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10264         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10265         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10266         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10267         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10269         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10270         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10271         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10272         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10273         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10275         Allow copysignl PLT reference to be missing.
10276
10277 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10278             Joseph Myers  <joseph@codesourcery.com
10279
10280         [BZ #15948]
10281         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10282         single character.
10283         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10284
10285 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10286
10287         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10288         * elf/tst-tls1.c: Likewise.
10289         * elf/tst-tls10.h: Likewise.
10290         * elf/tst-tls14.c: Likewise.
10291         * elf/tst-tls2.c: Likewise.
10292         * elf/tst-tls3.c: Likewise.
10293         * elf/tst-tls4.c: Likewise.
10294         * elf/tst-tls5.c: Likewise.
10295         * elf/tst-tls6.c: Likewise.
10296         * elf/tst-tls7.c: Likewise.
10297         * elf/tst-tls8.c: Likewise.
10298         * elf/tst-tls9.c: Likewise.
10299         * elf/tst-tlsmod1.c: Likewise.
10300         * elf/tst-tlsmod13.c: Likewise.
10301         * elf/tst-tlsmod13a.c: Likewise.
10302         * elf/tst-tlsmod14a.c: Likewise.
10303         * elf/tst-tlsmod16a.c: Likewise.
10304         * elf/tst-tlsmod16b.c: Likewise.
10305         * elf/tst-tlsmod2.c: Likewise.
10306         * elf/tst-tlsmod3.c: Likewise.
10307         * elf/tst-tlsmod4.c: Likewise.
10308         * elf/tst-tlsmod5.c: Likewise.
10309         * elf/tst-tlsmod6.c: Likewise.
10310
10311 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10312
10313         [BZ #12486]
10314         * malloc/malloc.c: remove checks for statistics.
10315
10316 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10317
10318         [BZ #15277]
10319         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10320         * inet/tst-network.c: Add testcase.
10321
10322 2013-10-17  Andreas Schwab  <schwab@suse.de>
10323
10324         [BZ #15218]
10325         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10326         to determine canonical name.
10327
10328 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10329
10330         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10331         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10332         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10333         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10334         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10335         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10336         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10337         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10338         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10339         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10340         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10341         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10342         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10343         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10344         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10345         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10346         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10347         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10348         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10349         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10350         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10351         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10352         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10353         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10354         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10355         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10356         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10357         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10358         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10359         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10360         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10361         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10362         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10363         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10364         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10365         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10366         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10367         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10368         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10369         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10370         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10371         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10372         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10373         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10374         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10375         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10376         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10377         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10378         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10379         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10380         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10381         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10382         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10383         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10384         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10385         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10386         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10387         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10388
10389 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10390
10391         [BZ #16041]
10392         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10393         make result into a quiet NaN.
10394
10395 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10396
10397         * soft-fp/adddf3.c: Fix horizontal whitespace.
10398         * soft-fp/addsf3.c: Likewise.
10399         * soft-fp/addtf3.c: Likewise.
10400         * soft-fp/divdf3.c: Likewise.
10401         * soft-fp/divsf3.c: Likewise.
10402         * soft-fp/divtf3.c: Likewise.
10403         * soft-fp/double.h: Likewise.
10404         * soft-fp/eqdf2.c: Likewise.
10405         * soft-fp/eqsf2.c: Likewise.
10406         * soft-fp/eqtf2.c: Likewise.
10407         * soft-fp/extenddftf2.c: Likewise.
10408         * soft-fp/extended.h: Likewise.
10409         * soft-fp/extendsfdf2.c: Likewise.
10410         * soft-fp/extendsftf2.c: Likewise.
10411         * soft-fp/extendxftf2.c: Likewise.
10412         * soft-fp/fixdfdi.c: Likewise.
10413         * soft-fp/fixdfsi.c: Likewise.
10414         * soft-fp/fixdfti.c: Likewise.
10415         * soft-fp/fixsfdi.c: Likewise.
10416         * soft-fp/fixsfsi.c: Likewise.
10417         * soft-fp/fixsfti.c: Likewise.
10418         * soft-fp/fixtfdi.c: Likewise.
10419         * soft-fp/fixtfsi.c: Likewise.
10420         * soft-fp/fixtfti.c: Likewise.
10421         * soft-fp/fixunsdfdi.c: Likewise.
10422         * soft-fp/fixunsdfsi.c: Likewise.
10423         * soft-fp/fixunsdfti.c: Likewise.
10424         * soft-fp/fixunssfdi.c: Likewise.
10425         * soft-fp/fixunssfsi.c: Likewise.
10426         * soft-fp/fixunssfti.c: Likewise.
10427         * soft-fp/fixunstfdi.c: Likewise.
10428         * soft-fp/fixunstfsi.c: Likewise.
10429         * soft-fp/fixunstfti.c: Likewise.
10430         * soft-fp/floatdidf.c: Likewise.
10431         * soft-fp/floatdisf.c: Likewise.
10432         * soft-fp/floatditf.c: Likewise.
10433         * soft-fp/floatsidf.c: Likewise.
10434         * soft-fp/floatsisf.c: Likewise.
10435         * soft-fp/floatsitf.c: Likewise.
10436         * soft-fp/floattidf.c: Likewise.
10437         * soft-fp/floattisf.c: Likewise.
10438         * soft-fp/floattitf.c: Likewise.
10439         * soft-fp/floatundidf.c: Likewise.
10440         * soft-fp/floatundisf.c: Likewise.
10441         * soft-fp/floatunditf.c: Likewise.
10442         * soft-fp/floatunsidf.c: Likewise.
10443         * soft-fp/floatunsisf.c: Likewise.
10444         * soft-fp/floatunsitf.c: Likewise.
10445         * soft-fp/floatuntidf.c: Likewise.
10446         * soft-fp/floatuntisf.c: Likewise.
10447         * soft-fp/floatuntitf.c: Likewise.
10448         * soft-fp/fmadf4.c: Likewise.
10449         * soft-fp/fmasf4.c: Likewise.
10450         * soft-fp/fmatf4.c: Likewise.
10451         * soft-fp/gedf2.c: Likewise.
10452         * soft-fp/gesf2.c: Likewise.
10453         * soft-fp/getf2.c: Likewise.
10454         * soft-fp/ledf2.c: Likewise.
10455         * soft-fp/lesf2.c: Likewise.
10456         * soft-fp/letf2.c: Likewise.
10457         * soft-fp/muldf3.c: Likewise.
10458         * soft-fp/mulsf3.c: Likewise.
10459         * soft-fp/multf3.c: Likewise.
10460         * soft-fp/negdf2.c: Likewise.
10461         * soft-fp/negsf2.c: Likewise.
10462         * soft-fp/negtf2.c: Likewise.
10463         * soft-fp/op-1.h: Likewise.
10464         * soft-fp/op-2.h: Likewise.
10465         * soft-fp/op-4.h: Likewise.
10466         * soft-fp/op-8.h: Likewise.
10467         * soft-fp/op-common.h: Likewise.
10468         * soft-fp/quad.h: Likewise.
10469         * soft-fp/single.h: Likewise.
10470         * soft-fp/soft-fp.h: Likewise.
10471         * soft-fp/sqrtdf2.c: Likewise.
10472         * soft-fp/sqrtsf2.c: Likewise.
10473         * soft-fp/sqrttf2.c: Likewise.
10474         * soft-fp/subdf3.c: Likewise.
10475         * soft-fp/subsf3.c: Likewise.
10476         * soft-fp/subtf3.c: Likewise.
10477         * soft-fp/truncdfsf2.c: Likewise.
10478         * soft-fp/trunctfdf2.c: Likewise.
10479         * soft-fp/trunctfsf2.c: Likewise.
10480         * soft-fp/trunctfxf2.c: Likewise.
10481         * soft-fp/unorddf2.c: Likewise.
10482         * soft-fp/unordsf2.c: Likewise.
10483         * soft-fp/unordtf2.c: Likewise.
10484
10485 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10486
10487         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10488         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10489
10490 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10491
10492         * elf/dl-libc.c: Clear initfini list after freeing.
10493
10494 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10495
10496         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10497         * soft-fp/addsf3.c: Likewise.
10498         * soft-fp/addtf3.c: Likewise.
10499         * soft-fp/divdf3.c: Likewise.
10500         * soft-fp/divsf3.c: Likewise.
10501         * soft-fp/divtf3.c: Likewise.
10502         * soft-fp/double.h: Likewise.
10503         * soft-fp/eqdf2.c: Likewise.
10504         * soft-fp/eqsf2.c: Likewise.
10505         * soft-fp/eqtf2.c: Likewise.
10506         * soft-fp/extenddftf2.c: Likewise.
10507         * soft-fp/extended.h: Likewise.
10508         * soft-fp/extendsfdf2.c: Likewise.
10509         * soft-fp/extendsftf2.c: Likewise.
10510         * soft-fp/extendxftf2.c: Likewise.
10511         * soft-fp/fixdfdi.c: Likewise.
10512         * soft-fp/fixdfsi.c: Likewise.
10513         * soft-fp/fixdfti.c: Likewise.
10514         * soft-fp/fixsfdi.c: Likewise.
10515         * soft-fp/fixsfsi.c: Likewise.
10516         * soft-fp/fixsfti.c: Likewise.
10517         * soft-fp/fixtfdi.c: Likewise.
10518         * soft-fp/fixtfsi.c: Likewise.
10519         * soft-fp/fixtfti.c: Likewise.
10520         * soft-fp/fixunsdfdi.c: Likewise.
10521         * soft-fp/fixunsdfsi.c: Likewise.
10522         * soft-fp/fixunsdfti.c: Likewise.
10523         * soft-fp/fixunssfdi.c: Likewise.
10524         * soft-fp/fixunssfsi.c: Likewise.
10525         * soft-fp/fixunssfti.c: Likewise.
10526         * soft-fp/fixunstfdi.c: Likewise.
10527         * soft-fp/fixunstfsi.c: Likewise.
10528         * soft-fp/fixunstfti.c: Likewise.
10529         * soft-fp/floatdidf.c: Likewise.
10530         * soft-fp/floatdisf.c: Likewise.
10531         * soft-fp/floatditf.c: Likewise.
10532         * soft-fp/floatsidf.c: Likewise.
10533         * soft-fp/floatsisf.c: Likewise.
10534         * soft-fp/floatsitf.c: Likewise.
10535         * soft-fp/floattidf.c: Likewise.
10536         * soft-fp/floattisf.c: Likewise.
10537         * soft-fp/floattitf.c: Likewise.
10538         * soft-fp/floatundidf.c: Likewise.
10539         * soft-fp/floatundisf.c: Likewise.
10540         * soft-fp/floatunsidf.c: Likewise.
10541         * soft-fp/floatunsisf.c: Likewise.
10542         * soft-fp/floatuntidf.c: Likewise.
10543         * soft-fp/floatuntisf.c: Likewise.
10544         * soft-fp/floatuntitf.c: Likewise.
10545         * soft-fp/fmadf4.c: Likewise.
10546         * soft-fp/fmasf4.c: Likewise.
10547         * soft-fp/fmatf4.c: Likewise.
10548         * soft-fp/gedf2.c: Likewise.
10549         * soft-fp/gesf2.c: Likewise.
10550         * soft-fp/getf2.c: Likewise.
10551         * soft-fp/ledf2.c: Likewise.
10552         * soft-fp/lesf2.c: Likewise.
10553         * soft-fp/letf2.c: Likewise.
10554         * soft-fp/muldf3.c: Likewise.
10555         * soft-fp/mulsf3.c: Likewise.
10556         * soft-fp/multf3.c: Likewise.
10557         * soft-fp/negdf2.c: Likewise.
10558         * soft-fp/negsf2.c: Likewise.
10559         * soft-fp/negtf2.c: Likewise.
10560         * soft-fp/op-1.h: Likewise.
10561         * soft-fp/op-2.h: Likewise.
10562         * soft-fp/op-4.h: Likewise.
10563         * soft-fp/op-8.h: Likewise.
10564         * soft-fp/op-common.h: Likewise.
10565         * soft-fp/quad.h: Likewise.
10566         * soft-fp/single.h: Likewise.
10567         * soft-fp/soft-fp.h: Likewise.
10568         * soft-fp/sqrtdf2.c: Likewise.
10569         * soft-fp/sqrtsf2.c: Likewise.
10570         * soft-fp/sqrttf2.c: Likewise.
10571         * soft-fp/subdf3.c: Likewise.
10572         * soft-fp/subsf3.c: Likewise.
10573         * soft-fp/subtf3.c: Likewise.
10574         * soft-fp/truncdfsf2.c: Likewise.
10575         * soft-fp/trunctfdf2.c: Likewise.
10576         * soft-fp/trunctfsf2.c: Likewise.
10577         * soft-fp/trunctfxf2.c: Likewise.
10578         * soft-fp/unorddf2.c: Likewise.
10579         * soft-fp/unordsf2.c: Likewise.
10580         * soft-fp/unordtf2.c: Likewise.
10581
10582 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10583
10584         [BZ #15672]
10585         * misc/error.c (error_tail): Fix possible buffer overflow.
10586
10587 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10588
10589         [BZ #13028]
10590         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10591         address.
10592
10593 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10594
10595         [BZ #832]
10596         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10597         testing pipefail option.
10598
10599 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10600
10601         * soft-fp/double.h: Indent preprocessor directives inside #if.
10602         * soft-fp/extended.h: Likewise.
10603         * soft-fp/op-2.h: Likewise.
10604         * soft-fp/op-4.h: Likewise.
10605         * soft-fp/op-common.h: Likewise.
10606         * soft-fp/quad.h: Likewise.
10607         * soft-fp/single.h: Likewise.
10608         * soft-fp/soft-fp.h: Likewise.
10609
10610 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10611
10612         * iconv/iconv_prog.c: Fix typos.
10613         * stdio-common/psiginfo-data.h: Likewise.
10614
10615 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10616
10617         [BZ #15764]
10618         * locale/setlocale.c: Fix typo.
10619
10620 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10621
10622         [BZ #16036]
10623         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10624         signaling NaN arguments.
10625         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10626         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10627
10628         [BZ #14910]
10629         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10630         unordered operands.
10631         * soft-fp/gesf2.c (__gesf2): Likewise.
10632         * soft-fp/getf2.c (__getf2): Likewise.
10633         * soft-fp/ledf2.c (__ledf2): Likewise.
10634         * soft-fp/lesf2.c (__lesf2): Likewise.
10635         * soft-fp/letf2.c (__letf2): Likewise.
10636
10637         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10638         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10639         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10640         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10641         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10642         * soft-fp/fixdfti.c (__fixdfti): Likewise.
10643         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10644         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10645         * soft-fp/fixsfti.c (__fixsfti): Likewise.
10646         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10647         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10648         * soft-fp/fixtfti.c (__fixtfti): Likewise.
10649         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10650         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10651         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10652         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10653         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10654         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10655         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10656         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10657         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10658         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10659         * soft-fp/floatdisf.c (__floatdisf): Likewise.
10660         * soft-fp/floatsisf.c (__floatsisf): Likewise.
10661         * soft-fp/floattidf.c (__floattidf): Likewise.
10662         * soft-fp/floattisf.c (__floattisf): Likewise.
10663         * soft-fp/floattitf.c (__floattitf): Likewise.
10664         * soft-fp/floatundidf.c (__floatundidf): Likewise.
10665         * soft-fp/floatundisf.c (__floatundisf): Likewise.
10666         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10667         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10668         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10669         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10670         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10671         * soft-fp/gesf2.c (__gesf2): Likewise.
10672         * soft-fp/getf2.c (__getf2): Likewise.
10673         * soft-fp/ledf2.c (__ledf2): Likewise.
10674         * soft-fp/lesf2.c (__lesf2): Likewise.
10675         * soft-fp/letf2.c (__letf2): Likewise.
10676
10677         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10678         Undefine and redefine.
10679         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10680         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10681         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10682         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10683         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10684         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10685         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10686         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10687         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10688         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10689         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10690         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10691         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10692         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10693         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10694
10695         [BZ #16032]
10696         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10697         without decrementing exponent if mantissa >= that for the
10698         denominator, not >.
10699         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10700         denominator, not >.  Decrement exponent in < case instead of
10701         incrementing in >= case.
10702         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10703         without decrementing exponent if mantissa >= that for the
10704         denominator, not >.
10705
10706         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10707         computing saturated result for unsigned overflow.
10708
10709 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10710             Jeff Law  <law@redhat.com>
10711
10712         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10713         (atan2Mp): Add systemtap probe marker.
10714         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10715         (__ieee754_log): Add systemtap probe marker.
10716         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10717         (atanMp): Add systemtap probe marker.
10718         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10719         (tanMp): Add systemtap probe marker.
10720         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10721         (__slowexp): Add systemtap probe marker.
10722         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10723         (__slowpow): Add systemtap probe marker.
10724         * manual/probes.texi: Document probes.
10725
10726 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
10727
10728         [BZ #15362]
10729         * libio/fileops.c (_IO_new_file_write): Return count of bytes
10730         written.
10731         (_IO_new_file_xsputn): Don't return EOF if nothing has been
10732         written.
10733         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10734         written to buffer but not flushed.
10735         * libio/iofwrite_u.c:  Likewise.
10736         * libio/iopadn.c:  Return bytes returned even if EOF was
10737         encountered.
10738         * libio/iowpadn.c:  Likewise.
10739         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10740         if _IO_padn does not write the whole buffer.
10741         [!COMPILE_WPRINTF] (PAD): Likewise.
10742
10743 2013-10-10  David S. Miller  <davem@davemloft.net>
10744
10745         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10746         directory block.
10747
10748 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10749
10750         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
10751         instead of FSF address.
10752         * soft-fp/fixdfti.c: Likewise.
10753         * soft-fp/fixsfti.c: Likewise.
10754         * soft-fp/fixtfti.c: Likewise.
10755         * soft-fp/fixunsdfti.c: Likewise.
10756         * soft-fp/fixunssfti.c: Likewise.
10757         * soft-fp/fixunstfti.c: Likewise.
10758         * soft-fp/floattidf.c: Likewise.
10759         * soft-fp/floattisf.c: Likewise.
10760         * soft-fp/floattitf.c: Likewise.
10761         * soft-fp/floatuntidf.c: Likewise.
10762         * soft-fp/floatuntisf.c: Likewise.
10763         * soft-fp/floatuntitf.c: Likewise.
10764         * soft-fp/trunctfxf2.c: Likewise.
10765
10766         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
10767         * soft-fp/fixdfti.c: Likewise.
10768         * soft-fp/fixsfti.c: Likewise.
10769         * soft-fp/fixtfti.c: Likewise.
10770         * soft-fp/fixunsdfti.c: Likewise.
10771         * soft-fp/fixunssfti.c: Likewise.
10772         * soft-fp/fixunstfti.c: Likewise.
10773         * soft-fp/floattidf.c: Likewise.
10774         * soft-fp/floattisf.c: Likewise.
10775         * soft-fp/floattitf.c: Likewise.
10776         * soft-fp/floatuntidf.c: Likewise.
10777         * soft-fp/floatuntisf.c: Likewise.
10778         * soft-fp/floatuntitf.c: Likewise.
10779         * soft-fp/trunctfxf2.c: Likewise.
10780
10781 2013-10-10  David S. Miller  <davem@davemloft.net>
10782
10783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10784
10785 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
10786
10787         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10788         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10789         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10790         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10791         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10792         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10793         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10794
10795         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10796         for NaNs before doing comparisons on argument.
10797         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10798         Likewise.
10799
10800 2013-10-10  Will Newton  <will.newton@linaro.org>
10801
10802         * malloc/hooks.c (memalign_check): Ensure the value of bytes
10803         passed to _int_memalign does not overflow.
10804
10805 2013-10-10  Torvald Riegel  <triegel@redhat.com>
10806
10807         * scripts/bench.pl: Add include-sources directive.
10808         * benchtests/README: Update documentation.
10809
10810 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10811
10812         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10813         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10814         instead of FP_INIT_ROUNDMODE.
10815         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10816         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10817
10818         [BZ #16034]
10819         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
10820         copy class of input value.
10821         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
10822         not handle exceptions.
10823         * soft-fp/negsf2.c (__negsf2): Likewise.
10824         * soft-fp/negtf2.c (__negtf2): Likewise.
10825         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10826
10827 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
10828
10829         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10830         semicolon.  From Linux kernel.
10831
10832 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
10833
10834         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10835
10836 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
10837
10838         [BZ #156]
10839         * manual/socket.texi: Added statement about buffer
10840         for gethostbyname2_r.
10841
10842 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
10843
10844         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10845         Use .p2align directive instead, throughout.
10846         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10847         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10848         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10849         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10850         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10851         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10852         * sysdeps/x86_64/strchr.S: Likewise.
10853         * sysdeps/x86_64/strrchr.S: Likewise.
10854
10855 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10856
10857         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10858
10859         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10860
10861         * sysdeps/generic/math_private.h (__mpsin1): Remove
10862         declaration.
10863         (__mpcos1): Likewise.
10864         (__mpsin): New argument __range_reduce.
10865         (__mpcos): Likewise.
10866         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10867         (slow): Use __mpsin and __mpcos.
10868         (slow1): Likewise.
10869         (slow2): Likewise.
10870         (sloww): Likewise.
10871         (sloww1): Likewise.
10872         (sloww2): Likewise.
10873         (bsloww): Likewise.
10874         (bsloww1): Likewise.
10875         (bsloww2): Likewise.
10876         (cslow2): Likewise.
10877         (csloww): Likewise.
10878         (csloww1): Likewise.
10879         (csloww2): Likewise.
10880         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10881         range_reduce.  Merge in __mpsin1.
10882         (__mpcos): Likewise.
10883         (__mpsin1): Remove.
10884         (__mpcos1): Likewise.
10885
10886 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10887
10888         * locale/loadlocale.c (_nl_intern_locale_data): Use
10889         LOCFILE_ALIGNED_P.
10890         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10891         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10892         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10893         obstack data is appropriately aligned.
10894         (obstack_int32_grow_fast): Likewise.
10895         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10896         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10897         (add_locale_uint32_array): Likewise.
10898
10899 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10900
10901         * benchtests/Makefile: Remove ARGLIST and RET variables.
10902         ($(objpfx)bench-%.c): Pass only function name to the script.
10903         * benchtests/README: Update documentation.
10904         * benchtests/acos-inputs: Add new directives.
10905         * benchtests/acosh-inputs: Likewise.
10906         * benchtests/asin-inputs: Likewise.
10907         * benchtests/asinh-inputs: Likewise.
10908         * benchtests/atan-inputs: Likewise.
10909         * benchtests/atanh-inputs: Likewise.
10910         * benchtests/cos-inputs: Likewise.
10911         * benchtests/cosh-inputs: Likewise.
10912         * benchtests/exp-inputs: Likewise.
10913         * benchtests/log-inputs: Likewise.
10914         * benchtests/pow-inputs: Likewise.
10915         * benchtests/rint-inputs: Likewise.
10916         * benchtests/sin-inputs: Likewise.
10917         * benchtests/sinh-inputs: Likewise.
10918         * benchtests/tan-inputs: Likewise.
10919         * benchtests/tanh-inputs: Likewise.
10920         * scripts/bench.pl: Add support for new directives.
10921
10922 2013-10-07  Alan Modra  <amodra@gmail.com>
10923
10924         * README: Fix careless merge.
10925
10926 2013-10-05  Alan Modra  <amodra@gmail.com>
10927
10928         * NEWS: Mention powerpc64le support and bugs fixed.
10929         * README: Both big-endian and little-endian powerpc64 supported.
10930
10931 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10932
10933         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10934         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10935         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10936         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10937
10938 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10939
10940         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10941         match prototype.
10942
10943 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10944
10945         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10946         Move -mhard-float appending from
10947         ports/sysdeps/powerpc/powerpc32/Makefile.
10948         [$(with-fp) = yes] (ASFLAGS): Likewise.
10949         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10950         * sysdeps/powerpc/nofpu: Move directory from
10951         ports/sysdeps/powerpc/nofpu.
10952         * sysdeps/powerpc/soft-fp: Move directory from
10953         ports/sysdeps/powerpc/soft-fp.
10954         * sysdeps/powerpc/powerpc32/405: Move directory from
10955         ports/sysdeps/powerpc/powerpc32/405.
10956         * sysdeps/powerpc/powerpc32/440: Move directory from
10957         ports/sysdeps/powerpc/powerpc32/440.
10958         * sysdeps/powerpc/powerpc32/464: Move directory from
10959         ports/sysdeps/powerpc/powerpc32/464.
10960         * sysdeps/powerpc/powerpc32/476: Move directory from
10961         ports/sysdeps/powerpc/powerpc32/476.
10962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10963         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10965         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10967         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10969         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10971         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10972         * README: Update for powerpc-*-linux-gnu software floating point
10973         support in libc.
10974
10975         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10976         case to powerpc/powerpc32*.
10977         * sysdeps/unix/sysv/linux/configure: Regenerated.
10978
10979         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10980         (_FPU_MASK_OM): Define as 0x04.
10981         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10983         0x00c10080.
10984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10985         0x0000003c.
10986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10987
10988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10989         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10990         getcontext_e500.
10991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10992         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10993         setcontext_e500.
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10995         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10996         and setcontext_e500.
10997
10998 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
10999
11000         * locale/iso-3166.def: Update iso-1366.def and related occurrences
11001
11002 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11003
11004         * manual/threads.texi (Default Thread Attributes): Fix typo.
11005
11006 2013-10-04  Will Newton  <will.newton@linaro.org>
11007
11008         * malloc/Makefile: Add tst-memalign.
11009         * malloc/tst-memalign.c: New file.
11010
11011         * malloc/tst-posix_memalign.c: Add comments.
11012         (do_test): Add comments and call free on all potentially
11013         allocated pointers. Add space after cast.
11014
11015         * malloc/tst-pvalloc.c: Add comments.
11016         (do_test): Add comments and call free on all potentially
11017         allocated pointers. Remove duplicate check for NULL pointer.
11018         Add space after cast.
11019
11020         * malloc/tst-valloc.c: Add comments.
11021         (do_test): Add comments and call free on all potentially
11022         allocated pointers. Remove duplicate check for NULL pointer.
11023         Add space after cast.
11024
11025 2013-10-04  Alan Modra  <amodra@gmail.com>
11026
11027         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11028         Use stdint types in rather than __attribute__((mode())).
11029         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11030
11031 2013-10-04  Alan Modra  <amodra@gmail.com>
11032
11033         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11034         Correct handling of unaligned relocs for little-endian.
11035         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11036
11037 2013-10-04  Alan Modra  <amodra@gmail.com>
11038
11039         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11040         * configure: Regenerate.
11041         * nptl/shlib-versions: Powerpc*le starts at 2.18.
11042         * shlib-versions: Likewise.
11043
11044 2013-10-04  Alan Modra  <amodra@gmail.com>
11045
11046         * string/tester.c (test_memrchr): Increment reported test cycle.
11047
11048 2013-10-04  Alan Modra  <amodra@gmail.com>
11049
11050         * string/test-memcpy.c (do_one_test): When reporting errors, print
11051         string address and don't overrun end of string.
11052
11053 2013-10-04  Alan Modra  <amodra@gmail.com>
11054
11055         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11056         insrdi.  Make better use of reg selection to speed exit slightly.
11057         Schedule entry path a little better.  Remove useless "are we done"
11058         checks on entry to main loop.  Handle wrapping around zero address.
11059         Correct main loop count.  Handle single left-over word from main
11060         loop inline rather than by using loop_small.  Remove extra word
11061         case in loop_small caused by wrong loop count.  Add little-endian
11062         support.
11063         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11064         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
11065         cache hint.
11066         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11067         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11068         support.  Avoid rlwimi.
11069         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11070
11071 2013-10-04  Alan Modra  <amodra@gmail.com>
11072
11073         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11074         insrdi.  Formatting.
11075         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11076         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11077         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11078         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11079         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11080         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11081
11082 2013-10-04  Alan Modra  <amodra@gmail.com>
11083
11084         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11085         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11086         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11087         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11088         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11089         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11090         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11091         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11092         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
11093         use of regs.  Use power7 mtocrf.  Tidy function tails.
11094
11095 2013-10-04  Alan Modra  <amodra@gmail.com>
11096
11097         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11098         Formatting.  Consistently use rXXX register defines or rN defines.
11099         Use early exit labels that avoid restoring unused non-volatile regs.
11100         Make cr field use more consistent with rWORDn compares.  Rename
11101         regs used as shift registers for unaligned loop, using rN defines
11102         for short lifetime/multiple use regs.
11103         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11104         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
11105         addi 1,1,64 to pop stack frame.  Simplify return value code.
11106         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11107
11108 2013-10-04  Alan Modra  <amodra@gmail.com>
11109
11110         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11111         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
11112         rather than rlwimi.
11113         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11114         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11115         little-endian support.  Correct typos.
11116         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
11117         rather than rlwimi.
11118         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
11119         in loop and entry code to keep "and." results.
11120         (strchr): Add little-endian support.  Comment.  Move cntlzd
11121         earlier in tail.
11122         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11123
11124 2013-10-04  Alan Modra  <amodra@gmail.com>
11125
11126         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11127         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11128         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11129         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11130
11131 2013-10-04  Alan Modra  <amodra@gmail.com>
11132
11133         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11134         (rTMP): Define as r11.
11135         (strcmp): Add little-endian support.  Optimise tail.
11136         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11137         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11138         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11139         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11140         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11141         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11142         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11143
11144 2013-10-04  Alan Modra  <amodra@gmail.com>
11145
11146         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11147         little-endian support.  Remove unnecessary "are we done" tests.
11148         Handle "s" wrapping around zero and extremely large "size".
11149         Correct main loop count.  Handle single left-over word from main
11150         loop inline rather than by using small_loop.  Correct comments.
11151         Delete "zero" tail, use "end_max" instead.
11152         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11153
11154 2013-10-04  Alan Modra  <amodra@gmail.com>
11155
11156         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11157         support.  Don't branch over align.
11158         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11159         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11160         support.  Rearrange tmp reg use to suit.  Comment.
11161         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11162
11163 2013-10-04  Alan Modra  <amodra@gmail.com>
11164
11165         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11166
11167 2013-10-04  Alan Modra  <amodra@gmail.com>
11168
11169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11170         conditional form of branch and link when obtaining pc.
11171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11172
11173 2013-10-04  Alan Modra  <amodra@gmail.com>
11174
11175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11176         HIWORD/LOWORD.
11177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11179
11180 2013-10-04  Alan Modra  <amodra@gmail.com>
11181
11182         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11183         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11184         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11185         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11186         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11187         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11188         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11189         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11190         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11191         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11192
11193 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11194             Alistair Popple <alistair@ozlabs.au.ibm.com>
11195             Alan Modra <amodra@gmail.com>
11196
11197         [BZ #15723]
11198         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11199         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11200         _dl_hwcap access for little-endian.
11201         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
11202         destroy vmx regs when saving unaligned.
11203         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11204         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
11205         destroy vmx regs when saving unaligned.
11206
11207 2013-10-04  Alan Modra  <amodra@gmail.com>
11208
11209         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11210         Don't use a union to pack hi/low value.
11211
11212 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11213
11214         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11215         for little-endian.
11216         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11217         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11218         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11219         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11220         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11221
11222 2013-10-04  Alan Modra  <amodra@gmail.com>
11223
11224         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11225         constants to usual value for .cst8 section, and remove redundant
11226         high address load.
11227         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11228         constant for 0x1p52.  Load little-endian words of double from
11229         correct stack offsets.
11230
11231 2013-10-04  Alan Modra  <amodra@gmail.com>
11232
11233         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11234         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11235         words of double from correct stack offsets.
11236         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11237         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11238         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11239         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11240         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11241         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11242         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11243         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11244         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11245         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11246         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11247         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11248         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11249         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11250         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11251         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11252         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11253
11254 2013-10-04  Alan Modra  <amodra@gmail.com>
11255
11256         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11257         64-bit int/double union.
11258         (_FPU_SETCW): Likewise.
11259         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11260         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11261
11262 2013-10-04  Alan Modra  <amodra@gmail.com>
11263
11264         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11265         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11266
11267 2013-10-04  Alan Modra  <amodra@gmail.com>
11268
11269         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11270         use vector int constants.
11271         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11272
11273 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11274
11275         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11276         array with long long.
11277         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11278         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11279         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11280         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11281         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11282         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11283         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11284         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11285         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11286         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11287         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11288         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11289         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11290
11291 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11292
11293         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11294         (__signbit): Likewise.  Correct for little-endian.
11295         (__signbitl): Call __signbit.
11296         (lrint): Correct for little-endian.
11297         (lrintf): Call lrint.
11298
11299 2013-10-04  Alan Modra  <amodra@gmail.com>
11300
11301         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11302         union 32-bit int array member with 64-bit int array.
11303         (t515, tm256): Double rather than long double.
11304         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11305
11306 2013-10-04  Alan Modra  <amodra@gmail.com>
11307
11308         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11309         Delete.
11310         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11311         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11312         version of math_ldbl.h.
11313
11314 2013-10-04  Alan Modra  <amodra@gmail.com>
11315
11316         [BZ #15734], [BZ #15735]
11317         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11318         all uses of ieee875 long double macros and unions.  Simplify test
11319         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11320         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11321         normalize after ldbl_extract_mantissa, and don't add hidden bit
11322         already handled.  Don't treat low word of ieee854 mantissa like
11323         low word of IBM long double and mask off bit when testing for
11324         zero.
11325         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11326         all uses of ieee875 long double macros and unions.  Simplify tests
11327         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11328         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11329         two1022, instead use their values.  Recognise that tests for large
11330         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11331         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11332         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11333         test for 0.0L and nan.  Correct negation.
11334         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11335         ieee875 long double macros and unions.  Correct output for large
11336         magnitude x.  Correct absolute value calculation.
11337         (__erfcl): Likewise.
11338         * math/libm-test.inc: Add tests for errors discovered in IBM long
11339         double versions of fmodl, remainderl, erfl and erfcl.
11340
11341 2013-10-04  Alan Modra  <amodra@gmail.com>
11342
11343         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11344         all uses of ieee854 long double macros and unions.  Simplify tests
11345         for long doubles that are fully specified by the high double.
11346         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11347         Likewise.
11348         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11349         Remove dead code too.
11350         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11351         (__ieee754_ynl): Likewise.
11352         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11353         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11354         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11355         Remove dead code too.
11356         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11357         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11358         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11359         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11360         Simplify.
11361         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11362         Simplify.
11363         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11364         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11365         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11366         Comment on variable precision.
11367         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11368         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11369         Likewise.
11370         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11371         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11372         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11373         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11374         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11375
11376 2013-10-04  Alan Modra  <amodra@gmail.com>
11377
11378         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11379         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11380         all uses of ieee854 long double macros and unions.
11381         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11382         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11384         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11385         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11386         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11387         Likewise.
11388         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11389         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11390         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11391         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11393         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11394         Simplify sign and nan test too.
11395         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11396         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11397         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11398         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11399         Likewise.
11400         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11401         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11402         Likewise.
11403         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11404         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11405         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11406         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11407         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11408         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11409
11410 2013-10-04  Alan Modra  <amodra@gmail.com>
11411
11412         * stdio-common/printf_size.c (__printf_size): Don't use
11413         union ieee854_long_double in fpnum union.
11414         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11415         signbit macro to retrieve sign from long double.
11416         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11417         retrieve sign from long double.
11418         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11419         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11420         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11421         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11422         * math/test-misc.c (main): Don't use union ieee854_long_double.
11423
11424 2013-10-04  Alan Modra  <amodra@gmail.com>
11425
11426         [BZ #15680]
11427         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11428         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11429         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11430         calculation.  Remove unnecessary test for denormal exponent.
11431         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11432         Correct handling of denormals.  Avoid undefined shift behaviour.
11433         Correct normalisation of low mantissa when low double is denormal.
11434         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11435         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11436         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11437         Correct normalisation of low mantissa.  Test for overflow of high
11438         mantissa and normalise.
11439         (ldbl_nearbyint): Use more readable constant for two52.
11440         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11441         (__mpn_construct_long_double): Fix test for overflow of high
11442         mantissa and correct normalisation.  Avoid undefined shift.
11443
11444 2013-10-04  Alan Modra  <amodra@gmail.com>
11445
11446         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11447         (union ibm_extended_long_double): Define as an array of ieee754_double.
11448         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11449         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11450         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11451         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11452         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11453         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11454         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11455         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11456         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11457         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11458         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11459
11460 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11461
11462         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11463         page size instead of calling getpagesize.
11464
11465         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11466         (LOCFILE_ALIGN_MASK): Likewise.
11467         (LOCFILE_ALIGN_UP): Likewise.
11468         (LOCFILE_ALIGNED_P): Likewise.
11469         * locale/programs/ld-collate.c (collate_output): Use the new
11470         macros instead of __alignof__ (int32_t).
11471         * locale/weight.h (findidx): Likewise.
11472
11473 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11474
11475         [BZ #431]
11476         * manual/string.texi: Fix strncat and wcsncat.
11477
11478 2013-10-03  Brooks Moses  <bmoses@google.com>
11479
11480         [BZ #15915]
11481         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11482         * Makerules: ...here, and adjust associated comments.
11483
11484 2013-10-02  Will Newton  <will.newton@linaro.org>
11485
11486         * malloc/Makefile: Add tst-pvalloc.
11487         * malloc/tst-pvalloc.c: New file.
11488
11489 2013-10-02  Will Newton  <will.newton@linaro.org>
11490
11491         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11492         improve test coverage.
11493
11494 2013-10-02  Will Newton  <will.newton@linaro.org>
11495
11496         * malloc/Makefile: Add tst-posix_memalign.
11497         * malloc/tst-posix_memalign.c: New file.
11498
11499 2013-10-01  Eric Blake  <eblake@redhat.com>
11500
11501         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11502         Use __THROWNL rather than __THROW on static functions.
11503
11504 2013-09-30  Petr Machata  <pmachata@redhat.com>
11505
11506         * elf/elf.h (R_AARCH64_ABS16): New macro.
11507         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11508         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11509         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11510         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11511         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11512         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11513         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11514         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11515         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11516         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11517         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11518         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11519         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11520         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11521         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11522         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11523         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11524         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11525         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11526         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11527         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11528         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11529         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11530         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11531         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11532         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11533         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11534         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11535         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11536         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11537         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11538         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11539         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11540         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11541         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11542         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11543         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11544         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11545         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11546         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11547         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11548         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11549         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11550         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11551         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11552         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11553         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11554         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11555         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11556         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11557         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11558         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11559         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11560         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11561         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11562         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11563         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11564         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11565         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11566         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11567         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11568         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11569         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11570         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11571         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11572         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11573         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11574         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11575         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11576         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11577         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11578         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11579         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11580         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11581         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11582         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11583         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11584         (R_AARCH64_TLSDESC_LDR): Likewise.
11585         (R_AARCH64_TLSDESC_ADD): Likewise.
11586         (R_AARCH64_TLSDESC_CALL): Likewise.
11587
11588 2013-09-30  Andreas Schwab  <schwab@suse.de>
11589
11590         [BZ #15048]
11591         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11592         the nss database lookup.
11593         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11595
11596 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11597
11598         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11599
11600 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11601
11602         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11603         ${Bash-specific parameter/pattern/string} parameter expansion.
11604         * sysdeps/unix/make-syscalls.sh: Likewise.
11605
11606 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11607
11608         * sysdeps/sh/stackguard-macros.h: New file.
11609
11610 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11611
11612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11614         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11615         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11616         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11617         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11618
11619 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11620
11621         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11622         Fix thread ID register.
11623
11624 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11625
11626         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11627         [POSIX || UNIX98]: Require rather than permitting all symbols from
11628         <time.h>.
11629         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11630         element of struct sched_param.
11631         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11632         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11633         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11634         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11635         constant.
11636
11637 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11638
11639         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11640         argument calculation.
11641
11642 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11643
11644         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11645         Expect macro.
11646         [POSIX] (pthread_attr_t): Do not require type.
11647         [POSIX] (pthread_cond_t): Likewise.
11648         [POSIX] (pthread_condattr_t): Likewise.
11649         [POSIX] (pthread_key_t): Likewise.
11650         [POSIX] (pthread_mutex_t): Likewise.
11651         [POSIX] (pthread_mutexattr_t): Likewise.
11652         [POSIX] (pthread_once_t): Likewise.
11653         [POSIX] (pthread_t): Likewise.
11654         [POSIX-based standards] (pthread_atfork): Expect function.
11655
11656 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11657             Richard Sandiford  <richard@codesourcery.com>
11658
11659         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11660         (swap_endianness_p): New extern variable.
11661         (set_big_endian): New inline function.
11662         (maybe_swap_uint32): Likewise.
11663         (maybe_swap_uint32_array): Likewise.
11664         (maybe_swap_uint32_obstack): Likewise.
11665         * locale/programs/locfile.c: Include <stdbool.h>.
11666         (swap_endianness_p): New variable.
11667         (add_locale_uint32): Call maybe_swap_uint32.
11668         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11669         (write_locale_data): Call maybe_swap_uint32_array.
11670         * locale/programs/ld-collate.c (obstack_int32_grow): Call
11671         maybe_swap_uint32.
11672         (obstack_int32_grow_fast): Likewise.
11673         (output_weightwc): Call maybe_swap_uint32_obstack.
11674         (collate_output): Likewise.
11675         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11676         (OPT_LITTLE_ENDIAN): Likewise.
11677         (options): Add --little-endian and --big-endian options.
11678         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11679         * locale/programs/locarchive.c: Include "locfile.h".
11680         (GET): New macro.
11681         (SET): Likewise.
11682         (INC): Likewise.
11683         (create_archive): Use the new macros to access fields of
11684         structures directly mapped from or written to locale archives.
11685         (oldlocrecentcmp): Likewise.
11686         (enlarge_archive): Likewise.
11687         (insert_name): Likewise.
11688         (add_alias): Likewise.
11689         (add_locale): Likewise.
11690         (delete_locales_from_archive): Likewise.
11691         (show_archive_content): Likewise.
11692         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
11693         locale data.
11694
11695 2013-09-24  Roland McGrath  <roland@hack.frob.com>
11696
11697         * manual/freemanuals.texi: Updated from (newly) canonical copy at
11698         http://www.gnu.org/doc/freemanuals.texi.
11699         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11700
11701 2013-09-24  Will Newton  <will.newton@linaro.org>
11702
11703         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11704         macro.
11705
11706 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
11707
11708         * locale/hashval.h (compute_hashval): Interpret bytes of key as
11709         unsigned char.
11710
11711 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
11712
11713         * manual/threads.texi (POSIX Threads): Fix a typo.
11714
11715 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11716
11717         [BZ #14547]
11718         * string/tst-strcoll-overflow.c: New test case.
11719         * string/Makefile (xtests): Add tst-strcoll-overflow.
11720         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11721         cache if string sizes may cause integer overflow.
11722
11723         [BZ #14547]
11724         * string/strcoll_l.c (coll_seq): New members rule, idx,
11725         save_idx and back_us.
11726         (get_next_seq_nocache): New function.
11727         (do_compare_nocache): New function.
11728         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11729         when malloc fails.
11730
11731 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
11732
11733         [BZ #15754]
11734         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11735         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11736         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11737
11738         [BZ #15754]
11739         * elf/Makefile (tests): Add tst-ptrguard1.
11740         (tests-static): Add tst-ptrguard1-static.
11741         (tst-ptrguard1-ARGS): Define.
11742         (tst-ptrguard1-static-ARGS): Define.
11743         * elf/tst-ptrguard1.c: New file.
11744         * elf/tst-ptrguard1-static.c: New file.
11745         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11746         * sysdeps/i386/stackguard-macros.h: Likewise.
11747         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11748         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11749         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11750         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11751         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11752         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11753
11754 2013-09-23  Hector Marco  <hecmargi@upv.es>
11755             Ismael Ripoll  <iripoll@disca.upv.es>
11756             Carlos O'Donell  <carlos@redhat.com>
11757
11758         [BZ #15754]
11759         * sysdeps/generic/stackguard-macros.h: Define
11760         __pointer_chk_guard_local and POINTER_CHK_GUARD.
11761         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11762         Define __pointer_chk_guard_local.
11763         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11764         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11765
11766 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
11767
11768         [BZ #15859]
11769         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11770
11771 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
11772
11773         * include/string.h (__ffs): Declare as hidden.
11774         * string/ffs.c (__ffs): Define as hidden.
11775         * sysdeps/i386/ffs.c (__ffs): Likewise.
11776         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11777         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11778         * sysdeps/s390/ffs.c (__ffs): Likewise.
11779         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11780
11781 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
11782
11783         * NEWS: Mention malloc probes.
11784
11785         * malloc/arena.c (new_heap): New memory_heap_new probe.
11786         (grow_heap): New memory_heap_more probe.
11787         (shrink_heap): New memory_heap_less probe.
11788         (heap_trim): New memory_heap_free probe.
11789         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11790         (systrim): New memory_sbrk_less probe.
11791         * manual/probes.texi: Document them.
11792
11793         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11794         * manual/probes.texi: Document it.
11795
11796         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11797         (__libc_realloc): Add memory_realloc_retry probe.
11798         (__libc_memalign): Add memory_memalign_retry probe.
11799         (__libc_valloc): Add memory_valloc_retry probe.
11800         (__libc_pvalloc): Add memory_pvalloc_retry probe.
11801         (__libc_calloc): Add memory_calloc_retry probe.
11802         * manual/probes.texi: Document them.
11803
11804         * malloc/arena.c (get_free_list): Add probe
11805         memory_arena_reuse_free_list.
11806         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11807         and memory_arena_reuse.
11808         (arena_get2) [!PER_THREAD]: Likewise.
11809         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11810         memory_arena_reuse_realloc.
11811         * manual/probes.texi: Document them.
11812
11813         * malloc/malloc.c (__libc_free): Add
11814         memory_mallopt_free_dyn_thresholds probe.
11815         (__libc_mallopt): Add multiple memory_mallopt probes.
11816         * manual/probes.texi: Document them.
11817
11818         * malloc/malloc.c: Include stap-probe.h.
11819         (__libc_mallopt): Add memory_mallopt probe.
11820         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11821         * manual/probes.texi: New.
11822         * manual/Makefile (chapters): Add probes.
11823         * manual/threads.texi: Set next node.
11824
11825 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
11826
11827         [BZ #15963, #13985]
11828         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11829         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11830         Add `Chinese' to `nan' entry name.
11831
11832 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11833
11834         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11835         (POLYNOMIAL): Likewise.
11836         (TAYLOR_SINCOS): Likewise.
11837         (TAYLOR_SLOW): Likewise.
11838         (__sin): Use TAYLOR_SINCOS.
11839         (__cos): Likewise.
11840         (slow): Use TAYLOR_SLOW.
11841         (sloww): Likewise.
11842         (bsloww): Likewise.
11843         (csloww): Likewise.
11844
11845 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11846
11847         * stdlib/strtod_l.c: Fix buffer overrun.
11848
11849 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11850
11851         * benchtests/Makefile (bench): Add sincos.
11852         * benchtests/bench-sincos.c: New file.
11853
11854         * math/libm-test.inc (cos_test_data): New test inputs.
11855         (sin_test_data): Likewise.
11856
11857         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11858         macro.
11859         (__sin): Use it.
11860         (__cos): Likewise.
11861         (slow1): Likewise.
11862         (slow2): Likewise.
11863         (sloww1): Likewise.
11864         (sloww2): Likewise.
11865         (bsloww1): Likewise.
11866         (bsloww2): Likewise.
11867         (cslow2): Likewise.
11868         (csloww1): Likewise.
11869         (csloww2): Likewise.
11870
11871         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11872         function.
11873         (__sin): Use it.
11874         (__cos): Likewise.
11875
11876         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11877         gotos.
11878         (__cos): Likewise.
11879
11880 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11881
11882         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11883         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11884         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11885         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11886         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11887         * elf/cache.c (print_entry): Handle the new cache flags.
11888
11889 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11890             Aldy Hernandez  <aldyh@redhat.com>
11891
11892         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11893         Change condition to [_SOFT_FLOAT].
11894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11900         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11901         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11902         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11906         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11909         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11910         declaration.
11911
11912 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11913
11914         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11915         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11916         (__longjmp): Use LOAD_GP to load saved GPRs.
11917         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11918         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11919         (__sigsetjmp): Use SAVE_GP to save GPRs.
11920
11921         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11922         Do not append -msoft-float.
11923         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11924
11925 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11926
11927         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11928
11929 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11930
11931         [BZ #15966]
11932         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11933         (_FPU_GETCW): Use initial "__" on variable and field names but not
11934         on macro parameter name.
11935         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11936         parentheses around reference to macro parameter.
11937
11938 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11939
11940         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11941         prototype.
11942         (ctype_startup): Use uint32_t in cast and sizeof for
11943         ctype->charnames.
11944
11945 2013-09-11  Jia Liu  <proljc@gmail.com>
11946
11947         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11948         __daddr_t_defined.
11949         [__FreeBSD__]: Likewise.
11950
11951 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11952
11953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11954         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11955         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11956         (strchr): Remove __strchr_sse42 ifunc selection.
11957         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11958         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11959
11960 2013-09-11  Will Newton  <will.newton@linaro.org>
11961
11962         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11963         parameter to RES. Remove hardcoded 1000 value.
11964         * benchtests/bench-skeleton.c (main): Pass RES parameter
11965         to TIMING_INIT and multiply result by 1000.
11966
11967 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11968
11969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11970
11971 2013-09-11  Andreas Schwab  <schwab@suse.de>
11972
11973         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11974         if not defined.
11975         (O_TMPFILE) [__USE_GNU]: Define.
11976         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11977         Define.
11978
11979 2013-09-11  Will Newton  <will.newton@linaro.org>
11980
11981         [BZ #15857]
11982         * malloc/malloc.c (__libc_memalign): Check the value of bytes
11983         does not overflow.
11984
11985 2013-09-11  Will Newton  <will.newton@linaro.org>
11986
11987         [BZ #15856]
11988         * malloc/malloc.c (__libc_valloc): Check the value of bytes
11989         does not overflow.
11990
11991 2013-09-11  Will Newton  <will.newton@linaro.org>
11992
11993         [BZ #15855]
11994         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11995         does not overflow.
11996
11997 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
11998
11999         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12000         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12001         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12002         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12003         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12004
12005 2013-09-10  Allan McRae  <allan@archlinux.org>
12006
12007         [BZ #15748]
12008         * manual/arith.texi (Parsing of Floats): Clarify
12009         cross-reference.
12010
12011         [BZ #15849]
12012         * manual/install.texi (Running make install): Mention
12013         --enable-pt-chown.
12014         * INSTALL: Regenerated.
12015
12016 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12017
12018         * csu/init-first.c (_init): Remove the !SHARED condition around
12019         FPU control word initialization.
12020         * elf/dl-support.c (_dl_fpu_control): New variable.
12021         (_dl_aux_init) <AT_FPUCW>: Initialize it.
12022         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12023         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12024         * math/test-fpucw-static.c: New file.
12025         * math/test-fpucw-ieee.c: New file.
12026         * math/test-fpucw-ieee-static.c: New file.
12027         * math/Makefile (tests): Add `test-fpucw-ieee' and
12028         `$(tests-static)'.
12029         (tests-static): New variable.
12030         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12031         dependency to...
12032         [($(build-shared),yes)]
12033         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12034         ... this.
12035         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12036         New dependency.
12037
12038 2013-09-09  Allan McRae  <allan@archlinux.org>
12039
12040         [BZ #15939]
12041         * manual/string.texi (Collation Functions): Fix typo in
12042         strcoll example.
12043         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12044
12045         [BZ #15893]
12046         * stdlib/isomac.c (get_null_defines): Fix memory leak.
12047
12048         [BZ #15892]
12049         * libio/memstream.c (open_memstream): Fix memory leak.
12050         * libio/wmemstream.c (open_wmemstream): Likewise.
12051
12052         [BZ #15895]
12053         * nscd/netgroupcache.c: Fix nesting of ifdefs.
12054
12055 2013-09-09  Will Newton  <will.newton@linaro.org>
12056
12057         * malloc/Makefile: Add tst-realloc to tests.
12058         * malloc/tst-realloc.c: New file.
12059
12060 2013-09-09  Allan McRae  <allan@archlinux.org>
12061
12062         [BZ #15844]
12063         * COPYING: Update from GNU website to fix FSF address.
12064         * COPYING.LIB: Likewise.
12065
12066 2013-09-06  David S. Miller  <davem@davemloft.net>
12067
12068         * po/zh_TW.po: Update Chinese (traditional) translation from
12069         translation project.
12070
12071 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
12072             Joseph Myers  <joseph@codesourcery.com>
12073
12074         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12075         "localeinfo.h".
12076         (obstack_chunk_alloc): New macro.
12077         (obstack_chunk_free): Likewise.
12078         (record_offset): New function.
12079         (init_locale_data): Likewise.
12080         (align_locale_data): Likewise.
12081         (add_locale_empty): Likewise.
12082         (add_locale_raw_data): Likewise.
12083         (add_locale_raw_obstack): Likewise.
12084         (add_locale_string): Likewise.
12085         (add_locale_wstring): Likewise.
12086         (add_locale_uint32): Likewise.
12087         (add_locale_uint32_array): Likewise.
12088         (add_locale_char): Likewise.
12089         (start_locale_structure): Likewise.
12090         (end_locale_structure): Likewise.
12091         (start_locale_prelude): Likewise.
12092         (end_locale_prelude): Likewise.
12093         (write_locale_data): Take locale_file structure rather than an
12094         iovec.
12095         * locale/programs/locfile.h: Include "obstack.h".
12096         (struct locale_file): Change to store locale file contents instead
12097         of header.
12098         (init_locale_data): New prototype.
12099         (align_locale_data): Likewise.
12100         (add_locale_empty): Likewise.
12101         (add_locale_raw_data): Likewise.
12102         (add_locale_raw_obstack): Likewise.
12103         (add_locale_string): Likewise.
12104         (add_locale_wstring): Likewise.
12105         (add_locale_uint32): Likewise.
12106         (add_locale_uint32_array): Likewise.
12107         (add_locale_char): Likewise.
12108         (start_locale_structure): Likewise.
12109         (end_locale_structure): Likewise.
12110         (start_locale_prelude): Likewise.
12111         (end_locale_prelude): Likewise.
12112         (write_locale_data): Update prototype.
12113         * locale/programs/3level.h (struct TABLE): Remove result field.
12114         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12115         Use new locale_file interface.
12116         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12117         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12118         * locale/programs/ld-address.c (address_output): Use new
12119         locale_file interface.
12120         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12121         NO_ADD_LOCALE.
12122         (collate_finish): Don't call collseq_table_finalize.
12123         (collate_output): Use new locale_file interface.
12124         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12125         in file.
12126         (NO_FINALIZE): Change to NO_ADD_LOCALE.
12127         (TABLE): Move defines earlier in file.
12128         (ELEMENT): Likewise.
12129         (DEFAULT): Likewise.
12130         (wctrans_table_add): Move macro and inline function earlier in
12131         file.
12132         (struct wctype_table): Move type earlier in file.
12133         (add_locale_wctype_table): New static prototype.
12134         (struct locale_ctype_t): Use logical types instead of struct iovec
12135         pointers for members.
12136         (ctype_output): Use new locale_file interface.
12137         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
12138         new locale_file interface.
12139         (allocate_arrays): Update for use of new locale_file interface.
12140         * locale/programs/ld-identification.c (identification_output): Use
12141         new locale_file interface.
12142         * locale/programs/ld-measurement.c (measurement_output): Likewise.
12143         * locale/programs/ld-messages.c (messages_output): Likewise.
12144         * locale/programs/ld-monetary.c (monetary_output): Likewise.
12145         * locale/programs/ld-name.c (name_output): Likewise.
12146         * locale/programs/ld-numeric.c (numeric_output): Likewise.
12147         * locale/programs/ld-paper.c (paper_output): Likewise.
12148         * locale/programs/ld-telephone.c (telephone_output): Likewise.
12149         * locale/programs/ld-time.c (time_output): Likewise.
12150
12151 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12152
12153         * benchtests/Makefile: Add memrchr benchmark.
12154         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12155         benchmark as memrchr.
12156         * benchtests/bench-memrchr-ifunc.c: New file.
12157         * benchtests/bench-memrchr.c: New file.
12158
12159 2013-09-06   Will Newton  <will.newton@linaro.org>
12160
12161         * benchtests/Makefile (string-bench): Add memcpy.
12162
12163 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
12164             Cong Wang  <amwang@redhat.com>
12165
12166         [BZ #15850]
12167         * sysdeps/unix/sysv/linux/bits/in.h
12168         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12169         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12170         before __USE_KERNEL_IPV6_DEFS uses.
12171         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12172         IPPROTO_BEETPH.
12173         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12174         sockaddr_in6, or ipv6_mreq.
12175
12176 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12177
12178         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12179         memory access for final bytes in some large inputs.
12180         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12181
12182 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12183
12184         * string/test-memrchr.c: New file.
12185         * string/test-memrchr-ifunc.c: New file.
12186         * string/Makefile: Add new memrchr testcase.
12187
12188 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
12189
12190         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12191         fanotify_init returns EPERM.
12192
12193 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12194
12195         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12196         errors.
12197         (top level): Treat second token from macro or constant entries for
12198         allowed headers as allowed.
12199         * include/complex.h: Condition internal declarations on
12200         [!_ISOMAC].
12201         * include/fenv.h: Condition include of <stdbool.h> and internal
12202         declarations on [!_ISOMAC].
12203
12204 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
12205
12206         [BZ #15923]
12207         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12208
12209 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12210
12211         * configure.in (--enable-versioning): Remove configure option.
12212         (libc_cv_asm_symver_directive): Remove configure test.
12213         (libc_cv_ld_version_script_option): Likewise.
12214         (VERSIONING): Remove variable and AC_SUBST.
12215         (DO_VERSIONING): Remove AC_DEFINE.
12216         * configure: Regenerated.
12217         * config.h.in (DO_VERSIONING): Remove macro.
12218         * Makerules [$(versioning) = yes]: Change conditionals to
12219         [$(build-shared) = yes].
12220         * config.make.in (versioning): Remove variable.
12221         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12222         [$(build-shared) = yes].
12223         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12224         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12225         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12226         [$(build-shared) = yes].
12227         * extra-lib.mk [$(versioning) = yes]: Likewise.
12228         * hurd/Makefile [$(versioning) = yes]: Likewise.
12229         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12230         [SHARED].
12231         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12232         [SHARED].
12233         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12234         [SHARED && !NO_HIDDEN].
12235         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12236         [SHARED].
12237         [SHARED && DO_VERSIONING]: Likewise..
12238         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12239         [$(build-shared) = yes].
12240         * manual/install.texi (--disable-versioning): Remove
12241         documentation.
12242         * INSTALL: Regenerated.
12243         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12244         to [SHARED].
12245         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12246         [$(build-shared) = yes].
12247         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12248         * sysdeps/i386/i686/multiarch/strstr-c.c
12249         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12250         [SHARED && !NO_HIDDEN].
12251         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12252         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12253         * sysdeps/powerpc/powerpc32/dl-machine.c
12254         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12255         * sysdeps/powerpc/powerpc32/sysdep.h
12256         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12257         to [SHARED && PIC && !NO_HIDDEN].
12258         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12259         conditional to [SHARED].
12260
12261 2013-09-04   Will Newton  <will.newton@linaro.org>
12262
12263         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12264         * benchtests/bench-string.h: Include bench-timing.h instead
12265         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12266         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12267         call to HP_TIMING_DIFF_INIT.
12268         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12269         instead of hp-timing.h macros.
12270         * benchtests/bench-memchr.c: Likewise.
12271         * benchtests/bench-memcmp.c: Likewise.
12272         * benchtests/bench-memcpy.c: Likewise.
12273         * benchtests/bench-memmem.c: Likewise.
12274         * benchtests/bench-memmove.c: Likewise.
12275         * benchtests/bench-memset.c: Likewise.
12276         * benchtests/bench-rawmemchr.c: Likewise.
12277         * benchtests/bench-strcasecmp.c: Likewise.
12278         * benchtests/bench-strcasestr.c: Likewise.
12279         * benchtests/bench-strcat.c: Likewise.
12280         * benchtests/bench-strchr.c: Likewise.
12281         * benchtests/bench-strcmp.c: Likewise.
12282         * benchtests/bench-strcpy.c: Likewise.
12283         * benchtests/bench-strcpy_chk.c: Likewise.
12284         * benchtests/bench-strlen.c: Likewise.
12285         * benchtests/bench-strncasecmp.c: Likewise.
12286         * benchtests/bench-strncat.c: Likewise.
12287         * benchtests/bench-strncmp.c: Likewise.
12288         * benchtests/bench-strncpy.c: Likewise.
12289         * benchtests/bench-strnlen.c: Likewise.
12290         * benchtests/bench-strpbrk.c: Likewise.
12291         * benchtests/bench-strrchr.c: Likewise.
12292         * benchtests/bench-strspn.c: Likewise.
12293         * benchtests/bench-strstr.c: Likewise.
12294
12295 2013-09-04  Will Newton  <will.newton@linaro.org>
12296
12297         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12298
12299 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12300
12301         [BZ #15427]
12302         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12303         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12304         * math/libm-test.inc (lgamma_test_data): Add more tests.
12305         * sysdeps/i386/fpu/libm-test-ulps: Update.
12306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12307
12308 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12309
12310         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12312         Add ifunc.
12313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12314         Add strcmp-sse2-unaligned
12315         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12316
12317 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12318
12319         * Versions.def (libc): Add GLIBC_2.19.
12320
12321 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12322
12323         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12324         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12325
12326 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12327
12328         [BZ #14155]
12329         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12330         intermediate calculations in recurrence.
12331         (__ieee754_ynf): Likewise.
12332         * math/libm-test.inc (jn_test_data): Do not allow spurious
12333         underflow exception.  Add more tests.
12334         (yn_test_data): Add more tests.
12335         * sysdeps/i386/fpu/libm-test-ulps: Update.
12336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12337
12338 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12339
12340         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12341
12342 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12343
12344         * csu/init-first.c: Fix then/than typos.
12345         * locale/programs/ld-collate.c: Likewise.
12346         * locale/programs/linereader.h: Likewise.
12347         * manual/charset.texi: Likewise.
12348         * manual/filesys.texi: Likewise.
12349         * manual/stdio.texi: Likewise.
12350         * manual/string.texi: Likewise.
12351         * stdlib/fmtmsg.c: Likewise.
12352         * sysdeps/i386/stpncpy.S: Likewise.
12353         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12354         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12355         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12356         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12357
12358 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12359
12360         * elf/dl-open.c: Fix typos.
12361         * iconvdata/gbbig5.c: Likewise.
12362         * iconvdata/iso-2022-jp.c: Likewise.
12363         * iconv/gconv_int.h: Likewise.
12364         * iconv/loop.c: Likewise.
12365         * nis/rpcsvc/nis.h: Likewise.
12366         * resolv/ns_name.c: Likewise.
12367         * stdio-common/vfscanf.c: Likewise.
12368         * streams/stropts.h: Likewise.
12369         * sunrpc/rpc_thread.c: Likewise.
12370         * sysdeps/i386/strpbrk.S: Likewise.
12371         * sysdeps/ieee754/k_standard.c: Likewise.
12372         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12373         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12374         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12375         * sysdeps/mach/hurd/profil.c: Likewise.
12376         * sysdeps/s390/dl-procinfo.h: Likewise.
12377         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12378         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12379         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12380         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12381         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12382
12383 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12384
12385         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12387
12388 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12389
12390         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12391         aix specific files.
12392         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12393         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12394         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12395         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12396         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12397         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12398         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12399         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12400
12401 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12402             Roland McGrath  <roland@hack.frob.com>
12403
12404         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12405         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12406
12407 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12408
12409         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12410         __executable_start symbol instead of _start.
12411
12412 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12413
12414         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12415         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12416         Move macros to...
12417         * sysdeps/gnu/ldsodefs.h: ... this new file.
12418
12419         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12420         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12421         instead of ELFOSABI_LINUX.
12422
12423         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12424         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12425         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12426         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12427         Likewise.
12428         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12429         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12430         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12431         Likewise.
12432         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12433         (ibm_extended_long_double): Add ieee_nan member.
12434         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12435         (do_test): New function.
12436
12437         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12438         TEST_TRUNC.
12439         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12440         functions, renamed from truncdfsf_test, trunctfsf_test,
12441         trunctfdf_test.
12442         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12443         functions.
12444         (do_test): Run all these.
12445
12446 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12447
12448         * argp/argp-help.c: Fix typos.
12449         * argp/argp-parse.c: Likewise.
12450         * debug/backtracesyms.c: Likewise.
12451         * elf/elf.h: Likewise.
12452         * malloc/malloc.c: Likewise.
12453         * nis/nis_print.c: Likewise.
12454         * resolv/res_comp.c: Likewise.
12455         * stdlib/stdlib.h: Likewise.
12456         * sunrpc/clnt_tcp.c: Likewise.
12457         * sunrpc/clnt_udp.c: Likewise.
12458         * sunrpc/clnt_unix.c: Likewise.
12459         * sysdeps/unix/bsd/ptsname.c: Likewise.
12460         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12461         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12463         Likewise.
12464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12465         Likewise.
12466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12467         Likewise.
12468         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12469
12470 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12471
12472         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12474
12475 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12476
12477         [BZ #15897]
12478         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12479         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12480         ($(objpfx)bug-dl-leaf): New rule.
12481         ($(objpfx)bug-dl-leaf.so): Likewise.
12482         ($(objpfx)bug-dl-leaf.out): Likewise.
12483         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12484         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12485         * dlfcn/bug-dl-leaf.c: New test.
12486         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12487         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12488         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12489         (dlclose): Likewise.
12490         (dlmopen): Likewise.
12491
12492 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12493
12494         * include/netdb.h [!_ISOMAC]:
12495         Don't include <tls.h>.
12496         (h_errno, __libc_h_errno): Move declaration and macros out of
12497         [_LIBC_REENTRANT].
12498
12499         * include/resolv.h [_RESOLV_H_]:
12500         Don't include <tls.h>.
12501         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12502         * resolv/res_libc.c: Don't include <tls.h>.
12503         (_res): Use __attribute__ ((nocommon)) in place of
12504         __attribute__ ((section (".bss"))).
12505
12506         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12507         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12508
12509         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12510
12511         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12512         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12513
12514         * resolv/res_mkquery.c: Include <sys/time.h>.
12515
12516         * inet/ifreq.c: Moved to ...
12517         * sysdeps/unix/ifreq.c: ... here.
12518         * inet/ifreq.c: New file, true stub version.
12519
12520         * socket/sa_len.c: New file.
12521         * socket/Makefile (aux): Add it.
12522         * sysdeps/unix/sysv/linux/Makefile
12523         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12524         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12525         and #include <socket/sa_len.c>.
12526         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12527         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12528
12529         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12530         * bits/socket.h: ... here.
12531
12532         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12533         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12534         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12535
12536 2013-08-27  Andreas Schwab  <schwab@suse.de>
12537
12538         [BZ #15736]
12539         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12540         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12541         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12542         * string/test-strcasecmp.c (test_main): Run tests in several
12543         locales.
12544         * string/test-strncasecmp.c (test_main): Likewise.
12545
12546         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12547         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12548         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12549         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12550         (__strncasecmp_ssse3) [PIC]: Likewise.
12551
12552 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12553
12554         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12555
12556         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12557         instead of explicitly declaring xdecrypt.
12558         * nis/nss_nis/nis-publickey.c: Likewise.
12559
12560 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12561
12562         [BZ #15890]
12563         * nscd/aicache.c: Include res_hconf.h.
12564         (addhstaiX): Initialize res_hconf.
12565
12566 2013-08-26  Andreas Schwab  <schwab@suse.de>
12567
12568         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12569         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12570
12571 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12572
12573         * nscd/aicache.c (addhstaiX): Fix indentation.
12574
12575 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12576
12577         * configure.ac: Quote $build_pt_chown test.
12578         * configure: Regenerated.
12579
12580 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12581
12582         [BZ #15532]
12583         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12584         * math/s_cexpf.c (__cexpf): Likewise.
12585         * math/s_cexpl.c (__cexpl): Likewise.
12586         * math/libm-test.inc (cexp_test_data): Correct expected return
12587         value for NaN + i0.  Add another test.
12588
12589 2013-08-22  David S. Miller  <davem@davemloft.net>
12590
12591         * po/ca.po: Update Catalan translation from translation project.
12592         * po/uk.po: Add Ukrainian translations from translation project.
12593
12594 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12595
12596         [BZ #15797]
12597         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12598         is infinite, not alongside NaN test.
12599         * math/s_fdimf.c (__fdimf): Likewise.
12600         * math/s_fdiml.c (__fdiml): Likewise.
12601         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12602         errno is unchanged.
12603
12604 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12605
12606         * argp/argp-help.c: Fix typos.
12607         * crypt/speeds.c: Likewise.
12608         * csu/check_fds.c: Likewise.
12609         * elf/dl-load.c: Likewise.
12610         * elf/dl-open.c: Likewise.
12611         * elf/reldep3.c: Likewise.
12612         * elf/reldep.c: Likewise.
12613         * elf/sprof.c: Likewise.
12614         * iconv/iconv_charmap.c: Likewise.
12615         * iconv/skeleton.c: Likewise.
12616         * iconv/strtab.c: Likewise.
12617         * io/lockf64.c: Likewise.
12618         * libio/libioP.h: Likewise.
12619         * resolv/gai_notify.c: Likewise.
12620         * resolv/ns_name.c: Likewise.
12621         * resolv/ns_samedomain.c: Likewise.
12622         * resolv/res_send.c: Likewise.
12623         * stdlib/random.c: Likewise.
12624         * sunrpc/rpc/xdr.h: Likewise.
12625         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12626         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12627         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12628         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12629         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12630         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12631         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12632         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12633         * sysdeps/mach/hurd/check_fds.c: Likewise.
12634         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12635         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12636         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12637         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12638         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12639         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12640         * sysdeps/pthread/aio_notify.c: Likewise.
12641         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12642         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12643         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12644         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12645         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12646
12647 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12648
12649         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12650         version if bit_Slow_SSE4_2 is set.
12651         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12652         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12653
12654 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12655
12656         [BZ #15867]
12657         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12658         trampoline stack frame information.
12659         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12660         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12661         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12662         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12663         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12664         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12665         (_libc_vdso_platform_setup): Initialize the signal trampolines.
12666         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12667         sa_flags value.
12668         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12669         interrupting a syscall and set with option SA_SIGINFO.
12670
12671 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12672
12673         [BZ #15531]
12674         * math/s_cproj.c (__cproj): Only return an infinity if one part of
12675         argument is infinite.
12676         * math/s_cprojf.c (__cprojf): Likewise.
12677         * math/s_cprojl.c (__cprojl): Likewise.
12678         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12679         * math/libm-test.inc (cproj_test_data): Add more tests.
12680
12681         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12682
12683         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12684         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12685         size.  Use __ffs to determine corresponding shift.
12686
12687 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12688             Roland McGrath  <roland@hack.frob.com>
12689
12690         * Makefile (INSTALL): Remove trailing blank lines from output of
12691         makeinfo.
12692
12693 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12694
12695         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12696         Align 32 bit compat elf_greg to 8 bytes.
12697
12698 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12699
12700         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12701
12702 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12703
12704         * string/strcoll_l.c (coll_seq): New structure.
12705         (get_next_seq_cached): New function.
12706         (get_next_seq): New function.
12707         (do_compare): New function.
12708         (STRCOLL): Use GNU style definition.  Simplify implementation
12709         by using get_next_seq, get_next_seq_cached and do_compare.
12710
12711 2013-08-16  Florian Weimer  <fweimer@redhat.com>
12712
12713         [BZ #14699]
12714         CVE-2013-4237
12715         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12716         member.
12717         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12718         member.
12719         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12720         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12721         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
12722         conditional.
12723         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12724         GETDENTS_64BIT_ALIGNED.
12725         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12726         * manual/filesys.texi (Reading/Closing Directory): Document
12727         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
12728         strongly.
12729         * manual/conf.texi (Limits for Files): Add portability note to
12730         NAME_MAX, PATH_MAX.
12731         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12732
12733 2013-08-13  Andreas Schwab  <schwab@suse.de>
12734
12735         [BZ #15749]
12736         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12737         of fabs.
12738         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12739         LDBL_MAX_EXP >= 16384]: Add tests for it.
12740
12741 2013-08-12  David S. Miller  <davem@davemloft.net>
12742
12743         * version.h (RELEASE): Set to "development".
12744         (VERSION): Set to "2.18.90".
12745         * NEWS: Add 2.19 section.
12746
12747 2013-08-03  David S. Miller  <davem@davemloft.net>
12748
12749         * po/ko.po: Update Korean translation from translation project.
12750
12751 2013-08-01  David S. Miller  <davem@davemloft.net>
12752
12753         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
12754         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12755         Bilka.
12756
12757 2013-07-30  David S. Miller  <davem@davemloft.net>
12758
12759         * po/fr.po: Update French translation from translation project.
12760
12761 2013-07-28  David S. Miller  <davem@davemloft.net>
12762
12763         * po/cs.po: Update Czech translation from translation project.
12764
12765         * po/sv.po: Update Swedish translation from translation project.
12766
12767 2013-07-27  David S. Miller  <davem@davemloft.net>
12768
12769         * po/eo.po: Update Esperanto translation from translation project.
12770
12771         * po/vi.po: Update Vietnamese translation from translation project.
12772
12773         * po/de.po: Update German translation from translation project.
12774
12775 2013-07-26  David S. Miller  <davem@davemloft.net>
12776
12777         * po/bg.po: Update Bulgarian translation from translation project.
12778
12779         * po/nl.po: Update Dutch translation from translation project.
12780         * po/pl.po: Update Polish translation from translation project.
12781         * po/ru.po: Update Russian translation from translation project.
12782
12783 2013-07-24  David S. Miller  <davem@davemloft.net>
12784
12785         * po/libc.pot: Update.
12786
12787 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12788
12789         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12790         variable page size.
12791         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12792         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12793         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12794
12795 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12796
12797         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12798
12799 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12800             Andreas Schwab  <schwab@suse.de>
12801             Roland McGrath  <roland@hack.frob.com>
12802             Joseph Myers  <joseph@codesourcery.com>
12803             Carlos O'Donell  <carlos@redhat.com>
12804
12805         [BZ #15755]
12806         * config.h.in: Define HAVE_PT_CHOWN.
12807         * config.make.in (build-pt-chown): New variable.
12808         * configure.in (--enable-pt_chown): New configure option.
12809         * configure: Regenerate.
12810         * login/Makefile: Include Makeconfig.  Build pt_chown only if
12811         build-pt-chown is enabled.
12812         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12813         pt_chown to fix pty ownership.
12814         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12815         CLOSE_ALL_FDS.
12816         * manual/install.texi (Configuring and compiling): Mention
12817         --enable-pt_chown. Add @findex for grantpt.
12818         * INSTALL: Regenerate.
12819
12820 2013-07-20  David S. Miller  <davem@davemloft.net>
12821
12822         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12823         difference between 32-bit and 64-bit.
12824
12825 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
12826
12827         [BZ #15711]
12828         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12829         Avoid system header dependency with -ffreestanding.
12830         ($(objpfx)bits/syscall%d): Likewise.
12831
12832 2013-07-13  David S. Miller  <davem@davemloft.net>
12833
12834         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12835         underflows from atanl/atan2l due to bug 15319.
12836         (casinh_test_data): Likewise.
12837
12838 2013-07-07  David S. Miller  <davem@davemloft.net>
12839
12840         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12841
12842 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
12843
12844         * sysdeps/i386/fpu/libm-test-ulps: Update.
12845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12846
12847 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12848
12849         * configure.in (--enable-lock-elision): Fix message text.
12850         * INSTALL: Regenerate.
12851         * configure: Regenerate.
12852
12853 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12854
12855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12856
12857 2013-07-03  Andreas Jaeger  <aj@suse.de>
12858
12859         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12860         define.
12861         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12862         (ptrace_peeksiginfo_args): Add.
12863         (__ptrace_peeksiginfo_flags): Add.
12864         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12865         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12866         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12867
12868 2013-07-03  Allan McRae  <allan@archlinux.org>
12869
12870         * sysdeps/i386/fpu/libm-test-ulps: Update.
12871
12872 2013-07-02  David S. Miller  <davem@davemloft.net>
12873
12874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12875
12876 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12877
12878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12879
12880 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12881
12882         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12884
12885 2013-07-02  Andi Kleen <ak@linux.intel.com>
12886
12887         * config.h.in (ENABLE_LOCK_ELISION): Add.
12888         * configure.in (--enable-lock-elision): Add option.
12889         * manual/install.texi: Document --enable lock elision.
12890         * configure: Regenerate
12891         * INSTALL: Regenerate.
12892
12893 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12894
12895         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12896         SSE4.2 strcasecmp for libc.a.
12897         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12898
12899 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12900
12901         [BZ #13304]
12902         * soft-fp/op-common.h (_FP_FMA): New macro.
12903         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12904         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12905         (_FP_MUL_MEAT_1_imm): ... here.
12906         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12907         (_FP_MUL_MEAT_1_wide): ... here.
12908         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12909         (_FP_MUL_MEAT_1_hard): ... here.
12910         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12911         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12912         (_FP_MUL_MEAT_2_wide): ... here.
12913         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12914         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12915         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12916         (_FP_MUL_MEAT_2_gmp): ... here.
12917         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12918         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12919         (_FP_MUL_MEAT_4_wide): ... here.
12920         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12921         (_FP_MUL_MEAT_4_gmp): ... here.
12922         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12923         (_FP_WFRACBITS_DW_S): Likewise.
12924         (_FP_WFRACXBITS_DW_S): Likewise.
12925         (_FP_HIGHBIT_DW_S): Likewise.
12926         (FP_FMA_S): Likewise.
12927         (_FP_FRAC_HIGH_DW_S): Likewise.
12928         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12929         (_FP_WFRACBITS_DW_D): Likewise.
12930         (_FP_WFRACXBITS_DW_D): Likewise.
12931         (_FP_HIGHBIT_DW_D): Likewise.
12932         (FP_FMA_D): Likewise.
12933         (_FP_FRAC_HIGH_DW_D): Likewise.
12934         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12935         (_FP_WFRACBITS_DW_E): Likewise.
12936         (_FP_WFRACXBITS_DW_E): Likewise.
12937         (_FP_HIGHBIT_DW_E): Likewise.
12938         (FP_FMA_E): Likewise.
12939         (_FP_FRAC_HIGH_DW_E): Likewise.
12940         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12941         (_FP_WFRACBITS_DW_Q): Likewise.
12942         (_FP_WFRACXBITS_DW_Q): Likewise.
12943         (_FP_HIGHBIT_DW_Q): Likewise.
12944         (FP_FMA_Q): Likewise.
12945         (_FP_FRAC_HIGH_DW_Q): Likewise.
12946         * soft-fp/fmasf4.c: New file.
12947         * soft-fp/fmadf4.c: Likewise.
12948         * soft-fp/fmatf4.c: Likewise.
12949
12950 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12951
12952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12953         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12954         Silvermont.
12955         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12956         macro.
12957         (index_Slow_SSE4_2): Likewise.
12958         (index_Prefer_PMINUB_for_stringop): Likewise.
12959         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12960         bit_Slow_SSE4_2 is set.
12961         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12962         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12963
12964 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12965
12966         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12967         rtld_global._dl_hwcap2.
12968         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12969         POWER8.
12970         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12971         POWER8 feature descriptions defined in _dl_hwcap2.
12972         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12973         string handling for POWER8 feature bits.
12974         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12975         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12976         _dl_powerpc_cap_flags.
12977         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12978         * sysdeps/powerpc/rtld-global-offsets.sym
12979         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12980         _dl_hwcap2 in the rtld_global_ro structure.
12981
12982 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12983
12984         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12985         hardware capabilities in support of AT_HWCAP2.
12986         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12987         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12988         GLRO(dl_hwcap2).
12989         (_dl_show_auxv): Add support for calling _dl_procinfo to display
12990         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
12991         explicitly the unknown a_type display mechanism is used.
12992         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12993         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12994         struct member.
12995         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12996         to macro prototype for AT_HWCAP2 support.
12997         * sysdeps/i386/dl-procinfo.h: Likewise.
12998         * sysdeps/s390/dl-procinfo.h: Likewise.
12999         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13000         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
13001         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
13002         return -1 for unknown a_type display fallback.
13003         * sysdeps/sparc/dl-procinfo.h: Likewise.
13004         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13005         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13006
13007 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
13008
13009         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13010         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13011
13012 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
13013
13014         [BZ #12492]
13015         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13016         mprotect making __stack_prot writable.
13017
13018 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
13019             Joseph Myers  <joseph@codesourcery.com>
13020
13021         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13022         as being properly aligned.
13023
13024 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
13025
13026         * dlfcn/modstatic5.c: New file.
13027         * dlfcn/tststatic5.c: New file.
13028         * dlfcn/Makefile (tests): Add tststatic5.
13029         (tests-static): Likewise.
13030         (modules-names): Add modstatic5.
13031         (tststatic5-ENV): New variable.
13032         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13033
13034         [BZ #15022]
13035         * elf/dl-support.c (_dl_main_map): New variable.
13036         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13037         (_dl_nns, _dl_load_adds): Set to 1.
13038         (_dl_initial_searchlist): Refer to _dl_main_map.
13039         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13040         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13041         call to _dl_get_origin.
13042         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13043         around call_map.
13044         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13045         * dlfcn/modstatic3.c: New file.
13046         * dlfcn/tststatic3.c: New file.
13047         * dlfcn/tststatic4.c: New file.
13048         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13049         (tests-static): Likewise.
13050         (modules-names): Add modstatic3.
13051         (tststatic3-ENV, tststatic4-ENV): New variables.
13052         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13053         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13054
13055 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
13056
13057         * configure.in (CC): Require GCC version 4.4 or later.
13058         * configure: Regenerated.
13059         * manual/install.texi (Tools for Compilation): Update GCC version
13060         requirement.
13061         * INSTALL: Regenerated.
13062
13063 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13064
13065         [BZ #15674]
13066         * string/test-memcmp.c (check2): New.
13067         (main): Call check2.
13068
13069         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13070
13071 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
13072
13073         [BZ #15022]
13074         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13075         over to...
13076         (dl_open_worker) [!SHARED]: ... here.
13077
13078 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13079
13080         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13081
13082 2013-06-25  Richard Henderson  <rth@redhat.com>
13083
13084         * locale/programs/locarchive.c: Include <libc-internal.h>
13085
13086 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
13087
13088         * manual/texinfo.tex: Update to version 2013-06-21.17, with
13089         trailing whitespace removed.
13090
13091 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13092
13093         [BZ #10283]
13094         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13095         * locale/programs/locarchive.c: Include libc-mmap.h.
13096         (prepare_address_space): Take two new outputs (the mmap base and len).
13097         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
13098         values.
13099         (create_archive): Declare new mmap base and len values for
13100         prepare_address_space, and store the result in ah.
13101         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13102         (enlarge_archive): If ah->mmap_base is not NULL, use that and
13103         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13104         Declare new mmap base and len values for
13105         prepare_address_space, and store the result in new_ah.
13106         (open_archive): Declare new mmap base and len values for
13107         prepare_address_space, and store the result in ah.
13108         (close_archive): If ah->mmap_base is not NULL, use that and
13109         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13110         * sysdeps/generic/libc-mmap.h: New file.
13111
13112 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13113
13114         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13115         (ALIGN_UP): Likewise.
13116         (PTR_ALIGN_DOWN): Likewise.
13117         (PTR_ALIGN_UP): Likewise.
13118
13119 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13120
13121         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13122         entry mapped to PPC_PLATFORM_POWER8.
13123         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13124         POWER8.
13125         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13126         (_dl_string_platform): Add case for exporting platform position for
13127         POWER8.
13128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13129         search path to sysdeps/powerpc/powerpc32/power8 directory.
13130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13131         search path to sysdeps/powerpc/powerpc64/power8 directory.
13132         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13133         power7 directories.
13134         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13135         power7 directories.
13136
13137 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13138
13139         * INSTALL: Regenerate.
13140
13141         * nscd/connections.c (nscd_init): Fix comment.
13142
13143 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
13144
13145         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13146
13147         [BZ #15667]
13148         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13149         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13150
13151 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13152
13153         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13154         DL_DST_REQ_STATIC.
13155         (DL_DST_REQ_STATIC): Remove macro.
13156
13157 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
13158
13159         [BZ #7006]
13160         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13161         with a shift of 0 bits.
13162
13163 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13164
13165         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13166         $(tststatic-ENV).
13167
13168 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13169
13170         [BZ #15655]
13171         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13172
13173 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13174
13175         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13176         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13177         accepts -fno-tree-loop-distribute-patterns.
13178         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13179         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13180         recursive call.
13181         * string/memset.c (memset): Likewise.
13182         * string/test-memmove.c (simple_memmove): Disable loop transformation
13183         to library calls.
13184         * string/test-memset.c (simple_memset): Likewise.
13185         * benchtests/bench-memmove.c (simple_memmove): Likewise.
13186         * benchtests/bench-memset.c (simple_memset): Likewise.
13187         * configure: Regenerated.
13188
13189 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
13190
13191         * math/test-misc.c (main): Ignore fesetround failure when failures
13192         of subsequent rounding tests would be ignored.
13193
13194         [BZ #15654]
13195         * math/fedisblxcpt.c (fedisableexcept): Return 0.
13196         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13197         * math/fegetenv.c (__fegetenv): Return 0.
13198         * math/fegetexcept.c (fegetexcept): Return 0.
13199         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13200         FE_TONEAREST.
13201         * math/feholdexcpt.c (feholdexcept): Return 0.
13202         * math/fesetenv.c (__fesetenv): Return 0.
13203         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13204         argument FE_TONEAREST.
13205         * math/feupdateenv.c (__feupdateenv): Return 0.
13206         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13207
13208 2013-06-18  Roland McGrath  <roland@hack.frob.com>
13209
13210         * elf/rtld-Rules (rtld-compile-command.S): New variable.
13211         (rtld-compile-command.s, rtld-compile-command.c): New variables.
13212         ($(objpfx)rtld-%.os rules): Use them.
13213
13214 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13215
13216         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13217         fields.
13218
13219 2013-06-17  Roland McGrath  <roland@hack.frob.com>
13220
13221         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13222         length of target pattern, then descending length of dependency pattern.
13223         * configure.in (AWK): Require gawk 3.1.2 or newer.
13224         * manual/install.texi (Tools for Compilation): Say that we do.
13225         * configure: Regenerated.
13226
13227         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13228         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13229         * scripts/sysd-rules.awk: ... this new script.
13230         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13231         than a glob-style pattern.
13232
13233 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13234
13235         * math/test-misc.c (main): Do not treat incorrectly rounded
13236         conversions as failure unless ROUNDING_TESTS passes.
13237
13238 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13239
13240         [BZ #15631]
13241         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13242         restore exception state around main square root computation, then
13243         check for inexactness explicitly.
13244
13245         * math/libm-test.inc (fma_test_data): Add another test.
13246
13247 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13248
13249         * manual/threads.texi (Non-POSIX Extensions): New document
13250         node.  Document pthread_getattr_default_np and
13251         pthread_setattr_default_np.
13252
13253         * Versions.def (libpthread): Add GLIBC_2.18.
13254         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13256         Likewise.
13257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13258         Likewise.
13259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13260         Likewise.
13261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13262         Likewise.
13263         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13264         Likewise.
13265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13266         Likewise.
13267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13268         Likewise.
13269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13270         Likewise.
13271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13272         Likewise.
13273
13274 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13275
13276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13277         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13278
13279 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13280             H.J. Lu  <hjl.tools@gmail.com>
13281
13282         [BZ #15627]
13283         * sysdeps/x86_64/rtld-memset.c: Remove file.
13284         * sysdeps/x86_64/rtld-memset.S: New file.
13285
13286 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13287
13288         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13289         (test_in_one_mode): Take arguments for whether the rounding mode
13290         is supported for each floating-point type.
13291         (do_test): Pass new arguments to test_in_one_mode using
13292         ROUNDING_TESTS.
13293
13294 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13295
13296         * posix/tst-waitid.c (do_test): Distinguish different instances of
13297         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13298         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13299         before entering the kernel for waitpid.
13300
13301 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13302
13303         * NEWS: Fix note on clock function precision.  Text by Roland
13304         McGrath.
13305
13306 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13307
13308         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13309         it into place only when and if the sanity check passes.
13310
13311 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13312
13313         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13314         output for whether conversion result is exact.  Take argument
13315         indicating whether type is IBM long double.
13316         (round_for_all): Change need_exact field to ibm_ld.
13317         * stdlib/tst-strtod-round.c (struct exactness): New type.
13318         (struct test): Change bool ld_ok field to struct exactness exact.
13319         (TEST): Update all definitions for change to field.
13320         (tests): Regenerate array contents.
13321         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13322         field value.  Check for IBM long double here.
13323         (do_test): Update calls to test_in_one_mode.
13324
13325 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13326
13327         [BZ #12515]
13328         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13329         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13330
13331 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13332
13333         [BZ #15605]
13334         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13335         generated by the compiler on loop optimizations.
13336         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13337         general definitions.
13338
13339 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13340
13341         * math/bug-nextafter.c: Include <math-tests.h>.
13342         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13343         the relevant type.
13344         * math/bug-nexttoward.c: Include <math-tests.h>.
13345         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13346         the relevant type.
13347         * math/test-misc.c: Include <math-tests.h>.
13348         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13349         the relevant type.
13350
13351 2013-06-12  Andreas Jaeger  <aj@suse.de>
13352
13353         * po/ia.po: Update Interlingua translation from translation
13354         project.
13355
13356 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13357
13358         * include/fenv.h: Include stdbool.h.
13359         (struct rm_ctx): New structure.
13360         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13361         Define macro.
13362         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13363         (SET_RESTORE_ROUNDF): Likewise.
13364         (SET_RESTORE_ROUNDL): Likewise.
13365         (SET_RESTORE_ROUND_NOEX): Likewise.
13366         (SET_RESTORE_ROUND_NOEXF): Likewise.
13367         (SET_RESTORE_ROUND_NOEXL): Likewise.
13368         (SET_RESTORE_ROUND_53BIT): Likewise.
13369         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13370         (libc_feresetround_noexf_ctx): Likewise.
13371         (libc_feresetround_noexl_ctx): Likewise.
13372         (libc_feholdsetround_53bit_ctx): Likewise.
13373         (libc_feresetround_53bit_ctx): Likewise.
13374         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13375         (libc_feholdexcept_setround_sse_ctx): New function.
13376         (libc_fesetenv_sse_ctx): Likewise.
13377         (libc_feupdateenv_sse_ctx): Likewise.
13378         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13379         (libc_feholdexcept_setround_387_ctx): Likewise.
13380         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13381         (libc_feholdsetround_387_prec_ctx): Likewise.
13382         (libc_feholdsetround_387_ctx): Likewise.
13383         (libc_feholdsetround_387_53bit_ctx): Likewise.
13384         (libc_feholdsetround_sse_ctx): Likewise.
13385         (libc_feresetround_sse_ctx): Likewise.
13386         (libc_feresetround_387_ctx): Likewise.
13387         (libc_feupdateenv_387_ctx): Likewise.
13388         (libc_feholdexcept_setroundf_ctx): Define macro.
13389         (libc_fesetenvf_ctx): Likewise.
13390         (libc_feupdateenvf_ctx): Likewise.
13391         (libc_feholdsetroundf_ctx): Likewise.
13392         (libc_feresetroundf_ctx): Likewise.
13393         (libc_feholdexcept_setround_ctx): Likewise.
13394         (libc_fesetenv_ctx): Likewise.
13395         (libc_feupdateenv_ctx): Likewise.
13396         (libc_feholdsetround_ctx): Likewise.
13397         (libc_feresetround_ctx): Likewise.
13398         (libc_feholdexcept_setroundl_ctx): Likewise.
13399         (libc_feupdateenvl_ctx): Likewise.
13400         (libc_feholdsetroundl_ctx): Likewise.
13401         (libc_feresetroundl_ctx): Likewise.
13402         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13403         (libc_feresetround_53bit_ctx): Likewise.
13404
13405 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13406
13407         * locale/iso-639.def: Convert to UTF-8.
13408
13409 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13410
13411         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13412         (EXCEPTION_TESTS_double): Likewise.
13413         (EXCEPTION_TESTS_long_double): Likewise.
13414         (EXCEPTION_TESTS): Likewise.
13415         * math/libm-test.inc (test_exceptions): Only test exceptions if
13416         EXCEPTION_TESTS (FLOAT).
13417
13418 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13419
13420         * benchtests/Makefile (string-bench): Add strcpy_chk and
13421         stpcpy_chk.
13422         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13423         * benchtests/bench-stpcpy_chk.c: New file.
13424         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13425         * benchtests/bench-strcpy_chk.c: New file.
13426         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13427         code.
13428         (do_test): Likewise.
13429
13430 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13431
13432         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13433         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13434         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13435         with tabs where appropriate.
13436         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13437         dl-procinfo.h.
13438         [PPC_PLATFORM_PPC440]: Likewise.
13439         [PPC_PLATFORM_PPC464]: Likewise.
13440         [PPC_PLATFORM_PPC476]: Likewise.
13441         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13442         ppc464, and ppc476 platform strings merging from ports/
13443         dl-procinfo.h.
13444
13445 2013-06-11  Andreas Schwab  <schwab@suse.de>
13446
13447         [BZ #14991]
13448         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13449         (from_ucs4_idx): Regenerate.
13450         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13451         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13452         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13453         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13454         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13455         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13456         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13457         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13458         from FROM_LOOP and TO_LOOP specific macros.
13459         (BODY): Handle combining characters.
13460         * iconvdata/BIG5HKSCS.irreversible: Update.
13461         * iconvdata/BIG5HKSCS.precomposed: New file.
13462         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13463         characters.
13464         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13465
13466 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13467
13468         * include/sys/time.h: Fix indentation and add copyright header.
13469
13470         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13471         (do_test): Likewise.
13472         * string/test-memchr.c (do_one_test): Likewise.
13473         (do_test): Likewise.
13474         * string/test-memcmp.c (do_one_test): Likewise.
13475         (do_test): Likewise.
13476         * string/test-memcpy.c (do_one_test): Likewise.
13477         (do_test): Likewise.
13478         * string/test-memmem.c (do_one_test): Likewise.
13479         (do_test): Likewise.
13480         (do_random_tests): Likewise.
13481         * string/test-memmove.c (do_one_test): Likewise.
13482         (do_test): Likewise.
13483         * string/test-memset.c (do_one_test): Likewise.
13484         (do_test): Likewise.
13485         * string/test-rawmemchr.c (do_one_test): Likewise.
13486         (do_test): Likewise.
13487         * string/test-strcasecmp.c (do_one_test): Likewise.
13488         (do_test): Likewise.
13489         * string/test-strcasestr.c (do_one_test): Likewise.
13490         (do_test): Likewise.
13491         * string/test-strcat.c (do_one_test): Likewise.
13492         (do_test): Likewise.
13493         * string/test-strchr.c (do_one_test): Likewise.
13494         (do_test): Likewise.
13495         * string/test-strcmp.c (do_one_test): Likewise.
13496         (do_test): Likewise.
13497         * string/test-strcpy.c (do_one_test): Likewise.
13498         (do_test): Likewise.
13499         * string/test-string.h: Likewise.
13500         (test_init): Likewise.
13501         * string/test-strlen.c (do_one_test): Likewise.
13502         (do_test): Likewise.
13503         * string/test-strncasecmp.c (do_one_test): Likewise.
13504         (do_test): Likewise.
13505         * string/test-strncat.c (do_one_test): Likewise.
13506         (do_test): Likewise.
13507         * string/test-strncmp.c (do_one_test): Likewise.
13508         (do_test_limit): Likewise.
13509         (do_test): Likewise.
13510         * string/test-strncpy.c (do_one_test): Likewise.
13511         (do_test): Likewise.
13512         * string/test-strnlen.c (do_one_test): Likewise.
13513         (do_test): Likewise.
13514         * string/test-strpbrk.c (do_one_test): Likewise.
13515         (do_test): Likewise.
13516         * string/test-strrchr.c (do_one_test): Likewise.
13517         (do_test): Likewise.
13518         * string/test-strspn.c (do_one_test): Likewise.
13519         (do_test): Likewise.
13520         * string/test-strstr.c (do_one_test): Likewise.
13521         (do_test): Likewise.
13522
13523         * benchtests/Makefile (string-bench): Add string benchmarks.
13524         * benchtests/bench-bcopy-ifunc.c: New file.
13525         * benchtests/bench-bcopy.c: New file.
13526         * benchtests/bench-bzero-ifunc.c: New file.
13527         * benchtests/bench-bzero.c: New file.
13528         * benchtests/bench-memccpy-ifunc.c: New file.
13529         * benchtests/bench-memccpy.c: New file.
13530         * benchtests/bench-memchr-ifunc.c: New file.
13531         * benchtests/bench-memchr.c: New file.
13532         * benchtests/bench-memcmp-ifunc.c: New file.
13533         * benchtests/bench-memcmp.c: New file.
13534         * benchtests/bench-memmem-ifunc.c: New file.
13535         * benchtests/bench-memmem.c: New file.
13536         * benchtests/bench-memmove-ifunc.c: New file.
13537         * benchtests/bench-memmove.c: New file.
13538         * benchtests/bench-mempcpy-ifunc.c: New file.
13539         * benchtests/bench-mempcpy.c: New file.
13540         * benchtests/bench-memset-ifunc.c: New file.
13541         * benchtests/bench-memset.c: New file.
13542         * benchtests/bench-rawmemchr-ifunc.c: New file.
13543         * benchtests/bench-rawmemchr.c: New file.
13544         * benchtests/bench-stpcpy-ifunc.c: New file.
13545         * benchtests/bench-stpcpy.c: New file.
13546         * benchtests/bench-stpncpy-ifunc.c: New file.
13547         * benchtests/bench-stpncpy.c: New file.
13548         * benchtests/bench-strcasecmp-ifunc.c: New file.
13549         * benchtests/bench-strcasecmp.c: New file.
13550         * benchtests/bench-strcasestr-ifunc.c: New file.
13551         * benchtests/bench-strcasestr.c: New file.
13552         * benchtests/bench-strcat-ifunc.c: New file.
13553         * benchtests/bench-strcat.c: New file.
13554         * benchtests/bench-strchr-ifunc.c: New file.
13555         * benchtests/bench-strchr.c: New file.
13556         * benchtests/bench-strchrnul-ifunc.c: New file.
13557         * benchtests/bench-strchrnul.c: New file.
13558         * benchtests/bench-strcmp-ifunc.c: New file.
13559         * benchtests/bench-strcmp.c: New file.
13560         * benchtests/bench-strcpy-ifunc.c: New file.
13561         * benchtests/bench-strcpy.c: New file.
13562         * benchtests/bench-strcspn-ifunc.c: New file.
13563         * benchtests/bench-strcspn.c: New file.
13564         * benchtests/bench-strlen-ifunc.c: New file.
13565         * benchtests/bench-strlen.c: New file.
13566         * benchtests/bench-strncasecmp-ifunc.c: New file.
13567         * benchtests/bench-strncasecmp.c: New file.
13568         * benchtests/bench-strncat-ifunc.c: New file.
13569         * benchtests/bench-strncat.c: New file.
13570         * benchtests/bench-strncmp-ifunc.c: New file.
13571         * benchtests/bench-strncmp.c: New file.
13572         * benchtests/bench-strncpy-ifunc.c: New file.
13573         * benchtests/bench-strncpy.c: New file.
13574         * benchtests/bench-strnlen-ifunc.c: New file.
13575         * benchtests/bench-strnlen.c: New file.
13576         * benchtests/bench-strpbrk-ifunc.c: New file.
13577         * benchtests/bench-strpbrk.c: New file.
13578         * benchtests/bench-strrchr-ifunc.c: New file.
13579         * benchtests/bench-strrchr.c: New file.
13580         * benchtests/bench-strspn-ifunc.c: New file.
13581         * benchtests/bench-strspn.c: New file.
13582         * benchtests/bench-strstr-ifunc.c: New file.
13583         * benchtests/bench-strstr.c: New file.
13584
13585         * benchtests/Makefile: Disable parallel execution of targets.
13586         (string-bench): Add memcpy.
13587         (benchset): New variable to store a list of benchmark sets.
13588         (bench-func): Renamed from bench.
13589         (bench-set): New target.
13590         (bench): Depend on bench-func and bench-set.
13591         * benchtests/README: Add section on benchmark sets.
13592         * benchtests/bench-memcpy-ifunc.c: New file.
13593         * benchtests/bench-memcpy.c: New file.
13594         * benchtests/bench-string.h: New file.
13595
13596 2013-06-11  Andreas Schwab  <schwab@suse.de>
13597
13598         [BZ #15577]
13599         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13600         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13601         values in the triple.
13602         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13603         terminator in the group key.
13604
13605 2013-06-11  Andreas Jaeger  <aj@suse.de>
13606
13607         * po/zh_TW.po: Update Chinese (traditional) translation from
13608         translation project.
13609
13610 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13611
13612         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13613         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13614         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13615         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13616         (clock_getcpuclockid): Likewise.
13617         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13618         Add weak_alias and libc_hidden_def.
13619         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13620         * rt/clock_gettime.c (clock_gettime): Rename to
13621         __clock_gettime.  Add weak_alias and libc_hidden_def.
13622         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13623         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13624         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13625         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13626         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13627         Likewise.
13628         * rt/clock_settime.c (clock_settime): Rename to
13629         __clock_settime.  Add weak_alias and libc_hidden_def.
13630         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13631
13632 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13633
13634         * mach/err_boot.sub: Remove trailing whitespace.
13635         * mach/err_ipc.sub: Likewise.
13636         * mach/err_mach.sub: Likewise.
13637
13638         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13639         (ROUNDING_TESTS_double): Likewise.
13640         (ROUNDING_TESTS_long_double): Likewise.
13641         (ROUNDING_TESTS): Likewise.
13642         * math/libm-test.inc: Include <math-tests.h>.
13643         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13644         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13645         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13646         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13647
13648 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13649
13650         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13651         of assigning.
13652
13653 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
13654
13655         * sysdeps/gnu/errlist.awk: Do not generate space at end of
13656         otherwise empty TRANS lines.
13657         * sysdeps/gnu/errlist.c: Regenerated.
13658
13659         * catgets/gencat.c (error_print): Use (void) in function
13660         definition.
13661         * crypt/crypt_util.c (__init_des): Likewise.
13662         * crypt/speeds.c (Stop): Likewise.
13663         (main): Likewise.
13664         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13665         * inet/ruserpass.c (token): Likewise.
13666         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13667         * intl/localealias.c (extend_alias_table): Likewise.
13668         * intl/plural-exp.c (init_germanic_plural): Likewise.
13669         * libio/fcloseall.c (__fcloseall): Likewise.
13670         * libio/genops.c (_IO_flush_all): Likewise.
13671         (_IO_flush_all_linebuffered): Likewise.
13672         (_IO_cleanup): Likewise.
13673         (_IO_iter_begin): Likewise.
13674         (_IO_iter_end): Likewise.
13675         (_IO_list_lock): Likewise.
13676         (_IO_list_unlock): Likewise.
13677         (_IO_list_resetlock): Likewise.
13678         * libio/getchar.c (getchar): Likewise.
13679         * libio/getchar_u.c (getchar_unlocked): Likewise.
13680         * libio/getwchar.c (getwchar): Likewise.
13681         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13682         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13683         * login/getpt.c (__getpt): Likewise.
13684         * login/tst-utmp.c (main): Likewise.
13685         * malloc/hooks.c (__malloc_check_init): Likewise.
13686         * malloc/malloc.c (__malloc_stats): Likewise.
13687         * malloc/mtrace.c (tr_break): Likewise.
13688         (mtrace): Likewise.
13689         (muntrace): Likewise.
13690         * misc/fstab.c (endfsent): Likewise.
13691         * misc/getclktck.c (__getclktck): Likewise.
13692         * misc/getdtsz.c (__getdtablesize): Likewise.
13693         * misc/gethostid.c (gethostid): Likewise.
13694         * misc/getpagesize.c (__getpagesize): Likewise.
13695         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13696         (__get_nprocs): Likewise.
13697         (__get_phys_pages): Likewise.
13698         (__get_avphys_pages): Likewise.
13699         * misc/getttyent.c (getttyent): Likewise.
13700         (setttyent): Likewise.
13701         (endttyent): Likewise.
13702         * misc/getusershell.c (getusershell): Likewise.
13703         (endusershell): Likewise.
13704         (setusershell): Likewise.
13705         (initshells): Likewise.
13706         * misc/hsearch.c (__hdestroy): Likewise.
13707         * misc/sync.c (sync): Likewise.
13708         * misc/syslog.c (closelog_internal): Likewise.
13709         (closelog): Likewise.
13710         * misc/ttyslot.c (ttyslot): Likewise.
13711         * misc/vhangup.c (vhangup): Likewise.
13712         * posix/fork.c (__fork): Likewise.
13713         * posix/getegid.c (__getegid): Likewise.
13714         * posix/geteuid.c (__geteuid): Likewise.
13715         * posix/getgid.c (__getgid): Likewise.
13716         * posix/getpid.c (__getpid): Likewise.
13717         * posix/getppid.c (__getppid): Likewise.
13718         * posix/getuid.c (__getuid): Likewise.
13719         * posix/pause.c (pause): Likewise.
13720         * posix/setpgrp.c (setpgrp): Likewise.
13721         * posix/setsid.c (__setsid): Likewise.
13722         * posix/test-vfork.c (noop): Likewise.
13723         * resolv/gethnamaddr.c (_endhtent): Likewise.
13724         (_gethtent): Likewise.
13725         (ht_endhostent): Likewise.
13726         (gethostent): Likewise.
13727         (dns_service): Likewise.
13728         * stdlib/drand48.c (drand48): Likewise.
13729         * stdlib/lrand48.c (lrand48): Likewise.
13730         * stdlib/mrand48.c (mrand48): Likewise.
13731         * stdlib/rand.c (rand): Likewise.
13732         * stdlib/random.c (__random): Likewise.
13733         * stdlib/setenv.c (clearenv): Likewise.
13734         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13735         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13736         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13737         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13738         (__get_nprocs): Likewise.
13739         (__get_phys_pages): Likewise.
13740         (__get_avphys_pages): Likewise.
13741         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13742         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13743         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13744         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13745         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13746         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13747         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13748         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13749         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13750         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13751         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13752         * sysdeps/mach/hurd/sync.c (sync): Likewise.
13753         * sysdeps/posix/clock.c (clock): Likewise.
13754         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13755         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13756         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13757         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13758         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13759         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13760         (__get_nprocs_conf): Likewise.
13761         (__get_phys_pages): Likewise.
13762         (__get_avphys_pages): Likewise.
13763         * time/clock.c (clock): Likewise.
13764         * time/tzset.c (__tzname_max): Likewise.
13765
13766 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
13767
13768         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13769         (__bswap_32): Do not use "register".
13770         * crypt/crypt.c (_ufc_doit_r): Likewise.
13771         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13772         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13773         * gmon/gmon.c (__monstartup): Likewise.
13774         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13775         * hurd/hurdmalloc.c (more_memory): Likewise.
13776         (malloc): Likewise.
13777         (free): Likewise.
13778         (realloc): Likewise.
13779         (malloc_fork_prepare): Likewise.
13780         (malloc_fork_parent): Likewise.
13781         (malloc_fork_child): Likewise.
13782         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13783         (_svcauth_des): Likewise.
13784         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13785         * inet/inet_net.c (inet_network): Likewise.
13786         * inet/inet_netof.c (inet_netof): Likewise.
13787         * inet/rcmd.c (__validuser2_sa): Likewise.
13788         * io/fts.c (fts_open): Likewise.
13789         (fts_load): Likewise.
13790         (fts_close): Likewise.
13791         (fts_read): Likewise.
13792         (fts_children): Likewise.
13793         (fts_build): Likewise.
13794         (fts_stat): Likewise.
13795         (fts_sort): Likewise.
13796         (fts_alloc): Likewise.
13797         (fts_lfree): Likewise.
13798         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13799         (_IO_file_xsgetn): Likewise.
13800         (_IO_file_xsgetn_mmap): Likewise.
13801         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13802         (_IO_cookie_write): Likewise.
13803         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13804         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13805         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13806         * malloc/obstack.c (_obstack_begin): Likewise.
13807         (_obstack_begin_1): Likewise.
13808         (_obstack_newchunk): Likewise.
13809         (_obstack_allocated_p): Likewise.
13810         (obstack_free): Likewise.
13811         (_obstack_memory_used): Likewise.
13812         * misc/getttyent.c (getttynam): Likewise.
13813         (getttyent): Likewise.
13814         (skip): Likewise.
13815         (value): Likewise.
13816         * misc/getusershell.c (initshells): Likewise.
13817         * misc/syslog.c (__vsyslog_chk): Likewise.
13818         * misc/ttyslot.c (ttyslot): Likewise.
13819         * nis/nis_hash.c (__nis_hash): Likewise.
13820         * posix/fnmatch_loop.c (FCT): Likewise.
13821         * posix/getconf.c (print_all): Likewise.
13822         (main): Likewise.
13823         * posix/getopt.c (exchange): Likewise.
13824         * posix/glob.c (globfree): Likewise.
13825         (prefix_array): Likewise.
13826         (__glob_pattern_type): Likewise.
13827         * resolv/arpa/nameser.h (NS_GET16): Likewise.
13828         (NS_GET32): Likewise.
13829         (NS_PUT16): Likewise.
13830         (NS_PUT32): Likewise.
13831         * resolv/gethnamaddr.c (getanswer): Likewise.
13832         (gethostbyname2): Likewise.
13833         (gethostbyaddr): Likewise.
13834         (_gethtent): Likewise.
13835         (_gethtbyname2): Likewise.
13836         (_gethtbyaddr): Likewise.
13837         * resolv/ns_print.c (dst_s_get_int16): Likewise.
13838         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13839         * resolv/res_init.c (__res_vinit): Likewise.
13840         (net_mask): Likewise.
13841         * resolv/res_mkquery.c (outchar): Likewise.
13842         (PRINT): Likewise.
13843         * stdio-common/printf_fp.c (outchar): Likewise.
13844         (PRINT): Likewise.
13845         * stdio-common/printf_fphex.c (outchar): Likewise.
13846         (PRINT): Likewise.
13847         * stdio-common/printf_size.c (outchar): Likewise.
13848         (PRINT): Likewise.
13849         * stdio-common/test_rdwr.c (main): Likewise.
13850         * stdio-common/tfformat.c (matches): Likewise.
13851         * stdio-common/vfprintf.c (outchar): Likewise.
13852         (printf_unknown): Likewise.
13853         (buffered_vfprintf): Likewise.
13854         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13855         * stdio-common/xbug.c (AppendToBuffer): Likewise.
13856         (ReadFile): Likewise.
13857         * stdlib/qsort.c (SWAP): Likewise.
13858         (_quicksort): Likewise.
13859         * stdlib/setenv.c (__add_to_environ): Likewise.
13860         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13861         * stdlib/strtol_l.c (__strtol_l): Likewise.
13862         * stdlib/tst-strtod.c (main): Likewise.
13863         * stdlib/tst-strtol.c (main): Likewise.
13864         * stdlib/tst-strtoll.c (main): Likewise.
13865         * string/bits/string2.h (__strcmp_cc): Likewise.
13866         (__strcmp_cg): Likewise.
13867         (__strcspn_c1): Likewise.
13868         (__strcspn_c2): Likewise.
13869         (__strcspn_c3): Likewise.
13870         (__strspn_c1): Likewise.
13871         (__strspn_c2): Likewise.
13872         (__strspn_c3): Likewise.
13873         (__strsep_1c): Likewise.
13874         (__strsep_2c): Likewise.
13875         (__strsep_3c): Likewise.
13876         * string/memccpy.c (__memccpy): Likewise.
13877         * string/stpcpy.c (__stpcpy): Likewise.
13878         * string/strcmp.c (strcmp): Likewise.
13879         * string/strrchr.c (strrchr): Likewise.
13880         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13881         Likewise.
13882         * sysdeps/mach/hurd/getcwd.c
13883         (_hurd_canonicalize_directory_name_internal): Likewise.
13884         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13885         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13886         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13887         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13888         Likewise, in both definitions.
13889         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13890         definitions.
13891         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13892         64] (__bswap_64): Likewise.
13893         * time/test_time.c (main): Likewise.
13894         * time/tzfile.c (__tzfile_read): Likewise.
13895         (__tzfile_compute): Likewise.
13896         * time/tzset.c (__tzset_parse_tz): Likewise.
13897         (tzset_internal): Likewise.
13898         (compute_change): Likewise.
13899         * wcsmbs/wcscat.c (__wcscat): Likewise.
13900         * wcsmbs/wcschr.c (wcschr): Likewise.
13901         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13902         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13903         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13904         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13905         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13906         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13907         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13908         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13909         * wcsmbs/wmemset.c (wmemset): Likewise.
13910
13911 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13912
13913         * scripts/config.guess: Update to version 2013-05-16.
13914         * scripts/config.sub: Update to version 2013-04-24.
13915         * scripts/install-sh: Update to version 2011-11-20.07.
13916         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13917         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13918
13919 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13920
13921         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13922         * elf/sln.c: Likewise.
13923         * hurd/hurd/ioctl.h: Likewise.
13924         * hurd/hurdmalloc.c: Likewise.
13925         * hurd/xattr.c: Likewise.
13926         * include/shlib-compat.h: Likewise.
13927         * inet/ruserpass.c: Likewise.
13928         * libio/iofgets_u.c: Likewise.
13929         * libio/iofgetws_u.c: Likewise.
13930         * locale/programs/ld-identification.c: Likewise.
13931         * locale/programs/ld-time.c: Likewise.
13932         * mach/msg-destroy.c: Likewise.
13933         * nss/nss_files/files-netgrp.c: Likewise.
13934         * resolv/res_data.c: Likewise.
13935         * soft-fp/op-1.h: Likewise.
13936         * soft-fp/op-2.h: Likewise.
13937         * soft-fp/op-4.h: Likewise.
13938         * soft-fp/op-common.h: Likewise.
13939         * stdio-common/printf_fphex.c: Likewise.
13940         * stdlib/strtod_l.c: Likewise.
13941         * sunrpc/rpc/clnt.h: Likewise.
13942         * sysdeps/generic/framestate.c: Likewise.
13943         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13944         * sysdeps/i386/bsd-setjmp.S: Likewise.
13945         * sysdeps/i386/__longjmp.S: Likewise.
13946         * sysdeps/i386/setjmp.S: Likewise.
13947         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13948         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13949         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13950         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13951         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13952         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13953         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13954         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13955         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13956         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13957         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13958         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13959         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13960         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13961         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13962         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13963         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13964         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13965         * sysdeps/ieee754/support.c: Likewise.
13966         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13967         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13968         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13969         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13970         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13971         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13972         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13973         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13974         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13975         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13976         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13977         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13978         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13979         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13980         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13981         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13982         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13984
13985 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
13986
13987         * posix/transbug.c: Remove executable mode.
13988
13989 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
13990
13991         * crypt/speeds.c: Remove trailing whitespace.
13992         * dlfcn/default.c: Likewise.
13993         * elf/ifuncdep2.c: Likewise.
13994         * elf/ifuncmain1.c: Likewise.
13995         * elf/ifuncmain1vis.c: Likewise.
13996         * elf/testobj.h: Likewise.
13997         * elf/tst-stackguard1.c: Likewise.
13998         * gmon/sys/gmon.h: Likewise.
13999         * hurd/hurdmsg.c: Likewise.
14000         * hurd/new-fd.c: Likewise.
14001         * hurd/ports-get.c: Likewise.
14002         * iconvdata/ibm1008_420.c: Likewise.
14003         * inet/tst-getni1.c: Likewise.
14004         * inet/tst-getni2.c: Likewise.
14005         * libio/ioungetc.c: Likewise.
14006         * libio/wfiledoalloc.c: Likewise.
14007         * manual/libm-err-tab.pl: Likewise.
14008         * math/w_dremf.c: Likewise.
14009         * misc/ftruncate.c: Likewise.
14010         * posix/bug-glob2.c: Likewise.
14011         * posix/tst-pcre.c: Likewise.
14012         * posix/wait4.c: Likewise.
14013         * resolv/README: Likewise.
14014         * resolv/res_debug.h: Likewise.
14015         * resolv/tst-inet_ntop.c: Likewise.
14016         * setjmp/bug269-setjmp.c: Likewise.
14017         * soft-fp/extended.h: Likewise.
14018         * soft-fp/op-1.h: Likewise.
14019         * soft-fp/op-2.h: Likewise.
14020         * soft-fp/op-4.h: Likewise.
14021         * soft-fp/op-8.h: Likewise.
14022         * soft-fp/testit.c: Likewise.
14023         * stdio-common/bug16.c: Likewise.
14024         * stdlib/random.c: Likewise.
14025         * sunrpc/rpcsvc/rquota.x: Likewise.
14026         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14027         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14028         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14029         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14030         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14031         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14032         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14033         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14034         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14035         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14036         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14037         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14038         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14039         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14040         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14041         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14042         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14043         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14044         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14045         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14046         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14047         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14048         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14049         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14050         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14051         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14052         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14053         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14054         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14055         * sysdeps/ieee754/s_lib_version.c: Likewise.
14056         * sysdeps/mach/hurd/check_fds.c: Likewise.
14057         * sysdeps/mach/hurd/getsockname.c: Likewise.
14058         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14059         * sysdeps/mach/hurd/recvfrom.c: Likewise.
14060         * sysdeps/powerpc/bits/link.h: Likewise.
14061         * sysdeps/powerpc/dl-procinfo.c: Likewise.
14062         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14063         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14064         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14065         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14066         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14067         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14068         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14069         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14070         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14071         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14072         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14073         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14074         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14075         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14076         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14077         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14078         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14079         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14080         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14081         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14082         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14083         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14084         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14085         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14086         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14087         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14088         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14089         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14090         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14091         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14092         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14093         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14094         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14095         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14096         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14097         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14098         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14099         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14100         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14101         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14102         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14103         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14104         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14105         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14106         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14107         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14108         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14109         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14110         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14111         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14112         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14113         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14114         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14115         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14116         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14117         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14118         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14119         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14120         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14121         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14122         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14123         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14124         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14125         * sysdeps/powerpc/sysdep.h: Likewise.
14126         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14127         * sysdeps/s390/s390-64/sub_n.S: Likewise.
14128         * sysdeps/sh/dl-trampoline.S: Likewise.
14129         * sysdeps/sh/memset.S: Likewise.
14130         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14131         * sysdeps/sh/strlen.S: Likewise.
14132         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14133         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14134         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14135         * sysdeps/sparc/sparc32/rem.S: Likewise.
14136         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14137         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14138         * sysdeps/sparc/sparc32/strchr.S: Likewise.
14139         * sysdeps/sparc/sparc32/udiv.S: Likewise.
14140         * sysdeps/sparc/sparc32/urem.S: Likewise.
14141         * sysdeps/sparc/sparc64/add_n.S: Likewise.
14142         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14143         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14144         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14145         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14146         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14147         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14148         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14149         * sysdeps/unix/bsd/times.c: Likewise.
14150         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14151         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14155         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14156         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14157         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14158         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14159         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14160         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14161         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14162         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14163         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14164         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14165         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14166         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14167         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14168         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14169         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14170         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14171         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14172         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14173         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14174         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14175         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14176         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14177         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14178         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14179         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14180         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14181         * sysdeps/x86_64/strcspn.S: Likewise.
14182
14183 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14184
14185         * locale/C-translit.h: Revert #include <stdint.h> because this is a
14186         generated file.  Regenerate properly from gen-translit.pl.
14187         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
14188         locale/C-translit.h.
14189
14190 2013-06-05  Andreas Schwab  <schwab@suse.de>
14191
14192         [BZ #15100]
14193         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14194         week as 6 instead of -1.
14195         * time/tst-strptime.c (day_tests): Add test case.
14196
14197 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14198
14199         * sysdeps/generic/math_private.h
14200         (libc_feholdexcept_setround_53bit): Replace with
14201         libc_feholdsetround_53bit.
14202         (libc_feupdateenv_53bit): Replace with
14203         libc_feresetround_53bit.
14204         (SET_RESTORE_ROUND_53BIT): Adjust.
14205
14206 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14207
14208         * string/test-strchrnul.c: Add copyright header.
14209
14210         * posix/tst-getaddrinfo4.c: Increase test timeout.
14211
14212 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
14213
14214         [BZ #15536]
14215         * math/libm-test.inc (MAX_EXP): Remove
14216         (MIN_EXP): Define.
14217         (ulp): Use MIN_EXP - MANT_DIG.
14218         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14219
14220 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
14221
14222         * po/be.po: Revert last change.
14223         * po/zh_CN.po: Likewise.
14224         * po/header.pot: Likewise.
14225
14226 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14227
14228         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14229         link-libc-deps to empty as target-specific variable.
14230         * Makerules (link-libc-args): New variable.
14231         (libc-for-link): Likewise.
14232         (link-libc-deps): Likewise.
14233         (lib%.so): Depend on $(link-libc-deps).  Link with
14234         $(link-libc-args).
14235         (build-module): Link with $(link-libc-args).
14236         (build-module-asneeded): Likewise.
14237         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14238         list of objects.
14239         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14240         target-specific variable.
14241         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14242         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14243         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14244         libc.
14245         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14246         libc and ld.so.
14247         ($(objpfx)libpcprofile.so): Likewise.
14248         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14249         libc_nonshared.a.
14250         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14251         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14252         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14253         $(link-libc-deps).
14254         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14255         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14256         * login/Makefile ($(objpfx)libutil.so): Likewise.
14257         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14258         * math/Makefile ($(objpfx)libm.so): Likewise.
14259         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14260         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14261         variable instead of depending directly on libc.
14262         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14263         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14264         $(link-libc-deps).
14265         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14266         libc.
14267         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14268         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14269         ($(objpfx)libanl.so): Likewise.
14270         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14271         ld.so.
14272         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14273         $(link-libc-deps).
14274         * sysdeps/i386/fpu/Makefile: Remove file.
14275         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14276         ($(objpfx)libm.so): Remove dependency on ld.so.
14277
14278 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14279
14280         [BZ # 15553]
14281         * nis/yp_xdr.c (XDRMAXNAME): Define.
14282         (XDRMAXRECORD): Define.
14283         (xdr_domainname): Use XDRMAXNAME.
14284         (xdr_mapname): Likewise.
14285         (xdr_peername): Likewise.
14286         (xdr_keydat): Use XDRMAXRECORD.
14287         (xdr_valdat): Likewise.
14288
14289 2013-05-30  Jeff Law  <law@redhat.com>
14290
14291         [BZ #14256]
14292         * manual/errno.texi (ESTALE): Update to account for more than
14293         just NFS file systems.
14294         * sysdeps/gnu/errlist.c: Regenerated.
14295
14296 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14297
14298         [BZ #15465]
14299         * elf/Makefile (tests): Add tst-null-argv.
14300         (modules-names):  Add tst-null-argv-lib.
14301         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14302         (tst-null-argv-ENV): Set environment for tst-null-argv.
14303         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14304         (RTLD_PROGNAME): New macro.
14305         * elf/tst-null-argv.c: New test case.
14306         * elf/tst-null-argv-lib.c: Library for test case.
14307         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14308         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14309         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14310         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14311         * elf/dl-init.c (call_init): Likewise.
14312         (_dl_init): Likewise.
14313         * elf/dl-load.c (print_search_path): Likewise.
14314         (_dl_map_object): Likewise.
14315         * elf/dl-lookup.c (do_lookup_x): Likewise.
14316         (add_dependency): Likewise.
14317         (_dl_lookup_symbol_x): Likewise.
14318         (_dl_debug_bindings): Likewise.
14319         * elf/dl-open.c (_dl_show_scope): Likewise.
14320         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14321         * elf/dl-version.c (match_symbol): Likewise.
14322         (_dl_check_map_versions): Likewise.
14323         * elf/rtld.c (dl_main): Likewise.
14324         (print_unresolved): Use RTLD_PROGNAME.
14325         (print_missing_version): Likewise.
14326         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14327         (elf_machine_rela): Likewise.
14328         * sysdeps/powerpc/powerpc32/dl-machine.c
14329         (__process_machine_rela): Likewise.
14330         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14331         Likewise.
14332         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14333         Likewise.
14334         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14335         Likewise.
14336         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14337         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14338         Likewise.
14339         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14340         Likewise.
14341         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14342
14343 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14344
14345         * po/be.po: Add descriptive title.
14346         * po/zh_CN.po: Likewise.
14347         * po/header.pot: Likewise.
14348
14349 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14350
14351         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14352         error message.
14353         (enlarge_archive): Likewise.
14354
14355 2013-05-28  Ben North  <ben@redfrontdoor.org>
14356
14357         * manual/arith.texi (frexp): It is the magnitude of the return
14358         value which lies in [0.5, 1), not the return value itself.
14359
14360 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14361
14362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14363
14364 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14365
14366         * stdio-common/bug26.c (main): Correct fscanf template.
14367
14368         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14369         declare _dl_skip_args.
14370
14371         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14372         Don't declare.
14373
14374         * manual/platform.texi: Add missing @end deftypefun.
14375
14376 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14377
14378         [BZ #15529]
14379         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14380         bit of mantissa of 2^16382.
14381         * math/libm-test.inc (hypot_test_data): Add more tests.
14382
14383         * math/libm-test.inc: Add drem and pow10 to list of tested
14384         functions.
14385         (pow10_test): New function.
14386         (drem_test): Likewise.
14387         (drem_test_tonearest): Likewise.
14388         (drem_test_towardzero): Likewise.
14389         (drem_test_downward): Likewise.
14390         (drem_test_upward): Likewise.
14391         (main): Call the new functions.
14392
14393         * math/libm-test.inc (finite_test_data): Remove.
14394         (finite_test): Run tests from isfinite_test_data.
14395         (gamma_test_data): Remove.
14396         (gamma_test): Run tests from lgamma_test_data.
14397         * sysdeps/i386/fpu/libm-test-ulps: Update.
14398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14399
14400 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14401
14402         * manual/platform.texi: Add PowerPC PPR function set documentation.
14403         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14404         implementation.
14405
14406 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14407
14408         * math/libm-test.inc (MAX_EXP): Define.
14409         (ULPDIFF): Define.
14410         (ulp): New function.
14411         (check_float_internal): Use ULPDIFF.
14412         (cpow_test): Disable failing test.
14413         (check_ulp): Test ulp() implemetnation.
14414         (main): Call check_ulp before starting tests.
14415
14416 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14417
14418         * math/gen-libm-test.pl (generate_testfile): Do not handle
14419         START_DATA and END_DATA.
14420         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14421         END_DATA.
14422         (acos_tonearest_test_data): Likewise.
14423         (acos_towardzero_test_data): Likewise.
14424         (acos_downward_test_data): Likewise.
14425         (acos_upward_test_data): Likewise.
14426         (acosh_test_data): Likewise.
14427         (asin_test_data): Likewise.
14428         (asin_tonearest_test_data): Likewise.
14429         (asin_towardzero_test_data): Likewise.
14430         (asin_downward_test_data): Likewise.
14431         (asin_upward_test_data): Likewise.
14432         (asinh_test_data): Likewise.
14433         (atan_test_data): Likewise.
14434         (atanh_test_data): Likewise.
14435         (atan2_test_data): Likewise.
14436         (cabs_test_data): Likewise.
14437         (cacos_test_data): Likewise.
14438         (cacosh_test_data): Likewise.
14439         (carg_test_data): Likewise.
14440         (casin_test_data): Likewise.
14441         (casinh_test_data): Likewise.
14442         (catan_test_data): Likewise.
14443         (catanh_test_data): Likewise.
14444         (cbrt_test_data): Likewise.
14445         (ccos_test_data): Likewise.
14446         (ccosh_test_data): Likewise.
14447         (ceil_test_data): Likewise.
14448         (cexp_test_data): Likewise.
14449         (cimag_test_data): Likewise.
14450         (clog_test_data): Likewise.
14451         (clog10_test_data): Likewise.
14452         (conj_test_data): Likewise.
14453         (copysign_test_data): Likewise.
14454         (cos_test_data): Likewise.
14455         (cos_tonearest_test_data): Likewise.
14456         (cos_towardzero_test_data): Likewise.
14457         (cos_downward_test_data): Likewise.
14458         (cos_upward_test_data): Likewise.
14459         (cosh_test_data): Likewise.
14460         (cosh_tonearest_test_data): Likewise.
14461         (cosh_towardzero_test_data): Likewise.
14462         (cosh_downward_test_data): Likewise.
14463         (cosh_upward_test_data): Likewise.
14464         (cpow_test_data): Likewise.
14465         (cproj_test_data): Likewise.
14466         (creal_test_data): Likewise.
14467         (csin_test_data): Likewise.
14468         (csinh_test_data): Likewise.
14469         (csqrt_test_data): Likewise.
14470         (ctan_test_data): Likewise.
14471         (ctan_tonearest_test_data): Likewise.
14472         (ctan_towardzero_test_data): Likewise.
14473         (ctan_downward_test_data): Likewise.
14474         (ctan_upward_test_data): Likewise.
14475         (ctanh_test_data): Likewise.
14476         (ctanh_tonearest_test_data): Likewise.
14477         (ctanh_towardzero_test_data): Likewise.
14478         (ctanh_downward_test_data): Likewise.
14479         (ctanh_upward_test_data): Likewise.
14480         (erf_test_data): Likewise.
14481         (erfc_test_data): Likewise.
14482         (exp_test_data): Likewise.
14483         (exp_tonearest_test_data): Likewise.
14484         (exp_towardzero_test_data): Likewise.
14485         (exp_downward_test_data): Likewise.
14486         (exp_upward_test_data): Likewise.
14487         (exp10_test_data): Likewise.
14488         (exp2_test_data): Likewise.
14489         (expm1_test_data): Likewise.
14490         (fabs_test_data): Likewise.
14491         (fdim_test_data): Likewise.
14492         (finite_test_data): Likewise.
14493         (floor_test_data): Likewise.
14494         (fma_test_data): Likewise.
14495         (fma_towardzero_test_data): Likewise.
14496         (fma_downward_test_data): Likewise.
14497         (fma_upward_test_data): Likewise.
14498         (fmax_test_data): Likewise.
14499         (fmin_test_data): Likewise.
14500         (fmod_test_data): Likewise.
14501         (fpclassify_test_data): Likewise.
14502         (frexp_test_data): Likewise.
14503         (gamma_test_data): Likewise.
14504         (hypot_test_data): Likewise.
14505         (ilogb_test_data): Likewise.
14506         (isfinite_test_data): Likewise.
14507         (isgreater_test_data): Likewise.
14508         (isgreaterequal_test_data): Likewise.
14509         (isinf_test_data): Likewise.
14510         (isless_test_data): Likewise.
14511         (islessequal_test_data): Likewise.
14512         (islessgreater_test_data): Likewise.
14513         (isnan_test_data): Likewise.
14514         (isnormal_test_data): Likewise.
14515         (issignaling_test_data): Likewise.
14516         (isunordered_test_data): Likewise.
14517         (j0_test_data): Likewise.
14518         (j1_test_data): Likewise.
14519         (jn_test_data): Likewise.
14520         (ldexp_test_data): Likewise.
14521         (lgamma_test_data): Likewise.
14522         (lrint_test_data): Likewise.
14523         (lrint_tonearest_test_data): Likewise.
14524         (lrint_towardzero_test_data): Likewise.
14525         (lrint_downward_test_data): Likewise.
14526         (lrint_upward_test_data): Likewise.
14527         (llrint_test_data): Likewise.
14528         (llrint_tonearest_test_data): Likewise.
14529         (llrint_towardzero_test_data): Likewise.
14530         (llrint_downward_test_data): Likewise.
14531         (llrint_upward_test_data): Likewise.
14532         (log_test_data): Likewise.
14533         (log10_test_data): Likewise.
14534         (log1p_test_data): Likewise.
14535         (log2_test_data): Likewise.
14536         (logb_test_data): Likewise.
14537         (logb_downward_test_data): Likewise.
14538         (lround_test_data): Likewise.
14539         (llround_test_data): Likewise.
14540         (modf_test_data): Likewise.
14541         (nearbyint_test_data): Likewise.
14542         (nextafter_test_data): Likewise.
14543         (nexttoward_test_data): Likewise.
14544         (pow_test_data): Likewise.
14545         (pow_tonearest_test_data): Likewise.
14546         (pow_towardzero_test_data): Likewise.
14547         (pow_downward_test_data): Likewise.
14548         (pow_upward_test_data): Likewise.
14549         (remainder_test_data): Likewise.
14550         (remainder_tonearest_test_data): Likewise.
14551         (remainder_towardzero_test_data): Likewise.
14552         (remainder_downward_test_data): Likewise.
14553         (remainder_upward_test_data): Likewise.
14554         (remquo_test_data): Likewise.
14555         (rint_test_data): Likewise.
14556         (rint_tonearest_test_data): Likewise.
14557         (rint_towardzero_test_data): Likewise.
14558         (rint_downward_test_data): Likewise.
14559         (rint_upward_test_data): Likewise.
14560         (round_test_data): Likewise.
14561         (scalb_test_data): Likewise.
14562         (scalbn_test_data): Likewise.
14563         (scalbln_test_data): Likewise.
14564         (signbit_test_data): Likewise.
14565         (sin_test_data): Likewise.
14566         (sin_tonearest_test_data): Likewise.
14567         (sin_towardzero_test_data): Likewise.
14568         (sin_downward_test_data): Likewise.
14569         (sin_upward_test_data): Likewise.
14570         (sincos_test_data): Likewise.
14571         (sinh_test_data): Likewise.
14572         (sinh_tonearest_test_data): Likewise.
14573         (sinh_towardzero_test_data): Likewise.
14574         (sinh_downward_test_data): Likewise.
14575         (sinh_upward_test_data): Likewise.
14576         (sqrt_test_data): Likewise.
14577         (tan_test_data): Likewise.
14578         (tan_tonearest_test_data): Likewise.
14579         (tan_towardzero_test_data): Likewise.
14580         (tan_downward_test_data): Likewise.
14581         (tan_upward_test_data): Likewise.
14582         (tanh_test_data): Likewise.
14583         (tgamma_test_data): Likewise.
14584         (trunc_test_data): Likewise.
14585         (y0_test_data): Likewise.
14586         (y1_test_data): Likewise.
14587         (yn_test_data): Likewise.
14588         (significand_test_data): Likewise.
14589
14590         * math/gen-libm-test.pl (@functions): Remove variable.
14591         (generate_testfile): Don't handle START and END lines.
14592         * math/libm-test.inc (START): New macro.
14593         (END): Likewise.
14594         (END_COMPLEX): Likewise.
14595         (acos_test): Use END macro without arguments.
14596         (acos_test_tonearest): Likewise.
14597         (acos_test_towardzero): Likewise.
14598         (acos_test_downward): Likewise.
14599         (acos_test_upward): Likewise.
14600         (acosh_test): Likewise.
14601         (asin_test): Likewise.
14602         (asin_test_tonearest): Likewise.
14603         (asin_test_towardzero): Likewise.
14604         (asin_test_downward): Likewise.
14605         (asin_test_upward): Likewise.
14606         (asinh_test): Likewise.
14607         (atan_test): Likewise.
14608         (atanh_test): Likewise.
14609         (atan2_test): Likewise.
14610         (cabs_test): Likewise.
14611         (cacos_test): Use END_COMPLEX macro without arguments.
14612         (cacosh_test): Likewise.
14613         (carg_test): Use END macro without arguments.
14614         (casin_test): Use END_COMPLEX macro without arguments.
14615         (casinh_test): Likewise.
14616         (catan_test): Likewise.
14617         (catanh_test): Likewise.
14618         (cbrt_test): Use END macro without arguments.
14619         (ccos_test): Use END_COMPLEX macro without arguments.
14620         (ccosh_test): Likewise.
14621         (ceil_test): Use END macro without arguments.
14622         (cexp_test): Use END_COMPLEX macro without arguments.
14623         (cimag_test): Use END macro without arguments.
14624         (clog_test): Use END_COMPLEX macro without arguments.
14625         (clog10_test): Likewise.
14626         (conj_test): Likewise.
14627         (copysign_test): Use END macro without arguments.
14628         (cos_test): Likewise.
14629         (cos_test_tonearest): Likewise.
14630         (cos_test_towardzero): Likewise.
14631         (cos_test_downward): Likewise.
14632         (cos_test_upward): Likewise.
14633         (cosh_test): Likewise.
14634         (cosh_test_tonearest): Likewise.
14635         (cosh_test_towardzero): Likewise.
14636         (cosh_test_downward): Likewise.
14637         (cosh_test_upward): Likewise.
14638         (cpow_test): Use END_COMPLEX macro without arguments.
14639         (cproj_test): Likewise.
14640         (creal_test): Use END macro without arguments.
14641         (csin_test): Use END_COMPLEX macro without arguments.
14642         (csinh_test): Likewise.
14643         (csqrt_test): Likewise.
14644         (ctan_test): Likewise.
14645         (ctan_test_tonearest): Likewise.
14646         (ctan_test_towardzero): Likewise.
14647         (ctan_test_downward): Likewise.
14648         (ctan_test_upward): Likewise.
14649         (ctanh_test): Likewise.
14650         (ctanh_test_tonearest): Likewise.
14651         (ctanh_test_towardzero): Likewise.
14652         (ctanh_test_downward): Likewise.
14653         (ctanh_test_upward): Likewise.
14654         (erf_test): Use END macro without arguments.
14655         (erfc_test): Likewise.
14656         (exp_test): Likewise.
14657         (exp_test_tonearest): Likewise.
14658         (exp_test_towardzero): Likewise.
14659         (exp_test_downward): Likewise.
14660         (exp_test_upward): Likewise.
14661         (exp10_test): Likewise.
14662         (exp2_test): Likewise.
14663         (expm1_test): Likewise.
14664         (fabs_test): Likewise.
14665         (fdim_test): Likewise.
14666         (finite_test): Likewise.
14667         (floor_test): Likewise.
14668         (fma_test): Likewise.
14669         (fma_test_towardzero): Likewise.
14670         (fma_test_downward): Likewise.
14671         (fma_test_upward): Likewise.
14672         (fmax_test): Likewise.
14673         (fmin_test): Likewise.
14674         (fmod_test): Likewise.
14675         (fpclassify_test): Likewise.
14676         (frexp_test): Likewise.
14677         (gamma_test): Likewise.
14678         (hypot_test): Likewise.
14679         (ilogb_test): Likewise.
14680         (isfinite_test): Likewise.
14681         (isgreater_test): Likewise.
14682         (isgreaterequal_test): Likewise.
14683         (isinf_test): Likewise.
14684         (isless_test): Likewise.
14685         (islessequal_test): Likewise.
14686         (islessgreater_test): Likewise.
14687         (isnan_test): Likewise.
14688         (isnormal_test): Likewise.
14689         (issignaling_test): Likewise.
14690         (isunordered_test): Likewise.
14691         (j0_test): Likewise.
14692         (j1_test): Likewise.
14693         (jn_test): Likewise.
14694         (ldexp_test): Likewise.
14695         (lgamma_test): Likewise.
14696         (lrint_test): Likewise.
14697         (lrint_test_tonearest): Likewise.
14698         (lrint_test_towardzero): Likewise.
14699         (lrint_test_downward): Likewise.
14700         (lrint_test_upward): Likewise.
14701         (llrint_test): Likewise.
14702         (llrint_test_tonearest): Likewise.
14703         (llrint_test_towardzero): Likewise.
14704         (llrint_test_downward): Likewise.
14705         (llrint_test_upward): Likewise.
14706         (log_test): Likewise.
14707         (log10_test): Likewise.
14708         (log1p_test): Likewise.
14709         (log2_test): Likewise.
14710         (logb_test): Likewise.
14711         (logb_test_downward): Likewise.
14712         (lround_test): Likewise.
14713         (llround_test): Likewise.
14714         (modf_test): Likewise.
14715         (nearbyint_test): Likewise.
14716         (nextafter_test): Likewise.
14717         (nexttoward_test): Likewise.
14718         (pow_test): Likewise.
14719         (pow_test_tonearest): Likewise.
14720         (pow_test_towardzero): Likewise.
14721         (pow_test_downward): Likewise.
14722         (pow_test_upward): Likewise.
14723         (remainder_test): Likewise.
14724         (remainder_test_tonearest): Likewise.
14725         (remainder_test_towardzero): Likewise.
14726         (remainder_test_downward): Likewise.
14727         (remainder_test_upward): Likewise.
14728         (remquo_test): Likewise.
14729         (rint_test): Likewise.
14730         (rint_test_tonearest): Likewise.
14731         (rint_test_towardzero): Likewise.
14732         (rint_test_downward): Likewise.
14733         (rint_test_upward): Likewise.
14734         (round_test): Likewise.
14735         (scalb_test): Likewise.
14736         (scalbn_test): Likewise.
14737         (scalbln_test): Likewise.
14738         (signbit_test): Likewise.
14739         (sin_test): Likewise.
14740         (sin_test_tonearest): Likewise.
14741         (sin_test_towardzero): Likewise.
14742         (sin_test_downward): Likewise.
14743         (sin_test_upward): Likewise.
14744         (sincos_test): Likewise.
14745         (sinh_test): Likewise.
14746         (sinh_test_tonearest): Likewise.
14747         (sinh_test_towardzero): Likewise.
14748         (sinh_test_downward): Likewise.
14749         (sinh_test_upward): Likewise.
14750         (sqrt_test): Likewise.
14751         (tan_test): Likewise.
14752         (tan_test_tonearest): Likewise.
14753         (tan_test_towardzero): Likewise.
14754         (tan_test_downward): Likewise.
14755         (tan_test_upward): Likewise.
14756         (tanh_test): Likewise.
14757         (tgamma_test): Likewise.
14758         (trunc_test): Likewise.
14759         (y0_test): Likewise.
14760         (y1_test): Likewise.
14761         (yn_test): Likewise.
14762         (significand_test): Likewise.
14763
14764 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
14765
14766         [BZ #15381]
14767         * libio/genops.c (_IO_no_init): Initialize wide struct info.
14768
14769 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14770
14771         [BZ #14894]
14772         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14773         __ppc_mdoio and __ppc_mdoom.
14774         * manual/platform.texi: Document new functions __ppc_yield,
14775         __ppc_mdoio and __ppc_mdoom.
14776
14777 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
14778
14779         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14780         (main): Mention "tls" pseudo-hwcap is legacy.
14781         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14782
14783 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14784
14785         * math/gen-libm-test.pl (parse_args): Output only string of
14786         arguments as text for test name, not full call or descriptions of
14787         tests for extra outputs.
14788         (generate_testfile): Do not pass function name to parse_args.
14789         Generate this_func variable from START.
14790         * math/libm-test.inc (struct test_f_f_data): Rename test_name
14791         field to arg_str.
14792         (struct test_ff_f_data): Likewise.
14793         (test_ff_f_data_nexttoward): Likewise.
14794         (struct test_fi_f_data): Likewise.
14795         (struct test_fl_f_data): Likewise.
14796         (struct test_if_f_data): Likewise.
14797         (struct test_fff_f_data): Likewise.
14798         (struct test_c_f_data): Likewise.
14799         (struct test_f_f1_data): Likewise.  Remove field extra_name.
14800         (struct test_fF_f1_data): Likewise.
14801         (struct test_ffI_f1_data): Likewise.
14802         (struct test_c_c_data): Rename test_name field to arg_str.
14803         (struct test_cc_c_data): Likewise.
14804         (struct test_f_i_data): Likewise.
14805         (struct test_ff_i_data): Likewise.
14806         (struct test_f_l_data): Likewise.
14807         (struct test_f_L_data): Likewise.
14808         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
14809         and extra2_name.
14810         (COMMON_TEST_SETUP): New macro.
14811         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14812         (COMMON_TEST_CLEANUP): Likewise.
14813         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14814         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
14815         macros.
14816         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14817         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
14818         macros.
14819         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14820         (RUN_TEST_fff_f): Take argument string.  Call new setup and
14821         cleanup macros.
14822         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14823         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
14824         macros.
14825         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14826         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
14827         macros.
14828         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14829         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
14830         cleanup macros.
14831         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14832         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
14833         cleanup macros.
14834         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14835         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
14836         cleanup macros.
14837         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14838         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
14839         macros.
14840         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14841         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
14842         macros.
14843         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14844         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
14845         macros.
14846         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14847         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
14848         cleanup macros.
14849         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14850         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
14851         cleanup macros.
14852         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14853         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
14854         macros.
14855         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14856         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
14857         cleanup macros.
14858         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14859         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
14860         macros.
14861         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14862         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14863         macros.
14864         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14865         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14866         cleanup macros.
14867         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14868
14869 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14870
14871         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14872         to _sifields.sigfault.
14873         (si_addr_lsb): Define new macro.
14874         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14875         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14876         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14877
14878 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14879
14880         [BZ #15441]
14881         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14882         returns -1.
14883         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14884         null return -1.
14885         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14886         loading the domain.
14887
14888 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14889
14890         * math/gen-libm-test.pl (parse_args): Do not include expected
14891         result in test name.
14892         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14893         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14894         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14895         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14896         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14898
14899 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14900
14901         * benchtests/Makefile: Sort function entries.
14902
14903         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14904         tanh, asinh, acosh, atanh.
14905         * benchtests/acos-inputs: New file.
14906         * benchtests/acosh-inputs: New file.
14907         * benchtests/asin-inputs: New file.
14908         * benchtests/asinh-inputs: New file.
14909         * benchtests/atanh-inputs: New file.
14910         * benchtests/cosh-inputs: New file.
14911         * benchtests/log-inputs: New file.
14912         * benchtests/sinh-inputs: New file.
14913         * benchtests/tanh-inputs: New file.
14914
14915 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14916
14917         [BZ #15339]
14918         * posix/tst-getaddrinfo4.c: New test.
14919         * posix/Makefile (tests): Add it.
14920
14921 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14922
14923         [BZ #15339]
14924         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14925         when no services were used.
14926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14927         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14928
14929 2013-05-21  Andreas Schwab  <schwab@suse.de>
14930
14931         [BZ #15014]
14932         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14933         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14934         successful.
14935         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14936         redundant variable declarations and reallocation of buffer when
14937         parsing as IPv6 address.  Always set NSS status when called from
14938         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14939         buffer too small.  Correct computation of needed size.
14940         * nss/Makefile (tests): Add test-digits-dots.
14941         * nss/test-digits-dots.c: New test.
14942
14943 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14944
14945         * benchtests/Makefile: Remove instructions for adding
14946         benchmark tests.
14947         * benchtests/README: New file to explain how to execute and
14948         enhance the benchmark tests.
14949
14950 2013-05-21  Andreas Schwab  <schwab@suse.de>
14951
14952         [BZ #15493]
14953         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14954         * setjmp/tst-sigsetjmp.c: New test.
14955
14956 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14957
14958         * sysdeps/x86_64/memset.S (memset): New implementation.
14959         (__bzero): Likewise.
14960         (__memset_tail): New function.
14961
14962 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14963
14964         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14965         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14966         __memcpy_sse2_unaligned ifunc selection.
14967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14968         Add memcpy-sse2-unaligned.S.
14969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14970         Add: __memcpy_sse2_unaligned.
14971
14972 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
14973
14974         [BZ #15490]
14975         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14976         math_force_eval before restoring floating-point envrionment.
14977         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14978         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14979         Likewise.
14980         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14981         <math_private.h>.
14982         (__nearbyintl): Use math_force_eval before restoring
14983         floating-point environment.
14984         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14985
14986         * math/gen-libm-test.pl (special_functions): Remove.
14987         (parse_args): Don't handle TEST_extra.  Handle functions with no
14988         return value.
14989         * math/libm-test.inc (struct test_sincos_data): Replace with
14990         struct test_fFF_11_data.
14991         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14992         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14993         (sincos_test_data): Change element type to struct
14994         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
14995         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14996         RUN_TEST_LOOP_sincos.
14997         * math/README.libm-test: Don't mention special handling of
14998         individual functions.
14999         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15000         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15001         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15002         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15003         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15005
15006         * math/gen-libm-test.pl (get_variable): Remove function.
15007         (parse_args): Don't show pointer parameters to call in test
15008         names.  Use "extra output N" in test names for extra outputs
15009         rather than naming variables.
15010
15011 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
15012
15013         [BZ #15488]
15014         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15015         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15016         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15017         double tests.
15018         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15019         disable.
15020         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15021         check_long_double.
15022
15023         * math/gen-libm-test.pl (@tests): Remove variable.
15024         ($count): Likewise.
15025         (new_test): Remove function.
15026         (show_exceptions): New function.
15027         (special_functions): Use show_exceptions instead of new_test.
15028         (parse_args): Likewise.
15029         (generate_testfile): Pass only function name in generated call to
15030         print_max_error or print_complex_max_error.
15031         (get_ulps): Do not handle complex tests specially.
15032         (output_test): Rename to ...
15033         (get_all_ulps_for_test): ... this.  Return a string rather than
15034         printing to a file.  Require ulps to be present.
15035         (output_ulps): Generate arrays rather than #defines.
15036         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15037         (struct ulp_data): New type.
15038         (BUILD_COMPLEX_ULP): Remove macro.
15039         (compare_ulp_data): New function.
15040         (find_ulps): Likewise.
15041         (find_test_ulps): Likewise.
15042         (find_function_ulps): Likewise.
15043         (find_complex_function_ulps): Likewise.
15044         (print_max_error): Determine allowed ulps using
15045         find_function_ulps.
15046         (print_complex_max_error): Determine allowed ulps using
15047         find_complex_function_ulps.
15048         (check_float_internal): Determine max ulps using find_test_ulps.
15049         (check_float): Do not take max_ulp parameter.  Update call to
15050         check_float_internal.
15051         (check_complex): Likewise.
15052         (check_int): Do not take max_ulp parameter.
15053         (check_long): Likewise.
15054         (check_bool): Likewise.
15055         (check_longlong): Likewise.
15056         (struct test_f_f_data): Remove max_ulp field.
15057         (struct test_ff_f_data): Likewise.
15058         (struct test_ff_f_data_nexttoward): Likewise.
15059         (struct test_fi_f_data): Likewise.
15060         (struct test_fl_f_data): Likewise.
15061         (struct test_if_f_data): Likewise.
15062         (struct test_fff_f_data): Likewise.
15063         (struct test_c_f_data): Likewise.
15064         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15065         (struct test_fF_f1_data): Likewise.
15066         (struct test_ffI_f1_data): Likewise.
15067         (struct test_c_c_data): Remove max_ulp field.
15068         (struct test_cc_c_data): Likewise.
15069         (struct test_f_i_data): Likewise.
15070         (struct test_ff_i_data): Likewise.
15071         (struct test_f_l_data): Likewise.
15072         (struct test_f_L_data): Likewise.
15073         (struct test_sincos_data): Likewise.
15074         (RUN_TEST_f_f): Do not handle ulps.
15075         (RUN_TEST_LOOP_f_f): Likewise.
15076         (RUN_TEST_2_f): Likewise.
15077         (RUN_TEST_LOOP_2_f): Likewise.
15078         (RUN_TEST_fff_f): Likewise.
15079         (RUN_TEST_LOOP_fff_f): Likewise.
15080         (RUN_TEST_c_f): Likewise.
15081         (RUN_TEST_LOOP_c_f): Likewise.
15082         (RUN_TEST_f_f1): Likewise.
15083         (RUN_TEST_LOOP_f_f1): Likewise.
15084         (RUN_TEST_fF_f1): Likewise.
15085         (RUN_TEST_LOOP_fF_f1): Likewise.
15086         (RUN_TEST_fI_f1): Likewise.
15087         (RUN_TEST_LOOP_fI_f1): Likewise.
15088         (RUN_TEST_ffI_f1): Likewise.
15089         (RUN_TEST_LOOP_ffI_f1): Likewise.
15090         (RUN_TEST_c_c): Likewise.
15091         (RUN_TEST_LOOP_c_c): Likewise.
15092         (RUN_TEST_cc_c): Likewise.
15093         (RUN_TEST_LOOP_cc_c): Likewise.
15094         (RUN_TEST_f_i): Likewise.
15095         (RUN_TEST_LOOP_f_i): Likewise.
15096         (RUN_TEST_f_i_tg): Likewise.
15097         (RUN_TEST_LOOP_f_i_tg): Likewise.
15098         (RUN_TEST_ff_i_tg): Likewise.
15099         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15100         (RUN_TEST_f_b): Likewise.
15101         (RUN_TEST_LOOP_f_b): Likewise.
15102         (RUN_TEST_f_b_tg): Likewise.
15103         (RUN_TEST_LOOP_f_b_tg): Likewise.
15104         (RUN_TEST_f_l): Likewise.
15105         (RUN_TEST_LOOP_f_l): Likewise.
15106         (RUN_TEST_f_L): Likewise.
15107         (RUN_TEST_LOOP_f_L): Likewise.
15108         (RUN_TEST_sincos): Likewise.
15109         (RUN_TEST_LOOP_sincos): Likewise.
15110
15111 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
15112
15113         [BZ #15480]
15114         [BZ #15485]
15115         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15116         main case of finite arguments, set rounding mode to FE_TONEAREST
15117         and discard exceptions.
15118         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15119         exceptions.
15120         (remainder_tonearest_test_data): New variable.
15121         (remainder_test_tonearest): New function.
15122         (remainder_towardzero_test_data): New variable.
15123         (remainder_test_towardzero): New function.
15124         (remainder_downward_test_data): New variable.
15125         (remainder_test_downward): New function.
15126         (remainder_upward_test_data): New variable.
15127         (remainder_test_upward): New function.
15128         (main): Call the new test functions.
15129
15130         * math/libm-test.inc (struct test_f_f1_data): Remove field
15131         extra_init.
15132         (struct test_fF_f1_data): Likewise.
15133         (struct test_ffI_f1_data): Likewise.
15134         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
15135         based on value of EXTRA_EXPECTED.
15136         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15137         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
15138         EXTRA_VAR based on value of EXTRA_EXPECTED.
15139         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15140         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
15141         EXTRA_VAR based on value of EXTRA_EXPECTED.
15142         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15143         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
15144         EXTRA_VAR based on value of EXTRA_EXPECTED.
15145         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15146         * math/gen-libm-test.pl (parse_args): Don't output initializers
15147         for extra output values.
15148
15149         * math/libm-test.inc (check_int): Expect result to be exactly
15150         equal to expected value and do not handle ulps.
15151         (check_long): Likewise.
15152         (check_longlong): Likewise.
15153
15154         * math/libm-test.inc (ceil_test_data): Test for "inexact"
15155         exceptions.
15156         (cimag_test_data): Likewise.
15157         (conj_test_data): Likewise.
15158         (copysign_test_data): Likewise.
15159         (cproj_test_data): Likewise.
15160         (creal_test_data): Likewise.
15161         (fabs_test_data): Likewise.
15162         (fdim_test_data): Likewise.
15163         (finite_test_data): Likewise.
15164         (floor_test_data): Likewise.
15165         (fmax_test_data): Likewise.
15166         (fmin_test_data): Likewise.
15167         (fmod_test_data): Likewise.
15168         (fpclassify_test_data): Likewise.
15169         (frexp_test_data): Likewise.
15170         (ilogb_test_data): Likewise.
15171         (isfinite_test_data): Likewise.
15172         (isgreater_test_data): Likewise.
15173         (isgreaterequal_test_data): Likewise.
15174         (isinf_test_data): Likewise.
15175         (isless_test_data): Likewise.
15176         (islessequal_test_data): Likewise.
15177         (islessgreater_test_data): Likewise.
15178         (isnan_test_data): Likewise.
15179         (isnormal_test_data): Likewise.
15180         (issignaling_test_data): Likewise.
15181         (isunordered_test_data): Likewise.
15182         (ldexp_test_data): Likewise.
15183         (lrint_test_data): Likewise.
15184         (lrint_test_data) [TEST_FLOAT]: Disable one test.
15185         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15186         (lrint_tonearest_test_data): Test for "inexact" exceptions.
15187         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15188         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15189         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15190         test input.
15191         (lrint_towardzero_test_data): Test for "inexact" exceptions.
15192         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15193         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15194         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15195         that test input.
15196         (lrint_downward_test_data): Test for "inexact" exceptions.
15197         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15198         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15199         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15200         test input.
15201         (lrint_upward_test_data): Test for "inexact" exceptions.
15202         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15203         test input.
15204         (llrint_test_data): Test for "inexact" exceptions.
15205         (llrint_test_data) [TEST_FLOAT]: Disable one test.
15206         (llrint_tonearest_test_data): Test for "inexact" exceptions.
15207         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15208         (llrint_towardzero_test_data): Test for "inexact" exceptions.
15209         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15210         (llrint_downward_test_data): Test for "inexact" exceptions.
15211         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15212         (llrint_upward_test_data): Test for "inexact" exceptions.
15213         (logb_test_data): Likewise.
15214         (logb_downward_test_data): Likewise.
15215         (nextafter_test_data): Likewise.
15216         (nexttoward_test_data): Likewise.
15217         (remainder_test_data): Likewise.
15218         (remquo_test_data): Likewise.
15219         (scalbn_test_data): Likewise.
15220         (scalbln_test_data): Likewise.
15221         (signbit_test_data): Likewise.
15222         (sqrt_test_data): Likewise.
15223         (significand_test_data): Likewise.
15224
15225 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15226
15227         [BZ #15424]
15228         * benchtests/bench-modf.c (struct args): Mark arg0 as
15229         volatile.
15230         * scripts/bench.pl: Mark members of struct args as volatile.
15231
15232 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15233
15234         [BZ # 15497]
15235         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15236         negative infinity on POWER6 or lower.
15237         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15238
15239 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15240
15241         [BZ #15442]
15242         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15243         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15244         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15245         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15246         (_FP_SETQNAN): New macro.
15247         (_FP_SETQNAN_SEMIRAW): Likewise.
15248         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15249         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15250         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15251         (FP_EXTEND): Use _FP_FRAC_SNANP.
15252         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15253         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15254         into account.
15255         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15256         New macro.
15257         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15258         Likewise.
15259
15260 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15261
15262         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15263         with DIVIDE_BY_ZERO_EXCEPTION.
15264         (gamma_test_data): Likewise.
15265         (lgamma_test_data): Likewise.
15266         (log_test_data): Likewise.
15267         (log10_test_data): Likewise.
15268         (log2_test_data): Likewise.
15269         (tgamma_test_data): Likewise.
15270
15271         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15272         (acos_test_tonearest): Likewise.
15273         (acos_test_towardzero): Likewise.
15274         (acos_test_downward): Likewise.
15275         (acos_test_upward): Likewise.
15276         (acosh_test): Likewise.
15277         (asin_test): Likewise.
15278         (asin_test_tonearest): Likewise.
15279         (asin_test_towardzero): Likewise.
15280         (asin_test_downward): Likewise.
15281         (asin_test_upward): Likewise.
15282         (asinh_test): Likewise.
15283         (atan_test): Likewise.
15284         (atanh_test): Likewise.
15285         (atan2_test): Likewise.
15286         (cabs_test): Likewise.
15287         (cacos_test): Likewise.
15288         (cacosh_test): Likewise.
15289         (casin_test): Likewise.
15290         (casinh_test): Likewise.
15291         (catan_test): Likewise.
15292         (catanh_test): Likewise.
15293         (cbrt_test): Likewise.
15294         (ccos_test): Likewise.
15295         (ccosh_test): Likewise.
15296         (cexp_test): Likewise.
15297         (clog_test): Likewise.
15298         (clog10_test): Likewise.
15299         (cos_test): Likewise.
15300         (cos_test_tonearest): Likewise.
15301         (cos_test_towardzero): Likewise.
15302         (cos_test_downward): Likewise.
15303         (cos_test_upward): Likewise.
15304         (cosh_test): Likewise.
15305         (cosh_test_tonearest): Likewise.
15306         (cosh_test_towardzero): Likewise.
15307         (cosh_test_downward): Likewise.
15308         (cosh_test_upward): Likewise.
15309         (cpow_test): Likewise.
15310         (csin_test): Likewise.
15311         (csinh_test): Likewise.
15312         (csqrt_test): Likewise.
15313         (ctan_test): Likewise.
15314         (ctan_test_tonearest): Likewise.
15315         (ctan_test_towardzero): Likewise.
15316         (ctan_test_downward): Likewise.
15317         (ctan_test_upward): Likewise.
15318         (ctanh_test): Likewise.
15319         (ctanh_test_tonearest): Likewise.
15320         (ctanh_test_towardzero): Likewise.
15321         (ctanh_test_downward): Likewise.
15322         (ctanh_test_upward): Likewise.
15323         (erf_test): Likewise.
15324         (erfc_test): Likewise.
15325         (exp_test): Likewise.
15326         (exp_test_tonearest): Likewise.
15327         (exp_test_towardzero): Likewise.
15328         (exp_test_downward): Likewise.
15329         (exp_test_upward): Likewise.
15330         (exp10_test): Likewise.
15331         (exp2_test): Likewise.
15332         (expm1_test): Likewise.
15333         (fmod_test): Likewise.
15334         (gamma_test): Likewise.
15335         (hypot_test): Likewise.
15336         (j0_test): Likewise.
15337         (j1_test): Likewise.
15338         (jn_test): Likewise.
15339         (lgamma_test): Likewise.
15340         (log_test): Likewise.
15341         (log10_test): Likewise.
15342         (log1p_test): Likewise.
15343         (log2_test): Likewise.
15344         (logb_test_downward): Likewise.
15345         (pow_test): Likewise.
15346         (pow_test_tonearest): Likewise.
15347         (pow_test_towardzero): Likewise.
15348         (pow_test_downward): Likewise.
15349         (pow_test_upward): Likewise.
15350         (remainder_test): Likewise.
15351         (remquo_test): Likewise.
15352         (sin_test): Likewise.
15353         (sin_test_tonearest): Likewise.
15354         (sin_test_towardzero): Likewise.
15355         (sin_test_downward): Likewise.
15356         (sin_test_upward): Likewise.
15357         (sincos_test): Likewise.
15358         (sinh_test): Likewise.
15359         (sinh_test_tonearest): Likewise.
15360         (sinh_test_towardzero): Likewise.
15361         (sinh_test_downward): Likewise.
15362         (sinh_test_upward): Likewise.
15363         (sqrt_test): Likewise.
15364         (tan_test): Likewise.
15365         (tan_test_tonearest): Likewise.
15366         (tan_test_towardzero): Likewise.
15367         (tan_test_downward): Likewise.
15368         (tan_test_upward): Likewise.
15369         (tanh_test): Likewise.
15370         (tgamma_test): Likewise.
15371         (y0_test): Likewise.
15372         (y1_test): Likewise.
15373         (yn_test): Likewise.
15374
15375         * math/gen-libm-test.pl (adjust_arg): Remove function.
15376         (special_function): Remove argument $in_func.  Only handle
15377         generating output for tables of tests, not inside functions.
15378         (parse_args): Likewise.
15379         (generate_testfile): Remove variable $in_func.  Update call to
15380         parse_args.
15381         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15382         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15383         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15384         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15385         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15386         (MAX_VALUE_INIT): Rename macro to max_value.
15387         (MIN_VALUE_INIT): Rename macro to min_value.
15388         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15389         (plus_zero): Remove variable.
15390         (minus_zero): Likewise.
15391         (plus_infty): Likewise.
15392         (minus_infty): Likewise.
15393         (qnan_value): Likewise.
15394         (max_value): Likewise.
15395         (min_value): Likewise.
15396         (min_subnorm_value): Likewise.
15397
15398 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15399
15400         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15401         uint64_t or uint32_t usage.
15402         * crypt/sha256-block.c: Likewise.
15403         * crypt/sha256-crypt.c: Likewise.
15404         * crypt/sha256.c: Likewise.
15405         * crypt/sha512-block.c: Likewise.
15406         * crypt/sha512-crypt.c: Likewise.
15407         * crypt/sha512.c: Likewise.
15408         * debug/backtrace-tst.c: Likewise.
15409         * debug/pcprofiledump.c: Likewise.
15410         * elf/cache.c: Likewise.
15411         * elf/dl-cache.c: Likewise.
15412         * elf/dl-misc.c: Likewise.
15413         * elf/dl-profile.c: Likewise.
15414         * elf/dl-support.c: Likewise.
15415         * elf/ldconfig.c: Likewise.
15416         * elf/sprof.c: Likewise.
15417         * iconv/dummy-repertoire.c: Likewise.
15418         * iconv/iconv_charmap.c: Likewise.
15419         * iconv/skeleton.c: Likewise.
15420         * iconvdata/8bit-generic.c: Likewise.
15421         * iconvdata/cp737.h: Likewise.
15422         * iconvdata/cp775.h: Likewise.
15423         * iconvdata/ibm1008.h: Likewise.
15424         * iconvdata/ibm1025.h: Likewise.
15425         * iconvdata/ibm1046.h: Likewise.
15426         * iconvdata/ibm1097.h: Likewise.
15427         * iconvdata/ibm1112.h: Likewise.
15428         * iconvdata/ibm1122.h: Likewise.
15429         * iconvdata/ibm1123.h: Likewise.
15430         * iconvdata/ibm1124.h: Likewise.
15431         * iconvdata/ibm1129.h: Likewise.
15432         * iconvdata/ibm1130.h: Likewise.
15433         * iconvdata/ibm1132.h: Likewise.
15434         * iconvdata/ibm1133.h: Likewise.
15435         * iconvdata/ibm1137.h: Likewise.
15436         * iconvdata/ibm1140.h: Likewise.
15437         * iconvdata/ibm1141.h: Likewise.
15438         * iconvdata/ibm1142.h: Likewise.
15439         * iconvdata/ibm1143.h: Likewise.
15440         * iconvdata/ibm1144.h: Likewise.
15441         * iconvdata/ibm1145.h: Likewise.
15442         * iconvdata/ibm1146.h: Likewise.
15443         * iconvdata/ibm1147.h: Likewise.
15444         * iconvdata/ibm1148.h: Likewise.
15445         * iconvdata/ibm1149.h: Likewise.
15446         * iconvdata/ibm1153.h: Likewise.
15447         * iconvdata/ibm1154.h: Likewise.
15448         * iconvdata/ibm1155.h: Likewise.
15449         * iconvdata/ibm1156.h: Likewise.
15450         * iconvdata/ibm1157.h: Likewise.
15451         * iconvdata/ibm1158.h: Likewise.
15452         * iconvdata/ibm1160.h: Likewise.
15453         * iconvdata/ibm1161.h: Likewise.
15454         * iconvdata/ibm1162.h: Likewise.
15455         * iconvdata/ibm1163.h: Likewise.
15456         * iconvdata/ibm1164.h: Likewise.
15457         * iconvdata/ibm1166.h: Likewise.
15458         * iconvdata/ibm1167.h: Likewise.
15459         * iconvdata/ibm12712.h: Likewise.
15460         * iconvdata/ibm1390.h: Likewise.
15461         * iconvdata/ibm1399.h: Likewise.
15462         * iconvdata/ibm16804.h: Likewise.
15463         * iconvdata/ibm4517.h: Likewise.
15464         * iconvdata/ibm4899.h: Likewise.
15465         * iconvdata/ibm4909.h: Likewise.
15466         * iconvdata/ibm4971.h: Likewise.
15467         * iconvdata/ibm5347.h: Likewise.
15468         * iconvdata/ibm803.h: Likewise.
15469         * iconvdata/ibm856.h: Likewise.
15470         * iconvdata/ibm901.h: Likewise.
15471         * iconvdata/ibm902.h: Likewise.
15472         * iconvdata/ibm9030.h: Likewise.
15473         * iconvdata/ibm9066.h: Likewise.
15474         * iconvdata/ibm921.h: Likewise.
15475         * iconvdata/ibm922.h: Likewise.
15476         * iconvdata/ibm9448.h: Likewise.
15477         * iconvdata/isiri-3342.h: Likewise.
15478         * iconvdata/jis0201.h: Likewise.
15479         * include/link.h: Likewise.
15480         * include/netdb.h: Likewise.
15481         * inet/check_native.c: Likewise.
15482         * inet/check_pf.c: Likewise.
15483         * inet/getipv4sourcefilter.c: Likewise.
15484         * inet/getnameinfo.c: Likewise.
15485         * inet/getsourcefilter.c: Likewise.
15486         * inet/htonl.c: Likewise.
15487         * inet/setipv4sourcefilter.c: Likewise.
15488         * inet/setsourcefilter.c: Likewise.
15489         * inet/test-inet6_opt.c: Likewise.
15490         * inet/tst-network.c: Likewise.
15491         * locale/C-collate.c: Likewise.
15492         * locale/C-ctype.c: Likewise.
15493         * locale/C-time.c: Likewise.
15494         * locale/C-translit.h: Likewise.
15495         * locale/loadarchive.c: Likewise.
15496         * locale/programs/3level.h: Likewise.
15497         * locale/programs/charmap.c: Likewise.
15498         * locale/programs/charmap.h: Likewise.
15499         * locale/programs/ld-address.c: Likewise.
15500         * locale/programs/ld-collate.c: Likewise.
15501         * locale/programs/ld-ctype.c: Likewise.
15502         * locale/programs/ld-identification.c: Likewise.
15503         * locale/programs/ld-measurement.c: Likewise.
15504         * locale/programs/ld-messages.c: Likewise.
15505         * locale/programs/ld-monetary.c: Likewise.
15506         * locale/programs/ld-name.c: Likewise.
15507         * locale/programs/ld-numeric.c: Likewise.
15508         * locale/programs/ld-paper.c: Likewise.
15509         * locale/programs/ld-telephone.c: Likewise.
15510         * locale/programs/ld-time.c: Likewise.
15511         * locale/programs/linereader.c: Likewise.
15512         * locale/programs/locale.c: Likewise.
15513         * locale/programs/locarchive.c: Likewise.
15514         * locale/programs/locfile.h: Likewise.
15515         * locale/programs/repertoire.c: Likewise.
15516         * locale/programs/simple-hash.c: Likewise.
15517         * locale/programs/simple-hash.h: Likewise.
15518         * malloc/memusage.c: Likewise.
15519         * malloc/memusagestat.c: Likewise.
15520         * nis/nis_defaults.c: Likewise.
15521         * nis/nis_hash.c: Likewise.
15522         * nis/nis_print.c: Likewise.
15523         * nis/nis_xdr.c: Likewise.
15524         * nscd/connections.c: Likewise.
15525         * nscd/hstcache.c: Likewise.
15526         * nscd/nscd_gethst_r.c: Likewise.
15527         * nscd/nscd_getserv_r.c: Likewise.
15528         * nscd/nscd_helper.c: Likewise.
15529         * nscd/servicescache.c: Likewise.
15530         * nss/makedb.c: Likewise.
15531         * nss/nss_db/db-XXX.c: Likewise.
15532         * nss/nss_db/db-initgroups.c: Likewise.
15533         * nss/nss_db/db-netgrp.c: Likewise.
15534         * nss/nss_files/files-network.c: Likewise.
15535         * nss/nss_files/files-parse.c: Likewise.
15536         * posix/bug-regex5.c: Likewise.
15537         * posix/fnmatch_loop.c: Likewise.
15538         * posix/regcomp.c: Likewise.
15539         * posix/regexec.c: Likewise.
15540         * posix/tst-rfc3484-2.c: Likewise.
15541         * posix/tst-rfc3484-3.c: Likewise.
15542         * posix/tst-rfc3484.c: Likewise.
15543         * resolv/nss_dns/dns-canon.c: Likewise.
15544         * resolv/nss_dns/dns-network.c: Likewise.
15545         * resolv/res_init.c: Likewise.
15546         * resolv/res_mkquery.c: Likewise.
15547         * resolv/tst-aton.c: Likewise.
15548         * stdlib/cxa_atexit.c: Likewise.
15549         * stdlib/cxa_finalize.c: Likewise.
15550         * stdlib/gen-fpioconst.c: Likewise.
15551         * stdlib/strtol_l.c: Likewise.
15552         * string/tst-endian.c: Likewise.
15553         * sunrpc/auth_des.c: Likewise.
15554         * sunrpc/clnt_udp.c: Likewise.
15555         * sunrpc/rtime.c: Likewise.
15556         * sunrpc/svcauth_des.c: Likewise.
15557         * sunrpc/xdr.c: Likewise.
15558         * sunrpc/xdr_intXX_t.c: Likewise.
15559         * sunrpc/xdr_rec.c: Likewise.
15560         * sysdeps/generic/ldconfig.h: Likewise.
15561         * sysdeps/generic/ldsodefs.h: Likewise.
15562         * sysdeps/generic/memusage.h: Likewise.
15563         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15564         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15565         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15566         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15567         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15568         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15569         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15570         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15571         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15572         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15573         * sysdeps/posix/getaddrinfo.c: Likewise.
15574         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15575         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15576         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15577         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15578         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15579         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15580         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15581         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15582         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15583         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15584         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15585         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15586         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15587         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15588         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15589         * sysdeps/x86_64/dl-tls.h: Likewise.
15590         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15591         * time/alt_digit.c: Likewise.
15592         * time/era.c: Likewise.
15593         * wcsmbs/tst-c16c32-1.c: Likewise.
15594
15595 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15596
15597         * math/libm-test.inc (struct test_sincos_data): New type.
15598         (RUN_TEST_LOOP_sincos): New macro.
15599         (sincos_test_data): New variable.
15600         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15601
15602 2013-05-16  Richard Henderson  <rth@redhat.com>
15603
15604         * math/atest-exp2.c (LIMB64): New macro.
15605         (CONSTSZ): New macro.
15606         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15607         (hexdig): Move ...
15608         (print_mpn_fp): ... to function scope.
15609         (read_mpn_hex): Remove.
15610         (get_log2): Remove.
15611         (exp2_mpn): Use mp_log2.
15612         (main): Use mp_exp1.
15613
15614 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15615
15616         * math/libm-test.inc: Remove comment about not testing "inexact"
15617         exceptions.
15618         (INEXACT_EXCEPTION): New macro.
15619         (NO_INEXACT_EXCEPTION): Likewise.
15620         (INVALID_EXCEPTION_OK): Update value.
15621         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15622         (OVERFLOW_EXCEPTION_OK): Likewise.
15623         (UNDERFLOW_EXCEPTION_OK): Likewise.
15624         (IGNORE_ZERO_INF_SIGN): Likewise.
15625         (ERRNO_UNCHANGED): Likewise.
15626         (ERRNO_EDOM): Likewise.
15627         (ERRNO_ERANGE): Likewise.
15628         (test_exceptions): Handle testing "inexact" exceptions.
15629         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15630         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15631         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15632         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15633         INEXACT_EXCEPTION.
15634         (rint_towardzero_test_data): Likewise.
15635         (rint_downward_test_data): Likewise.
15636         (rint_upward_test_data): Likewise.
15637
15638         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15639         with OVERFLOW_EXCEPTION.
15640         (exp10_test_data): Likewise.
15641         (exp2_test_data): Likewise.
15642         (expm1_test_data): Likewise.
15643         (lgamma_test_data): Likewise.
15644         (pow_test_data): Likewise.
15645         (tgamma_test_data): Likewise.
15646         (yn_test_data): Remove duplicate test of overflow.
15647
15648         * math/libm-test.inc (struct test_cc_c_data): New type.
15649         (RUN_TEST_LOOP_cc_c): New macro.
15650         (cpow_test_data): New variable.
15651         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15652
15653         * math/libm-test.inc (struct test_f_L_data): New type.
15654         (RUN_TEST_LOOP_f_L): New macro.
15655         (llrint_test_data): New variable.
15656         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15657         (llrint_tonearest_test_data): New variable.
15658         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15659         (llrint_towardzero_test_data): New variable.
15660         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15661         (llrint_downward_test_data): New variable.
15662         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15663         (llrint_upward_test_data): New variable.
15664         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15665         (llround_test_data): New variable.
15666         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15667
15668 2013-05-13  Peter Collingbourne  <pcc@google.com>
15669
15670         * math/atest-exp2.c (get_log2): Remove const attribute.
15671
15672 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15673
15674         * math/libm-test.inc (struct test_f_l_data): New type.
15675         (RUN_TEST_LOOP_f_l): New macro.
15676         (lrint_test_data): New variable.
15677         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15678         (lrint_tonearest_test_data): New variable.
15679         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15680         (lrint_towardzero_test_data): New variable.
15681         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15682         (lrint_downward_test_data): New variable.
15683         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15684         (lrint_upward_test_data): New variable.
15685         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15686         (lround_test_data): New variable.
15687         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15688
15689 2013-05-15  Peter Collingbourne  <pcc@google.com>
15690
15691         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15692         (EXTRACT_WORDS64) Use where appropriate.
15693         (INSERT_WORDS64) Likewise.
15694
15695         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15696         constraints with x constraints.
15697         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15698
15699         * malloc/obstack.c (_obstack_compat): Add initializer.
15700
15701 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15702
15703         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15704         si_trapno and add si_addr_lsb to _sifields.sigfault.
15705         (si_trapno): Remove macro.
15706         (si_addr_lsb): Define new macro.
15707         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15708
15709 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15710
15711         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15712         instead of TEST_f_l.
15713         (llrint_test_tonearest): Likewise.
15714         (llrint_test_towardzero): Likewise.
15715         (llrint_test_downward): Likewise.
15716         (llrint_test_upward): Likewise.
15717         (llround_test): Likewise.
15718
15719         * math/libm-test.inc (struct test_f_i_data): Add comment.
15720         (RUN_TEST_LOOP_f_b): New macro.
15721         (RUN_TEST_LOOP_f_b_tg): Likewise.
15722         (finite_test_data): New variable.
15723         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15724         (isfinite_test_data): New variable.
15725         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15726         (isinf_test_data): New variable.
15727         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15728         (isnan_test_data): New variable.
15729         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15730         (isnormal_test_data): New variable.
15731         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15732         (issignaling_test_data): New variable.
15733         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15734         (signbit_test_data): New variable.
15735         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15736
15737         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15738         with INVALID_EXCEPTION.
15739         (acosh_test_data): Likewise.
15740         (asin_test_data): Likewise.
15741         (atanh_test_data): Likewise.
15742         (fmod_test_data): Likewise.
15743         (log_test_data): Likewise.
15744         (log10_test_data): Likewise.
15745         (log2_test_data): Likewise.
15746         (pow_test_data): Likewise.
15747         (sqrt_test_data): Likewise.
15748         (y0_test_data): Likewise.
15749         (y1_test_data): Likewise.
15750         (yn_test_data): Likewise.
15751
15752         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15753         function contents.
15754
15755         * math/libm-test.inc (struct test_ff_i_data): New type.
15756         (RUN_TEST_LOOP_ff_i_tg): New macro.
15757         (isgreater_test_data): New variable.
15758         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15759         (isgreaterequal_test_data): New variable.
15760         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15761         (isless_test_data): New variable.
15762         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15763         (islessequal_test_data): New variable.
15764         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15765         (islessgreater_test_data): New variable.
15766         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15767         (isunordered_test_data): New variable.
15768         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15769
15770 2013-05-14  David S. Miller  <davem@davemloft.net>
15771
15772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15773
15774 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
15775
15776         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15777
15778         * math/libm-test.inc (struct test_fF_f1_data): Change type of
15779         extra_test to int.
15780         (struct test_f_i_data): Change type of max_ulp to int.
15781
15782         * math/libm-test.inc (test_ffI_f1_data): New type.
15783         (RUN_TEST_LOOP_ffI_f1): New macro.
15784         (remquo_test_data): New variable.
15785         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15786
15787         * setjmp/tst-setjmp-fp.c: New file.
15788         * setjmp/Makefile (tests): Add tst-setjmp-fp.
15789         (link-libm): New variable.
15790         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15791
15792         * math/libm-test.inc (struct test_f_i_data): New type.
15793         (RUN_TEST_LOOP_f_i): New macro.
15794         (RUN_TEST_LOOP_f_i_tg): Likewise.
15795         (fpclassify_test_data): New variable.
15796         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15797         (ilogb_test_data): New variable.
15798         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15799
15800         * math/libm-test.inc (scalbln_test): Correct function name in END
15801         call.
15802
15803         * math/libm-test.inc (struct test_f_f1_data): Add comment.
15804         (RUN_TEST_LOOP_fI_f1): New macro.
15805         (frexp_test_data): New variable.
15806         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15807
15808         * math/libm-test.inc (struct test_fF_f1_data): New type.
15809         (RUN_TEST_LOOP_fF_f1): New macro.
15810         (modf_test_data): New variable.
15811         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15812
15813         * math/libm-test.inc (struct test_f_f1_data): New type.
15814         (RUN_TEST_LOOP_f_f1): New macro.
15815         (gamma_test_data): New variable.
15816         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15817         (lgamma_test_data): New variable.
15818         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15819
15820 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
15821
15822         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15823         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15824         (main): Comment "tls" pseudo-hwcap.
15825
15826 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
15827
15828         * math/libm-test.inc (struct test_fl_f_data): New type.
15829         (RUN_TEST_LOOP_fl_f): New variable.
15830         (scalbln_test_data): New variable.
15831         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15832
15833         * math/libm-test.inc (struct test_fi_f_data): New type.
15834         (RUN_TEST_LOOP_fi_f): New macro.
15835         (ldexp_test_data): New variable.
15836         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15837         (scalbn_test_data): New variable.
15838         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15839
15840         * math/libm-test.inc (struct test_c_f_data): New type.
15841         (RUN_TEST_LOOP_c_f): New macro.
15842         (cabs_test_data): New variable.
15843         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15844         (carg_test_data): New variable.
15845         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15846         (cimag_test_data): New variable.
15847         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15848         (creal_test_data): New variable.
15849         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15850
15851         * math/libm-test.inc (struct test_if_f_data): New type.
15852         (RUN_TEST_LOOP_if_f): New macro.
15853         (jn_test_data): New variable.
15854         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15855         (yn_test_data): New variable.
15856         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15857
15858         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15859
15860 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15861
15862         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15863         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15864
15865 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15866
15867         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15868         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15869         (bench-deps): Add bench-timing.h.
15870         * benchtests-bench-skeleton.c: Include bench-timing.h.
15871         (main): Use TIMING_* macros instead of clock_gettime.
15872         * benchtests/bench-timing.h: New file.
15873
15874         [BZ #14582]
15875         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15876         Renamed from _LIB_VERSION.
15877         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15878
15879 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15880
15881         * math/libm-test.inc (struct test_fff_f_data): New type.
15882         (RUN_TEST_LOOP_fff_f): New macro.
15883         (fma_test_data): New variable.
15884         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15885         (fma_towardzero_test_data): New variable.
15886         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15887         (fma_downward_test_data): New variable.
15888         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15889         (fma_upward_test_data): New variable.
15890         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15891
15892         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15893         (struct test_c_c_data): New type.
15894         (RUN_TEST_LOOP_c_c): New macro.
15895         (cacos_test_data): New variable.
15896         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15897         (cacosh_test_data): New variable.
15898         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15899         (casin_test_data): New variable.
15900         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15901         (casinh_test_data): New variable.
15902         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15903         (catan_test_data): New variable.
15904         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15905         (catanh_test_data): New variable.
15906         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15907         (ccos_test_data): New variable.
15908         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15909         (ccosh_test_data): New variable.
15910         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15911         (cexp_test_data): New variable.
15912         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15913         (clog_test_data): New variable.
15914         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15915         (clog10_test_data): New variable.
15916         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15917         (conj_test_data): New variable.
15918         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15919         (cproj_test_data): New variable.
15920         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15921         (csin_test_data): New variable.
15922         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15923         (csinh_test_data): New variable.
15924         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15925         (csqrt_test_data): New variable.
15926         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15927         (ctan_test_data): New variable.
15928         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15929         (ctan_tonearest_test_data): New variable.
15930         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15931         (ctan_towardzero_test_data): New variable.
15932         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15933         (ctan_downward_test_data): New variable.
15934         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15935         (ctan_upward_test_data): New variable.
15936         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15937         (ctanh_test_data): New variable.
15938         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15939         (ctanh_tonearest_test_data): New variable.
15940         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15941         (ctanh_towardzero_test_data): New variable.
15942         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15943         (ctanh_downward_test_data): New variable.
15944         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15945         (ctanh_upward_test_data): New variable.
15946         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15947         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15948         of BUILD_COMPLEX.
15949
15950         * math/libm-test.inc (struct test_ff_f_data): New type.
15951         (struct test_ff_f_data_nexttoward): Likewise.
15952         (RUN_TEST_LOOP_2_f): New macro.
15953         (RUN_TEST_LOOP_ff_f): Likewise.
15954         (atan2_test_data): New variable.
15955         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15956         (copysign_test_data): New variable.
15957         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15958         (fdim_test_data): New variable.
15959         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15960         (fmax_test_data): New variable.
15961         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15962         (fmin_test_data): New variable.
15963         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15964         (fmod_test_data): New variable.
15965         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15966         (hypot_test_data): New variable.
15967         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15968         (nextafter_test_data): New variable.
15969         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15970         (nexttoward_test_data): New variable.
15971         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15972         (pow_test_data): New variable.
15973         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15974         (pow_tonearest_test_data): New variable.
15975         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15976         (pow_towardzero_test_data): New variable.
15977         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15978         (pow_downward_test_data): New variable.
15979         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15980         (pow_upward_test_data): New variable.
15981         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15982         (remainder_test_data): New variable.
15983         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15984         (scalb_test_data): New variable.
15985         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15986         * sysdeps/i386/fpu/libm-test-ulps: Update.
15987
15988 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
15989
15990         * math/libm-test.inc (fma_test): Use max_value instead of local
15991         variable fltmax.
15992         (nextafter_test): Likewise.
15993
15994         * math/libm-test.inc (acos_towardzero_test_data): New variable.
15995         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15996         (acos_downward_test_data): New variable.
15997         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15998         (acos_upward_test_data): New variable.
15999         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16000         (acosh_test_data): New variable.
16001         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16002         (asin_test_data): New variable.
16003         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16004         (asin_tonearest_test_data): New variable.
16005         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16006         (asin_towardzero_test_data): New variable.
16007         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16008         (asin_downward_test_data): New variable.
16009         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16010         (asin_upward_test_data): New variable.
16011         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16012         (asinh_test_data): New variable.
16013         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16014         (atan_test_data): New variable.
16015         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16016         (atanh_test_data): New variable.
16017         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16018         (cbrt_test_data): New variable.
16019         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16020         (ceil_test_data): New variable.
16021         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16022         (cos_test_data): New variable.
16023         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16024         (cos_tonearest_test_data): New variable.
16025         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16026         (cos_towardzero_test_data): New variable.
16027         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16028         (cos_downward_test_data): New variable.
16029         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16030         (cos_upward_test_data): New variable.
16031         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16032         (cosh_test_data): New variable.
16033         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16034         (cosh_tonearest_test_data): New variable.
16035         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16036         (cosh_towardzero_test_data): New variable.
16037         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16038         (cosh_downward_test_data): New variable.
16039         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16040         (cosh_upward_test_data): New variable.
16041         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16042         (erf_test_data): New variable.
16043         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16044         (erfc_test_data): New variable.
16045         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16046         (exp_test_data): New variable.
16047         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16048         (exp_tonearest_test_data): New variable.
16049         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16050         (exp_towardzero_test_data): New variable.
16051         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16052         (exp_downward_test_data): New variable.
16053         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16054         (exp_upward_test_data): New variable.
16055         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16056         (exp10_test_data): New variable.
16057         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16058         (exp2_test_data): New variable.
16059         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16060         (expm1_test_data): New variable.
16061         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16062         (fabs_test_data): New variable.
16063         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16064         (floor_test_data): New variable.
16065         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16066         (j0_test_data): New variable.
16067         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16068         (j1_test_data): New variable.
16069         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16070         (log_test_data): New variable.
16071         (log_test): Run tests with RUN_TEST_LOOP_f_f.
16072         (log10_test_data): New variable.
16073         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16074         (log1p_test_data): New variable.
16075         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16076         (log2_test_data): New variable.
16077         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16078         (logb_test_data): New variable.
16079         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16080         (logb_downward_test_data): New variable.
16081         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16082         (nearbyint_test_data): New variable.
16083         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16084         (rint_test_data): New variable.
16085         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16086         (rint_tonearest_test_data): New variable.
16087         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16088         (rint_towardzero_test_data): New variable.
16089         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16090         (rint_downward_test_data): New variable.
16091         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16092         (rint_upward_test_data): New variable.
16093         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16094         (round_test_data): New variable.
16095         (round_test): Run tests with RUN_TEST_LOOP_f_f.
16096         (sin_test_data): New variable.
16097         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16098         (sin_tonearest_test_data): New variable.
16099         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16100         (sin_towardzero_test_data): New variable.
16101         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16102         (sin_downward_test_data): New variable.
16103         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16104         (sin_upward_test_data): New variable.
16105         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16106         (sinh_test_data): New variable.
16107         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16108         (sinh_tonearest_test_data): New variable.
16109         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16110         (sinh_towardzero_test_data): New variable.
16111         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16112         (sinh_downward_test_data): New variable.
16113         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16114         (sinh_upward_test_data): New variable.
16115         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16116         (sqrt_test_data): New variable.
16117         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16118         (tan_test_data): New variable.
16119         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16120         (tan_tonearest_test_data): New variable.
16121         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16122         (tan_towardzero_test_data): New variable.
16123         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16124         (tan_downward_test_data): New variable.
16125         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16126         (tan_upward_test_data): New variable.
16127         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16128         (tanh_test_data): New variable.
16129         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16130         (tgamma_test_data): New variable.
16131         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16132         (trunc_test_data): New variable.
16133         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16134         (y0_test_data): New variable.
16135         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16136         (y1_test_data): New variable.
16137         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16138         (significand_test_data): New variable.
16139         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16140
16141 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
16142
16143         [BZ #12387]
16144         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16145
16146 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16147
16148         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16149
16150 2013-05-10  Andreas Jaeger  <aj@suse.de>
16151
16152         [BZ #15448]
16153         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16154         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16155
16156 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16157
16158         * math/gen-libm-test.pl (adjust_arg): New function.
16159         (special_functions): Handle generating output in both functions
16160         and arrays.
16161         (parse_args): Likewise.
16162         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
16163         $in_func argument to parse_args.
16164         * math/libm-test.inc (struct test_f_f_data): New type.
16165         (IF_ROUND_INIT_): New macro.
16166         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16167         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16168         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16169         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16170         (ROUND_RESTORE_): Likewise.
16171         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16172         (ROUND_RESTORE_FE_TONEAREST): Likewise.
16173         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16174         (ROUND_RESTORE_FE_UPWARD): Likewise.
16175         (RUN_TEST_LOOP_f_f): New macro.
16176         (acos_test_data): New variable.
16177         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16178         (acos_tonearest_test_data): New variable.
16179         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16180
16181 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16182
16183         * benchtests/bench-skeleton.c (startup): Fix coding style.
16184
16185 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16186
16187         [BZ #6809]
16188         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16189         negative infinity argument.
16190         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16191         negative infinity argument.
16192         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16193         negative infinity argument.
16194         * math/libm-test.inc (tgamma_test): Expect errno to be set for
16195         domain errors.
16196
16197 2013-05-10  Florian Weimer  <fweimer@redhat.com>
16198
16199         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16200         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16201         * iconv/iconv_prog.c (main): Likewise.
16202         * locale/programs/charmap-dir.c (charmap_readdir)
16203         (fopen_uncompressed): Likewise.
16204         * locale/programs/locfile.c (siblings_uncached)
16205         (write_locale_data): Use lstat64 instead of lstat.
16206         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16207         stat.
16208
16209 2013-05-10  Andreas Jaeger  <aj@suse.de>
16210
16211         [BZ #15395]
16212         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16213         localization.
16214         Include <locale.h>.
16215
16216 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
16217
16218         * elf/dl-close.c (_dl_close_worker): Add comments.
16219
16220 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
16221
16222         [BZ #15359]
16223         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16224         high part of pi/2.
16225         (__ieee754_rem_pio2l): Update comments.
16226
16227         [BZ #15429]
16228         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16229         high part of pi/2.
16230         (__ieee754_rem_pio2l): Update comments.
16231
16232         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16233         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16234
16235         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16236         M_PI_4l.
16237
16238         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16239         (M_PI_34_LOG10El): Likewise.
16240         (M_PI2_LOG10El): Likewise.
16241         (M_PI4_LOG10El): Likewise.
16242         (M_PI_LOG10El): Likewise.
16243
16244 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16245
16246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16247
16248 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16249
16250         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16251         (MINUS_ZERO_INIT): Likewise.
16252         (PLUS_INFTY_INIT): Likewise.
16253         (MINUS_INFTY_INIT): Likewise.
16254         (QNAN_VALUE_INIT): Likewise.
16255         (MAX_VALUE_INIT): Likewise.
16256         (MIN_VALUE_INIT): Likewise.
16257         (MIN_SUBNORM_VALUE_INIT): Likewise.
16258         (plus_zero): Initialize with PLUS_ZERO_INIT.
16259         (minus_zero): Initialize with MINUS_ZERO_INIT.
16260         (plus_infty): Initialize with PLUS_INFTY_INIT.
16261         (minus_infty): Initialize with MINUS_INFTY_INIT.
16262         (qnan_value): Initialize with QNAN_VALUE_INIT.
16263         (max_value): Initialize with MAX_VALUE_INIT.
16264         (min_value): Initialize with MIN_VALUE_INIT.
16265         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16266
16267         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16268         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16269         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16270         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16271
16272         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16273         (RUN_TEST_2_f): Likewise.
16274         (RUN_TEST_ff_f): Likewise.
16275         (RUN_TEST_fi_f): Likewise.
16276         (RUN_TEST_fl_f): Likewise.
16277         (RUN_TEST_fff_f): Likewise.
16278         (RUN_TEST_c_f): Likewise.
16279         (RUN_TEST_f_f1): Likewise.
16280         (RUN_TEST_fF_f1): Likewise.
16281         (RUN_TEST_fI_f1): Likewise.
16282         (RUN_TEST_ffI_f1): Likewise.
16283         (RUN_TEST_c_c): Likewise.
16284         (RUN_TEST_cc_c): Likewise.
16285         (RUN_TEST_f_i): Likewise.
16286         (RUN_TEST_f_i_tg): Likewise.
16287         (RUN_TEST_ff_i_tg): Likewise.
16288         (RUN_TEST_f_b): Likewise.
16289         (RUN_TEST_f_b_tg): Likewise.
16290         (RUN_TEST_f_l): Likewise.
16291         (RUN_TEST_f_L): Likewise.
16292         (RUN_TEST_sincos): Likewise.
16293         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16294         whether to show exceptions.  Do not include ");\n" in return
16295         value.
16296         (special_functions): Output call to RUN_TEST_sincos instead of
16297         check_float calls.  Update calls to new_test.
16298         (parse_args): Output call to single RUN_TEST_* macro instead of
16299         check_* calls and other assignments.  Update calls to new_test.
16300
16301         [BZ #2546]
16302         [BZ #2560]
16303         [BZ #5159]
16304         [BZ #15426]
16305         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16306         input to result for tgamma overflow.
16307         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16308         (gamma_coeff): New variable.
16309         (NCOEFF): New macro.
16310         (gamma_positive): New function.
16311         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16312         underflow here.  Use gamma_positive instead of exp (lgamma) for
16313         other arguments.
16314         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16315         (gamma_coeff): New variable.
16316         (NCOEFF): New macro.
16317         (gammaf_positive): New function.
16318         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16319         underflow here.  Use gamma_positive instead of exp (lgamma) for
16320         other arguments.
16321         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16322         (gamma_coeff): New variable.
16323         (NCOEFF): New macro.
16324         (gammal_positive): New function.
16325         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16326         underflow here.  Use gamma_positive instead of exp (lgamma) for
16327         other arguments.
16328         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16329         (gamma_coeff): New variable.
16330         (NCOEFF): New macro.
16331         (gammal_positive): New function.
16332         (__ieee754_gammal_r): Handle positive infinity, overflow and
16333         underflow here.  Handle NaN the same as positive infinity.  Remove
16334         check x < 0xffffffff for negative integers.  Use gamma_positive
16335         instead of exp (lgamma) for other arguments.
16336         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16337         (gamma_coeff): New variable.
16338         (NCOEFF): New macro.
16339         (gammal_positive): New function.
16340         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16341         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16342         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16343         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16344         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16345         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16346         * sysdeps/generic/math_private.h (__gamma_productf): New
16347         prototype.
16348         (__gamma_product): Likewise.
16349         (__gamma_productl): Likewise.
16350         * math/Makefile (libm-calls): Add gamma_product.
16351         * math/libm-test.inc (tgamma_test): Add more tests.
16352         * sysdeps/i386/fpu/libm-test-ulps: Update.
16353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16354
16355 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16356
16357         * benchtests/bench-skeleton.c (main): Preheat CPU.
16358
16359 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16360
16361         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16362
16363 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16364
16365         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16366         and _dl_skip_args_internal.
16367
16368 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16369
16370         * manual/message.texi (Message Translation): Talk about users.
16371         Message to key mapping impacts design.
16372
16373 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16374
16375         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16376
16377         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16378
16379         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16380         * sysdeps/wordsize-64/glob64.c: ... here.
16381
16382         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16383         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16384         New macros.
16385
16386         * debug/getlogin_r_chk.c: Moved to ...
16387         * login/getlogin_r_chk.c: ... here.
16388         * debug/Makefile (routines): Move getlogin_r_chk to ...
16389         * login/Makefile (routines): ... here.
16390         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16391         * login/Versions (libc: GLIBC_2.4): ... here.
16392
16393         * io/poll.c (__poll): Renamed from poll.
16394         Add libc_hidden_def.
16395         (poll): Define as weak alias.
16396
16397         * debug/ptsname_r_chk.c: Moved to ...
16398         * login/ptsname_r_chk.c: ... here.
16399         * debug/Makefile (routines): Move ptsname_r_chk to ...
16400         * login/Makefile (routines): ... here.
16401         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16402         * login/Versions (libc: GLIBC_2.4): ... here.
16403
16404         * posix/getlogin.c: Moved to ...
16405         * login/getlogin.c: ... here.
16406         * posix/getlogin_r.c: Moved to ...
16407         * login/getlogin_r.c: ... here.
16408         * posix/getlogin_r.c: Moved to ...
16409         * login/getlogin_r.c: ... here.
16410         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16411         * login/Makefile (routines): ... here.
16412         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16413         * login/Versions (libc: GLIBC_2.0): ... here.
16414
16415         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16416         (setrlimit): Define as weak alias.
16417
16418         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16419         Call __ names for open, ftruncate, and close.
16420         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16421         (truncate): Define as weak alias.
16422
16423 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16424
16425         * math/gen-libm-test.pl (parse_args): Initialize x before each
16426         test of frexp, modf and remquo.
16427
16428         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16429         test signgam value.
16430
16431 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16432
16433         [BZ #15418]
16434         [BZ #15419]
16435         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16436         internal tests.
16437         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16438
16439 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16440
16441         * elf/dl-writev.h: New file.
16442         * elf/dl-misc.c: Include it.
16443         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16444         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16445
16446 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16447
16448         * math/libm-test.inc (noXFails): Remove variable.
16449         (noXPasses): Likewise.
16450         (BUILD_COMPLEX_INT): Remove macro.
16451         (print_screen): Remove xfail argument.
16452         (print_screen_max_error): Likewise.
16453         (update_stats): Likewise.
16454         (print_max_error): Likewise.  Update calls to other affected
16455         functions.
16456         (print_complex_max_error): Likewise.
16457         (test_single_exception): Update calls to print_screen.
16458         (test_single_errno): Likewise.
16459         (check_float_internal): Remove xfail argument.  Update calls to
16460         other affected functions.
16461         (check_float): Likewise.
16462         (check_complex): Likewise.
16463         (check_int): Likewise.
16464         (check_long): Likewise.
16465         (check_bool): Likewise.
16466         (check_longlong): Likewise.
16467         (main): Don't print noXFails and noXPasses.
16468         * math/gen-libm-test.pl (top level): Don't mention expected
16469         failure handling in comment.
16470         (new_test): Don't handle expected failures.
16471         (parse_args): Don't mention expected failure handling in comment.
16472         (generate_testfile): Don't handle expected failures.
16473         (parse_ulps): Likewise.
16474         (print_ulps_file): Likewise.
16475         (get_failure): Remove function.
16476         (output_test): Don't handle expected failures.
16477         * make/README.libm-test: Don't mention expected failure handling.
16478
16479         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16480         (minus_zero): Likewise.
16481         (plus_infty): Likewise.
16482         (minus_infty): Likewise.
16483         (qnan_value): Likewise.
16484         (max_value): Likewise.
16485         (min_value): Likewise.
16486         (min_subnorm_value): Likewise.
16487         (initialize): Do not initialize those variables dynamically.
16488
16489 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16490
16491         * io/open.c (__open_2): Moved to ...
16492         * io/open_2.c: ... this new file.
16493         * io/open64.c (__open64_2): Moved to ...
16494         * io/open64_2.c: ... this new file.
16495         * io/openat.c (__openat_2): Moved to ...
16496         * io/openat_2.c: ... this new file.
16497         * io/openat64.c (__openat64_2): Moved to ...
16498         * io/openat64_2.c: ... this new file.
16499         * io/Makefile (routines): Add them.
16500         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16501         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16502         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16503         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16504         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16505         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16506         (__openat64): Add hidden_ver.
16507         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16508         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16509
16510         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16511         Separately conditionalize setting of GLRO(dl_sysinfo) so
16512         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16513         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16514
16515 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16516
16517         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16518         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16519         definition.
16520         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16521         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16522         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16523         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16524         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16525
16526 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16527
16528         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16529         test signgam value.
16530
16531         * math/libm-test.inc (hypot_test): Do not use
16532         IGNORE_ZERO_INF_SIGN.
16533
16534 2013-05-03  Andreas Jaeger  <aj@suse.de>
16535
16536         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16537         Linux 3.9.
16538         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16539         (PF_MAX): Adjust for VSOCK change.
16540
16541 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16542
16543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16544
16545 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16546
16547         [BZ #15264]
16548         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16549         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16550         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16551
16552 2013-05-02  David S. Miller  <davem@davemloft.net>
16553
16554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16555
16556 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16557
16558         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16559
16560 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16561
16562         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16563
16564 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16565
16566         [BZ #14952]
16567         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16568         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16569         Use __attribute__ ((__gnu_inline__)).
16570         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16571         Don't use __attribute__ ((__gnu_inline__)).
16572
16573 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16574
16575         [BZ #15423]
16576         * math/s_catan.c (__catan): Handle small real or imaginary part of
16577         input specially to avoid spurious underflow.
16578         * math/s_catanf.c (__catanf): Likewise.
16579         * math/s_catanh.c (__catanh): Likewise.
16580         * math/s_catanhf.c (__catanhf): Likewise.
16581         * math/s_catanhl.c (__catanhl): Likewise.
16582         * math/s_catanl.c (__catanl): Likewise.
16583         * math/libm-test.inc (catan_test): Add more tests.
16584         (catanh_test): Likewise.
16585         * sysdeps/i386/fpu/libm-test-ulps: Update.
16586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16587
16588 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16589
16590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16591
16592 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16593
16594         [BZ #15416]
16595         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16596         accurately for denominator in atan2.
16597         * math/s_catanf.c (__catanf): Likewise.
16598         * math/s_catanh.c (__catanh): Likewise.
16599         * math/s_catanhf.c (__catanhf): Likewise.
16600         * math/s_catanhl.c (__catanhl): Likewise.
16601         * math/s_catanl.c (__catanl): Likewise.
16602         * math/libm-test.inc (catan_test): Add more tests.
16603         (catanh_test): Likewise.
16604         * sysdeps/i386/fpu/libm-test-ulps: Update.
16605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16606
16607 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16608
16609         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16610
16611         * benchtests/Makefile (bench): Remove slow benchmarks.
16612         * benchtests/atan-inputs: Add slow benchmark inputs.
16613         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16614         (BENCH_FUNC): Accept variant offset.
16615         (VARIANT): Define.
16616         * benchtests/bench-skeleton.c (main): Run benchmark for each
16617         variant.
16618         * benchtests/cos-inputs: Add slow benchmark inputs.
16619         * benchtests/exp-inputs: Likewise.
16620         * benchtests/pow-inputs: Likewise.
16621         * benchtests/sin-inputs: Likewise.
16622         * benchtests/slowatan-inputs: Remove.
16623         * benchtests/slowatan.c: Remove.
16624         * benchtests/slowcos-inputs: Remove.
16625         * benchtests/slowcos.c: Remove.
16626         * benchtests/slowexp-inputs: Remove.
16627         * benchtests/slowexp.c: Remove.
16628         * benchtests/slowpow-inputs: Remove.
16629         * benchtests/slowpow.c: Remove.
16630         * benchtests/slowsin-inputs: Remove.
16631         * benchtests/slowsin.c: Remove.
16632         * benchtests/slowtan-inputs: Remove.
16633         * benchtests/slowtan.c: Remove.
16634         * benchtests/tan-inputs: Add slow benchmark inputs.
16635         * scripts/bench.pl: Parse comments and directives.
16636
16637         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16638         in CPPFLAGS.
16639         ($(objpfx)bench-%.c): Remove *-ITER.
16640         * benchtests/bench-modf.c: Remove definition of ITER.
16641         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16642         (main): Loop for DURATION seconds instead of fixed number of
16643         iterations.
16644         * scripts/bench.pl: Don't expect iterations in parameters.
16645
16646 2013-04-29  Roland McGrath  <roland@hack.frob.com>
16647
16648         * io/fchdir.c (__fchdir): Renamed from fchdir.
16649         (fchdir): Define as weak alias.
16650
16651 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16652
16653         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16654         (ERRNO_EDOM): Likewise.
16655         (ERRNO_ERANGE): Likewise.
16656         (noErrnoTests): New variable.
16657         (init_max_error): Set errno to 0.
16658         (test_single_errno): New function.
16659         (test_errno): Likewise.
16660         (check_float_internal): Call test_errno.  Set errno to 0.
16661         (check_complex): Refer to errno tests in comment.
16662         (check_int): Call test_errno.  Set errno to 0.
16663         (check_long): Likewise.
16664         (check_bool): Likewise.
16665         (check_longlong): Likewise.
16666         (cos_test): Use ERRNO_* flags for errno tests instead of
16667         check_int.
16668         (expm1_test): Likewise.
16669         (fmod_test): Likewise.
16670         (ilogb_test): Likewise.
16671         (lgamma_test): Likewise.
16672         (pow_test): Likewise.
16673         (remainder_test): Likewise.
16674         (sin_test): Likewise.
16675         (tan_test): Likewise.
16676         (yn_test): Likewise.
16677         (initialize): Set errno to 0.
16678         (main): Print number of errno tests.
16679         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16680
16681 2013-04-29  Andreas Jaeger  <aj@suse.de>
16682
16683         [BZ #15084]
16684         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16685         and RES_USEVC.
16686
16687         [BZ #15085]
16688         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16689         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16690         unimplemented.
16691
16692         [BZ #15380]
16693         * stdlib/random.c (__initstate): Return NULL if
16694         __initstate fails.
16695
16696         [BZ #15086]
16697         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16698         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16699         RES_SNGLKUPREOP.
16700
16701 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16702
16703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16704
16705 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16706
16707         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16708         of individual tests.
16709         (casin_test): Likewise.
16710         (casinh_test): Likewise.
16711
16712 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
16713
16714         [BZ #15409]
16715         * math/s_catan.c (__catan): Handle arguments with large real or
16716         imaginary part separately without squaring.
16717         * math/s_catanf.c (__catanf): Likewise.
16718         * math/s_catanh.c (__catanh): Likewise.
16719         * math/s_catanhf.c (__catanhf): Likewise.
16720         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16721         and redefine.
16722         (__catanhl): Handle arguments with large real or imaginary part
16723         separately without squaring.
16724         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16725         and redefine.
16726         (__catanl): Handle arguments with large real or imaginary part
16727         separately without squaring.
16728         * math/libm-test.inc (catan_test): Add more tests.
16729         (catanh_test): Likewise.
16730         * sysdeps/i386/fpu/libm-test-ulps: Update.
16731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16732
16733 2013-04-27  Andreas Jaeger  <aj@suse.de>
16734
16735         [BZ #15007]
16736         * stdlib/stdlib.h: Update guards for qecvt.
16737         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16738         <stdlib.h>.
16739
16740 2013-04-27  Allan McRae  <allan@archlinux.org>
16741
16742         * sysdeps/i386/fpu/libm-test-ulps: Update.
16743
16744 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
16745
16746         [BZ #15406]
16747         * math/s_catan.c: Include <float.h>.
16748         (__catan): Ensure underflow exception occurs for underflowed
16749         result.
16750         * math/s_catanf.c: Include <float.h>.
16751         (__catanf): Ensure underflow exception occurs for underflowed
16752         result.
16753         * math/s_catanh.c: Include <float.h>.
16754         (__catanh): Ensure underflow exception occurs for underflowed
16755         result.
16756         * math/s_catanhf.c: Include <float.h>.
16757         (__catanhf): Ensure underflow exception occurs for underflowed
16758         result.
16759         * math/s_catanhl.c: Include <float.h>.
16760         (__catanhl): Ensure underflow exception occurs for underflowed
16761         result.
16762         * math/s_catanl.c: Include <float.h>.
16763         (__catanl): Ensure underflow exception occurs for underflowed
16764         result.
16765         * math/libm-test.inc (catan_test): Add more tests.
16766         (catanh_test): Likewise.
16767
16768         [BZ #15405]
16769         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16770         underflowed result.
16771         * math/s_ccoshf.c (__ccoshf): Likewise.
16772         * math/s_ccoshl.c (__ccoshl): Likewise.
16773         * math/s_csin.c (__csin): Likewise.
16774         * math/s_csinf.c (__csinf): Likewise.
16775         * math/s_csinh.c (__csinh): Likewise.
16776         * math/s_csinhf.c (__csinhf): Likewise.
16777         * math/s_csinhl.c (__csinhl): Likewise.
16778         * math/s_csinl.c (__csinl): Likewise.
16779         * math/libm-test.inc (ccos_test): Add more tests.
16780         (ccosh_test): Likewise.
16781         (csin_test): Likewise.
16782         (csinh_test): Likewise.
16783
16784 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16785
16786         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16787         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16788         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16789         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16790         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16791         powerpc/power5+/fpu folders.
16792         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16793
16794
16795 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16796
16797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16798
16799 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
16800
16801         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16802         additions to variable.
16803         [$(config-machine) = x86_64] (modules-names): Likewise.
16804         ($(objpfx)tst-audit3): Remove dependency.
16805         ($(objpfx)tst-audit3.out): Likewise.
16806         ($(objpfx)tst-audit4): Likewise.
16807         ($(objpfx)tst-audit4.out): Likewise.
16808         ($(objpfx)tst-audit5): Likewise.
16809         ($(objpfx)tst-audit5.out): Likewise.
16810         ($(objpfx)tst-audit6): Likewise.
16811         ($(objpfx)tst-audit6.out): Likewise.
16812         ($(objpfx)tst-audit7): Likewise.
16813         ($(objpfx)tst-audit7.out): Likewise.
16814         (tst-audit3-ENV): Remove variable.
16815         (tst-audit4-ENV): Likewise.
16816         (tst-audit5-ENV): Likewise.
16817         (tst-audit6-ENV): Likewise.
16818         (tst-audit7-ENV): Likewise.
16819         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16820         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16821         addition to variable.
16822         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16823         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16824         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16825         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16826         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16827         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16828         tst-audit3, tst-audit4 and tst-audit5.
16829         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16830         tst-audit6 and tst-audit7.
16831         [$(subdir) = elf] (modules-names): Add audit modules for those
16832         tests.
16833         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16834         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16835         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16836         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16837         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16838         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16839         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16840         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16841         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16842         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16843         [$(subdir) = elf] (tst-audit3-ENV): New variable.
16844         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16845         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16846         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16847         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16848         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16849         Likewise.
16850         [$(subdir) = elf && $(config-cflags-avx) = yes]
16851         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16852         [$(subdir) = elf && $(config-cflags-avx) = yes]
16853         (CFLAGS-tst-auditmod4a.c): Likewise.
16854         [$(subdir) = elf && $(config-cflags-avx) = yes]
16855         (CFLAGS-tst-auditmod4b.c): Likewise.
16856         [$(subdir) = elf && $(config-cflags-avx) = yes]
16857         (CFLAGS-tst-auditmod6b.c): Likewise.
16858         [$(subdir) = elf && $(config-cflags-avx) = yes]
16859         (CFLAGS-tst-auditmod6c.c): Likewise.
16860         [$(subdir) = elf && $(config-cflags-avx) = yes]
16861         (CFLAGS-tst-auditmod7b.c): Likewise.
16862         * elf/tst-audit3.c: Move to ...
16863         * sysdeps/x86_64/tst-audit3.c: ... here.
16864         * elf/tst-audit4.c: Move to ...
16865         * sysdeps/x86_64/tst-audit4.c: ... here.
16866         * elf/tst-audit5.c: Move to ...
16867         * sysdeps/x86_64/tst-audit5.c: ... here.
16868         * elf/tst-audit6.c: Move to ...
16869         * sysdeps/x86_64/tst-audit6.c: ... here.
16870         * elf/tst-audit7.c: Move to ...
16871         * sysdeps/x86_64/tst-audit7.c: ... here.
16872         * elf/tst-auditmod3a.c: Move to ...
16873         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16874         * elf/tst-auditmod3b.c: Move to ...
16875         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16876         * elf/tst-auditmod4a.c: Move to ...
16877         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16878         * elf/tst-auditmod4b.c: Move to ...
16879         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16880         * elf/tst-auditmod5a.c: Move to ...
16881         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16882         * elf/tst-auditmod5b.c: Move to ...
16883         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16884         * elf/tst-auditmod6a.c: Move to ...
16885         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16886         * elf/tst-auditmod6b.c: Move to ...
16887         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16888         * elf/tst-auditmod6c.c: Move to ...
16889         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16890         * elf/tst-auditmod7a.c: Move to ...
16891         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16892         * elf/tst-auditmod7b.c: Move to ...
16893         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16894
16895 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16896
16897         [BZ #15366]
16898         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16899         define unconditionally.
16900         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16901         define unconditionally.
16902         (INT8_C, INT16_C, etc.): Likewise.
16903
16904 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16905
16906         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16907         __ehdr_start with hidden visibility.
16908
16909         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16910
16911 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16912
16913         * math/libm-test.inc (cos_test): Use accurate hex constants.
16914         (sincost_test): Likewise.
16915
16916 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16917
16918         * math/libm-test.inc (catan_test): Add more tests.
16919         (catanh_test): Likewise.
16920
16921         * math/s_catanf.c (__catanf): Use suffixed floating-point
16922         constants.
16923         * math/s_catanhf.c (__catanhf): Likewise.
16924         * math/s_catanhl.c (__catanhl): Likewise.
16925         * math/s_catanl.c (__catanl): Likewise.
16926
16927         [BZ #15394]
16928         * math/s_catan.c (__catan): Calculate imaginary part of result
16929         with log1p not log unless computing log of number close to 0.
16930         * math/s_catanf.c (__catanf): Likewise.
16931         * math/s_catanl.c (__catanl): Likewise.
16932         * math/s_catanh.c (__catanh): Calculate real part of result with
16933         log1p not log unless computing log of number close to 0.
16934         * math/s_catanhf.c (__catanhf): Likewise.
16935         * math/s_catanhl.c (__catanhl): Likewise.
16936         * math/libm-test.inc (catan_test): Add more tests.
16937         (catanh_test): Likewise.
16938         * sysdeps/i386/fpu/libm-test-ulps: Update.
16939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16940
16941 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16942
16943         * benchtests/Makefile: Mention files in which fast and slow
16944         paths of math functions are implemented.
16945
16946 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16947
16948         * sysdeps/posix/timespec_get.c: New file.
16949
16950 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16951
16952         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16953         POWER.
16954         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16955         for POWER.
16956         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16957         powerpc/power5/fpu folders.
16958         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16959         * benchtests/Makefile: Add modf testcase.
16960         * benchtests/bench-modf.c: New file: Benchmark test for mo
16961
16962 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16963
16964         [BZ #14888]
16965         * time/Makefile (tests): Add tst-strptime-whitespace.
16966         * time/strptime_l.c (get_number): Use ISSPACE.
16967         (__strptime_internal): Likewise.
16968         * time/tst-strptime-whitespace.c: New test case.
16969
16970 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
16971
16972         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16973         member.
16974         (_nss_files_init): Set it here.
16975
16976 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
16977
16978         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16979         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16980         unsigned.
16981
16982 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
16983
16984         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16985
16986 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16987
16988         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16989         size just once.
16990
16991 2013-04-21  David S. Miller  <davem@davemloft.net>
16992
16993         * po/ru.po: Update Russion translation from translation project.
16994
16995 2013-04-17  Adam Conrad  <adconrad@0c3.net>
16996
16997         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16998         and setfsgid.
16999
17000 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
17001
17002         * configure.in: Remove i386 configure warning. Remove i386 case.
17003         * configure: Regenerate.
17004         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17005         Add example to error message.
17006         * sysdeps/i386/configure: Regenerate.
17007
17008 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17009
17010         * benchtests/Makefile (bench): Add cos, tan, slowcos and
17011         slowtan.
17012         * benchtests/cos-inputs: New file.
17013         * benchtests/slowcos-inputs: New file.
17014         * benchtests/slowcos.c: New file.
17015         * benchtests/slowtan-inputs: New file.
17016         * benchtests/slowtan.c: New file.
17017         * benchtests/tan-inputs: New file.
17018
17019 2013-04-16  Roland McGrath  <roland@hack.frob.com>
17020
17021         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17022         considered kosher.
17023
17024 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17025
17026         * benchtests/Makefile: Include cppflags-iterator.mk to add
17027         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17028
17029         * Makefile.in (bench-clean): New target.
17030         * benchtests/Makefile (bench-clean): Likewise.
17031
17032 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
17033
17034         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17035
17036 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
17037
17038         * stdio-common/tstdiomisc.c: Fix coding-style violation.
17039
17040 2013-04-15  Andreas Schwab  <schwab@suse.de>
17041
17042         * nscd/grpcache.c (cache_addgr): Properly check for short write.
17043         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17044         * nscd/pwdcache.c (cache_addpw): Likewise.
17045         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
17046         more than recsize.
17047
17048 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17049
17050         * benchtests/Makefile (bench): Write all output to
17051         bench-out.tmp together.
17052
17053 2013-04-15  Andreas Schwab  <schwab@suse.de>
17054
17055         * nscd/nscd.c (main): Don't fork again after closing files.
17056
17057 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17058
17059         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17060
17061         * benchtests/Rules (bench-deps): Collect dependencies into a
17062         single variable.  Add Makefile to dependencies.
17063         ($(objpfx)bench-%.c): Depend on bench-deps.
17064
17065 2013-04-12  Roland McGrath  <roland@hack.frob.com>
17066             Xavier Roche  <roche+kml2@exalead.com>
17067
17068         [BZ #15361]
17069         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17070         just that it's a file descriptor.
17071         * manual/llio.texi (Synchronizing AIO Operations): Update description
17072         for EBADF error from aio_fsync.
17073
17074 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17075
17076         * Rules (bench): Move target definition...
17077         * benchtests/Makefile: ... here.
17078
17079 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
17080
17081         * math/libm-test.inc (cos_test): Fix PI/2 test.
17082         (sincos_test): Likewise.
17083         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17084         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17085
17086 2013-04-11  Andreas Schwab  <schwab@suse.de>
17087
17088         [BZ #13988]
17089         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17090         accept exponent character only when digits were seen.
17091         * stdio-common/Makefile (tests): Add bug26.
17092         * stdio-common/bug26.c: New file.
17093
17094         [BZ #14293]
17095         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17096         non-freeable.
17097
17098 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17099
17100         * Makeconfig (rtld-prefix): Define built linker prefix.
17101         * Rules (run-bench): Use it.
17102         * math/Makefile (run-regen-ulps): Likewise.
17103
17104         * Rules (bench): Remove eval.
17105
17106 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17107             Roland McGrath  <roland@hack.frob.com>
17108             Ondrej Bilka  <neleai@seznam.cz>
17109
17110         [BZ #15346]
17111         * time/getdate.c: Include ctype.h and alloca.h.
17112         (__getdate_r): Trim leading and trailing spaces of input.
17113         * time/tst-getdate.c (tests): Add tests with leading and
17114         trailing spaces.
17115
17116 2013-04-08  Roland McGrath  <roland@hack.frob.com>
17117
17118         [BZ #14280]
17119         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17120         when computing value.
17121
17122 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17123
17124         * math/README.libm-test (How can I generate "libm-test-ulps"?):
17125         Use testrun.sh to run libm tests.
17126
17127         [BZ #15309]
17128         * elf/dl-open.c (dl_open_worker): memset all of seen array.
17129
17130 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
17131
17132         [BZ #15264]
17133         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17134
17135 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17136
17137         * Makefile.in (regen-ulps): New target.
17138         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17139         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17140         [ifneq (no,$(PERL)] (regen-ulps): New target.
17141         [ifeq (no,$(PERL)] (regen-ulps): New target.
17142         * math/libm-test.inc (ulps_file_name): Define.
17143         (output_dir): New variable.
17144         (options): Add "output-dir" option.
17145         (parse_opt): Handle 'o' case.
17146         (main): If output_dir is non-NULL use it as a prefix
17147         otherwise use "".
17148         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17149
17150 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17151
17152         [BZ #10060, #10062]
17153         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17154         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17155         fail configure if __sync_val_compare_and_swap is not inlined.
17156         * sysdeps/i386/configure: Regenerate.
17157         * configure.in: Build for i686 when configured for i386.
17158         * configure: Regenerate.
17159         * README: Remove i386 reference.
17160
17161 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17162
17163         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17164         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17165
17166 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17167
17168         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17169         (lmsnanval): New variables.
17170         (F): Add conversion tests.
17171         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17172         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17173
17174         * stdio-common/tstdiomisc.c (F): Properly collect individual
17175         tests' results.
17176
17177         [BZ #14686, #15336]
17178         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17179         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17180         Instead, use input NaN values or generate a qNaN by arithmetic
17181         operation.  Also fix bugs to comply with the standard.
17182         * math/libm-test.inc (remainder_test): Add more tests.
17183
17184         [BZ #15335, #15342]
17185         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17186         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17187         input NaN values or generate a qNaN by arithmetic operation.
17188
17189         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17190         unreachable code.
17191
17192         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17193         definitions.
17194
17195 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
17196
17197         [BZ #14478]
17198         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17199         underflowed result.
17200         * math/s_cexpf.c (__cexpf): Likewise.
17201         * math/s_cexpl.c (__cexpl): Likewise.
17202         * math/libm-test.inc (cexp_test): Add more tests.
17203
17204 2013-04-03  Andreas Schwab  <schwab@suse.de>
17205
17206         [BZ #15330]
17207         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17208         order arrays from heap if bigger than alloca cutoff.
17209
17210 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
17211
17212         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17213         (SNAN_TESTS_double): Refer to GCC PR56831.
17214         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17215         GCC PR56828.
17216
17217 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17218
17219         * Rules (bench): Move bench.out after the run is complete.
17220
17221         * Rules (bench): Echo currently running benchmark.
17222
17223         * benchtests/Makefile (bench): Add atan and slowatan.
17224         * benchtests/atan-inputs: New file.
17225         * benchtests/slowatan-inputs: New file.
17226         * benchtests/slowatan.c: New file.
17227
17228         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17229         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17230         its value.
17231
17232         [BZ #15305]
17233         * sysdeps/unix/sysv/linux/kernel-features.h
17234         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17235         __ASSUME_XFS_RESTRICTED_CHOWN.
17236         * sysdeps/unix/sysv/linux/pathconf.c
17237         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17238         Save and restore errno.
17239
17240 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17241
17242         [BZ #15327]
17243         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17244         arguments using __kernel_casinh.
17245         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17246         arguments using __kernel_casinhf.
17247         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17248         arguments using __kernel_casinhl.
17249         * math/libm-test.inc (cacosh_test): Add more tests.
17250         * sysdeps/i386/fpu/libm-test-ulps: Update.
17251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17252
17253 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17254
17255         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17257
17258         * bench/Makefile (bench): Add sin and slowsin.
17259         * benchtests/sin-inputs: New file.
17260         * benchtests/slowsin-inputs: New file.
17261         * benchtests/slowsin.c: New file.
17262
17263         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17264         (bench): Add slowexp and slowpow.
17265         (exp-ITER): Increase iterations.
17266         (pow-ITER): Likewise.
17267         * benchtests/exp-inputs: Change input.
17268         * benchtests/pow-inputs: Likewise.
17269         * benchtests/slowexp-inputs: New file.
17270         * benchtests/slowexp.c: New file.
17271         * benchtests/slowpow-inputs: New file.
17272         * benchtests/slowpow.c: New file.
17273
17274 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17275
17276         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17277         instructions.
17278         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17279         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17280         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17281         * benchtests/Makefile: Add rint benchtest.
17282         * benchtests/rint-inputs: Input for rint benchtest.
17283
17284 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17285
17286         * Versions.def (libm): Add GLIBC_2.18.
17287         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17288         hidden libm prototypes.
17289         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17290         * math/Makefile (libm-calls): Add s_issignaling.
17291         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17292         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17293         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17294         declaration.
17295         * math/math.h [__USE_GNU] (issignaling): New macro.
17296         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17297         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17298         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17299         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17300         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17301         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17302         * manual/arith.texi (issignaling): New section.
17303         * manual/libm-err-tab.pl (@all_functions): Update comment.
17304         * math/gen-libm-test.pl (parse_args): Apply special handling for
17305         issignaling.
17306         * math/libm-test.inc (print_float, issignaling_test): New
17307         functions.
17308         (check_float_internal): Add issignaling checks.
17309         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17310         default definition.
17311         * sysdeps/powerpc/math-tests.h: New file.
17312         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17313         tests.
17314         * math/test-snan.c (TEST_FUNC): Likewise.
17315
17316 2013-03-30  David S. Miller  <davem@davemloft.net>
17317
17318         * po/de.po: Update from translation team.
17319
17320 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17321
17322         [BZ #10357]
17323         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17324         imaginary part less than 1.0 and real part less than 0.5
17325         specially.
17326         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17327         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17328         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17329         (cacos_test): Add more tests.
17330         (casin_test): Likewise.
17331         (casinh_test): Likewise.
17332         * sysdeps/i386/fpu/libm-test-ulps: Update.
17333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17334
17335 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17336
17337         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17338         ONE with its value.
17339
17340         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17341         (__pow_mp): Replace ONE and MONE with their values.
17342         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17343         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17344         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17345         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17346         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17347         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17348
17349         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17350
17351         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17352         (__pow_mp): Replace ZERO and MZERO with their values.
17353         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17354         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17355         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17357         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17358         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17359         (__sqr): Likewise.
17360
17361         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17362
17363         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17364
17365 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17366
17367         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17368         Declare with __attribute__ ((weak)).
17369         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17370         Call __call_tls_dtors only if it's not NULL.
17371
17372 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17373
17374         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17375         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17376         magic __ehdr_start linker symbol if it's defined.
17377         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17378         them up here if it was already done.
17379
17380         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17381         (_dl_aux_init): Use const in cast when setting it.
17382         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17383         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17384         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17385
17386         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17387         Declare them here.
17388         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17389         * csu/libc-tls.c: Nor here.
17390         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17391
17392         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17393         (__libc_message): Never call vsyslog.
17394
17395 2013-03-28  Alan Modra  <amodra@gmail.com>
17396
17397         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17398         Define as empty.
17399         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17400         Likewise.
17401
17402 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17403
17404         [BZ #15214]
17405         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17406         underflow.
17407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17408
17409 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17410
17411         [BZ #15304]
17412         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17413         Don't add gid passed as argument.
17414
17415         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17416
17417 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17418
17419         [BZ #15307]
17420         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17421         imaginary part between 1.0 and 1.5 and real part less than 0.5
17422         specially.
17423         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17424         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17425         * math/libm-test.inc (cacos_test): Add more tests.
17426         (casin_test): Likewise.
17427         (casinh_test): Likewise.
17428         * sysdeps/i386/fpu/libm-test-ulps: Update.
17429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17430
17431 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17432
17433         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17434         constants.
17435         (norm): Likewise.
17436         (denorm): Likewise.
17437         (__dbl_mp): Likewise.
17438         (add_magnitudes): Likewise.
17439         (sub_magnitudes): Likewise.
17440         (__add): Likewise.
17441         (__sub): Likewise.
17442         (__mul): Likewise.
17443         (__sqr): Likewise.
17444         (__inv): Likewise.
17445         (__dvd): Likewise.
17446
17447         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17448         commented code.
17449         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17450         (__dubcos): Likewise.
17451         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17452         (__ieee754_acos): Likewise.
17453         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17454         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17455         (__exp1): Likewise.
17456         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17457         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17458         (log1): Likewise.
17459         (my_log2): Likewise.
17460         (checkint): Likewise.
17461         * sysdeps/ieee754/dbl-64/e_remainder.c
17462         (__ieee754_remainder): Likewise.
17463         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17464         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17465         (bsloww): Likewise.
17466         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17467
17468         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17469         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17470         MANTISSA_STORE_T to store computations on mantissa.  Use
17471         macros for rounding and division.
17472         (denorm): Likewise.
17473         (__dbl_mp): Likewise.
17474         (add_magnitudes): Likewise.
17475         (sub_magnitudes): Likewise.
17476         (__mul): Likewise.
17477         (__sqr): Likewise.
17478         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17479         powers of two in terms of TWOPOW macro.
17480         (mp_no): Make type of mantissa as MANTISSA_T.
17481         [!RADIXI]: Define RADIXI.
17482         [!TWO52]: Define TWO52.
17483         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17484
17485 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17486
17487         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17488         llroundl symbol when building for PPC32.
17489
17490 2013-03-24  Mark H Weaver  <mhw@netris.org>
17491
17492         * manual/arith.texi (Normalization Functions): Fix prototypes for
17493         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17494
17495 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17496
17497         [BZ #13889]
17498         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17499         high value to check if expl overflow.
17500         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17501         to check for underflow and overflow.
17502         * math/libm-test.inc: Add exp test.
17503
17504 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17505
17506         [BZ #11120]
17507         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17508         with NOT_IN_libc.
17509
17510 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17511
17512         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17513         symbol.
17514
17515 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17516
17517         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17518         wrap blocks consisting of several statements.
17519
17520         * sysdeps/generic/math-tests.h: New file.
17521         * sysdeps/i386/fpu/math-tests.h: Likewise.
17522         * math/test-snan.c: Include it.
17523         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17524
17525 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17526
17527         [BZ #15285]
17528         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17529         (__ieee754_j0l): Do not improve calculations using cos of twice
17530         input for inputs above LDBL_MAX / 2.0L.
17531         (__ieee754_y0l): Likewise.
17532         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17533         (__ieee754_j1l): Do not improve calculations using cos of twice
17534         input for inputs above LDBL_MAX / 2.0L.
17535         (__ieee754_y1l): Likewise.
17536         * math/libm-test.inc (j0_test): Add another test.
17537         (j1_test): Likewise.
17538         (y0_test): Likewise.
17539         (y1_test): Likewise.
17540         * sysdeps/i386/fpu/libm-test-ulps: Update.
17541
17542 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17543
17544         * Rules ($(objpfx)bench-%.c): Include code from a C source
17545         file.
17546
17547 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17548
17549         [BZ #15287]
17550         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17551         imaginary part 1.0 and real part less than 0.5 specially.
17552         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17553         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17554         * math/libm-test.inc (cacos_test): Add more tests.
17555         (casin_test): Likewise.
17556         (casinh_test): Likewise.
17557         * sysdeps/i386/fpu/libm-test-ulps: Update.
17558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17559
17560 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17561
17562         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17563         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17564
17565 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17566
17567         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17568         * config.make.in (config-cflags-sse4): Remove variable.
17569         (config-cflags-avx): Likewise.
17570         (config-cflags-sse2avx): Likewise.
17571         (config-cflags-novzeroupper): Likewise.
17572         (config-asflags-i686): Likewise.
17573         (have-mfma4): Likewise.
17574         (have-as-vis3): Likewise.
17575         (MIG): Likewise.
17576         * configure.in (MIG): Do not AC_SUBST.
17577         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17578         (libc_cv_cc_sse4): Do not AC_SUBST.
17579         (libc_cv_cc_avx): Likewise.
17580         (libc_cv_cc_sse2avx): Likewise.
17581         (libc_cv_cc_novzeroupper): Likewise.
17582         (libc_cv_cc_fma4): Likewise.
17583         (libc_cv_as_i686): Likewise.
17584         (libc_cv_sparc_as_vis3): Likewise.
17585         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17586         LIBC_CONFIG_VAR.
17587         (config-asflags-i686): Likewise.
17588         (config-cflags-avx): Likewise.
17589         (config-cflags-sse2avx): Likewise.
17590         (have-mfma4): Likewise.
17591         (config-cflags-novzeroupper): Likewise.
17592         * sysdeps/mach/configure.in (MIG): Likewise.
17593         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17594         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17595         LIBC_CONFIG_VAR.
17596         (config-cflags-avx): Likewise.
17597         (config-cflags-sse2avx): Likewise.
17598         (have-mfma4): Likewise.
17599         (config-cflags-novzeroupper): Likewise.
17600         * configure: Regenerated.
17601         * sysdeps/i386/configure: Likewise.
17602         * sysdeps/mach/configure: Likewise.
17603         * sysdeps/sparc/configure: Likewise.
17604         * sysdeps/x86_64/configure: Likewise.
17605
17606 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17607
17608         [BZ #14812]
17609         * locale/programs/localedef.c (options): Put N_ translation marker
17610         on argument names, not just descriptions.
17611
17612 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17613
17614         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17615
17616 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17617
17618         [BZ #14176]
17619         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17620
17621 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17622
17623         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17624         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17625         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17626         [!BEFORE_ABORT] (before_abort): New function.
17627         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17628         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17629         (writev_for_fatal): New function.
17630         (WRITEV_FOR_FATAL): New macro; call that.
17631         (backtrace_and_maps): New function.
17632         (BEFORE_ABORT): New macro; call that.
17633         (struct str_list): Type removed.
17634         (__libc_message, __libc_fatal): Functions removed.
17635         Include <sysdeps/posix/libc_fatal.c> instead.
17636
17637 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17638
17639         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17640         constants.
17641         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17642         double constants.
17643
17644 2013-03-19  Andreas Schwab  <schwab@suse.de>
17645
17646         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17647         * sysdeps/gnu/configure: Regenerate.
17648
17649         * configure.in: Substitute libc_cv_rtlddir.
17650         * configure: Regenerate.
17651         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17652         * Makeconfig (rtlddir, inst_rtlddir): New variables.
17653         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17654         * elf/Makefile (install-others, CFLAGS-interp.c)
17655         (ldso_install, common-ldd-rewrite): Likewise.
17656         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17657         $(inst_slibdir)/$(rtld-installed-name).
17658         * scripts/rellns-sh: Add -p option.
17659         * Makerules (make-shlib-link): Use rellns-sh to get relative name
17660         for source.
17661
17662 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17663
17664         * manual/nptl.texi: Renamed to ...
17665         * manual/threads.texi: ... this.
17666         * manual/Makefile (chapters): Update.
17667
17668 2013-03-18  Roland McGrath  <roland@hack.frob.com>
17669
17670         [BZ #14812]
17671         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17672         on argument names, not just descriptions.
17673         * malloc/memusagestat.c (options): Likewise.
17674         * nss/getent.c (options): Likewise.
17675
17676 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
17677
17678         [BZ #14812]
17679         * iconv/iconv_prog.c (options): Put N_ translation marker
17680         on argument names, not just descriptions.
17681         * iconv/iconvconfig.c (options): Likewise.
17682
17683 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
17684
17685         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17686         implementation which is faster on all x86_64 architectures.
17687         Tested on AMD, Intel Nehalem, SNB, IVB.
17688         * sysdeps/x86_64/strnlen.S: Likewise.
17689
17690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17691         Remove all multiarch strlen and strnlen versions.
17692         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17693         Remove strlen and strnlen related parts.
17694
17695         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17696         Inline strlen part.
17697         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17698
17699         * sysdeps/x86_64/multiarch/strlen.S: Remove.
17700         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17701         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17702         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17703         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17704         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17705
17706 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
17707
17708         * manual/memory.texi (Malloc Tunable Parameters):
17709         Sort parameters alphabetically. Add comments for missing entries.
17710
17711 2013-03-17  David S. Miller  <davem@davemloft.net>
17712
17713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17714
17715 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
17716
17717         [BZ #15283]
17718         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17719         for arguments at most half maximum finite value.
17720         * math/libm-test.inc (j0_test): Add more tests.
17721         (j1_test): Likewise.
17722         (y0_test): Likewise.
17723         (y1_test): Likewise.
17724         * sysdeps/i386/fpu/libm-test-ulps: Update.
17725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17726
17727         [BZ #14155]
17728         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17729         1 / x and functions P and Q for arguments above 0x1p256L.
17730         (__ieee754_y0l): Likewise.
17731         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17732         (__ieee754_y1l): Likewise.
17733         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17734         (j1_test): Likewise.
17735         (y0_test): Likewise.
17736         (y1_test): Likewise.
17737
17738 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
17739
17740         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17741         variable.
17742
17743 2013-03-15  Roland McGrath  <roland@hack.frob.com>
17744
17745         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17746         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17747         zero since it's initialized to EXEC_PAGESIZE.
17748
17749         * sysdeps/unix/sysv/linux/ldsodefs.h
17750         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17751         * sysdeps/generic/ldsodefs.h: ... here.
17752
17753 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
17754
17755         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17756
17757         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17758         math/test-snan.c.
17759         * math/test-snan.c: Renamed from
17760         sysdeps/powerpc/fpu/test-powerpc-snan.c.
17761         * math/Makefile (tests): Add test-snan.
17762         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17763         test-powerpc-snan.
17764
17765         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17766         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
17767         functions.
17768         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
17769         __builtin_nan family of functions.
17770         * math/libm-test.inc (initialize): Initialize qnan_value with
17771         __builtin_nan family of functions.
17772         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17773         Remove variables.
17774         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17775         Remove functions.
17776         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
17777         storage class.  Initialize qNaN_var and sNaN_var with
17778         __builtin_nan and __builtin_nans families of functions,
17779         respectively.
17780
17781         * math/libm-test.inc (acosh_test): Also test with qNaN input.
17782         (sqrt_test): Remove duplicate test with qNaN input.
17783         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17784         (round_test, signbit_test, significand_test): Note missing +/-Inf
17785         as well as qNaN tests.
17786
17787         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17788         qNaN_var.  Fix a few strings, too.
17789         * math/libm-test.inc (nan_value): Rename to qnan_value.
17790         * math/gen-libm-test.pl (%beautify): Adjust to that.
17791         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17792         * math/test-misc.c (main): Likewise.
17793         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17794         to __qnan_bytes, and __qnan_union, respectively.
17795         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17796         Likewise.
17797         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17798         and lqnanval, respectively.
17799         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17800         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17801         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17802         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17803
17804         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17805         * math/test-misc.c (main) [__x86_64__]: Enable test for long
17806         doubles.
17807
17808         * math/test-misc.c (main): Fix copy'n'pastos.
17809         * misc/tst-efgcvt.c (special): Likewise.
17810
17811         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17812         Remove declarations.
17813
17814 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17815
17816         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17817         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17818         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17819         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17820
17821 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17822
17823         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17824         macro to return vdso values correctly in IFUNC implementations.
17825         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17826         Optimization by using IFUNC.
17827
17828 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17829             Richard Henderson  <rth@redhat.com>
17830             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17831
17832         * Makefile.in (bench): New target.
17833         * NEWS: Mention the benchmark framework.
17834         * Rules (bench): Likewise.
17835         (binaries-bench): Generate binaries for functions to
17836         benchmark.
17837         * benchtests/Makefile: New makefile for benchmark tests.
17838         * benchtests/bench-skeleton.c: New skeleton file for benchmark
17839         programs.
17840         * benchtests/exp-inputs: New input file for EXP function.
17841         * benchtests/pow-inputs: New input file for POW function.
17842         * scripts/bench.pl: New script to generate source files for
17843         benchmark programs.
17844
17845 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17846
17847         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17848         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17849         computations on mantissa.  Use macros for rounding and
17850         division.
17851         (denorm): Likewise.
17852         (__dbl_mp): Likewise.
17853         (add_magnitudes): Likewise.
17854         (sub_magnitudes): Likewise.
17855         (__mul): Likewise.
17856         (__sqr): Likewise.
17857         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17858         powers of two in terms of TWOPOW macro.
17859         (mp_no): Make type of mantissa as MANTISSA_T.
17860         [!RADIXI]: Define RADIXI.
17861         [!TWO52]: Define TWO52.
17862         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17863
17864         * manual/nptl.texi (cindex): Modify threads to pthreads.
17865
17866 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17867
17868         * sysdeps/x86_64/preconfigure: Regenerated.
17869
17870 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17871
17872         [BZ #14155]
17873         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17874         0x1p28 and above.
17875         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17876         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17877         0x1p28 and above.
17878         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17879         * math/libm-test.inc (j0_test): Do not allow one spurious
17880         underflow exception.
17881         (y1_test): Likewise.
17882
17883 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17884
17885         * manual/Makefile (chapters): Add nptl.
17886         * manual/debug.texi (Debugging Support): Add link to Threads
17887         chapter.
17888         * manual/nptl.texi: New file.
17889
17890         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17891
17892 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17893
17894         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17895         for non-NULL pointer before the memory validity test. Pointed
17896         out by Holger Brunck <holger.brunck@keymile.com>.
17897
17898 2013-03-13  Andreas Schwab  <schwab@suse.de>
17899
17900         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17901         instead of .os.
17902
17903 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17904
17905         * timezone/zic.c: Update from tzcode 2013b.
17906
17907 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17908
17909         * manual/install.texi (Configuring and compiling):
17910         Mention i686 and i586.
17911         * INSTALL: Regenerate.
17912
17913 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17914
17915         * sysdeps/init_array/elf-init.c: New file.
17916         * csu/elf-init.c
17917         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17918         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17919
17920         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17921         __gmon_start__ as global, but as static with a .preinit_array pointer.
17922         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17923         * sysdeps/init_array/crti.S: New file, empty except for comments.
17924         * sysdeps/init_array/crtn.S: Likewise.
17925
17926 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17927
17928         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17929         definining bcopy.
17930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17931         Remove Prefer_SSE_for_memop.
17932         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17933         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17934         HAS_PREFER_SSE_FOR_MEMOP.
17935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17936         memset-x86-64.
17937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17938         Remove bzero, memset ifunc support.
17939         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17940         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17941         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17942         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17943
17944 2013-03-11  Andreas Schwab  <schwab@suse.de>
17945
17946         [BZ #15234]
17947         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17948         by SHLIB_COMPAT.
17949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17950         (GLIBC_2.16): Remove pthread_atfork.
17951
17952 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17953
17954         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17955         (ptestcases.h): Likewise.
17956
17957 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17958
17959         * Makeconfig ($(common-objpfx)config.status): Depend on
17960         sysdeps/*/preconfigure{,.in} too.
17961
17962 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17963
17964         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17965         (__free_hook): Use void * instead of __malloc_ptr_t.
17966         (__malloc_hook): Likewise.
17967         (__realloc_hook): Likewise.
17968         (__memalign_hook): Likewise.
17969         (__after_morecore_hook): Likewise.
17970         * malloc/arena.c (save_malloc_hook): Likewise.
17971         (save_free_hook): Likewise.
17972         * malloc/hooks.c (malloc_hook_ini): Likewise.
17973         (realloc_hook_ini): Likewise.
17974         (memalign_hook_ini): Likewise.
17975         * malloc/malloc.c (malloc_hook_ini): Likewise.
17976         (realloc_hook_ini): Likewise.
17977         (memalign_hook_ini): Likewise.
17978         (__free_hook): Likewise.
17979         (__malloc_hook): Likewise.
17980         (__realloc_hook): Likewise.
17981         (__memalign_hook): Likewise.
17982         (__libc_malloc): Likewise.
17983         (__libc_free): Likewise.
17984         (__libc_realloc): Likewise.
17985         (__libc_memalign): Likewise.
17986         (__libc_valloc): Likewise.
17987         (__libc_pvalloc): Likewise.
17988         (__libc_calloc): Likewise.
17989         (__posix_memalign): Likewise.
17990         * malloc/morecore.c (__sbrk): Likewise.
17991         (__default_morecore): Likewise.
17992
17993         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17994
17995         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17996         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17997         __malloc_ptrdiff_t.
17998
17999         * malloc/malloc.h (__malloc_size_t): Remove macro.
18000         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18001         __malloc_size_t.
18002         (old_memalign_hook): Likewise.
18003         (old_realloc_hook): Likewise.
18004         (struct hdr): Likewise.
18005         (flood): Likewise.
18006         (mallochook): Likewise.
18007         (memalignhook): Likewise.
18008         (reallochook): Likewise.
18009         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18010         (tr_old_realloc_hook): Likewise.
18011         (tr_old_memalign_hook): Likewise.
18012         (tr_mallochook): Likewise.
18013         (tr_reallochook): Likewise.
18014         (tr_memalignhook): Likewise.
18015
18016 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18017
18018         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18019         default_ldbl_pack and using as default implementation.
18020         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18021         implementation.
18022         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18023         redundant definition.
18024         (ldbl_insert_mantissa): Likewise.
18025         (ldbl_canonicalize): Likewise.
18026         (ldbl_nearbyint): Likewise.
18027         (ldbl_pack): Rename to ldbl_pack_ppc.
18028         (ldbl_unpack): Rename to ldbl_unpack_ppc.
18029         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18030         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18031
18032 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18033
18034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18035         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18036         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18037         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18039         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18040         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18041         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18042
18043 2013-03-07  Andreas Jaeger  <aj@suse.de>
18044
18045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18046         bits/mman-linux.h.
18047
18048 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18049
18050         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18051         Include mpa.h and declare __MPEXP.
18052         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18053         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18054         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18055         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18056         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18057         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18058         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18059
18060         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18061         (__slowpow): Use long double EXPL and LOGL functions to
18062         compute POW.
18063         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18064         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18065         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18066         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18067         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18068         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18069
18070         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18071         intermediate variable to calculate exponent.
18072         (__sqr): Likewise.
18073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18074         Likewise.
18075         (__sqr): Likewise.
18076
18077         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18078         [!NO__SQR]: Define __sqr.
18079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18080         and NO__SQR.  Remove all code except __mul and __sqr.  Include
18081         sysdeps/ieee754/dbl-64/mpa.c.
18082         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18083
18084         [BZ #12723]
18085         * posix/Makefile (tests): Add tst-pathconf.
18086         * posix/tst-pathconf.c: New test case.
18087         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18088         _PC_PIPE_BUF.
18089         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18090
18091 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
18092
18093         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18094
18095 2013-03-06  Andreas Jaeger  <aj@suse.de>
18096
18097         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18098         definition via __MAP_ANONYMOUS.
18099
18100         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18101         it's not part of Linux headers.
18102
18103         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18104         (MAP_HUGE_MASK): Define.
18105
18106         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18107         Define.
18108         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18109         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18110         Define.
18111         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18112         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18113         Define.
18114         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18115         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18116         Define.
18117         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18118
18119         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18120         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18121         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18122         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18123         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18124         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18125
18126         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18127         Handle f2fs.
18128
18129         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18130         Handle f2fs and efivarfs.
18131
18132         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18133         f2fs.
18134
18135         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18136         (EFIVARFS_MAGIC): Add.
18137         (F2FS_LINK_MAX): Add.
18138
18139 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18140
18141         * stdio-common/vfprintf.c: Replace __builtin_expect with
18142         __glibc_unlikely.
18143
18144 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
18145
18146         [BZ #13550]
18147         * sysdeps/generic/bp-sym.h: Remove file.
18148         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18149         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18150         <bp-sym.h> and <bp-asm.h>.
18151         (__longjmp): Don't use BP_SYM.
18152         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18153         and <bp-asm.h>.
18154         (memcpy): Don't use BP_SYM.
18155         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18156         <bp-sym.h> and <bp-asm.h>.
18157         (memcpy): Don't use BP_SYM.
18158         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18159         <bp-asm.h>.
18160         (memcpy): Don't use BP_SYM.
18161         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18162         <bp-asm.h>.
18163         (memset): Don't use BP_SYM.
18164         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18165         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18166         (__bzero): Don't use BP_SYM.
18167         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18168         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18169         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18170         <bp-sym.h> and <bp-asm.h>.
18171         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18172         pointers.
18173         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18174         <bp-sym.h> and <bp-asm.h>.
18175         (memcpy): Don't use BP_SYM.
18176         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18177         <bp-sym.h> and <bp-asm.h>.
18178         (memset): Don't use BP_SYM.
18179         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18180         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18181         (__bzero): Don't use BP_SYM.
18182         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18183         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18184         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18185         <bp-sym.h> and <bp-asm.h>.
18186         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18187         pointers.
18188         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18189         <bp-sym.h> and <bp-asm.h>.
18190         (memcpy): Don't use BP_SYM.
18191         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18192         <bp-sym.h> and <bp-asm.h>.
18193         (memset): Don't use BP_SYM.
18194         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18195         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18196         (__bzero): Don't use BP_SYM.
18197         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18198         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18199         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18200         <bp-sym.h> and <bp-asm.h>.
18201         (__memchr): Don't use BP_SYM.
18202         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18203         <bp-sym.h> and <bp-asm.h>.
18204         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18205         pointers.
18206         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18207         <bp-sym.h> and <bp-asm.h>.
18208         (memcpy): Don't use BP_SYM.
18209         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18210         <bp-sym.h> and <bp-asm.h>.
18211         (__mempcpy): Don't use BP_SYM.
18212         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18213         <bp-sym.h> and <bp-asm.h>.
18214         (__memrchr): Don't use BP_SYM.
18215         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18216         <bp-sym.h> and <bp-asm.h>.
18217         (memset): Don't use BP_SYM.
18218         (__bzero): Likewise.
18219         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18220         <bp-sym.h> and <bp-asm.h>.
18221         (__rawmemchr): Don't use BP_SYM.
18222         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18223         <bp-sym.h> and <bp-asm.h>.
18224         (__STRCMP): Don't use BP_SYM.
18225         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18226         <bp-sym.h> and <bp-asm.h>.
18227         (strchr): Don't use BP_SYM.
18228         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18229         <bp-sym.h> and <bp-asm.h>.
18230         (__strchrnul): Don't use BP_SYM.
18231         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18232         <bp-sym.h> and <bp-asm.h>.
18233         (strlen): Don't use BP_SYM.
18234         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18235         <bp-sym.h> and <bp-asm.h>.
18236         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18237         pointers.
18238         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18239         <bp-sym.h> and <bp-asm.h>.
18240         (__strnlen): Don't use BP_SYM.
18241         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18242         <bp-sym.h> and <bp-asm.h>.
18243         (__GI__setjmp): Don't use BP_SYM.
18244         (_setjmp): Likewise.
18245         (__sigsetjmp): Likewise.
18246         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18247         (L(start_addresses)): Don't use BP_SYM.
18248         (_start): Likewise.
18249         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18250         <bp-asm.h>.
18251         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18252         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18253         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18254         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18255         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18256         <bp-asm.h>.
18257         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18258         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18259         about bounded pointers.
18260         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18261         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18262         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18263         <bp-asm.h>.
18264         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18265         about bounded pointers.  Remove GKM FIXME comments.
18266         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18267         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18268         <bp-asm.h>.
18269         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18270         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18271         Remove GKM FIXME comments.
18272         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18273         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18274         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18275         <bp-asm.h>.
18276         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18277         about bounded pointers.  Remove GKM FIXME comment.
18278         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18279         and <bp-asm.h>.
18280         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18281         pointers.
18282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18283         <bp-sym.h> and <bp-asm.h>.
18284         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18286         <bp-sym.h> and <bp-asm.h>.
18287         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18288         comment.
18289
18290 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18291
18292         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18293         call free(NULL).
18294
18295 2013-03-05  David S. Miller  <davem@davemloft.net>
18296
18297         * po/es.po: Update from translation team.
18298
18299 2013-03-05  Andreas Jaeger  <aj@suse.de>
18300
18301         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18302         <bits/mman-linux.h>.
18303         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18304         is fine.
18305         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18306         <bits/mman-linux.h> to end of file.
18307         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18308         is fine.
18309         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18310         <bits/mman-linux.h> to end of file.
18311         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18312         is fine.
18313         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18314         <bits/mman-linux.h> to end of file.
18315
18316         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18317         (MCL_CURRENT, MCL_FUTURE): Define here.
18318
18319 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18320
18321         [BZ #15232]
18322         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18323         attribute_hidden.
18324         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18325
18326 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18327
18328         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18329         fourth parameter needed for rt_sigprocmask syscall.
18330         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18331         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18332         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18333         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18334         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18335         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18336
18337 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18338
18339         [BZ #13550]
18340         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18341         comment about bounded pointers.
18342         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18343         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18344
18345 2013-03-04  Andreas Jaeger  <aj@suse.de>
18346
18347         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18348         common definitions.
18349
18350         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18351         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18352         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18353         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18354         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18355         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18356
18357 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18358
18359         [BZ #15055]
18360         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18361         __ieee754_sqrl instead of __sqrl.
18362
18363 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18364
18365         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18366         * sysdeps/powerpc/fpu_control.h: ... here.
18367         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18368         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18369         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18370         * sysdeps/powerpc/bits/mathinline.h: ... here.
18371
18372 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18373
18374         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18375         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18376         to just [NEED_DL_SYSINFO_DSO].
18377         * elf/dl-support.c: Likewise.
18378         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18379         * elf/rtld.c (dl_main): Likewise.
18380         * elf/setup-vdso.h (setup_vdso): Likewise.
18381         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18382         * sysdeps/unix/sysv/linux/dl-sysdep.c
18383         (_dl_discover_osversion): Likewise.
18384
18385 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18386
18387         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18388         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18389
18390 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18391
18392         * NEWS: Mention libm performance improvements and non-x86 PI
18393         futex support.
18394
18395         * csu/libc-start.c (__pthread_initialize_minimal): Change
18396         function arguments.
18397         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18398
18399 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18400
18401         [BZ #13550]
18402         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18403         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18404         <bp-sym.h> and <bp-asm.h>.
18405         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18406         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18407         and <bp-asm.h>.
18408         (memcpy): Don't use BP_SYM.
18409         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18410         <bp-asm.h>.
18411         (__mpn_add_n): Don't use BP_SYM.
18412         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18413         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18414         and <bp-asm.h>.
18415         (__mpn_addmul_1): Don't use BP_SYM.
18416         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18417         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18418         <bp-sym.h>.
18419         (_setjmp): Don't use BP_SYM.
18420         (__novmx_setjmp): Likewise.
18421         (__GI__setjmp): Likewise.
18422         (__vmx_setjmp): Likewise.
18423         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18424         <bp-sym.h>.
18425         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18426         (__bzero): Don't use BP_SYM.
18427         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18428         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18429         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18430         <bp-sym.h> and <bp-asm.h>.
18431         (memcpy): Don't use BP_SYM.
18432         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18433         <bp-sym.h> and <bp-asm.h>.
18434         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18435         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18436         <bp-sym.h> and <bp-asm.h>.
18437         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18438         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18439         <bp-asm.h>.
18440         (__mpn_lshift): Don't use BP_SYM.
18441         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18442         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18443         <bp-asm.h>.
18444         (memset): Don't use BP_SYM.
18445         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18446         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18447         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18448         <bp-asm.h>.
18449         (__mpn_mul_1): Don't use BP_SYM.
18450         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18452         <bp-sym.h> and <bp-asm.h>.
18453         (memcmp): Don't use BP_SYM.
18454         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18455         <bp-sym.h> and <bp-asm.h>.
18456         (memcpy): Don't use BP_SYM.
18457         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18458         <bp-sym.h> and <bp-asm.h>.
18459         (memset): Don't use BP_SYM.
18460         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18461         <bp-sym.h> and <bp-asm.h>.
18462         (strncmp): Don't use BP_SYM.
18463         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18464         <bp-sym.h> and <bp-asm.h>.
18465         (memcpy): Don't use BP_SYM.
18466         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18467         <bp-sym.h> and <bp-asm.h>.
18468         (memset): Don't use BP_SYM.
18469         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18470         <bp-sym.h> and <bp-asm.h>.
18471         (__memchr): Don't use BP_SYM.
18472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18473         <bp-sym.h> and <bp-asm.h>.
18474         (memcmp): Don't use BP_SYM.
18475         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18476         <bp-sym.h> and <bp-asm.h>.
18477         (memcpy): Don't use BP_SYM.
18478         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18479         <bp-sym.h> and <bp-asm.h>.
18480         (__mempcpy): Don't use BP_SYM.
18481         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18482         <bp-sym.h> and <bp-asm.h>.
18483         (__memrchr): Don't use BP_SYM.
18484         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18485         <bp-sym.h> and <bp-asm.h>.
18486         (memset): Don't use BP_SYM.
18487         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18488         <bp-sym.h> and <bp-asm.h>.
18489         (__rawmemchr): Don't use BP_SYM.
18490         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18491         <bp-sym.h> and <bp-asm.h>.
18492         (__STRCMP): Don't use BP_SYM.
18493         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18494         <bp-sym.h> and <bp-asm.h>.
18495         (strchr): Don't use BP_SYM.
18496         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18497         <bp-sym.h> and <bp-asm.h>.
18498         (__strchrnul): Don't use BP_SYM.
18499         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18500         <bp-sym.h> and <bp-asm.h>.
18501         (strlen): Don't use BP_SYM.
18502         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18503         <bp-sym.h> and <bp-asm.h>.
18504         (strncmp): Don't use BP_SYM.
18505         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18506         <bp-sym.h> and <bp-asm.h>.
18507         (__strnlen): Don't use BP_SYM.
18508         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18509         <bp-asm.h>.
18510         (__mpn_rshift): Don't use BP_SYM.
18511         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18512         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18513         <bp-sym.h> and <bp-asm.h>.
18514         (__sigsetjmp): Don't use BP_SYM.
18515         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18516         (L(start_addresses)): Don't use BP_SYM.
18517         (_start): Likewise.
18518         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18519         <bp-asm.h>.
18520         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18521         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18522         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18523         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18524         <bp-asm.h>.
18525         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18526         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18527         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18528         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18529         <bp-asm.h>.
18530         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18531         comments.
18532         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18533         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18534         <bp-asm.h>.
18535         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18536         FIXME comments.
18537         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18538         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18539         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18540         <bp-asm.h>.
18541         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18542         comment.
18543         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18544         and <bp-asm.h>.
18545         (strncmp): Don't use BP_SYM,
18546         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18547         <bp-asm.h>.
18548         (__mpn_sub_n): Don't use BP_SYM.
18549         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18550         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18551         and <bp-asm.h>.
18552         (__mpn_submul_1): Don't use BP_SYM.
18553         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18555         <bp-sym.h> and <bp-asm.h>.
18556         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18558         <bp-sym.h> and <bp-asm.h>.
18559         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18560         comment.
18561
18562 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18563
18564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18565         Use ZK to minimize writes to Z.
18566         (sub_magnitudes): Simplify code a bit.
18567         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18568         Use ZK to minimize writes to Z.
18569         (sub_magnitudes): Simplify code a bit.
18570
18571 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18572
18573         * csu/gmon-start.c: Add special exception to license text.
18574
18575 2013-02-27  Richard Henderson  <rth@redhat.com>
18576
18577         * scripts/config.guess: Update from config.git.
18578         * scripts/config.sub: Likewise.
18579
18580 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18581
18582         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18583
18584         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18585
18586         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18587
18588         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18589
18590         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18591
18592 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18593
18594         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18595         [$(build-shared = yes].
18596
18597 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18598
18599         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18600         (__mul): Reduce iterations for calculating mantissa.
18601
18602         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18603         MPTWO.
18604         (__mpranred): Likewise.
18605
18606         [BZ #15160]
18607         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18608         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18609
18610 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18611
18612         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18613         Define __attribute__.
18614
18615 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18616
18617         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18618         unused.
18619         * posix/regex_internal.h (__attribute): Remove.
18620         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18621         (re_string_context_at): Likewise.
18622         (bitset_not): Use __attribute__ and mark function as possibly
18623         unused.
18624         (bitset_merge): Likewise.
18625         (bitset_mask): Likewise.
18626         (re_string_char_size_at): Likewise.
18627         (re_string_wchar_at): Likewise.
18628         (re_string_elem_size_at): Likewise.
18629
18630 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18631
18632         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18633         code.
18634         (cc32): Likewise.
18635
18636         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18637         (__acr): Likewise.
18638         (__cpy): Likewise.
18639         (norm): Likewise.
18640         (denorm): Likewise.
18641         (__dbl_mp): Likewise.
18642         (add_magnitudes): Likewise.
18643         (sub_magnitudes): Likewise.
18644         (__mul): Likewise.
18645         (__inv): Likewise.
18646
18647         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18648         style.
18649
18650         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18651         style.
18652
18653         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18654         code.
18655
18656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18657         up changes with default code.
18658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18659         Likewise.
18660
18661 2013-02-24  Allan McRae  <allan@archlinux.org>
18662
18663         * manual/socket.texi (The Internet Namespace): Order menu items
18664         to match that in the file.
18665
18666         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18667         node listing of the info page menu.
18668
18669 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
18670
18671         [BZ #13550]
18672         * sysdeps/i386/bp-asm.h: Remove file.
18673         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18674         (PARMS): Do not use macros from bp-asm.h.
18675         (S1): Likewise.
18676         (S2): Likewise.
18677         (SIZE): Likewise.
18678         (__mpn_add_n): Do not use BP_SYM
18679         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18680         "bp-asm.h".
18681         (PARMS): Do not use macros from bp-asm.h.
18682         (S1): Likewise.
18683         (SIZE): Likewise.
18684         (__mpn_addmul_1): Do not use BP_SYM
18685         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18686         "bp-asm.h".
18687         (PARMS): Do not use macros from bp-asm.h.
18688         (SIGMSK): Likewise.
18689         (_setjmp): Likewise.  Do not use BP_SYM.
18690         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18691         "bp-asm.h".
18692         (PARMS): Do not use macros from bp-asm.h.
18693         (SIGMSK): Likewise.
18694         (setjmp): Likewise.  Do not use BP_SYM.
18695         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18696         "bp-asm.h".
18697         (PARMS): Do not use macros from bp-asm.h.
18698         (__frexp): Do not use BP_SYM.
18699         (frexp): Likewise.
18700         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18701         "bp-asm.h".
18702         (PARMS): Do not use macros from bp-asm.h.
18703         (__frexpf): Do not use BP_SYM.
18704         (frexpf): Likewise.
18705         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18706         "bp-asm.h".
18707         (PARMS): Do not use macros from bp-asm.h.
18708         (__frexpl): Do not use BP_SYM.
18709         (frexpl): Likewise.
18710         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18711         "bp-asm.h".
18712         (PARMS): Do not use macros from bp-asm.h.
18713         (__remquo): Do not use BP_SYM.
18714         (remquo): Likewise.
18715         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18716         "bp-asm.h".
18717         (PARMS): Do not use macros from bp-asm.h.
18718         (__remquof): Do not use BP_SYM.
18719         (remquof): Likewise.
18720         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18721         "bp-asm.h".
18722         (PARMS): Do not use macros from bp-asm.h.
18723         (__remquol): Do not use BP_SYM.
18724         (remquol): Likewise.
18725         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18726         "bp-asm.h".
18727         (PARMS): Do not use macros from bp-asm.h.
18728         (DEST): Likewise.
18729         (SRC): Likewise.
18730         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
18731         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18732         "bp-asm.h".
18733         (PARMS): Do not use macros from bp-asm.h.
18734         (strlen): Do not use BP_SYM.
18735         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18736         "bp-asm.h".
18737         (PARMS): Do not use macros from bp-asm.h.
18738         (S1): Likewise.
18739         (S2): Likewise.
18740         (SIZE): Likewise.
18741         (__mpn_add_n): Do not use BP_SYM.
18742         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18743         "bp-asm.h".
18744         (PARMS): Do not use macros from bp-asm.h.
18745         (S1): Likewise.
18746         (SIZE): Likewise.
18747         (__mpn_addmul_1): Do not use BP_SYM.
18748         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18749         weak_alias.
18750         (bzero): Likewise.
18751         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18752         "bp-asm.h".
18753         (PARMS): Do not use macros from bp-asm.h.
18754         (S): Likewise.
18755         (SIZE): Likewise.
18756         (__mpn_lshift): Do not use BP_SYM.
18757         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
18763         (memcpy): Likewise.  Do not use BP_SYM.
18764         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18765         libc_hidden_def and weak_alias.
18766         (mempcpy): Do not use BP_SYM in weak_alias.
18767         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18768         "bp-asm.h".
18769         (PARMS): Do not use macros from bp-asm.h.
18770         (DEST): Likewise.
18771         (LEN): Likewise.
18772         [!BZERO_P] (CHR): Likewise.
18773         (memset): Likewise.  Do not use BP_SYM.
18774         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
18780         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18781         "bp-asm.h".
18782         (PARMS): Do not use macros from bp-asm.h.
18783         (S): Likewise.
18784         (SIZE): Likewise.
18785         (__mpn_rshift): Do not use BP_SYM.
18786         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18787         "bp-asm.h".
18788         (PARMS): Do not use macros from bp-asm.h.
18789         (STR): Likewise.
18790         (CHR): Likewise.
18791         (strchr): Likewise.  Do not use BP_SYM.
18792         (index): Do not use BP_SYM in weak_alias.
18793         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18794         "bp-asm.h".
18795         (PARMS): Do not use macros from bp-asm.h.
18796         (DEST): Likewise.
18797         (SRC): Likewise.
18798         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
18799         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18800         "bp-asm.h".
18801         (PARMS): Do not use macros from bp-asm.h.
18802         (strlen): Do not use BP_SYM.
18803         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18804         "bp-asm.h".
18805         (PARMS): Do not use macros from bp-asm.h.
18806         (S1): Likewise.
18807         (S2): Likewise.
18808         (SIZE): Likewise.
18809         (__mpn_sub_n): Do not use BP_SYM.
18810         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18811         "bp-asm.h".
18812         (PARMS): Do not use macros from bp-asm.h.
18813         (S1): Likewise.
18814         (SIZE): Likewise.
18815         (__mpn_submul_1): Do not use BP_SYM.
18816         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18817         "bp-asm.h".
18818         (PARMS): Do not use macros from bp-asm.h.
18819         (S1): Likewise.
18820         (S2): Likewise.
18821         (SIZE): Likewise.
18822         (__mpn_add_n): Do not use BP_SYM.
18823         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18824         weak_alias.
18825         (bzero): Likewise.
18826         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18827         "bp-asm.h".
18828         (PARMS): Do not use macros from bp-asm.h.
18829         (BLK2): Likewise.
18830         (LEN): Likewise.
18831         (memcmp): Do not use BP_SYM.
18832         (bcmp): Do not use BP_SYM in weak_alias.
18833         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18834         "bp-asm.h".
18835         (PARMS): Do not use macros from bp-asm.h.
18836         (DEST): Likewise.
18837         (SRC): Likewise.
18838         (LEN): Likewise.
18839         (memcpy): Likewise.  Do not use BP_SYM.
18840         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18841         "bp-asm.h".
18842         (PARMS): Do not use macros from bp-asm.h.
18843         (DEST): Likewise.
18844         (SRC): Likewise.
18845         (LEN): Likewise.
18846         (memmove): Likewise.  Do not use BP_SYM.
18847         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18848         "bp-asm.h".
18849         (PARMS): Do not use macros from bp-asm.h.
18850         (DEST): Likewise.
18851         (SRC): Likewise.
18852         (LEN): Likewise.
18853         (__mempcpy): Likewise.  Do not use BP_SYM.
18854         (mempcpy): Do not use BP_SYM in weak_alias.
18855         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18856         "bp-asm.h".
18857         (PARMS): Do not use macros from bp-asm.h.
18858         (DEST): Likewise.
18859         (LEN): Likewise.
18860         [!BZERO_P] (CHR): Likewise.
18861         (memset): Likewise.  Do not use BP_SYM.
18862         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18863         "bp-asm.h".
18864         (PARMS): Do not use macros from bp-asm.h.
18865         (STR2): Likewise.
18866         (strcmp): Do not use BP_SYM.
18867         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18868         "bp-asm.h".
18869         (PARMS): Do not use macros from bp-asm.h.
18870         (STR): Likewise.
18871         (DELIM): Likewise.
18872         [USE_AS_STRTOK_R] (SAVE): Likewise.
18873         (FUNCTION): Likewise.  Do not use BP_SYM.
18874         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18875         aliases.
18876         (strtok_r): Likewise.
18877         (__GI___strtok_r): Likewise.
18878         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18879         (PARMS): Do not use macros from bp-asm.h.
18880         (S): Likewise.
18881         (SIZE): Likewise.
18882         (__mpn_lshift): Do not use BP_SYM.
18883         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18884         (PARMS): Do not use macros from bp-asm.h.
18885         (STR): Likewise.
18886         (CHR): Likewise.
18887         (__memchr): Do not use BP_SYM.
18888         (memchr): Do not use BP_SYM in weak_alias.
18889         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18890         (PARMS): Do not use macros from bp-asm.h.
18891         (BLK2): Likewise.
18892         (LEN): Likewise.
18893         (memcmp): Do not use BP_SYM.
18894         (bcmp): Do not use BP_SYM in weak_alias.
18895         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18896         (PARMS): Do not use macros from bp-asm.h.
18897         (S1): Likewise.
18898         (SIZE): Likewise.
18899         (__mpn_mul_1): Do not use BP_SYM.
18900         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18901         "bp-asm.h".
18902         (PARMS): Do not use macros from bp-asm.h.
18903         (STR): Likewise.
18904         (CHR): Likewise.
18905         (__rawmemchr): Do not use BP_SYM.
18906         (rawmemchr): Do not use BP_SYM in weak_alias.
18907         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18908         (PARMS): Do not use macros from bp-asm.h.
18909         (S): Likewise.
18910         (SIZE): Likewise.
18911         (__mpn_rshift): Do not use BP_SYM.
18912         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18913         (PARMS): Do not use macros from bp-asm.h.
18914         (SIGMSK): Likewise.
18915         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18916         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18917         (_start): Do not use BP_SYM.
18918         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18919         (PARMS): Do not use macros from bp-asm.h.
18920         (DEST): Likewise.
18921         (SRC): Likewise.
18922         (__stpcpy): Likewise.  Do not use BP_SYM.
18923         (stpcpy): Do not use BP_SYM in weak_alias.
18924         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18925         "bp-asm.h".
18926         (PARMS): Do not use macros from bp-asm.h.
18927         (DEST): Likewise.
18928         (SRC): Likewise.
18929         (LEN): Likewise.
18930         (__stpncpy): Likewise.  Do not use BP_SYM.
18931         (stpncpy): Do not use BP_SYM in weak_alias.
18932         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18933         (PARMS): Do not use macros from bp-asm.h.
18934         (STR): Likewise.
18935         (CHR): Likewise.
18936         (strchr): Likewise.  Do not use BP_SYM.
18937         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18938         "bp-asm.h".
18939         (PARMS): Do not use macros from bp-asm.h.
18940         (STR): Likewise.
18941         (CHR): Likewise.
18942         (__strchrnul): Likewise.  Do not use BP_SYM.
18943         (strchrnul): Do not use BP_SYM in weak_alias.
18944         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18945         "bp-asm.h".
18946         (PARMS): Do not use macros from bp-asm.h.
18947         (STOP): Likewise.
18948         (strcspn): Do not use BP_SYM.
18949         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18950         "bp-asm.h".
18951         (PARMS): Do not use macros from bp-asm.h.
18952         (STR): Likewise.
18953         (STOP): Likewise.
18954         (strpbrk): Likewise.  Do not use BP_SYM.
18955         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18956         "bp-asm.h".
18957         (PARMS): Do not use macros from bp-asm.h.
18958         (STR): Likewise.
18959         (CHR): Likewise.
18960         (strrchr): Likewise.  Do not use BP_SYM.
18961         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18962         (PARMS): Do not use macros from bp-asm.h.
18963         (SKIP): Likewise.
18964         (strspn): Do not use BP_SYM.
18965         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18966         (PARMS): Do not use macros from bp-asm.h.
18967         (STR): Likewise.
18968         (DELIM): Likewise.
18969         (SAVE): Likewise.
18970         (FUNCTION): Likewise.  Do not use BP_SYM.
18971         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18972         aliases.
18973         (strtok_r): Likewise.
18974         (__GI___strtok_r): Likewise.
18975         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18976         (PARMS): Do not use macros from bp-asm.h.
18977         (S1): Likewise.
18978         (S2): Likewise.
18979         (SIZE): Likewise.
18980         (__mpn_sub_n): Do not use BP_SYM.
18981         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18982         "bp-asm.h".
18983         (PARMS): Do not use macros from bp-asm.h.
18984         (S1): Likewise.
18985         (SIZE): Likewise.
18986         (__mpn_submul_1): Do not use BP_SYM.
18987         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18988         <bp-sym.h>.
18989         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18990         and <bp-asm.h>.
18991         (PARMS): Do not use macros from bp-asm.h.
18992         (FLAGS): Likewise.
18993         (PTID): Likewise.
18994         (TLS): Likewise.
18995         (CTID): Likewise.
18996         (__clone): Do not use BP_SYM.
18997         (clone): Do not use BP_SYM in weak_alias.
18998         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18999         and <bp-asm.h>.
19000         (PARMS): Do not use macros from bp-asm.h.
19001         (LEN): Likewise.
19002         (__mmap64): Do not use BP_SYM.
19003         (mmap64): Do not use BP_SYM in weak_alias.
19004         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19005         <bp-sym.h> and <bp-asm.h>.
19006         (PARMS): Do not use macros from bp-asm.h.
19007         (__posix_fadvise64_l64): Do not use BP_SYM.
19008         * sysdeps/unix/sysv/linux/i386/semtimedop.S
19009         (PARMS): Do not use macros from bp-asm.h.
19010         (NSOPS): Likewise.
19011         (semtimedop): Do not use BP_SYM.
19012         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19013         and <bp-asm.h>.
19014
19015 2013-02-21  Allan McRae  <allan@archlinux.org>
19016
19017         * manual/message.texi (Charset conversion in gettext):
19018         Move @end statement to beginning of line.
19019
19020 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19021
19022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19023         static.
19024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19025         Likewise.
19026
19027         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19028         (denorm): Likewise.
19029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19031
19032 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19033
19034         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19035         tail-call to the resolved function if pltexit isn't needed.
19036
19037 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19038
19039         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19040         or Y being zero as being unlikely.
19041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19042         Likewise.
19043
19044 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
19045
19046         * manual/nss.texi (System Databases and Name Service Switch):
19047         Remove frobnicate @pxref.
19048
19049 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19050
19051         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19052         __attribute__ ((unused)) to __attribute__ ((__unused__)).
19053
19054 2013-02-20  Petr Machata  <pmachata@redhat.com>
19055
19056         * elf/elf.h (R_ARM_TARGET1): New macro.
19057         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19058         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19059         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19060         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19061         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19062         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19063         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19064         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19065         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19066         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19067         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19068         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19069         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19070         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19071         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19072         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19073         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19074         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19075         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19076         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19077         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19078         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19079         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19080         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19081         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19082         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19083         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19084         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19085         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19086         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19087         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19088         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19089         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19090         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19091         (R_ARM_THM_GOT_BREL12): Likewise.
19092         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19093         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19094         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19095         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19096         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19097         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19098         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19099         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19100         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19101
19102 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19103
19104         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19105         __attribute_used__ to __attribute__ ((unused)).
19106
19107 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19108
19109         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19110         powerpc mpa.c.
19111         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19112         comment formatting.
19113         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19114
19115 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
19116
19117         [BZ #13550]
19118         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19119         Remove macro.
19120         (ENTER): Remove both macro definitions.
19121         (LEAVE): Likewise.
19122         (CHECK_BOUNDS_LOW): Likewise.
19123         (CHECK_BOUNDS_HIGH): Likewise.
19124         (CHECK_BOUNDS_BOTH): Likewise.
19125         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19126         (RETURN_BOUNDED_POINTER): Likewise.
19127         (RETURN_NULL_BOUNDED_POINTER): Likewise.
19128         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19129         (POP_ERRNO_LOCATION_RETURN): Likewise.
19130         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19131         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19132         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19133         macros.
19134         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19135         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19136         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19137         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19138         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19139         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19140         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19141         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19142         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19143         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19144         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19145         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19146         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19147         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19148         removed macros.
19149         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19150         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19151         macros.
19152         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19153         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19154         * sysdeps/i386/i586/memset.S (memset): Likewise.
19155         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19156         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19157         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19158         macros.
19159         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19160         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19161         Change uses of L(2) to L(out).
19162         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19163         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19164         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19165         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19166         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19167         removed macros.
19168         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19169         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19170         macros.
19171         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19172         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19173         (RETURN): Do not use macro LEAVE.
19174         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19175         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19176         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19177         * sysdeps/i386/i686/memset.S (memset): Likewise.
19178         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19179         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19180         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19181         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19182         Likewise.
19183         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19184         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
19185         L(1_2) and L(1_3) into L(1).
19186         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19187         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19188         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19189         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19190         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19191         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19192         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19193         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19194         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19195         macros.
19196         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19197         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19198         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19199         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19200         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19201         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19202         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19203         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19204         * sysdeps/i386/strcspn.S (strcspn): Likewise.
19205         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19206         * sysdeps/i386/strrchr.S (strrchr): Likewise.
19207         * sysdeps/i386/strspn.S (strspn): Likewise.
19208         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19209         conditional code.
19210         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19211         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19212         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19213         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
19214         L(1_3) into L(1_1).
19215         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19216         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19217         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19218         macros.
19219         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19220
19221 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
19222
19223         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19224         macro.
19225
19226 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19227
19228         * math/atest-exp.c (exp_mpn): Remove ROUND.
19229         * math/atest-exp2.c (exp_mpn): Likewise.
19230         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19231
19232         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19233         * stdlib/tst-tls-atexit-lib.c: Likewise.
19234         * stdlib/tst-tls-atexit.c: Likewise.
19235
19236 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19237
19238         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19239         and __attribute_alloc_size__.
19240
19241 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19242
19243         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19244         __attribute_alloc_size__.
19245         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19246         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19247
19248 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19249
19250         * include/programs/xmalloc.h: New file.
19251         * catgets/gencat.c: Include it.
19252         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19253         * elf/pldd.c: Likewise.
19254         * iconv/iconv_charmap.c: Likewise.
19255         * iconv/iconvconfig.c: Likewise.
19256         * iconv/strtab.c: Likewise.
19257         * locale/programs/locale.c: Likewise.
19258         * locale/programs/localedef.h: Likewise.
19259         * locale/programs/simple-hash.c: Likewise.
19260         * nscd/nscd.h: Likewise.
19261         * nss/makedb.c: Likewise.
19262         * sysdeps/generic/ldconfig.h: Likewise.
19263
19264 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19265
19266         * Versions.def: Add GLIBC_2.18.
19267         * include/link.h (struct link_map): New member l_tls_dtor_count.
19268         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19269         (__call_tls_dtors): Likewise.
19270         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19271         __cxa_thread_atexit_impl.
19272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19273         Likewise.
19274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19275         Likewise.
19276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19277         Likewise.
19278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19279         Likewise.
19280         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19282         Likewise.
19283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19284         Likewise.
19285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19287         Likewise.
19288         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19289         (tests): Add test case tst-tls-atexit.
19290         (modules-names): Add shared library for tst-tls-atexit.
19291         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19292         (GLIBC_PRIVATE): Add __call_tls_dtors.
19293         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19294         for libstdc++.
19295         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19296         * stdlib/tst-tls-atexit.c: New test case.
19297         * stdlib/tst-tls-atexit-lib.c: New test case.
19298
19299         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19300
19301         * elf/Versions (ld): Add _dl_find_dso_for_object.
19302         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19303         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19304         (dl_open_worker): Use _dl_find_dso_for_object.
19305         * elf/dl-sym.c (do_sym): Likewise.
19306         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19307
19308 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19309
19310         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19311         Syntactic changes only.
19312         (_dl_runtime_profile): Do a tail-call to the resolved function.
19313
19314 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19315
19316         [BZ #13550]
19317         * sysdeps/x86_64/bp-asm.h: Remove file.
19318         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19319         <bp-sym.h> and <bp-asm.h>.
19320         (__clone): Do not use BP_SYM.
19321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19322         <bp-sym.h> and <bp-asm.h>.
19323         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19324         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19325         "bp-asm.h".
19326         (_setjmp): Do not use BP_SYM.
19327         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19328         "bp-asm.h".
19329         (setjmp): Do not use BP_SYM.
19330         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19331         libc_hidden_def.
19332         (mempcpy): Do not use BP_SYM in weak_alias.
19333         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19334         "bp-asm.h".
19335         (strchr): Do not use BP_SYM.
19336         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19337         "bp-asm.h".
19338         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19339         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19340         (_start): Do not use BP_SYM.
19341         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19342         "bp-asm.h".
19343         (strcat): Do not use BP_SYM.
19344         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19345         "bp-asm.h".
19346         (STRCMP): Do not use BP_SYM.
19347         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19348         "bp-asm.h".
19349         (STRCPY): Do not use BP_SYM.
19350         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19351         "bp-asm.h".
19352         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19353         "bp-asm.h".
19354         (FUNCTION): Do not use BP_SYM.
19355         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19356         weak_alias.
19357         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19358
19359 2013-02-17  Andreas Jaeger  <aj@suse.de>
19360
19361         * time/Versions: Sort entries.
19362         * string/Versions: Likewise.
19363         * resolv/Versions: Likewise.
19364         * posix/Versions: Likewise.
19365         * iconv/Versions: Likewise.
19366         * elf/Versions: Likewise.
19367         * wcsmbs/Versions: Likewise.
19368
19369 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19370
19371         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19372         loop termination condition.
19373
19374         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19375         variable to calculate EZ.
19376         (__sqr): Likewise.
19377
19378         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19379         the lower precision input.
19380
19381 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19382
19383         [BZ #13550]
19384         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19385         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19386         (run-via-rtld-prefix): Do not handle %-bp tests.
19387         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19388         (all-object-suffixes): Remove .ob.
19389         (bppfx): Remove variable.
19390         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19391         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19392         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19393         [$(build-bounded) = yes] (libtype.ob): Likewise.
19394         * Makerules (elide-routines.ob): Remove variable.
19395         (do-tests-clean): Do not handle *-bp.out.
19396         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19397         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19398         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19399         (tests): Do not include $(tests-bp.out).
19400         (xtests): Do not include $(xtests-bp.out).
19401         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19402         [$(build-bounded) = yes] ($(addprefix
19403         $(objpfx),$(binaries-bounded))): Remove rule.
19404         ($(objpfx)%-bp.out): Remove rule.
19405         * config.make.in (build-bounded): Remove variable.
19406         * crypt/Makefile [$(build-bounded) = yes]
19407         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19408         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19409         append to variable.
19410         [$(build-bounded) = yes] (install-lib): Likewise.
19411         [$(build-bounded) = yes] (generated): Likewise.
19412         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19413         Remove rule.
19414         * intl/Makefile [$(build-bounded) = yes]
19415         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19416         * math/Makefile [$(build-bounded) = yes]
19417         ($(tests:%=$(objpfx)%-bp): Likewise.
19418         * misc/Makefile [$(build-bounded) = yes]
19419         ($(objpfx)tst-tsearch-bp): Likewise.
19420         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19421         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19422         Remove dependency.
19423         * string/Makefile (o-objects.ob): Remove variable.
19424         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19425         (CFLAGS-.ob): Remove variable.
19426         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19427         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19428         both definitions of variable.
19429         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19430         (ASFLAGS-.ob): Remove variable.
19431
19432 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19433
19434         [BZ #13550]
19435         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19436         Remove __BOUNDED_POINTERS__ from condition.
19437         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19438         * string/bits/string2.h [!__NO_STRING_INLINES &&
19439         !__BOUNDED_POINTERS__]: Likewise.
19440         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19441         Likewise.
19442         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19443         Remove conditional code.
19444         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19445         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19446         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19447         condition.
19448
19449         [BZ #13550]
19450         * csu/libc-start.c: Do not include <bp-sym.h>.
19451         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19452         * elf/dl-open.c: Do not include <bp-sym.h>.
19453         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19454         * math/fegetenv.c: Do not include <bp-sym.h>.
19455         (fegetenv): Do not use BP_SYM in versioned symbols.
19456         * nptl/sysdeps/pthread/bits/libc-lockP.h
19457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19458         <bp-sym.h>.
19459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19460         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19462         (__pthread_mutex_destroy): Likewise.
19463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19464         (__pthread_mutex_lock): Likewise.
19465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19466         (__pthread_mutex_trylock): Likewise.
19467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19468         (__pthread_mutex_unlock): Likewise.
19469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19470         (__pthread_mutexattr_init): Likewise.
19471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19472         (__pthread_mutexattr_destroy): Likewise.
19473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19474         (__pthread_mutexattr_settype): Likewise.
19475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19476         (__pthread_rwlock_init): Likewise.
19477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19478         (__pthread_rwlock_destroy): Likewise.
19479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19480         (__pthread_rwlock_rdlock): Likewise.
19481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19482         (__pthread_rwlock_tryrdlock): Likewise.
19483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19484         (__pthread_rwlock_wrlock): Likewise.
19485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19486         (__pthread_rwlock_trywrlock): Likewise.
19487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19488         (__pthread_rwlock_unlock): Likewise.
19489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19490         (__pthread_key_create): Likewise.
19491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19492         (__pthread_setspecific): Likewise.
19493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19494         (__pthread_getspecific): Likewise.
19495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19496         Likewise.
19497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19498         (_pthread_cleanup_push_defer): Likewise.
19499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19500         (_pthread_cleanup_pop_restore): Likewise.
19501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19502         (pthread_setcancelstate): Likewise.
19503         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19504         <bp-sym.h>.
19505         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19506         (memchr): Do not use BP_SYM in weak_alias.
19507         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19508         (fegetenv): Do not use BP_SYM in versioned symbols.
19509         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19510         (fesetenv): Do not use BP_SYM in versioned symbols.
19511         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19512         (feupdateenv): Do not use BP_SYM in versioned symbols.
19513         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19514         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19515         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19516         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19517         (open64): Do not use BP_SYM in weak_alias.
19518         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19519         (fegetenv): Do not use BP_SYM in versioned symbols.
19520         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19521         (fesetenv): Do not use BP_SYM in versioned symbols.
19522         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19523         (feupdateenv): Do not use BP_SYM in versioned symbols.
19524         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19525         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19526         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19527         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19528         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19529         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19530         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19531         <bp-sym.h>.
19532         (__libc_start_main): Do not use BP_SYM.
19533
19534 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19535
19536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19537         redundant return line.
19538         (norm): Likewise.
19539         (denorm): Likewise.
19540         (dbl_mp): Likewise.
19541         (sub_magnitudes): Likewise.
19542         (__add): Likewise.
19543         (__sub): Likewise.
19544         (__mul): Likewise.
19545         (__inv): Likewise.
19546         (__dvd): Likewise.
19547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19548         (norm): Likewise.
19549         (denorm): Likewise.
19550         (dbl_mp): Likewise.
19551         (sub_magnitudes): Likewise.
19552         (__add): Likewise.
19553         (__sub): Likewise.
19554         (__mul): Likewise.
19555         (__inv): Likewise.
19556         (__dvd): Likewise.
19557
19558         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19559         instead of __mul.
19560         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19561         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19562         (cc32): Likewise.
19563
19564         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19565         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19566         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19567         of __mul for squares.
19568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19569         function
19570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19571         Likewise.
19572         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19573         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19574
19575 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19576
19577         [BZ #13550]
19578         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19579         code.
19580         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19581         prototype or function definition.  Rename ubp_* variables and
19582         parameters.  Remove argv definitions conditional on
19583         [__BOUNDED_POINTERS__].
19584         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19585         * elf/dl-runtime.c (_dl_fixup): Likewise.
19586         * include/set-hooks.h (RUN_HOOK): Likewise.
19587         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19588         definition.
19589         * string/strcpy.c (strcpy): Do not use __unbounded.
19590         * sysdeps/generic/frame.h (struct layout): Likewise.
19591         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19592         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19593         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19594         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19595         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19596         (__backtrace): Likewise.
19597         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19598         use __ptrvalue.
19599         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19600         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19601         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19602         Likewise.
19603         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19604         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19605         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19606         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19607         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19608         Do not use __unbounded.
19609         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19610         Rename __unboundedrlimits parameter to rlimits in prototype.
19611         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19612         Do not use __unbounded.
19613         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19614         not use __ptrvalue.
19615         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19616         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19617         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19618         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19619         __ptrvalue or __unbounded.
19620         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19621         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19622         use __unbounded.
19623         (__new_msgctl): Do not use __ptrvalue.
19624         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19625         __unbounded.
19626         (__libc_msgrcv): Do not use __ptrvalue.
19627         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19628         startup_info): Do not use __unbounded.
19629         (__libc_start_main): Likewise.  Rename ubp_* variables and
19630         parameters.  Remove argv definitions conditional on
19631         [__BOUNDED_POINTERS__].
19632         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19633         __ptrvalue.
19634         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19635         use __unbounded.
19636         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19637         or __ptrvalue.
19638         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19639         use __unbounded.
19640         (__new_shmctl): Do not use __ptrvalue.
19641         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19642         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19643         Likewise.
19644         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19645         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19646         (__libc_sigaction): Likewise.
19647         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19648         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19649         Likewise.
19650         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19651
19652 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
19653
19654         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19655
19656         * string/mempcpy.c: Implement by calling memcpy.
19657
19658 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19659
19660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19661
19662         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19663         evaluation.
19664
19665         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19666         values in the mantissa.
19667
19668         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19669         minimize writes to Z.
19670         (sub_magnitudes): Simplify code a bit.
19671
19672 2013-02-12  Roland McGrath  <roland@hack.frob.com>
19673
19674         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19675         from the message.  The linker prefixes all warnings with that already.
19676
19677 2013-02-12  Andreas Schwab  <schwab@suse.de>
19678
19679         [BZ #15078]
19680         * posix/regexec.c (extend_buffers): Add parameter min_len.
19681         (check_matching): Pass minimum needed length.
19682         (clean_state_log_if_needed): Likewise.
19683         (get_subexp): Likewise.
19684         * posix/Makefile (tests): Add bug-regex34.
19685         (bug-regex34-ENV): Define.
19686         * posix/bug-regex34.c: New file.
19687
19688         [BZ #11561]
19689         * posix/regcomp.c (parse_bracket_exp): When looking up collating
19690         elements compare against the byte sequence of it, not its name.
19691         * posix/Makefile (tests): Add bug-regex35.
19692         (bug-regex35-ENV): Define.
19693         * posix/bug-regex35.c: New file.
19694
19695 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19696
19697         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
19698         comment.
19699         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19700         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19701         (CHECK_EOL): Add undef.
19702
19703 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
19704
19705         * bits/stdlib-bsearch.h: New file.
19706         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19707         * stdlib/stdlib.h: Likewise.
19708
19709 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19710
19711         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19712         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19713         declaration.
19714         * manual/search.texi (Array Search Function): Add missing const in
19715         lfind prototype.
19716         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19717         declaration to use rlim_t.
19718         (Basic Scheduling Functions): Remove erroneous const from
19719         sched_getparam prototype.  Remove erroneous * from
19720         sched_get_priority_max and sched_get_priority_min prototypes.
19721         (Resource Usage): Fix summary @comment on vtimes to refer to
19722         sys/vtimes.h rather than vtimes.h.
19723         Add missing *s in vtimes prototype.
19724         (Limits on Resources): Fix ulimit prototype to return long int.
19725         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19726         prototypes to use long int rather than double.
19727         (BSD Random): Fix initstate and setstate to use char *, not void *.
19728         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19729         prototype to make second argument 'struct aiocb64 *const[]'.
19730         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19731         (Status of AIO Operations): Remove erroneous const in aio_return and
19732         aio_return64 prototypes.
19733         (Synchronizing I/O): Fix sync prototype to return void.
19734         * manual/startup.texi (Suboptions): Remove an erroneous const in
19735         getsubopt prototype.
19736         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19737         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19738         use size_t rather than int.
19739         (Scanning All Users): Likewise for getpwent_r.
19740         (Setting Groups): Add missing const to setgroups prototype.
19741         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19742         * manual/socket.texi (Host Names): Fix gethostbyaddr and
19743         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19744         'const void *' rather than 'const char *'.
19745         (Host Address Functions): Likewise for inet_ntop.
19746         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19747         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19748         ssize_t for return value.
19749         (Sending Data): Likewise for send, sendto, sendmsg.
19750         (Socket Option Functions): Add a missing const in setsockopt prototype.
19751         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19752         use wchar_t for the argument.
19753         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19754         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19755         take no arguments.
19756         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19757         double/float/long double for second argument.
19758         Fix return types of significand, significandf, significandl.
19759         * manual/filesys.texi (Setting Permissions): Use mode_t for second
19760         argument in fchmod prototype.
19761         (File Owner): Use uid_t and gid_t in fchown prototype.
19762         (File Times): Add const to utimes, futimes, and lutimes prototypes.
19763         (Making Special Files): Use mode_t and dev_t in mknod prototype.
19764         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19765         use 'const struct dirent **' as argument types to CMP function pointer
19766         argument.
19767         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19768         (File Times): Fix summary magic @comment for struct utimbuf and utime
19769         to refer to utime.h, not time.h.
19770         * manual/string.texi (Argz Functions): Add missing const in
19771         argz_extract and argz_next prototypes.
19772         (Finding Tokens in a String): Likewise for basename.
19773         (String/Array Comparison): Fix typo in wcscasecmp prototype.
19774         (Copying and Concatenation): Fix typo in wmemmove prototype.
19775         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19776         (Signal Stack): Remove erroneous const in sigstack prototype.
19777         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19778         prototype.
19779         (Simple Calendar Time): Likewise for stime.
19780         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19781         prototype.
19782         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19783         say sys/sysctl.h instead.
19784         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19785         and vsyslog prototypes.
19786
19787 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19788
19789         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19790         Remove.
19791
19792 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19793
19794         * misc/sys/mman.h: Fix typo in mremap comment.
19795
19796 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19797
19798         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19799         the '\0' terminator.
19800
19801 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19802
19803         [BZ #13550]
19804         * debug/segfault.c: Don't include <bp-checks.h>.
19805         * sysdeps/generic/bp-checks.h: Remove file.
19806         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19807         (__GETDENTS): Don't use CHECK_N.
19808         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19809         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19810         (__getgroups): Don't use CHECK_N.
19811         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19812         (setgroups): Don't use CHECK_N.
19813         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19814         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19815         (__libc_msgrcv): Don't use CHECK_N.
19816         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19817         (__libc_msgsnd): Don't use CHECK_N.
19818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19819         <bp-checks.h>.
19820         (__libc_pread): Don't use CHECK_N.
19821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19822         include <bp-checks.h>.
19823         (__libc_pread64): Don't use CHECK_N.
19824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19825         include <bp-checks.h>.
19826         (__libc_pwrite): Don't use CHECK_N.
19827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19828         include <bp-checks.h>.
19829         (__libc_pwrite64): Don't use CHECK_N.
19830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19831         <bp-checks.h>.
19832         (__libc_pread): Don't use CHECK_N.
19833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19834         include <bp-checks.h>.
19835         (__libc_pread64): Don't use CHECK_N.
19836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19837         include <bp-checks.h>.
19838         (__libc_pwrite): Don't use CHECK_N.
19839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19840         include <bp-checks.h>.
19841         (__libc_pwrite64): Don't use CHECK_N.
19842         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19843         (do_pread): Don't use CHECK_N.
19844         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19845         (do_pread64): Don't use CHECK_N.
19846         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19847         (do_pwrite): Don't use CHECK_N.
19848         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19849         (do_pwrite64): Don't use CHECK_N.
19850         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19851         (__libc_readv): Don't use CHECK_N.
19852         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19853         (semop): Don't use CHECK_N.
19854         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19855         <bp-checks.h>.
19856         (semtimedop): Don't use CHECK_N.
19857         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19858         (__libc_pread): Don't use CHECK_N.
19859         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19860         <bp-checks.h>.
19861         (__libc_pread64): Don't use CHECK_N.
19862         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19863         <bp-checks.h>.
19864         (__libc_pwrite): Don't use CHECK_N.
19865         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19866         <bp-checks.h>.
19867         (__libc_pwrite64): Don't use CHECK_N.
19868         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19869         <bp-checks.h>.
19870         (__libc_msgrcv): Don't use CHECK_N.
19871         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19872         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19873         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19874         (__libc_writev): Don't use CHECK_N.
19875
19876 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19877
19878         * string/strcpy.c: Removed unused variable.
19879
19880         * Makeconfig (+sysdep-includes): Define with := rather than =.
19881         Use an existing include/ subdir of each sysdeps dir before it.
19882
19883 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19884
19885         * nscd/connection.c (register_traced_file): Comment function.
19886         [HAVE_INOTIFY] (union __inev): Define.
19887         [HAVE_INOTIFY] (inotify_check_files): New function.
19888         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19889         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19890         clear_db_cache.
19891         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19892
19893 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19894
19895         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19896         loaded if not already and that a failure is permanent.
19897
19898 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19899
19900         [BZ #15006]
19901         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19902         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19903
19904 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19905
19906         [BZ #13550]
19907         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19908         (CHECK_1_NULL_OK): Likewise.
19909         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19910         (__fxstat): Do not use CHECK_1.
19911         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19912         <bp-checks.h>.
19913         (___fxstat64): Do not use CHECK_1.
19914         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19915         <bp-checks.h>.
19916         (__fxstatat): Do not use CHECK_1.
19917         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19918         <bp-checks.h>.
19919         (__fxstatat64): Do not use CHECK_1.
19920         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19921         <bp-checks.h>.
19922         (__fxstat): Do not use CHECK_1.
19923         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19924         <bp-checks.h>.
19925         (__fxstatat): Do not use CHECK_1.
19926         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19927         <bp-checks.h>.
19928         (__getresgid): Do not use CHECK_1.
19929         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19930         <bp-checks.h>.
19931         (__getresuid): Do not use CHECK_1.
19932         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19933         <bp-checks.h>.
19934         (__lxstat): Do not use CHECK_1.
19935         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19936         <bp-checks.h>.
19937         (__old_msgctl): Do not use CHECK_1.
19938         (__new_msgctl): Likewise.
19939         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19940         <bp-checks.h>.
19941         (__new_setrlimit): Do not use CHECK_1.
19942         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19943         <bp-checks.h>.
19944         (__old_shmctl): Do not use CHECK_1.
19945         (__new_shmctl): Likewise.
19946         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19947         <bp-checks.h>.
19948         (__xstat): Do not use CHECK_1.
19949         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19950         (__lxstat): Do not use CHECK_1.
19951         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19952         <bp-checks.h>.
19953         (___lxstat64): Do not use CHECK_1.
19954         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19955         (__old_msgctl): Do not use CHECK_1.
19956         (__new_msgctl): Likewise.
19957         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19958         <bp-checks.h>.
19959         (__gettimeofday): Do not use CHECK_1.
19960         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19961         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19962         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19963         <bp-checks.h>.
19964         (__gettimeofday): Do not use CHECK_1.
19965         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19966         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19967         (__new_shmctl): Do not use CHECK_1.
19968         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19969         <bp-checks.h>.
19970         (do_sigtimedwait): Do not use CHECK_1.
19971         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19972         <bp-checks.h>.
19973         (do_sigwaitinfo): Do not use CHECK_1.
19974         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19975         <bp-checks.h>.
19976         (msgctl): Do not use CHECK_1.
19977         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19978         <bp-checks.h>.
19979         (shmctl): Do not use CHECK_1.
19980         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19981         (ustat): Do not use CHECK_1.
19982         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19983         <bp-checks.h>.
19984         (__fxstat): Do not use CHECK_1.
19985         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19986         <bp-checks.h>.
19987         (__fxstatat): Do not use CHECK_1.
19988         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19989         <bp-checks.h>.
19990         (__lxstat): Do not use CHECK_1.
19991         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19992         <bp-checks.h>.
19993         (__xstat): Do not use CHECK_1.
19994         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19995         (__xstat): Do not use CHECK_1.
19996         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19997         (___xstat64): Do not use CHECK_1.
19998
19999         [BZ #13550]
20000         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20001         definitions.
20002         (CHECK_BOUNDS_HIGH): Likewise.
20003         * string/strcpy.c: Do not include <bp-checks.h>.
20004         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20005
20006 2013-02-07  Roland McGrath  <roland@hack.frob.com>
20007
20008         * nscd/nscd-client.h (__nscd_drop_map_ref):
20009         Add __attribute__ ((unused)).
20010         * nis/nss-nisplus.h (niserr2nss): Likewise.
20011
20012         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20013         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20014
20015         * csu/libc-tls.c (init_static_tls, init_slotinfo):
20016         Remove inline keyword.
20017         * include/rounding-mode.h (round_away): Likewise.
20018         * libio/wfileops.c (adjust_wide_data): Likewise.
20019         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20020         (__m128i_strloadu_tolower): Likewise.
20021         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20022         (__m128i_strloadu_tolower): Likewise.
20023         * time/mktime.c (ydhms_diff): Likewise.
20024         * locale/elem-hash.h (elem_hash): Likewise.
20025         * locale/setlocale.c (setdata): Likewise.
20026         * posix/regex_internal.h (re_string_char_size_at): Likewise.
20027         (re_string_wchar_at): Likewise.
20028         (bitset_not, bitset_merge, bitset_mask): Likewise.
20029         [!(__GNUC__ > 3)] (inline): Remove macro.
20030         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20031         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20032         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20033         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20034         * string/memcmp.c (memcmp_bytes): Likewise.
20035         * locale/programs/locarchive.c (compute_hashval): Likewise.
20036         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20037         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20038         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20039         * nss/getent.c (print_rpc, print_protocols): Likewise.
20040         (print_passwd, print_group, print_aliases): Likewise.
20041         * nis/nss-nisplus.h (niserr2nss): Likewise.
20042         * nscd/connections.c (restart_p): Likewise.
20043         Change return type to bool.
20044
20045 2013-02-05  Roland McGrath  <roland@hack.frob.com>
20046
20047         * Makeconfig (all-Depend-files): Add existing
20048         $(sorted-subdirs:=/Depend) files.
20049         (all-subdirs): Remove nss.
20050         * sysdeps/unix/inet/Subdirs: Add it here instead.
20051         * hesiod/Depend: New file.
20052
20053         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20054         instead of calling alloca.
20055
20056         * io/lseek.c (__lseek): Rename to __libc_lseek.
20057         Define __lseek as an alias.
20058
20059         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20060
20061 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
20062
20063         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20064         else clause and remove check for non-standard endianness.
20065
20066 2013-02-04  David S. Miller  <davem@davemloft.net>
20067
20068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20069
20070 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
20071
20072         [BZ #13550]
20073         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20074         (__ubp_memchr): Remove prototype.
20075         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20076         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20077         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20078         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20079         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20080         Remove alias.
20081         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20082         (__ubp_memchr): Likewise.
20083         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20084         (__ubp_memchr): Likewise.
20085         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20086         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20087         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20088         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20089         CHECK_STRING.
20090         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20091         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20092         (__getcwd): Do not use CHECK_STRING.
20093         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20094         <bp-checks.h>.
20095         (__real_chown): Do not use CHECK_STRING.
20096         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20097         <bp-checks.h>.
20098         (fchownat): Do not use CHECK_STRING.
20099         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20100         CHECK_STRING.
20101         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20102         <bp-checks.h>.
20103         (__lchown): Do not use CHECK_STRING.
20104         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20105         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20106         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20107         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20109         include <bp-checks.h>.
20110         (truncate64): Do not use CHECK_STRING.
20111         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20112         <bp-checks.h>.
20113         (__real_chown): Do not use CHECK_STRING.
20114         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20115         <bp-checks.h>.
20116         (__lchown): Do not use CHECK_STRING.
20117         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20118         <bp-checks.h>.
20119         (__chown): Do not use CHECK_STRING.
20120         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20121         <bp-checks.h>.
20122         (truncate64): Do not use CHECK_STRING.
20123         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20124         Likewise.
20125         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20126         (__xmknod): Do not use CHECK_STRING.
20127         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20128         <bp-checks.h>.
20129         (__xmknodat): Do not use CHECK_STRING.
20130         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20131         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20132
20133 2013-02-04  Andreas Schwab  <schwab@suse.de>
20134
20135         [BZ #14142]
20136         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20137         * include/netdb.h: Likewise for h_errno.
20138         * elf/tst-stackguard1.c: Include <tls.h>.
20139
20140 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
20141
20142         * elf/link.h (struct link_map): Extend the l_addr comment.
20143         * include/link.h (struct link_map): Likewise.
20144
20145 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
20146
20147         [BZ #13550]
20148         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20149         (BOUNDED_1): Remove macro.
20150         * debug/backtrace.c: Don't include <bp-checks.h>.
20151         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20152         (__backtrace): Likewise.
20153         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20154         <bp-checks.h>.
20155         (__backtrace): Don't use BOUNDED_1.
20156         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20157         <bp-checks.h>.
20158         (__backtrace): Don't use BOUNDED_1.
20159         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20160         (__backtrace): Don't use BOUNDED_1.
20161         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20162         (shmat): Don't use BOUNDED_N.
20163
20164 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
20165
20166         [BZ #13550]
20167         * sysdeps/generic/bp-start.h: Remove file.
20168         * csu/libc-start.c: Don't include <bp-start.h>.
20169         (LIBC_START_MAIN): Set up __environ directly instead of using
20170         INIT_ARGV_and_ENVIRON.
20171         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20172         <bp-start.h>.
20173
20174         [BZ #13550]
20175         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20176         definitions.
20177         (CHECK_FCNTL): Likewise.
20178         (CHECK_N_PAGES): Likewise.
20179
20180         [BZ #13550]
20181         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20182         definitions.
20183         (CHECK_SIGSET_NULL_OK): Likewise.
20184         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20185         <bp-checks.h>.
20186         (sigpending): Don't use CHECK_SIGSET.
20187         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20188         <bp-checks.h>.
20189         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20190         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20191         <bp-checks.h>.
20192         (do_sigsuspend): Don't use CHECK_SIGSET.
20193         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20194         use CHECK_SIGSET.
20195         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20196         (do_sigwait): Don't use CHECK_SIGSET.
20197         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20198         use CHECK_SIGSET.
20199         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20200         include <bp-checks.h>.
20201         (sigpending): Don't use CHECK_SIGSET.
20202         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20203         include <bp-checks.h>.
20204         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20205         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20206         <bp-checks.h>.
20207         (sigpending): Don't use CHECK_SIGSET.
20208         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20209         <bp-checks.h>.
20210         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20211
20212         [BZ #13550]
20213         * sysdeps/generic/bp-semctl.h: Remove file.
20214         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20215         <bp-checks.h> and <bp-semctl.h>.
20216         (__old_semctl): Don't use CHECK_SEMCTL.
20217         (__new_semctl): Likewise.
20218         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20219         and <bp-semctl.h>.
20220         (__old_semctl): Don't use CHECK_SEMCTL.
20221         (__new_semctl): Likewise.
20222         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20223         <bp-checks.h> and <bp-semctl.h>.
20224         (__old_semctl): Don't use CHECK_SEMCTL.
20225         (__new_semctl): Likewise.
20226         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20227         <bp-checks.h> and <bp-semctl.h>.
20228         (semctl): Don't use CHECK_SEMCTL.
20229
20230         [BZ #13550]
20231         * Makerules (elide-bp-thunks): Remove variable.
20232         (elide-routines.oS): Don't use $(elide-bp-thunks).
20233         (elide-routines.os): Likewise.
20234         (elide-routines.o): Likewise.
20235         (elide-routines.op): Likewise.
20236         (elide-routines.og): Likewise.
20237         (objects): Don't use $(bp-thunks).
20238         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20239         include.
20240         (common-generated): Do not add s-proto-bp.d.
20241         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20242         (int): Likewise.
20243         (typ): Likewise.
20244         Do not generate makefile rules for bounded-pointer thunks.
20245         * sysdeps/generic/bp-thunks.h: Remove file.
20246         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20247         * sysdeps/unix/s-proto-bp.S: Likewise.
20248
20249         [BZ #15062]
20250         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20251         parts of result separately when argument is not close to line from
20252         -i to i and one part of argument is small.
20253         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20254         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20255         * math/libm-test.inc (cacos_test): Add more tests.
20256         (casin_test): Likewise.
20257         (casinh_test): Likewise.
20258         * sysdeps/i386/fpu/libm-test-ulps: Update.
20259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20260
20261 2013-01-31  David S. Miller  <davem@davemloft.net>
20262
20263         * po/de.po: Update from translation team.
20264
20265 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20266
20267         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20268
20269 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20270
20271         * configure.in (_AC_PROG_CC_C89): New definition.
20272         * configure: Regenerate.
20273
20274         * configure.in (AC_PROG_CPP): New definition.
20275         * configure: Regenerate.
20276
20277 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20278
20279         * debug/tst-backtrace.h: New file.
20280         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20281         (ret): Remove variable.
20282         (x): Likewise.
20283         (FAIL): Remove macro.
20284         (NO_INLINE): Likewise.
20285         (fn1): Use match function instead of strstr.
20286         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20287         (ret): Remove variable.
20288         (x): Likewise.
20289         (FAIL): Remove macro.
20290         (NO_INLINE): Likewise.
20291         (fn): Use match function instead of strstr.
20292         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20293         (ret): Remove variable.
20294         (x): Likewise.
20295         (FAIL): Remove macro.
20296         (NO_INLINE): Likewise.
20297         (handle_signal): Use match function instead of strstr.
20298         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20299         (ret): Remove variable.
20300         (x): Likewise.
20301         (FAIL): Remove macro.
20302         (NO_INLINE): Likewise.
20303         (handle_signal): Use match function instead of strstr.
20304
20305 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20306
20307         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20308
20309 2013-01-23  David S. Miller  <davem@davemloft.net>
20310
20311         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20312         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20313         argument of CAS if possible.
20314         * sysdeps/sparc/sparc64/bits/atomic.h
20315         (__arch_compare_and_exchange_val_32_acq): Likewise.
20316         (__arch_compare_and_exchange_val_64_acq): Likewise.
20317
20318 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20319
20320         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20321         * sysdeps/posix/ulimit.c: ... this.
20322         Include <limits.h>.
20323         * sysdeps/unix/bsd/ulimit.c: Remove file.
20324
20325 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20326
20327         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20328         (LDFLAGS-tst-array5): Likewise.
20329
20330 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20331
20332         [BZ #15036]
20333         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20334         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20335         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20336         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20337
20338 2013-01-21  David S. Miller  <davem@davemloft.net>
20339
20340         * sysdeps/sparc/backtrace.c: New file.
20341         * sysdeps/sparc/sparc32/backtrace.h: New file.
20342         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20343         * sysdeps/sparc/sparc64/backtrace.h: New file.
20344         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20345         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20346         -funwind-tables.
20347
20348 2013-01-21  Andreas Schwab  <schwab@suse.de>
20349
20350         [BZ #15020]
20351         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20352         closed its stdout.
20353
20354 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20355
20356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20357         "mpa2.h".
20358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20359
20360 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20361             Mark Mitchell  <mark@codesourcery.com>
20362             Tom de Vries  <tom@codesourcery.com>
20363             Paul Pluzhnikov  <ppluzhnikov@google.com>
20364
20365         * debug/tst-backtrace2.c: New file.
20366         * debug/tst-backtrace3.c: Likewise.
20367         * debug/tst-backtrace4.c: Likewise.
20368         * debug/tst-backtrace5.c: Likewise.
20369         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20370         (CFLAGS-tst-backtrace3.c): Likewise.
20371         (CFLAGS-tst-backtrace4.c): Likewise.
20372         (CFLAGS-tst-backtrace5.c): Likewise.
20373         (LDFLAGS-tst-backtrace2): Likewise.
20374         (LDFLAGS-tst-backtrace3): Likewise.
20375         (LDFLAGS-tst-backtrace4): Likewise.
20376         (LDFLAGS-tst-backtrace5): Likewise.
20377         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20378         tst-backtrace4 and tst-backtrace5.
20379
20380 2013-01-18  Anton Blanchard  <anton@samba.org>
20381             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20382
20383         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20384         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20385         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20386         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20388         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20389         "+r" and remove output regs list as redundant.  Add explicit inline
20390         asm to specify register of return val to work around compiler codegen
20391         bug.  Remove (int) cast on return value.  Add return type parameter to
20392         use in macro so that this macro does not truncate return value for
20393         64-bit values.
20394         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20395         pass to INTERNAL_VSYSCALL_NCS.
20396         (INLINE_VSYSCALL): Add 'long int' as return type to
20397         INTERNAL_VSYSCALL_NCS macro invocation.
20398         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20399         INTERNAL_VSYSCALL_NCS macro invocation.
20400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20401
20402 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20403
20404         [BZ #14496]
20405         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20406         Fix application of SIMD FP exception mask.
20407
20408         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20409         mp_no from a power of two.
20410         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20411         __mpexp_twomm1.  Use __pow_mp.
20412
20413         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20414         multiplication.
20415
20416 2013-01-17  David S. Miller  <davem@davemloft.net>
20417
20418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20419
20420 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20421
20422         [BZ #15023]
20423         * include/complex.h: Condition contents on [!_COMPLEX_H].
20424         (__kernel_casinhf): New prototype.
20425         (__kernel_casinh): Likewise.
20426         (__kernel_casinhl): Likewise.
20427         * math/Makefile (libm_calls): Add k_casinh.
20428         * math/k_casinh.c: New file.
20429         * math/k_casinhf.c: Likewise.
20430         * math/k_casinhl.c: Likewise.
20431         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20432         finite nonzero arguments.
20433         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20434         finite nonzero arguments.
20435         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20436         finite nonzero arguments.
20437         * math/s_casinh.c: Do not include <float.h>.
20438         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20439         * math/s_casinhf.c: Do not include <float.h>.
20440         (__casinhf): Move code for finite nonzero arguments to
20441         k_casinhf.c.
20442         * math/s_casinhl.c: Do not include <float.h>.
20443         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20444         redefine.
20445         (__casinhl): Move code for finite nonzero arguments to
20446         k_casinhl.c.
20447         * math/libm-test.inc (cacos_test): Add more tests.
20448         * sysdeps/i386/fpu/libm-test-ulps: Update.
20449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20450
20451 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20452
20453         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20454         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20455         [!HAVE_MREMAP]: Remove [defined linux] case.
20456         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20457
20458 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20459
20460         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20461
20462 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20463
20464         * elf/elf.h (R_386_SIZE32): New relocation.
20465         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20466         R_386_SIZE32.
20467         (elf_machine_rela): Likewise.
20468         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20469         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20470
20471 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20472
20473         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20474         (FP_FAST_FMA): Do not define.
20475         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20476         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20477         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20478         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20479         !_SOFT_FLOAT]: Likewise.
20480         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20481         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20482         value.
20483         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20484         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20485         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20486         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20487         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20488         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20489         file.
20490
20491 2013-01-16  Andreas Schwab  <schwab@suse.de>
20492
20493         [BZ #14327]
20494         * include/stdlib.h (__mktemp): Add declaration.
20495         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20496         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20497
20498 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20499
20500         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20501         definitions.
20502         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20503         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20504         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20505         definitions here.
20506         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20507         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20508         definitions.
20509         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20510         and ONE.
20511         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20512         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20513         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20514         definitions.
20515         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20516         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20517         definitions.
20518         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20519
20520         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20521
20522 2013-01-15  David S. Miller  <davem@davemloft.net>
20523
20524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20525         trunc{,f} to libm-sysdep_routes.
20526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20528         file.
20529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20531         file.
20532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20533         file.
20534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20536         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20537         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20538         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20539         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20540         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20541         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20542
20543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20544         nearbyint{,f} to libm-sysdep_routes.
20545         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20547         New file.
20548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20549         file.
20550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20551         New file.
20552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20553         file.
20554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20556         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20557         file.
20558         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20559         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20560         file.
20561         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20562         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20563         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20564
20565         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20566         libc_feholdexcept and libc_fesetenv.
20567
20568 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20569
20570         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20571
20572 2013-01-14  David S. Miller  <davem@davemloft.net>
20573
20574         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20575         (SPARC_ASM_VIS2_IFUNC): Likewise.
20576         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20578         use of 'siam' instruction.
20579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20580         Likewise.
20581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20582         Likewise.
20583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20584         Likewise.
20585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20587         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20588         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20590         file.
20591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20592         file.
20593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20594         file.
20595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20596         file.
20597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20598         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20599         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20600         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20602         new VIS2 routines.
20603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20606         Likewise.
20607         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20612         routines to libm-sysdep_routines.
20613         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20614
20615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20616         fdim/fdimf to libm-sysdep_routines.
20617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20618         file.
20619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20621         file.
20622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20625         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20626         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20627         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20628         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20629
20630 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20631
20632         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20633         to optimize copies.
20634
20635         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20638
20639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20640         local variable MPTWO.
20641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20642         Likewise.
20643
20644 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20645
20646         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20647         GLOB_NOESCAPE.
20648
20649 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20650
20651         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20652
20653 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20654
20655         * manual/pattern.texi (glob_t): Document gl_flags.
20656         (glob64_t): Likewise.
20657
20658 2013-01-11  David S. Miller  <davem@davemloft.net>
20659
20660         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20661         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20662         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
20663         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20664         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20665         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20666         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20667         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20668         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20669         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20670         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20671         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20672         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20673
20674         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20675         sparc V9 rather than using V8 code.
20676         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20677         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20678
20679         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20680         Move to...
20681         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20682         Here.
20683
20684 2013-01-11  Roland McGrath  <roland@hack.frob.com>
20685
20686         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20687         not in the main loop.
20688         * configure: Regenerated.
20689
20690 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
20691
20692         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20693         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20694         to just #else.
20695         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
20696         [!__GLIBC_HAVE_LONG_LONG] case.
20697         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20698         condition to just #else.
20699         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20700         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20701         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20702         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20703         unconditional.
20704         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20705         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20706         #elif condition to just #else.
20707         * sysdeps/unix/sysv/linux/sys/sysmacros.h
20708         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20709         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20710         #elif condition to just #else.
20711
20712 2013-01-11  Steve Ellcey  <sellcey@mips.com>
20713
20714         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20715         (EF_MIPS_ARCH_64): Fix value.
20716         (EF_MIPS_ARCH_32R2): New.
20717         (EF_MIPS_ARCH_64R2): New.
20718
20719 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
20720
20721         * Makeconfig (+link-pie-before-libc): New.
20722         (+link-pie-after-libc): Likewise.
20723         (+link-pie-tests): Likewise.
20724         (+link-pie): Rewritten.
20725         (link-before-libc): Remove $(config-LDFLAGS).
20726         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20727         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20728         (config-LDFLAGS): Renamed to ...
20729         (rtld-LDFLAGS): This.
20730         (rtld-tests-LDFLAGS): New macro.
20731         (link-libc-rpath-link): Likewise.
20732         (link-libc-tests-rpath-link): Likewise.
20733         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20734         (link-libc): Prepand $(link-libc-rpath-link).
20735         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20736         (test-program-prefix): New macro.
20737         (test-via-rtld-prefix): Likewise.
20738         (test-program-cmd): Likewise.
20739         (host-test-program-cmd): Likewise.
20740         * Makefile ($(common-objpfx)testrun.sh): Replace
20741         $(run-program-prefix) with $(test-program-prefix).
20742         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20743         $(rtld-LDFLAGS).
20744         ($(common-objpfx)shlib.lds): Likewise.
20745         (build-module-helper): Likewise.
20746         ($(common-objpfx)format.lds): Likewise.
20747         * Rules (binaries-pie-tests): New.
20748         (binaries-pie-notests): Likewise.
20749         (binaries-pie): Rewritten.
20750         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20751         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20752         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20753         (make-test-out): Replace $(host-built-program-cmd) with
20754         $(host-test-program-cmd).
20755         * config.make.in (build-hardcoded-path-in-tests): New variable.
20756         * configure.in (--enable-hardcoded-path-in-tests): New configure
20757         option.
20758         (hardcoded_path_in_tests): New AC_SUBST.
20759         * configure: Regenerated.
20760         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20761         $(built-program-cmd) with $(test-program-cmd).
20762         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20763         (test_program_cmd): This.
20764         * elf/Makefile ($(objpfx)order.out): Run test with
20765         $(test-program-prefix).
20766         ($(objpfx)order2.out): Likewise.
20767         ($(objpfx)tst-initorder.out): Likewise.
20768         ($(objpfx)tst-initorder2.out): Likewise.
20769         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20770         $(test-program-cmd).
20771         ($(objpfx)tst-array1-static.out): Likewise.
20772         ($(objpfx)tst-array2.out): Likewise.
20773         ($(objpfx)tst-array3.out): Likewise.
20774         ($(objpfx)tst-array4.out): Likewise.
20775         ($(objpfx)tst-array5.out): Likewise.
20776         ($(objpfx)tst-array5-static.out): Likewise.
20777         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20778         $(test-program-cmd).
20779         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20780         $(run-program-prefix) with $(test-program-prefix).
20781         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20782         (test_program_prefix): This.
20783         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20784         $(run-program-prefix) with $(test-program-prefix).
20785         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20786         (test_program_prefix): This.
20787         * iconvdata/tst-tables.sh: Likewise.
20788         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20789         $(run-program-prefix) with $(test-program-prefix).
20790         ($(objpfx)tst-translit.out): Likewise.
20791         ($(objpfx)tst-gettext2.out): Likewise.
20792         ($(objpfx)tst-gettext4.out): Likewise.
20793         ($(objpfx)tst-gettext6.out): Likewise.
20794         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20795         (test_program_prefix): This.
20796         * intl/tst-gettext2.sh: Likewise.
20797         * intl/tst-gettext4.sh  Likewise.
20798         * intl/tst-gettext6.sh: Likewise.
20799         * intl/tst-translit.sh: Likewise.
20800         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20801         with $(test-program-cmd).
20802         * libio/Makefile ($(objpfx)test-freopen.out): Replace
20803         $(run-program-prefix) with $(test-program-prefix).
20804         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20805         (test_program_prefix): This.
20806         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20807         $(run-program-prefix) with $(test-program-prefix).
20808         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20809         (test_program_prefix): This.
20810         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20811         * posix/Makefile ($(objpfx)globtest.out): Replace
20812         $(run-via-rtld-prefix) and $(test-wrapper) with
20813         $(test-program-prefix) and $(test-via-rtld-prefix).
20814         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20815         $(test-program-prefix).
20816         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20817         $(host-test-program-cmd).
20818         (tst-spawn-ARGS): Likewise.
20819         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20820         $(test-program-prefix).
20821         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20822         (test_via_rtld_prefix): This.
20823         (test_wrapper): Renamed to ...
20824         (test_program_prefix): This.
20825         (run_program_prefix): Replaced by test_program_prefix.
20826         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20827         (test_program_prefix): This.
20828         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20829         with $(host-test-program-cmd).
20830         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20831         $(run-program-prefix) with $(test-program-prefix).
20832         ($(objpfx)tst-printf.out): Likewise.
20833         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20834         $(test-program-cmd).
20835         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20836         (test_program_prefix): This.
20837         * stdio-common/tst-unbputc.sh: Likewise.
20838         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20839         $(run-program-prefix) with $(test-program-prefix).
20840         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20841         (test_program_prefix): This.
20842         * string/Makefile ($(objpfx)tst-svc.out):  Replace
20843         $(built-program-cmd) with $(test-program-cmd).
20844
20845 2013-01-11  Andreas Jaeger  <aj@suse.de>
20846
20847         [BZ #15003]
20848         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20849         value. Sync with Linux 3.7.
20850
20851 2013-01-10  David S. Miller  <davem@davemloft.net>
20852
20853         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20854         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20855         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20856
20857 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20858
20859         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20860         never set.
20861         * configure: Regenerated.
20862
20863 2013-01-10  David S. Miller  <davem@davemloft.net>
20864
20865         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20866         sparc V9 rather than using V8 code.
20867         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20868         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20869
20870 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20871
20872         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20873         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20874         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20875         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20876         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20877         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20878         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20879         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20880         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20881         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20882         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20883         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20884         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20885         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20886         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20887         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20888         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20889         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20890         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20891         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20892         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20893         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20894         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20895         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20896         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20897         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20898         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20899
20900 2013-01-10  David S. Miller  <davem@davemloft.net>
20901
20902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20903
20904 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20905
20906         * posix/Makefile (tests-static): New variable.
20907         (tests): Add $(tests-static).
20908         (tst-exec-static-ARGS): New variable.
20909         (tst-spawn-static-ARGS): Likewise.
20910         * posix/tst-exec-static.c: New file.
20911         * posix/tst-spawn-static.c: Likewise.
20912         * posix/tst-exec.c: Support run directly.
20913         * posix/tst-spawn.c: Likewise.
20914
20915 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20916
20917         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20918         long.
20919         * math/bits/mathcalls.h (llrint): Likewise.
20920         (llround): Likewise.
20921         * stdlib/stdlib.h (struct drand48_data): Likewise.
20922         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20923         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20924         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20925         Likewise.
20926         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20927         Likewise.
20928         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20929         (elf_greg_t): Likewise.
20930         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20931         (__jmp_buf): Likewise.
20932         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20933         definitions.
20934         (llrint): Likewise, for all definitions.
20935         (llrintl): Likewise.
20936
20937         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20938         Remove [__GNUC__] condition.
20939         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20940         condition to just [__USE_ISOC99].
20941         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20942
20943 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20944
20945         [BZ #14200]
20946         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20947         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20948         defined.
20949         (_POSIX_V6_ILP32_OFF32): Likewise.
20950         (_XBS5_ILP32_OFF32): Likewise.
20951         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20952         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20953
20954 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20955
20956         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20957
20958         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20959         doubles __mpexp_twomm1.  Adjust usage.
20960         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20961         Remove.
20962
20963 2013-01-10  Andreas Schwab  <schwab@suse.de>
20964
20965         [BZ #14964]
20966         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20967         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20968
20969 2013-01-09  David S. Miller  <davem@davemloft.net>
20970
20971         [BZ #15003]
20972         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20973         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20974         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20975         (TCP_FASTOPEN): Define.
20976         (tcp_repair_opt): New structure.
20977         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20978         enum values.
20979         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20980         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20981         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20982         (tcp_cookie_transactions): New structure.
20983
20984 2013-01-09  Anton Blanchard  <anton@samba.org>
20985
20986         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20987         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20988         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20989         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20990
20991 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
20992
20993         * include/features.h (__USE_ANSI): Remove.
20994
20995 2013-01-09  Roland McGrath  <roland@hack.frob.com>
20996
20997         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20998
20999         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21000
21001 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21002
21003         * sysdeps/s390/fpu/libm-test-ulps: Update.
21004
21005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21006
21007         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21008         (__acr): Likewise.
21009         (__cpy): Likewise.
21010         (norm): Likewise.
21011         (denorm): Likewise.
21012         (__mp_dbl): Likewise.
21013         (__dbl_mp): Likewise.
21014         (add_magnitudes): Likewise.
21015         (sub_magnitudes): Likewise.
21016         (__add): Likewise.
21017         (__sub): Likewise.
21018         (__mul): Likewise.
21019         (__inv): Likewise.
21020         (__dvd): Likewise.
21021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21022         (__acr): Likewise.
21023         (__cpy): Likewise.
21024         (norm): Likewise.
21025         (denorm): Likewise.
21026         (__mp_dbl): Likewise.
21027         (__dbl_mp): Likewise.
21028         (add_magnitudes): Likewise.
21029         (sub_magnitudes): Likewise.
21030         (__add): Likewise.
21031         (__sub): Likewise.
21032         (__mul): Likewise.
21033         (__inv): Likewise.
21034         (__dvd): Likewise.
21035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21036         (__acr): Likewise.
21037         (__cpy): Likewise.
21038         (norm): Likewise.
21039         (denorm): Likewise.
21040         (__mp_dbl): Likewise.
21041         (__dbl_mp): Likewise.
21042         (add_magnitudes): Likewise.
21043         (sub_magnitudes): Likewise.
21044         (__add): Likewise.
21045         (__sub): Likewise.
21046         (__mul): Likewise.
21047         (__inv): Likewise.
21048         (__dvd): Likewise.
21049
21050 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
21051
21052         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21053         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21054         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21055         2 && __USE_EXTERN_INLINES]: Likewise.
21056
21057 2013-01-08  Andreas Jaeger  <aj@suse.de>
21058
21059         [BZ# 14985]
21060         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21061         Remove.
21062         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21063         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21064
21065 2013-01-07  Anton Blanchard  <anton@samba.org>
21066
21067         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21068         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21069         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21070         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21071         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21072         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21073         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21074         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21076         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21077         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21078         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21079         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21080         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21081         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21082         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21083         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21084         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21085         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21086         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21087         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21088         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21089         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21090         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21091         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21092         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21093         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21094         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21095         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21096         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21097         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21099         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21100         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21101         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21102         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21103         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21104         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21105         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21106         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21107         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21108         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21109         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21110
21111 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
21112
21113         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21114         (__MALLOC_PMT): Likewise.
21115         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21116         [__GNUC__], only on [_LIBC].
21117         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21118         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21119         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21120         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21121         forward declaration.
21122         (realloc_hook_ini): Likewise.
21123         (memalign_hook_ini): Likewise.
21124         (__libc_memalign): Do not use __MALLOC_PMT in variable
21125         declaration.
21126         (__libc_valloc): Likewise.
21127         (__libc_pvalloc): Likewise.
21128         (__libc_calloc): Likewise.
21129         (__posix_memalign): Likewise.
21130
21131         [BZ #14996]
21132         * math/s_casinh.c: Include <float.h>.
21133         (__casinh): Do not do computation with squaring and square root
21134         for large arguments.
21135         * math/s_casinhf.c: Include <float.h>.
21136         (__casinhf): Do not do computation with squaring and square root
21137         for large arguments.
21138         * math/s_casinhl.c: Include <float.h>.
21139         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21140         (__casinhl): Do not do computation with squaring and square root
21141         for large arguments.
21142         * math/libm-test.inc (casin_test): Add more tests.
21143         (casinh_test): Likewise.
21144         * sysdeps/i386/fpu/libm-test-ulps: Update.
21145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21146
21147 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
21148
21149         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21150         (__x86_64_raw_data_cache_size): Likewise.
21151         (__x86_64_data_cache_size_half): Likewise.
21152         (__x86_64_raw_data_cache_size_half): Likewise.
21153         (__x86_64_shared_cache_size): Likewise.
21154         (__x86_64_raw_shared_cache_size): Likewise.
21155         (__x86_64_shared_cache_size_half): Likewise.
21156         (__x86_64_raw_shared_cache_size_half): Likewise.
21157         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21158         to ...
21159         (__x86_data_cache_size): This.
21160         (__x86_64_raw_data_cache_size): Renamed to ...
21161         (__x86_raw_data_cache_size): This.
21162         (__x86_64_data_cache_size_half): Renamed to ...
21163         (__x86_data_cache_size_half): This.
21164         (__x86_64_raw_data_cache_size_half): Renamed to ...
21165         (__x86_raw_data_cache_size_half): This.
21166         (__x86_64_shared_cache_size): Renamed to ...
21167         (__x86_shared_cache_size): This.
21168         (__x86_64_raw_shared_cache_size): Renamed to ...
21169         (__x86_raw_shared_cache_size): This.
21170         (__x86_64_shared_cache_size_half): Renamed to ...
21171         (__x86_shared_cache_size_half): This.
21172         (__x86_64_raw_shared_cache_size_half): Renamed to ...
21173         (__x86_raw_shared_cache_size_half): This.
21174         * sysdeps/x86_64/memcpy.S: Updated.
21175         * sysdeps/x86_64/memset.S: Likewise.
21176         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21177         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21178         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21179
21180 2013-01-04  David S. Miller  <davem@davemloft.net>
21181
21182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21183
21184 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
21185
21186         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21187         1 to avoid redefinition warning.
21188         (__USE_GNU): Don't define.
21189         (init_signaling_nan): Protoize.
21190
21191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21192
21193 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21194
21195         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21197         (__cpymn): Likewise.
21198         (norm): Remove commented code.
21199         (denorm): Likewise.
21200         (__mp_dbl): Likewise.
21201         (__inv): Likewise.
21202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21203         (__cpymn): Likewise.
21204         (norm): Remove commented code.
21205         (denorm): Likewise.
21206         (__mp_dbl): Likewise.
21207         (__inv): Likewise.
21208
21209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21210         mp_no value for 1.0 and 2.0.
21211         (norm): Use RADIXI instead of radixi.d.
21212         (denorm): Likewise.
21213         (__mul): Use 0.0 instead of zero.d.
21214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21215         mp_no value for 1.0 and 2.0.
21216         (norm): Use RADIXI instead of radixi.d.
21217         (denorm): Likewise.
21218         (__mul): Use 0.0 instead of zero.d.
21219
21220 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
21221
21222         [BZ #14994]
21223         * math/s_casinh.c (__casinh): Reduce finite argument to first
21224         quadrant then set signs of results at the end.
21225         * math/s_casinhf.c (__casinhf): Likewise.
21226         * math/s_casinhl.c (__casinhl): Likewise.
21227         * math/libm-test.inc (casin_test): Add more tests.
21228         (casinh_test): Likewise.
21229         * sysdeps/i386/fpu/libm-test-ulps: Update.
21230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21231
21232 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21233
21234         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21235
21236         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21237
21238         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21239         declarations.
21240         (denorm): Likewise.
21241         (__mp_dbl): Likewise.
21242         (__inv): Likewise.
21243
21244         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21245         and adjust the header comment.
21246
21247         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21248         variable name from declaration.
21249
21250 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21251
21252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21253         Initialize COMMON_CPUID_INDEX_7 element.
21254         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21255         (CPUID_RTM): Likewise.
21256         (HAS_RTM): Likewise.
21257         (COMMON_CPUID_INDEX_7): New enum.
21258
21259 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21260
21261         [BZ #14981]
21262         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21263         size is zero, record memory as freed.
21264
21265 2013-01-03  Andreas Jaeger  <aj@suse.de>
21266
21267         * po/ia.po: Add new Interlingua translation.
21268
21269 2012-01-03  Allan McRae  <allan@archlinux.org>
21270
21271         * locale/programs/localedef.c: Fix description of '--posix' flag.
21272
21273 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21274
21275         * NEWS: Update dates in second copyright notice.
21276         * README: Update copyright dates in example.
21277         * manual/libc.texinfo: Update copyright dates.
21278         * scripts/test-installation.pl: Update copyright date in --version
21279         output.
21280
21281         * hurd/ctty-input.c: Fix copyright notice formatting.
21282         * hurd/ctty-output.c: Likewise.
21283         * hurd/dtable.c: Likewise.
21284         * hurd/hurd-raise.c: Likewise.
21285         * hurd/hurdprio.c: Likewise.
21286         * hurd/msgportdemux.c: Likewise.
21287         * misc/sys/file.h: Likewise.
21288         * misc/sys/ioctl.h: Likewise.
21289         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21290         * sysdeps/mach/hurd/chdir.c: Likewise.
21291         * sysdeps/mach/hurd/fchdir.c: Likewise.
21292         * sysdeps/mach/hurd/rename.c: Likewise.
21293         * sysdeps/mach/hurd/rmdir.c: Likewise.
21294         * sysdeps/mach/hurd/seekdir.c: Likewise.
21295         * sysdeps/mach/hurd/setsid.c: Likewise.
21296         * sysdeps/posix/wait3.c: Likewise.
21297
21298         * All files with FSF copyright notices: Update copyright dates
21299         using scripts/update-copyrights.
21300         * intl/plural.c: Regenerated.
21301         * locale/programs/charmap-kw.h: Likewise.
21302         * locale/programs/locfile-kw.h: Likewise.
21303
21304 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21305
21306         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21307         four values.
21308
21309         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21310         calculation loop and add branch prediction.
21311
21312         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21313         check access beyond bounds of m1np.
21314
21315         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21316         MPTWO.
21317         (__inv): Remove local variable MPTWO to use the global
21318         constant.
21319         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21320         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21321         variable MPTWO.
21322         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21323         MP3HALFS static const.
21324
21325 2013-01-01  David S. Miller  <davem@davemloft.net>
21326
21327         * po/ca.po: Update from translation team.
21328
21329 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21330
21331         * scripts/update-copyrights: New file.
21332         * Makeconfig: Reformat copyright notice.
21333         * ctype/ctype.h: Likewise.
21334         * debug/swprintf_chk.c: Likewise.
21335         * elf/dl-cache.c: Likewise.
21336         * elf/dl-debug.c: Likewise.
21337         * elf/dl-object.c: Likewise.
21338         * grp/initgroups.c: Likewise.
21339         * hurd/Makefile: Likewise.
21340         * hurd/hurd/signal.h: Likewise.
21341         * hurd/hurdfault.c: Likewise.
21342         * hurd/hurdioctl.c: Likewise.
21343         * hurd/hurdlookup.c: Likewise.
21344         * hurd/intr-msg.c: Likewise.
21345         * iconv/gconv_open.c: Likewise.
21346         * libio/swprintf.c: Likewise.
21347         * locale/lc-ctype.c: Likewise.
21348         * locale/nl_langinfo.c: Likewise.
21349         * mach/Machrules: Likewise.
21350         * mach/Makefile: Likewise.
21351         * malloc/obstack.h: Likewise.
21352         * manual/Makefile: Likewise.
21353         * manual/tsort.awk: Likewise.
21354         * misc/bits/stab.def: Likewise.
21355         * nis/nis_print_group_entry.c: Likewise.
21356         * nis/nis_table.c: Likewise.
21357         * nis/nss_compat/compat-pwd.c: Likewise.
21358         * nis/nss_compat/compat-spwd.c: Likewise.
21359         * po/Makefile: Likewise.
21360         * posix/fnmatch.c: Likewise.
21361         * posix/regex.h: Likewise.
21362         * resolv/Makefile: Likewise.
21363         * resolv/nss_dns/dns-network.c: Likewise.
21364         * resolv/res_hconf.c: Likewise.
21365         * scripts/gen-sorted.awk: Likewise.
21366         * soft-fp/soft-fp.h: Likewise.
21367         * stdio-common/printf.h: Likewise.
21368         * stdlib/monetary.h: Likewise.
21369         * stdlib/random.c: Likewise.
21370         * stdlib/random_r.c: Likewise.
21371         * sysdeps/generic/Makefile: Likewise.
21372         * sysdeps/gnu/Makefile: Likewise.
21373         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21374         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21375         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21376         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21377         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21378         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21379         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21380         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21381         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21382         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21383         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21384         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21385         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21386         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21387         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21388         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21389         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21390         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21391         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21392         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21393         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21394         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21395         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21396         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21397         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21398         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21399         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21400         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21401         * sysdeps/mach/hurd/errnos.awk: Likewise.
21402         * sysdeps/mach/hurd/fork.c: Likewise.
21403         * sysdeps/mach/hurd/getcwd.c: Likewise.
21404         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21405         * sysdeps/mach/hurd/mmap.c: Likewise.
21406         * sysdeps/mach/hurd/utimes.c: Likewise.
21407         * sysdeps/mach/hurd/xmknod.c: Likewise.
21408         * sysdeps/posix/profil.c: Likewise.
21409         * sysdeps/posix/readdir_r.c: Likewise.
21410         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21411         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21412         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21413         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21415         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21416         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21417         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21419         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21420         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21421         * sysdeps/pthread/lio_listio.c: Likewise.
21422         * sysdeps/sparc/dl-procinfo.h: Likewise.
21423         * sysdeps/unix/i386/sysdep.S: Likewise.
21424         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21425         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21426         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21427         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21429         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21430         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21431         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21432         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21433         * sysdeps/wordsize-32/divdi3.c: Likewise.
21434         * time/sys/time.h: Likewise.
21435         * wcsmbs/Makefile: Likewise.
21436
21437 2013-01-01  David S. Miller  <davem@davemloft.net>
21438
21439         * po/fr.po: Update from translation team.
21440
21441         * catgets/gencat.c: Update copyright year.
21442         * csu/version.c: Likewise.
21443         * debug/catchsegv.sh: Likewise.
21444         * debug/pcprofiledump.c: Likewise.
21445         * debug/xtrace.sh: Likewise.
21446         * elf/ldconfig.c: Likewise.
21447         * elf/ldd.bash.in: Likewise.
21448         * elf/pldd.c: Likewise.
21449         * elf/sotruss.ksh: Likewise.
21450         * elf/sprof.c: Likewise.
21451         * iconv/iconv_prog.c: Likewise.
21452         * iconv/iconvconfig.c: Likewise.
21453         * locale/programs/locale.c: Likewise.
21454         * locale/programs/localedef.c: Likewise.
21455         * login/programs/pt_chown.c: Likewise.
21456         * malloc/memusage.sh: Likewise.
21457         * malloc/memusagestat.c: Likewise.
21458         * malloc/mtrace.pl: Likewise.
21459         * nscd/nscd.c: Likewise.
21460         * nss/getent.c: Likewise.
21461         * nss/makedb.c: Likewise.
21462         * posix/getconf.c: Likewise.
21463
21464 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21465
21466         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21467         numbers.
21468
21469 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21470
21471         * math/bits/mathcalls.h (modf): Use __nonnull.
21472
21473 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21474
21475         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21476         (split): Use macro CN instead of the bare value.
21477         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21478         could be used.
21479         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21480         instead of the bare value.
21481         (power1): Likewise.
21482
21483 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21484
21485         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21486         __ATAN_TWOM.
21487         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21488
21489         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21490         their values.
21491         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21492         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21493         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21494         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21495
21496 2012-12-28  Andreas Jaeger  <aj@suse.de>
21497
21498         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21499         values are from Linux 3.7.
21500
21501         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21502         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21503
21504 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21505
21506         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21507         TRUE case.
21508
21509         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21510         (norm): Likewise.
21511         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21512         variables with preprocessor constants.
21513         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21514         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21515         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21516
21517 2012-12-27  Bruno Haible  <bruno@clisp.org>
21518
21519         [BZ #14317]
21520         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21521         only if needed.
21522
21523 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21524
21525         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21526         and use variable directly.
21527         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21528
21529         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21530         MPONE.
21531         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21532         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21533         variable MPONE.
21534         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21536         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21537         include directive.  Remove local variable MPONE.
21538         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21539         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21540         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21541
21542 2012-12-25  David S. Miller  <davem@davemloft.net>
21543
21544         * version.h (RELEASE): Set to "development".
21545         (VERSION): Set to "2.17.90".
21546         * NEWS: Add 2.18 section.
21547
21548 2012-12-21  David S. Miller  <davem@davemloft.net>
21549
21550         * po/hr.po: Update from translation team.
21551
21552 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21553
21554         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21555
21556 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21557
21558         * NEWS:  Mention new memcpy for MIPS.
21559
21560 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21561
21562         * manual/contrib.texi (Contributors): Spelling correction.
21563
21564 2012-12-15  David S. Miller  <davem@davemloft.net>
21565
21566         * po/ru.po: Update from translation team.
21567
21568 2012-12-13  David S. Miller  <davem@davemloft.net>
21569
21570         * NEWS: Mention IFUNC testsuite enhancements.
21571
21572         * po/pl.po: Update from translation team.
21573         * po/bg.po: Likewise.
21574
21575         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21576         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21577
21578 2012-12-11  David S. Miller  <davem@davemloft.net>
21579
21580         * po/sv.po: Update from translation team.
21581
21582         * po/vi.po: Update from translation team.
21583
21584         * po/cs.po: Update from translation team.
21585
21586         * po/de.po: Update from translation team.
21587         * po/eo.po: Likewise.
21588         * po/nl.po: Likewise.
21589
21590 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21591
21592         [BZ #14246]
21593         * manual/argp.texi (Argp Helper Functions): Move node to follow
21594         Argp Parsing State.
21595
21596         [BZ #14872]
21597         * manual/conf.texi (Limits on File System Capacity): Mention if
21598         terminating null is included in the max size.
21599
21600 2012-12-10  Andreas Jaeger  <aj@suse.de>
21601
21602         * po/cs.po: Update from translation team.
21603
21604 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21605
21606         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21607         void pointer and cast to uintptr_t.
21608         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21609         path.
21610         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21611         * sysdeps/s390/s390-64/memset.S: Likewise.
21612
21613 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21614
21615         [BZ #14833]
21616         * menual/message.texi (Message Translation): Fix typos.
21617         (Helper programs for gettext): Likewise.
21618
21619 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21620
21621         [BZ #14898]
21622         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21623         Change to -1.
21624
21625 2012-12-07  David S. Miller  <davem@davemloft.net>
21626
21627         * po/libc.pot: Update.
21628
21629 2012-12-07  Richard Henderson  <rth@redhat.com>
21630
21631         [BZ #10114]
21632         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21633         normal/normal case to before the switch.
21634         (_FP_DIV): Likewise.
21635
21636 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21637             Mike Frysinger  <vapier@gentoo.org>
21638
21639         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21640         check for __NR_fadvise64_64.
21641
21642 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
21643
21644         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21645         0, not just to plain "0" as a statement.
21646         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21647         with cw.
21648
21649 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
21650
21651         * NEWS: Use sourceware.org in Bugzilla URL.
21652
21653 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21654
21655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21656         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21657
21658         * stdio-common/tst-put-error.c (do_test): Add newline to the
21659         padded test to ensure flush.
21660
21661 2012-12-05  Jeff Law  <law@redhat.com>
21662
21663         * sunrpc/etc.rpc (fedfs_admin): Add entry.
21664
21665 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
21666
21667         * README: Don't refer to ports add-on as distributed separately.
21668         Mention AArch64 in list of systems supported in the ports add-on.
21669
21670         * LICENSES: Add more non-FSF copyright and license notices.
21671
21672         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21673         ((unused)).
21674
21675         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21676
21677         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21678         10000 as width of padded output.
21679
21680 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21681
21682         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21683
21684         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21685         variable LX with __attribute__ ((unused)).
21686         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21687         Likewise.
21688         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21690         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21691         with __attribute__ ((unused)).
21692
21693 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
21694
21695         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21696
21697 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21698
21699         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21700         (CFLAGS-nldbl-acos.c): New variable.
21701         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21702         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21703         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21704         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21705         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21706         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21707         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21708         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21709         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21710         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21711         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21712         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21713         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21714         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21715         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21716         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21717         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21718         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21719         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21720         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21721         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21722         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21723         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21724         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21725         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21726         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21727         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21728         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21729         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21730         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21731         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21732         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21733         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21734         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21735         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21736         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21737         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21738         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21739         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21740         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21741         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21742         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21743         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21744         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21745         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21746         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21747         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21748         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21749         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21750         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21751         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21752         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21753         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21754         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21755         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21756         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21757         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21758         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21759         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21760         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21761         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21762         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21763         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21764         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21765         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21766         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21767         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21768         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21769         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21770         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21771         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21772         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21773         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21774         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21775         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21776         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21777         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21778         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21779         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21780         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21781         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21782         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21783         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21784         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21785         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21786         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21787         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21788         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21789         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21790         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21791         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21792         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21793         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21794         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21795         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21796         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21797         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21798
21799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21800         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21801
21802         [BZ #14914]
21803         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21804         whole low double instead of just low 47 bits when splitting values
21805         into two parts.
21806
21807 2012-12-03  Allan McRae  <allan@archlinux.org>
21808
21809         * manual/stdio.texi (Predefined Printf Handlers): Remove
21810         @hsep and @vsep usage.
21811
21812 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
21813
21814         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21815         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21816
21817 2012-12-03  Jeff Law  <law@redhat.com>
21818
21819         * time/sys/time.h (settimeofday): Do not mark TV argument
21820         as __nonnull.
21821
21822 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
21823
21824         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21825         when currently writing and seek to current position when not.
21826         * libio/Makefile (tests): Remove bug-fclose1.
21827         * libio/bug-fclose1.c: Delete.
21828
21829 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
21830
21831         * manual/arith.texi (feenableexcept): Fix typo.
21832         (fedisableexcept): Likewise.
21833
21834 2012-11-30  Roland McGrath  <roland@hack.frob.com>
21835
21836         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21837         second, differently-typed declaration, rather than a cast.
21838
21839 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21840
21841         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21842         * include/rpc/svc.h: ... here.
21843
21844 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
21845
21846         [BZ #13013]
21847         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21848         depending n and resplen2 to catch cases where answer
21849         equals answerp2.
21850
21851 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
21852
21853         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21854         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21855
21856 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
21857
21858         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21859
21860 2012-11-29  Roland McGrath  <roland@hack.frob.com>
21861
21862         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21863
21864 2012-11-28  Jeff Law  <law@redhat.com>
21865
21866         [BZ #13761]
21867         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21868         dataset_temporary.  Track alloca usage into alloca_used.
21869         If dataset is large allocate and release it via malloc/free.
21870
21871 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21872
21873         [BZ #14197]
21874         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21875
21876 2012-11-28  David S. Miller  <davem@davemloft.net>
21877
21878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21879
21880 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21881
21882         [BZ #14803]
21883         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21884         of pi/2 rounded to nearest to 64 bits.
21885         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21886         nearest to 64 bits.
21887         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21888         bits.
21889
21890 2012-11-28  Jeff Law <law@redhat.com>
21891             Martin Osvald <mosvald@redhat.com>
21892
21893         [BZ #14889]
21894         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21895         * sunrpc/svc.c: Include time.h.
21896         (__svc_accept_failed): New function.
21897         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21898         any reason other than EINTR, call __svc_accept_failed.
21899         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21900         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21901
21902 2012-11-28  Andreas Schwab  <schwab@suse.de>
21903
21904         * scripts/abilist.awk: Also handle indirect functions in .opd
21905         section.
21906
21907 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21908
21909         [BZ #13881]
21910         * sysdeps/x86/fpu/powl_helper.c: New file.
21911         * sysdeps/x86/fpu/Makefile: Likewise.
21912         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21913         (p3): New object.
21914         (__ieee754_powl): Use __powl_helper for finite arguments except
21915         integer exponents below 8.
21916         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21917         (p3): New object.
21918         (__ieee754_powl): Use __powl_helper for finite arguments except
21919         integer exponents below 8.
21920         * math/libm-test.inc (pow_test): Add more tests and enable some
21921         previously disabled tests.
21922         * sysdeps/i386/fpu/libm-test-ulps: Update.
21923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21924
21925 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21926             Carlos O'Donell  <carlos_odonell@mentor.com>
21927
21928         * nss/makedb.c (is_prime): Assert that input is odd and greater
21929         than 4.  Note that fact in a comment too.
21930         (next_prime): Add 4 to input.
21931
21932 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21933
21934         [BZ #11741]
21935         * libio/Makefile (tests): Add test case tst-fwrite-error.
21936         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21937         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21938         * libio/tst-fwrite-error.c: New test case.
21939
21940 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21941
21942         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21943         before casting to void *.
21944         * include/libc-internal.h (__pointer_type): New macro.
21945         (__integer_if_pointer_type_sub): Likewise.
21946         (__integer_if_pointer_type): Likewise.
21947         (cast_to_integer): Likewise.
21948         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21949         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21950         before casting to atomic64_t.
21951         (atomic_exchange_acq): Likewise.
21952         (__arch_exchange_and_add_body): Likewise.
21953         (__arch_add_body): Likewise.
21954         (atomic_add_negative): Likewise.
21955         (atomic_add_zero): Likewise.
21956
21957 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21958
21959         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21960         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21961         (add_fdes): Likewise.
21962         (linear_search_fdes): Likewise.
21963         (binary_search_unencoded_fdes): Likewise.
21964
21965 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21966
21967         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21968
21969 2012-11-24  Adam Conrad  <adconrad@0c3.net>
21970
21971         * configure.in: Autodetect C++ header directories.
21972         * configure: Regenerated.
21973
21974 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
21975
21976         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21977
21978 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
21979
21980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21981
21982 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
21983
21984         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21985         LDBL_MANT_DIG == 106]: Disable some tests.
21986         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21987         Likewise.
21988         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21989         Likewise.
21990
21991         [BZ #14871]
21992         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21993         input for small inputs.  Return +/- pi/2 for large inputs.
21994         * math/libm-test.inc (atan_test): Add more tests.
21995
21996         * sysdeps/generic/unwind-dw2-fde-glibc.c
21997         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21998         __attribute__ ((unused)).
21999
22000         [BZ #14645]
22001         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22002         x * y if x and y are nonzero and z is zero.
22003
22004         [BZ #14811]
22005         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22006         nonzero exponents with absolute value below 0x1p-117 to +/-
22007         0x1p-117.
22008
22009         [BZ #14869]
22010         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22011         up arguments below 2**-450, not just those below 2**-500.
22012         * math/libm-test.inc (hypot_test): Add another test.
22013
22014         [BZ #14868]
22015         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22016         Return a+b for ratio over 2**120, not 2**60.
22017         * math/libm-test.inc (hypot_test): Add another test.
22018
22019         * math/libm-test.inc (clog_test): Use
22020         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22021         (clog10_test): Likewise.
22022
22023         [BZ #6778]
22024         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22025
22026 2012-11-22  Andreas Schwab  <schwab@suse.de>
22027
22028         * sysdeps/i386/fpu/libm-test-ulps: Update.
22029
22030 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
22031
22032         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22033         printf output with newline.
22034
22035 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
22036
22037         [BZ #14865]
22038         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22039         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22040         -z nodlopen, -z initfirst and -z execstack support.
22041         * configure: Regenerated.
22042
22043         * elf/elf.h (DF_1_NODIRECT): New macro.
22044         (DF_1_IGNMULDEF): Likewise.
22045         (DF_1_NOKSYMS): Likewise.
22046         (DF_1_NOHDR): Likewise.
22047         (DF_1_EDITED): Likewise.
22048         (DF_1_NORELOC): Likewise.
22049         (DF_1_SYMINTPOSE): Likewise.
22050         (DF_1_GLOBAUDIT): Likewise.
22051         (DF_1_SINGLETON): Likewise.
22052         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22053         DT_1_SUPPORTED_MASK bits.
22054         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22055
22056 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
22057
22058         * sysdeps/unix/make-syscalls.sh: Document prefixes.
22059
22060 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
22061
22062         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22063         macro.
22064
22065         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22066         (sendmmsg): Move declarations...
22067         * socket/sys/socket.h: ... here.
22068         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22069         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22070         include it from...
22071         * socket/recvmmsg.c: ... this new file.
22072         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22073         (sendmmsg): Rename to __sendmmsg, create weak alias and make
22074         definition of __sendmmsg hidden.
22075         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22076         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22077         Move ENOSYS stub into and include it from...
22078         * socket/sendmmsg.c: ... this new file.
22079         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22080         (sysdep_routines): Move recvmmsg and sendmmsg...
22081         * socket/Makefile (routines): ... here.
22082         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22083         (GLIBC_PRIVATE): Add __sendmmsg.
22084         * include/sys/socket.h (__sendmmsg): Add declarations.
22085         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22086         sendmmsg.
22087
22088 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
22089
22090         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22091         variable I1 with __attribute__ ((unused)).
22092         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22093
22094 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22095
22096         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22097         DUMMY variables with __attribute__ ((unused)).
22098
22099         * bits/byteswap.h: Include <bits/types.h>.
22100         (__bswap_64): Use __uint64_t instead of unsigned long long int.
22101
22102 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22103
22104         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22105         string_t.  Do not manually set errno.
22106         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22107         length with __strnlen.  Make sure to both set errno and return it on
22108         failure.
22109
22110 2012-11-19  David S. Miller  <davem@davemloft.net>
22111
22112         With help from Joseph Myers.
22113         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22114         very large arguments properly.
22115         * math/libm-test.inc (atan_test): New tests.
22116         (atan2_test): New tests.
22117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22119
22120 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22121
22122         [BZ #14856]
22123         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22124         Define to 3.
22125
22126         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22127         [POSIX] (EADDRNOTAVAIL): Likewise.
22128         [POSIX] (EAFNOSUPPORT): Likewise.
22129         [POSIX] (EALREADY): Likewise.
22130         [POSIX] (ECONNABORTED): Likewise.
22131         [POSIX] (ECONNREFUSED): Likewise.
22132         [POSIX] (ECONNRESET): Likewise.
22133         [POSIX] (EDESTADDRREQ): Likewise.
22134         [POSIX] (EDQUOT): Likewise.
22135         [POSIX] (EHOSTUNREACH): Likewise.
22136         [POSIX] (EIDRM): Likewise.
22137         [POSIX] (EISCONN): Likewise.
22138         [POSIX] (ELOOP): Likewise.
22139         [POSIX] (EMULTIHOP): Likewise.
22140         [POSIX] (ENETDOWN): Likewise.
22141         [POSIX] (ENETUNREACH): Likewise.
22142         [POSIX] (ENOBUFS): Likewise.
22143         [POSIX] (ENODATA): Likewise.
22144         [POSIX] (ENOLINK): Likewise.
22145         [POSIX] (ENOMSG): Likewise.
22146         [POSIX] (ENOPROTOOPT): Likewise.
22147         [POSIX] (ENOSR): Likewise.
22148         [POSIX] (ENOSTR): Likewise.
22149         [POSIX] (ENOTCONN): Likewise.
22150         [POSIX] (ENOTSOCK): Likewise.
22151         [POSIX] (EOPNOTSUPP): Likewise.
22152         [POSIX] (EOVERFLOW): Likewise.
22153         [POSIX] (EPROTO): Likewise.
22154         [POSIX] (EPROTONOSUPPORT): Likewise.
22155         [POSIX] (EPROTOTYPE): Likewise.
22156         [POSIX] (ESTALE): Likewise.
22157         [POSIX] (ETIME): Likewise.
22158         [POSIX] (ETXTBSY): Likewise.
22159         [POSIX] (EWOULDBLOCK): Likewise.
22160         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22161         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22162         [POSIX] (SEEK_CUR): Likewise.
22163         [POSIX] (SEEK_END): Likewise.
22164         [POSIX || UNIX98] (mode_t): Do not require.
22165         [POSIX] (off_t): Likewise.
22166         [POSIX] (pid_t): Likewise.
22167         [POSIX] (sys/stat.h): Do not allow header.
22168         [POSIX] (unistd.h): Likewise.
22169         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22170         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22171         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22172         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22173         require.
22174         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22175         sigevent): Specify elements.
22176         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22177         entry.
22178         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22179         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22180
22181         * conform/data/cpio.h-data [POSIX]: Disable whole file.
22182         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22183         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22184         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22185         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22186         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22187         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22188         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22189         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22190         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22191         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22192         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22193         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22194         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22195         Likewise.
22196         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22197         Likewise.
22198         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22199         Likewise.
22200         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22201         Likewise.
22202         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22203         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22204         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22205         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22206         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22207         Specify lower bound on value.
22208         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22209         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22210         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22211         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22212         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22213         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22214         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22215         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22216         value.
22217         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22218         as optional.
22219         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22220         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22221         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22222         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22223         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22224         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22225         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22226         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22227         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22228         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22229         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22230         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22231         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22232         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22233         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22234         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22235         entry.
22236         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22237         optional.
22238         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22239         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22240         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22241         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22242         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22243         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22244         Likewise.
22245         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22246         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22247         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22248         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22249         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22250         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22251         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22252         as optional.
22253         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22254         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22255         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22256         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22257         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22258         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22259         specify as optional.
22260         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22261         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22262         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22263         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22264         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22265         [XPG3] (NL_LANGMAX): Likewise.
22266         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22267         [POSIX || XPG3] (NL_NMAX): Likewise.
22268         [POSIX || XPG3] (NL_SETMAX): Likewise.
22269         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22270         [XPG3] (NZERO): Likewise.
22271         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22272         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22273         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22274         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22275         (REG_ERANGE): Expect.
22276         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22277         optional-constant.
22278         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22279         Use (void) in prototype.
22280         [POSIX] (*_t): Allow.
22281         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22282         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22283         (WRDE_BADVAL): Expect.
22284
22285         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22286         expect.
22287         [XPG3 || XPG4] (O_RSYNC): Likewise.
22288         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22289         Likewise.
22290         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22291         [XPG3 || XPG4] (sigqueue): Likewise.
22292         [XPG3 || XPG4] (sigtimedwait): Likewise.
22293         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22294         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22295         [XPG3 || XPG4] (vsnprintf): Likewise.
22296         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22297         Likewise.
22298         [XPG3 || XPG4] (blksize_t): Likewise.
22299         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22300         Likewise.
22301         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22302         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22303         [XPG3 || XPG4] (struct itimerspec): Likewise.
22304         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22305         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22306         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22307         [XPG3 || XPG4] (clockid_t): Likewise.
22308         [XPG3 || XPG4] (timer_t): Likewise.
22309         [XPG3 || XPG4] (clock_getres): Likewise.
22310         [XPG3 || XPG4] (clock_gettime): Likewise.
22311         [XPG3 || XPG4] (clock_settime): Likewise.
22312         [XPG3 || XPG4] (nanosleep): Likewise.
22313         [XPG3 || XPG4] (timer_create): Likewise.
22314         [XPG3 || XPG4] (timer_delete): Likewise.
22315         [XPG3 || XPG4] (timer_gettime): Likewise.
22316         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22317         [XPG3 || XPG4] (timer_settime): Likewise.
22318         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22319         [XPG3 || XPG4] (getlogin_r): Likewise.
22320         [XPG3 || XPG4] (pread): Likewise.
22321         [XPG3 || XPG4] (pthread_atfork): Likewise.
22322         [XPG3 || XPG4] (pwrite): Likewise.
22323
22324         [BZ #14835]
22325         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22326         <bits/siginfo.h>.
22327
22328 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22329
22330         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22331         finalizing MALLSTREAM.
22332
22333         * sysdeps/mach/hurd/syncfs.c: New file.
22334
22335 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22336
22337         [BZ #14719]
22338         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22339         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22340         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22341         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22342         (_nss_dns_gethostbyname4_r): Likewise.
22343         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22344         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22345
22346 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22347
22348         [BZ #13763]
22349         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22350
22351 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22352
22353         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22354         * elf/cache.c (print_entry): Print ",AArch64" for
22355         FLAG_AARCH64_LIB64
22356
22357         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22358         * elf/cache.c (print_entry): Print ",hard-float" for
22359         FLAG_ARM_LIBHF.
22360
22361 2012-11-18  David S. Miller  <davem@davemloft.net>
22362
22363         With help from Joseph Myers.
22364         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22365         cutoff to 2**-13.
22366         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22367         cutoff to 2**-25.
22368         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22369         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22370         small.
22371         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22372         * math/libm-test.inc (y0_test): New tests.
22373         (y1_test): New tests.
22374         * sysdeps/i386/fpu/libm-test-ulps: Update.
22375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22377
22378 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22379
22380         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22381         64-bit targets.
22382         * configure: Regenerated.
22383
22384 2012-11-17  David S. Miller  <davem@davemloft.net>
22385
22386         [BZ #14811]
22387         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22388         nonzero exponents with absolute value below 0x1p-128 to +/-
22389         0x1p-128.
22390
22391 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22392
22393         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22394
22395         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22396
22397         * posix/getconf-speclist.c: New file.
22398         * posix/posix-envs.def: Likewise.
22399         * posix/confstr.c (START_ENV_GROUP): New macro.
22400         (END_ENV_GROUP): Likewise.
22401         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22402         (KNOWN_PRESENT_ENV_STRING): Likewise.
22403         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22404         (UNKNOWN_ENVIRONMENT): Likewise.
22405         (confstr): Include posix-envs.def instead of handling
22406         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22407         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22408         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22409         (END_ENV_GROUP): Likewise.
22410         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22411         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22412         (UNKNOWN_ENVIRONMENT): Likewise.
22413         (__sysconf): Include posix-envs.def instead of handling associated
22414         cases directly here.
22415         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22416         preprocessing getconf-speclist.c rather than running getconf or
22417         generating empty file.
22418
22419 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22420
22421         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22422
22423 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22424
22425         [BZ #14672]
22426         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22427
22428 2012-11-16  David S. Miller  <davem@davemloft.net>
22429
22430         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22431         smaller than LDBL_EPSILON/2.0L, just return xm1.
22432
22433 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22434
22435         * elf/tst-array1.c (init): Set constructor priority to 1000.
22436         (fini): Set destructor priority to 1000.
22437         * elf/tst-array2dep.c: Likewise.
22438
22439 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22440
22441         [BZ #11741]
22442         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22443         (_IO_new_file_xsputn): Also return EOF if none of the input
22444         data was written when overflow failed.
22445         * libio/iopadn.c (_IO_padn): Likewise.
22446         * libio/iowpadn.c (_IO_wpadn): Likewise.
22447         * stdio-common/tst-put-error.c: Add copyright notice.
22448         (do_test): Add case for printing padded string.
22449         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22450         _IO_padn returned error.
22451         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22452         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22453         return EOF.
22454
22455 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22456
22457         * libio/libioP.h: Add comment note that the references to C++
22458         bits are now obsolete.
22459
22460 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22461
22462         * math/libm-test.inc (check_complex): Use asprintf.
22463
22464 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22465
22466         * debug/pcprofiledump.c (print_version): Update copyright year.
22467         * malloc/memusagestat.c (print_version): Likewise.
22468
22469 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22470
22471         [BZ #14831]
22472         * elf/Makefile (tests): Add tst-audit8.
22473         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22474         ($(objpfx)tst-audit8.out): New target.
22475         (tst-audit8-ENV): New variable.
22476         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22477         audit if l_reloc_result is NULL.
22478         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22479         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22480         * elf/tst-audit8.c: New file.
22481
22482 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22483
22484         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22485         * misc/Makefile (CFLAGS-select.c): Define.
22486         * posix/Makefile (CFLAGS-pause.c): Define.
22487
22488 2012-11-13  David S. Miller  <davem@davemloft.net>
22489
22490         * crypt/Makefile: Move test targets after toplevel Rules
22491         inclusion.  Grab any necessary sysdep routines when linking.
22492         * crypt/md5.c (md5_process_block): Remove define, we will always
22493         name it __md5_process_block.
22494         (md5_finish_ctx): Update md5_process_block call.
22495         (md5_stream): Likewise.
22496         (md5_process_bytes): Likewise.
22497         (md5_process_block): Rename to __md5_process_block and move to ...
22498         * crypt/md5-block.c: ... here.
22499         * crypt/sha256.c (sha256_process_block): Move to ...
22500         * crypt/sha256-block.c: ... here.
22501         * crypt/sha512.c (sha512_process_block): Move to ...
22502         * crypt/sha512-block.c: ... here.
22503         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22504         path.
22505         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22506         * sysdeps/sparc/sparc64/multiarch/Makefile
22507         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22508         crypt subdir.
22509         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22510         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22511         multiarch changes.
22512         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22513         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22514         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22515         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22516         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22517         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22518         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22519         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22520         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22521         file.
22522         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22523         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22524         file.
22525         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22526
22527 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22528
22529         * timezone/tzselect.ksh: Update from tzcode git revision
22530         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22531         * timezone/zdump.c: Likewise.
22532         * timezone/zic.c: Likewise.
22533         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22534         in TZVERSION setting, not $(PKGVERSION).
22535         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22536         REPORT_BUGS_TO settings.
22537
22538         [BZ #14838]
22539         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22540         macro.
22541
22542 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22543
22544         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22545         detection to immediately after _FP_ROUND().
22546         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22547         bits are 0.
22548
22549 2012-11-11  David S. Miller  <davem@davemloft.net>
22550
22551         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22552         inttypes.h
22553         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22554         __close rather than their public counterparts.
22555
22556 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22557
22558         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22559         file.
22560         [UNIX98] (sem_timedwait): Do not expect.
22561         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22562         [XPG4 || UNIX98] (sockatmark): Do not expect.
22563         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22564         (clock_getcpuclockid): Do not expect.
22565         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22566         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22567         Do not expect.
22568         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22569         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22570         [UNIX98] (vwscanf): Likewise.
22571         [UNIX98] (vswscanf): Likewise.
22572
22573 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22574
22575         * timezone/version.h: Remove file.
22576         * timezone/README: Do not refer to version.h.
22577         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22578         $(objpfx)version.h.
22579         ($(objpfx)zdump.o): Likewise.
22580         ($(objpfx)version.h): New target.
22581
22582         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22583         2012i.
22584         * timezone/README: Don't mention modification to tzselect.ksh.
22585         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22586         work on unmodified tzselect.ksh.  Substitute version numbers in
22587         tzselect.ksh.
22588
22589         * Makefile (format-me): Remove.
22590         (INSTALL): Adjust indentation.  Use commands directly instead of
22591         using $(format-me).
22592
22593         * aclocal.m4 (ACX_PKGVERSION): New macro.
22594         (ACX_BUGURL): Likewise.
22595         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22596         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22597         (REPORT_BUGS_TO): Likewise.
22598         * configure: Regenerated.
22599         * config.h.in (PKGVERSION): New macro.
22600         (REPORT_BUGS_TO): Likewise.
22601         * config.make.in (PKGVERSION): New variable.
22602         (PKGVERSION_TEXI): Likewise.
22603         (REPORT_BUGS_TO): Likewise.
22604         (REPORT_BUGS_TEXI): Likewise.
22605         * Makefile (format-me): Use -I$(common-objpfx)manual.
22606         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22607         ($(common-objpfx)manual/%): New target.
22608         (manual/%): Remove target.
22609         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22610         (print_version): Use PKGVERSION.
22611         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22612         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22613         and REPORT_BUGS_TO.
22614         ($(objpfx)xtrace): Likewise.
22615         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22616         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22617         (print_version): Use PKGVERSION.
22618         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22619         (do_version): Use PKGVERSION.
22620         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22621         REPORT_BUGS_TO.
22622         (common-ldd-rewrite): Likewise.
22623         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22624         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22625         (print_version): Use PKGVERSION.
22626         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22627         * elf/pldd.c (argp_program_bug_address): Remove variable.
22628         (more_help): New function.
22629         (argp): Use more_help.
22630         (print_version): Use PKGVERSION.
22631         * elf/sln.c (main): Use PKGVERSION.
22632         (usage): Use REPORT_BUGS_TO.
22633         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22634         (top level): Use PKGVERSION.
22635         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22636         (print_version): Use PKGVERSION.
22637         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22638         (print_version): Use PKGVERSION.
22639         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22640         (print_version): Use PKGVERSION.
22641         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22642         (print_version): Use PKGVERSION.
22643         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22644         (print_version): Use PKGVERSION.
22645         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22646         (print_version): Use PKGVERSION.
22647         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22648         and BUGURL.
22649         ($(objpfx)memusage): Likewise.
22650         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22651         (do_version): Use PKGVERSION.
22652         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22653         (print_version): Use PKGVERSION.
22654         * malloc/mtrace.pl ($PACKAGE): Remove variable.
22655         ($PKGVERSION): New variable.
22656         ($REPORT_BUGS_TO): Likewise.
22657         (usage): Use $REPORT_BUGS_TO.
22658         (top level): Use $PKGVERSION.
22659         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22660         ($(objpfx)pkgvers.texi): New rule.
22661         ($(objpfx)stamp-pkgvers): Likewise.
22662         * manual/install.texi: Include pkgvers.texi.
22663         (--with-pkgversion): Document new configure option.
22664         (--with-bugurl): Likewise.
22665         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22666         than necessarily for this particular distribution.  Use
22667         REPORT_BUGS_TO for where to report bugs.
22668         * INSTALL: Regenerated.
22669         * manual/libc.texinfo: Include pkgvers.texi.
22670         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22671         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22672         (print_version): Use PKGVERSION.
22673         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22674         (print_version): Use PKGVERSION.
22675         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22676         (print_version): Use PKGVERSION.
22677         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22678         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22679         macro.
22680         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22681         (print_version): Use PKGVERSION.
22682         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22683         (print_version): Use PKGVERSION.
22684         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22685         and PKGVERSION.
22686
22687         * timezone/checktab.awk: Update from tzcode 2012i.
22688         * timezone/ialloc.c: Likewise.
22689         * timezone/private.h: Likewise.
22690         * timezone/scheck.c: Likewise.
22691         * timezone/tzfile.h: Likewise.
22692         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22693         (TZVERSION): Hardcode tzcode version number.
22694         * timezone/zdump.c: Update from tzcode 2012i.
22695         * timezone/zic.c: Likewise.
22696         * timezone/version.h: New file.
22697         * timezone/README: Describe version.h.  Update upstream location.
22698
22699         [BZ #14824]
22700         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22701         (mktemp): Enable declaration.
22702         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22703         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22704         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22705         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22706         Likewise.
22707         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22708         Likewise.
22709         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22710         Likewise.
22711         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22712         Likewise.
22713         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22714         Likewise.
22715         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22716         Likewise.
22717
22718         [BZ #14821]
22719         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22720         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
22721         for copies of such integer values.
22722         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22723         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22724
22725 2012-11-09  Andreas Jaeger  <aj@suse.de>
22726
22727         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22728         definitions and declarations that are provided by
22729         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22730
22731 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22732
22733         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22734         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22735         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22736         definition.
22737
22738 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22739
22740         * elf/elf.h: Update comment before AArch64 relocations.
22741
22742 2012-11-07  David S. Miller  <davem@davemloft.net>
22743
22744         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22745         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22746         (__start_context): Declare.
22747         (__makecontext_ret): Delete.
22748         (__makecontext): Hook up __start_context instead of
22749         __makecontext_ret.
22750         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22751         (sysdep_routines): Add __start_context when in stdlib.
22752
22753 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22754
22755         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22756         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22757         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
22758         hardcoded "nm".
22759         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
22760         (READELF): New variable.  Use it instead of hardcoded "readelf".
22761
22762 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22763
22764         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22765         * sysdeps/x86/Makefile: Here.
22766         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22767         * sysdeps/x86/tst-xmmymm.sh: This.
22768
22769 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22770
22771         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22772         expectations.
22773         [UNIX98] (pthread_barrier_t): Do not expect.
22774         [UNIX98] (pthread_barrierattr_t): Likewise.
22775         [UNIX98] (pthread_spinlock_t): Likewise.
22776         [UNIX98] (pthread_barrier_destroy): Likewise.
22777         [UNIX98] (pthread_barrier_init): Likewise.
22778         [UNIX98] (pthread_barrier_wait): Likewise.
22779         [UNIX98] (pthread_barrierattr_destroy): Likewise.
22780         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22781         [UNIX98] (pthread_barrierattr_init): Likewise.
22782         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22783         [UNIX98] (pthread_getcpuclockid): Likewise.
22784         [UNIX98] (pthread_mutex_timedlock): Likewise.
22785         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22786         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22787         [UNIX98] (pthread_sigmask): Likewise.
22788         [UNIX98] (pthread_spin_destroy): Likewise.
22789         [UNIX98] (pthread_spin_init): Likewise.
22790         [UNIX98] (pthread_spin_lock): Likewise.
22791         [UNIX98] (pthread_spin_trylock): Likewise.
22792         [UNIX98] (pthread_spin_unlock): Likewise.
22793         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22794         Do not expect.
22795         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22796         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22797         [XPG3 || XPG4] (pthread_cond_t): Likewise.
22798         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22799         [XPG3 || XPG4] (pthread_key_t): Likewise.
22800         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22801         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22802         [XPG3 || XPG4] (pthread_once_t): Likewise.
22803         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22804         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22805         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22806         [XPG3 || XPG4] (pthread_t): Likewise.
22807
22808         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22809         not expect.
22810         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22811
22812         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22813         Change function return type to int.
22814
22815         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22816         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22817         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22818         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22819         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22820         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22821         [!POSIX] (posix_madvise): Likewise.
22822         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22823         && !UNIX98].
22824         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22825         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22826         (mode_t): Likewise.
22827         (posix_mem_offset): Likewise.
22828         (posix_typed_mem_get_info): Likewise.
22829         (posix_typed_mem_open): Likewise.
22830
22831         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22832         Change condition to [XOPEN2K8].
22833
22834         * conform/conformtest.pl: Preprocess allow-header data with -x c
22835         instead of from stdin.
22836         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22837         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22838         [C99-based standards] (cerfc): Likewise.
22839         [C99-based standards] (cexp2): Likewise.
22840         [C99-based standards] (cexpm1): Likewise.
22841         [C99-based standards] (clog10): Likewise.
22842         [C99-based standards] (clog1p): Likewise.
22843         [C99-based standards] (clog2): Likewise.
22844         [C99-based standards] (clgamma): Likewise.
22845         [C99-based standards] (ctgamma): Likewise.
22846         [C99-based standards] (cerff): Likewise.
22847         [C99-based standards] (cerfcf): Likewise.
22848         [C99-based standards] (cexp2f): Likewise.
22849         [C99-based standards] (cexpm1f): Likewise.
22850         [C99-based standards] (clog10f): Likewise.
22851         [C99-based standards] (clog1pf): Likewise.
22852         [C99-based standards] (clog2f): Likewise.
22853         [C99-based standards] (clgammaf): Likewise.
22854         [C99-based standards] (ctgammaf): Likewise.
22855         [C99-based standards] (cerfl): Likewise.
22856         [C99-based standards] (cerfcl): Likewise.
22857         [C99-based standards] (cexp2l): Likewise.
22858         [C99-based standards] (cexpm1l): Likewise.
22859         [C99-based standards] (clog10l): Likewise.
22860         [C99-based standards] (clog1pl): Likewise.
22861         [C99-based standards] (clog2l): Likewise.
22862         [C99-based standards] (clgammal): Likewise.
22863         [C99-based standards] (ctgammal): Likewise.
22864         * conform/data/inttypes.h-data [C99-based standards]: Include
22865         stdint.h-data.  Remove all expectations for stdint.h contents.
22866         [C99-based standards] (PRI*): Do not allow.
22867         [C99-based standards] (SCN*): Likewise.
22868         [C99-based standards] (*_t): Likewise.
22869         [C99-based-standards] (PRId8): Expect macro.
22870         [C99-based-standards] (PRIi8): Likewise.
22871         [C99-based-standards] (PRIo8): Likewise.
22872         [C99-based-standards] (PRIu8): Likewise.
22873         [C99-based-standards] (PRIx8): Likewise.
22874         [C99-based-standards] (PRIX8): Likewise.
22875         [C99-based-standards] (SCNd8): Likewise.
22876         [C99-based-standards] (SCNi8): Likewise.
22877         [C99-based-standards] (SCNo8): Likewise.
22878         [C99-based-standards] (SCNu8): Likewise.
22879         [C99-based-standards] (SCNx8): Likewise.
22880         [C99-based-standards] (PRIdLEAST8): Likewise.
22881         [C99-based-standards] (PRIiLEAST8): Likewise.
22882         [C99-based-standards] (PRIoLEAST8): Likewise.
22883         [C99-based-standards] (PRIuLEAST8): Likewise.
22884         [C99-based-standards] (PRIxLEAST8): Likewise.
22885         [C99-based-standards] (PRIXLEAST8): Likewise.
22886         [C99-based-standards] (SCNdLEAST8): Likewise.
22887         [C99-based-standards] (SCNiLEAST8): Likewise.
22888         [C99-based-standards] (SCNoLEAST8): Likewise.
22889         [C99-based-standards] (SCNuLEAST8): Likewise.
22890         [C99-based-standards] (SCNxLEAST8): Likewise.
22891         [C99-based-standards] (PRIdFAST8): Likewise.
22892         [C99-based-standards] (PRIiFAST8): Likewise.
22893         [C99-based-standards] (PRIoFAST8): Likewise.
22894         [C99-based-standards] (PRIuFAST8): Likewise.
22895         [C99-based-standards] (PRIxFAST8): Likewise.
22896         [C99-based-standards] (PRIXFAST8): Likewise.
22897         [C99-based-standards] (SCNdFAST8): Likewise.
22898         [C99-based-standards] (SCNiFAST8): Likewise.
22899         [C99-based-standards] (SCNoFAST8): Likewise.
22900         [C99-based-standards] (SCNuFAST8): Likewise.
22901         [C99-based-standards] (SCNxFAST8): Likewise.
22902         [C99-based-standards] (PRId16): Likewise.
22903         [C99-based-standards] (PRIi16): Likewise.
22904         [C99-based-standards] (PRIo16): Likewise.
22905         [C99-based-standards] (PRIu16): Likewise.
22906         [C99-based-standards] (PRIx16): Likewise.
22907         [C99-based-standards] (PRIX16): Likewise.
22908         [C99-based-standards] (SCNd16): Likewise.
22909         [C99-based-standards] (SCNi16): Likewise.
22910         [C99-based-standards] (SCNo16): Likewise.
22911         [C99-based-standards] (SCNu16): Likewise.
22912         [C99-based-standards] (SCNx16): Likewise.
22913         [C99-based-standards] (PRIdLEAST16): Likewise.
22914         [C99-based-standards] (PRIiLEAST16): Likewise.
22915         [C99-based-standards] (PRIoLEAST16): Likewise.
22916         [C99-based-standards] (PRIuLEAST16): Likewise.
22917         [C99-based-standards] (PRIxLEAST16): Likewise.
22918         [C99-based-standards] (PRIXLEAST16): Likewise.
22919         [C99-based-standards] (SCNdLEAST16): Likewise.
22920         [C99-based-standards] (SCNiLEAST16): Likewise.
22921         [C99-based-standards] (SCNoLEAST16): Likewise.
22922         [C99-based-standards] (SCNuLEAST16): Likewise.
22923         [C99-based-standards] (SCNxLEAST16): Likewise.
22924         [C99-based-standards] (PRIdFAST16): Likewise.
22925         [C99-based-standards] (PRIiFAST16): Likewise.
22926         [C99-based-standards] (PRIoFAST16): Likewise.
22927         [C99-based-standards] (PRIuFAST16): Likewise.
22928         [C99-based-standards] (PRIxFAST16): Likewise.
22929         [C99-based-standards] (PRIXFAST16): Likewise.
22930         [C99-based-standards] (SCNdFAST16): Likewise.
22931         [C99-based-standards] (SCNiFAST16): Likewise.
22932         [C99-based-standards] (SCNoFAST16): Likewise.
22933         [C99-based-standards] (SCNuFAST16): Likewise.
22934         [C99-based-standards] (SCNxFAST16): Likewise.
22935         [C99-based-standards] (PRId32): Likewise.
22936         [C99-based-standards] (PRIi32): Likewise.
22937         [C99-based-standards] (PRIo32): Likewise.
22938         [C99-based-standards] (PRIu32): Likewise.
22939         [C99-based-standards] (PRIx32): Likewise.
22940         [C99-based-standards] (PRIX32): Likewise.
22941         [C99-based-standards] (SCNd32): Likewise.
22942         [C99-based-standards] (SCNi32): Likewise.
22943         [C99-based-standards] (SCNo32): Likewise.
22944         [C99-based-standards] (SCNu32): Likewise.
22945         [C99-based-standards] (SCNx32): Likewise.
22946         [C99-based-standards] (PRIdLEAST32): Likewise.
22947         [C99-based-standards] (PRIiLEAST32): Likewise.
22948         [C99-based-standards] (PRIoLEAST32): Likewise.
22949         [C99-based-standards] (PRIuLEAST32): Likewise.
22950         [C99-based-standards] (PRIxLEAST32): Likewise.
22951         [C99-based-standards] (PRIXLEAST32): Likewise.
22952         [C99-based-standards] (SCNdLEAST32): Likewise.
22953         [C99-based-standards] (SCNiLEAST32): Likewise.
22954         [C99-based-standards] (SCNoLEAST32): Likewise.
22955         [C99-based-standards] (SCNuLEAST32): Likewise.
22956         [C99-based-standards] (SCNxLEAST32): Likewise.
22957         [C99-based-standards] (PRIdFAST32): Likewise.
22958         [C99-based-standards] (PRIiFAST32): Likewise.
22959         [C99-based-standards] (PRIoFAST32): Likewise.
22960         [C99-based-standards] (PRIuFAST32): Likewise.
22961         [C99-based-standards] (PRIxFAST32): Likewise.
22962         [C99-based-standards] (PRIXFAST32): Likewise.
22963         [C99-based-standards] (SCNdFAST32): Likewise.
22964         [C99-based-standards] (SCNiFAST32): Likewise.
22965         [C99-based-standards] (SCNoFAST32): Likewise.
22966         [C99-based-standards] (SCNuFAST32): Likewise.
22967         [C99-based-standards] (SCNxFAST32): Likewise.
22968         [C99-based-standards] (PRId64): Likewise.
22969         [C99-based-standards] (PRIi64): Likewise.
22970         [C99-based-standards] (PRIo64): Likewise.
22971         [C99-based-standards] (PRIu64): Likewise.
22972         [C99-based-standards] (PRIx64): Likewise.
22973         [C99-based-standards] (PRIX64): Likewise.
22974         [C99-based-standards] (SCNd64): Likewise.
22975         [C99-based-standards] (SCNi64): Likewise.
22976         [C99-based-standards] (SCNo64): Likewise.
22977         [C99-based-standards] (SCNu64): Likewise.
22978         [C99-based-standards] (SCNx64): Likewise.
22979         [C99-based-standards] (PRIdLEAST64): Likewise.
22980         [C99-based-standards] (PRIiLEAST64): Likewise.
22981         [C99-based-standards] (PRIoLEAST64): Likewise.
22982         [C99-based-standards] (PRIuLEAST64): Likewise.
22983         [C99-based-standards] (PRIxLEAST64): Likewise.
22984         [C99-based-standards] (PRIXLEAST64): Likewise.
22985         [C99-based-standards] (SCNdLEAST64): Likewise.
22986         [C99-based-standards] (SCNiLEAST64): Likewise.
22987         [C99-based-standards] (SCNoLEAST64): Likewise.
22988         [C99-based-standards] (SCNuLEAST64): Likewise.
22989         [C99-based-standards] (SCNxLEAST64): Likewise.
22990         [C99-based-standards] (PRIdFAST64): Likewise.
22991         [C99-based-standards] (PRIiFAST64): Likewise.
22992         [C99-based-standards] (PRIoFAST64): Likewise.
22993         [C99-based-standards] (PRIuFAST64): Likewise.
22994         [C99-based-standards] (PRIxFAST64): Likewise.
22995         [C99-based-standards] (PRIXFAST64): Likewise.
22996         [C99-based-standards] (SCNdFAST64): Likewise.
22997         [C99-based-standards] (SCNiFAST64): Likewise.
22998         [C99-based-standards] (SCNoFAST64): Likewise.
22999         [C99-based-standards] (SCNuFAST64): Likewise.
23000         [C99-based-standards] (SCNxFAST64): Likewise.
23001         [C99-based-standards] (PRIdMAX): Likewise.
23002         [C99-based-standards] (PRIiMAX): Likewise.
23003         [C99-based-standards] (PRIoMAX): Likewise.
23004         [C99-based-standards] (PRIuMAX): Likewise.
23005         [C99-based-standards] (PRIxMAX): Likewise.
23006         [C99-based-standards] (PRIXMAX): Likewise.
23007         [C99-based-standards] (SCNdMAX): Likewise.
23008         [C99-based-standards] (SCNiMAX): Likewise.
23009         [C99-based-standards] (SCNoMAX): Likewise.
23010         [C99-based-standards] (SCNuMAX): Likewise.
23011         [C99-based-standards] (SCNxMAX): Likewise.
23012         [C99-based-standards] (PRIdPTR): Likewise.
23013         [C99-based-standards] (PRIiPTR): Likewise.
23014         [C99-based-standards] (PRIoPTR): Likewise.
23015         [C99-based-standards] (PRIuPTR): Likewise.
23016         [C99-based-standards] (PRIxPTR): Likewise.
23017         [C99-based-standards] (PRIXPTR): Likewise.
23018         [C99-based-standards] (SCNdPTR): Likewise.
23019         [C99-based-standards] (SCNiPTR): Likewise.
23020         [C99-based-standards] (SCNoPTR): Likewise.
23021         [C99-based-standards] (SCNuPTR): Likewise.
23022         [C99-based-standards] (SCNxPTR): Likewise.
23023         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23024         allow.
23025         * conform/data/stdint.h-data: Update comments to clarify
23026         requirements.
23027         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
23028         type.
23029         [C99-based standards] (INT8_MAX): Likewise.
23030         [C99-based standards] (INT16_MIN): Likewise.
23031         [C99-based standards] (INT16_MAX): Likewise.
23032         [C99-based standards] (INT32_MIN): Likewise.
23033         [C99-based standards] (INT32_MAX): Likewise.
23034         [C99-based standards] (INT64_MIN): Likewise.
23035         [C99-based standards] (INT64_MAX): Likewise.
23036         [C99-based standards] (UINT8_MAX): Likewise.
23037         [C99-based standards] (UINT16_MAX): Likewise.
23038         [C99-based standards] (UINT32_MAX): Likewise.
23039         [C99-based standards] (UINT64_MAX): Likewise.
23040         [C99-based standards] (INT_LEAST8_MIN): Likewise.
23041         [C99-based standards] (INT_LEAST8_MAX): Likewise.
23042         [C99-based standards] (INT_LEAST16_MIN): Likewise.
23043         [C99-based standards] (INT_LEAST16_MAX): Likewise.
23044         [C99-based standards] (INT_LEAST32_MIN): Likewise.
23045         [C99-based standards] (INT_LEAST32_MAX): Likewise.
23046         [C99-based standards] (INT_LEAST64_MIN): Likewise.
23047         [C99-based standards] (INT_LEAST64_MAX): Likewise.
23048         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23049         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23050         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23051         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23052         [C99-based standards] (INT_FAST8_MIN): Likewise.
23053         [C99-based standards] (INT_FAST8_MAX): Likewise.
23054         [C99-based standards] (INT_FAST16_MIN): Likewise.
23055         [C99-based standards] (INT_FAST16_MAX): Likewise.
23056         [C99-based standards] (INT_FAST32_MIN): Likewise.
23057         [C99-based standards] (INT_FAST32_MAX): Likewise.
23058         [C99-based standards] (INT_FAST64_MIN): Likewise.
23059         [C99-based standards] (INT_FAST64_MAX): Likewise.
23060         [C99-based standards] (UINT_FAST8_MAX): Likewise.
23061         [C99-based standards] (UINT_FAST16_MAX): Likewise.
23062         [C99-based standards] (UINT_FAST32_MAX): Likewise.
23063         [C99-based standards] (UINT_FAST64_MAX): Likewise.
23064         [C99-based standards] (INTPTR_MIN): Likewise.
23065         [C99-based standards] (INTPTR_MAX): Likewise.
23066         [C99-based standards] (UINTPTR_MAX): Likewise.
23067         [C99-based standards] (INTMAX_MIN): Likewise.
23068         [C99-based standards] (INTMAX_MAX): Likewise.
23069         [C99-based standards] (UINTMAX_MAX): Likewise.
23070         [C99-based standards] (PTRDIFF_MIN): Likewise.
23071         [C99-based standards] (PTRDIFF_MAX): Likewise.
23072         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23073         [C99-based standards] (SIZE_MAX): Likewise.
23074         [C99-based standards] (WCHAR_MAX): Likewise.
23075         [C99-based standards] (WINT_MAX): Likewise.
23076         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
23077         constraint on value.
23078         [C99-based standards] (WCHAR_MIN): Likewise.
23079         [C99-based standards] (WINT_MIN): Likewise.
23080         [C99-based standards] (*_t): Allow.
23081         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23082         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23083         Include math.h-data and complex.h-data.  Remove all expectations
23084         of math.h and complex.h contents.
23085         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23086         at end of line.
23087         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23088         (struct tm): Expect tag.
23089         [C99-based-standards] (wcstof): Expect function.
23090         [C99-based-standards] (wcstold): Likewise.
23091         [C99-based-standards] (wcstoll): Likewise.
23092         [C99-based-standards] (wcstoull): Likewise.
23093         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23094         macro-int-constant.  Specify type.
23095         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
23096         constraint on value.
23097         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23098         Specify type.
23099         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23100         Specify value.
23101         [ISO C standards]: Do not allow headers.
23102         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23103         wcs[abcdefghijklmnopqrstuvwxyz]*.
23104         [ISO C standards] (*_t): Do not allow.
23105         * conform/data/wctype.h-data [C99-based standards] (iswblank):
23106         Expect function.
23107         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23108         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23109         Specify type.
23110         [ISO C standards]: Do not allow headers.
23111         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23112         is[abcdefghijklmnopqrstuvwxyz]*.
23113         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23114         to[abcdefghijklmnopqrstuvwxyz]*.
23115         [ISO C standards] (*_t): Do not allow.
23116         * conform/data/stdalign.h-data: New file.
23117         * conform/data/stdbool.h-data: Likewise.
23118         * conform/data/stdnoreturn.h-data: Likewise.
23119
23120 2012-11-07  Roland McGrath  <roland@hack.frob.com>
23121
23122         [BZ #14815]
23123         * manual/filesys.texi (Directory Entries): Typo fix.
23124         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23125
23126 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23127
23128         * elf/elf.h (EM_AARCH64): New macro.
23129         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23130         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23131         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23132         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23133         (R_AARCH64_TLSDESC): Likewise.
23134         (NT_ARM_TLS): Likewise.
23135         (NT_ARM_HW_BREAK): Likewise.
23136         (NT_ARM_HW_WATCH): Likewise.
23137
23138 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23139
23140         [BZ #14811]
23141         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23142         (__ieee754_powl): Saturate nonzero exponents with absolute value
23143         below 0x1p-79 to +/- 0x1p-79.
23144         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23145         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23146         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23147         nonzero exponents with absolute value below 0x1p-32 to +/-
23148         0x1p-32.
23149         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23150         (__ieee754_powl): Saturate nonzero exponents with absolute value
23151         below 0x1p-79 to +/- 0x1p-79.
23152         * math/libm-test.inc (pow_test): Add more tests.
23153
23154 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23155
23156         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23157         _dl_s390_cap_flags with kernel. Increase string length.
23158         (_dl_s390_platforms): Add z196 and zEC12.
23159
23160 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23161
23162         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23163         Change XOPEN21K to XOPEN2K.
23164
23165 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
23166
23167         * string/memmove.c: Use memcpy when possible.
23168
23169 2012-11-06  Andreas Jaeger  <aj@suse.de>
23170
23171         * po/eo.po: Update from translation team.
23172
23173 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
23174
23175         [BZ #14793]
23176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23177         exponent and small x and y exponents, scale x or y up.  Increase
23178         by 2 the exponent used in scaling up.
23179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23180         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23181         * math/libm-test.inc (fma_test): Add more tests.
23182         (fma_test_towardzero): Likewise.
23183         (fma_test_downward): Likewise.
23184         (fma_test_upward): Likewise.
23185
23186 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
23187
23188         [BZ #14805]
23189         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23190         fenv_t *.
23191
23192         [BZ #14801]
23193         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23194         namespace for names of struct fields.
23195         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23196         fenv_t fields.
23197         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23198         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23199
23200 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23201
23202         [BZ #3665]
23203         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23204
23205 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23206
23207         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23208         PTR_DEMANGLE.
23209
23210         [BZ #5246]
23211         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23212         PTR_DEMANGLE.
23213
23214 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
23215
23216         [BZ #14797]
23217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23218         definitely overflow as x * y not x * y + z.
23219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23221         * math/libm-test.inc (fma_test): Add more tests.
23222         (fma_test_towardzero): Likewise.
23223         (fma_test_downward): Likewise.
23224         (fma_test_upward): Likewise.
23225
23226 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23227
23228         [BZ #157]
23229
23230         * include/stub-tag.h: Remove file.
23231         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23232         '#include' of it.
23233         * manual/maint.texi (Porting): Don't reference it.
23234         * Makerules ($(objpfx)stubs): Likewise.
23235         * dirent/closedir.c: Don't include <stub-tag.h>.
23236         * dirent/dirfd.c: Likewise.
23237         * dirent/fdopendir.c: Likewise.
23238         * dirent/getdents.c: Likewise.
23239         * dirent/getdents64.c: Likewise.
23240         * dirent/opendir.c: Likewise.
23241         * dirent/readdir.c: Likewise.
23242         * dirent/readdir64.c: Likewise.
23243         * dirent/readdir64_r.c: Likewise.
23244         * dirent/readdir_r.c: Likewise.
23245         * dirent/rewinddir.c: Likewise.
23246         * dirent/seekdir.c: Likewise.
23247         * dirent/telldir.c: Likewise.
23248         * gmon/profil.c: Likewise.
23249         * grp/setgroups.c: Likewise.
23250         * inet/if_index.c: Likewise.
23251         * io/access.c: Likewise.
23252         * io/chdir.c: Likewise.
23253         * io/chmod.c: Likewise.
23254         * io/chown.c: Likewise.
23255         * io/close.c: Likewise.
23256         * io/dup.c: Likewise.
23257         * io/dup2.c: Likewise.
23258         * io/dup3.c: Likewise.
23259         * io/euidaccess.c: Likewise.
23260         * io/faccessat.c: Likewise.
23261         * io/fchdir.c: Likewise.
23262         * io/fchmod.c: Likewise.
23263         * io/fchmodat.c: Likewise.
23264         * io/fchown.c: Likewise.
23265         * io/fchownat.c: Likewise.
23266         * io/fcntl.c: Likewise.
23267         * io/flock.c: Likewise.
23268         * io/fstatfs.c: Likewise.
23269         * io/fstatfs64.c: Likewise.
23270         * io/fstatvfs.c: Likewise.
23271         * io/fstatvfs64.c: Likewise.
23272         * io/futimens.c: Likewise.
23273         * io/fxstat.c: Likewise.
23274         * io/fxstat64.c: Likewise.
23275         * io/fxstatat.c: Likewise.
23276         * io/fxstatat64.c: Likewise.
23277         * io/getcwd.c: Likewise.
23278         * io/isatty.c: Likewise.
23279         * io/lchmod.c: Likewise.
23280         * io/lchown.c: Likewise.
23281         * io/link.c: Likewise.
23282         * io/linkat.c: Likewise.
23283         * io/lseek.c: Likewise.
23284         * io/lseek64.c: Likewise.
23285         * io/lxstat64.c: Likewise.
23286         * io/mkdir.c: Likewise.
23287         * io/mkdirat.c: Likewise.
23288         * io/mkfifo.c: Likewise.
23289         * io/mkfifoat.c: Likewise.
23290         * io/open.c: Likewise.
23291         * io/open64.c: Likewise.
23292         * io/openat.c: Likewise.
23293         * io/openat64.c: Likewise.
23294         * io/pipe.c: Likewise.
23295         * io/pipe2.c: Likewise.
23296         * io/poll.c: Likewise.
23297         * io/posix_fadvise.c: Likewise.
23298         * io/posix_fadvise64.c: Likewise.
23299         * io/posix_fallocate.c: Likewise.
23300         * io/posix_fallocate64.c: Likewise.
23301         * io/read.c: Likewise.
23302         * io/readlink.c: Likewise.
23303         * io/readlinkat.c: Likewise.
23304         * io/rmdir.c: Likewise.
23305         * io/sendfile.c: Likewise.
23306         * io/sendfile64.c: Likewise.
23307         * io/statfs.c: Likewise.
23308         * io/statfs64.c: Likewise.
23309         * io/statvfs.c: Likewise.
23310         * io/statvfs64.c: Likewise.
23311         * io/symlink.c: Likewise.
23312         * io/symlinkat.c: Likewise.
23313         * io/ttyname.c: Likewise.
23314         * io/ttyname_r.c: Likewise.
23315         * io/umask.c: Likewise.
23316         * io/unlink.c: Likewise.
23317         * io/unlinkat.c: Likewise.
23318         * io/utime.c: Likewise.
23319         * io/utimensat.c: Likewise.
23320         * io/write.c: Likewise.
23321         * io/xmknod.c: Likewise.
23322         * io/xmknodat.c: Likewise.
23323         * io/xstat.c: Likewise.
23324         * io/xstat64.c: Likewise.
23325         * login/getpt.c: Likewise.
23326         * login/grantpt.c: Likewise.
23327         * login/unlockpt.c: Likewise.
23328         * math/e_acoshl.c: Likewise.
23329         * math/e_acosl.c: Likewise.
23330         * math/e_asinl.c: Likewise.
23331         * math/e_atan2l.c: Likewise.
23332         * math/e_atanhl.c: Likewise.
23333         * math/e_coshl.c: Likewise.
23334         * math/e_expl.c: Likewise.
23335         * math/e_fmodl.c: Likewise.
23336         * math/e_gammal_r.c: Likewise.
23337         * math/e_hypotl.c: Likewise.
23338         * math/e_j0l.c: Likewise.
23339         * math/e_j1l.c: Likewise.
23340         * math/e_jnl.c: Likewise.
23341         * math/e_lgammal_r.c: Likewise.
23342         * math/e_log10l.c: Likewise.
23343         * math/e_log2l.c: Likewise.
23344         * math/e_logl.c: Likewise.
23345         * math/e_powl.c: Likewise.
23346         * math/e_rem_pio2l.c: Likewise.
23347         * math/e_sinhl.c: Likewise.
23348         * math/e_sqrtl.c: Likewise.
23349         * math/fclrexcpt.c: Likewise.
23350         * math/fedisblxcpt.c: Likewise.
23351         * math/feenablxcpt.c: Likewise.
23352         * math/fegetenv.c: Likewise.
23353         * math/fegetexcept.c: Likewise.
23354         * math/fegetround.c: Likewise.
23355         * math/feholdexcpt.c: Likewise.
23356         * math/fesetenv.c: Likewise.
23357         * math/fesetround.c: Likewise.
23358         * math/feupdateenv.c: Likewise.
23359         * math/fgetexcptflg.c: Likewise.
23360         * math/fraiseexcpt.c: Likewise.
23361         * math/fsetexcptflg.c: Likewise.
23362         * math/ftestexcept.c: Likewise.
23363         * math/k_cosl.c: Likewise.
23364         * math/k_rem_pio2l.c: Likewise.
23365         * math/k_sinl.c: Likewise.
23366         * math/k_tanl.c: Likewise.
23367         * math/s_asinhl.c: Likewise.
23368         * math/s_atanl.c: Likewise.
23369         * math/s_cbrtl.c: Likewise.
23370         * math/s_erfl.c: Likewise.
23371         * math/s_expm1l.c: Likewise.
23372         * math/s_log1pl.c: Likewise.
23373         * math/s_tanhl.c: Likewise.
23374         * misc/acct.c: Likewise.
23375         * misc/brk.c: Likewise.
23376         * misc/chflags.c: Likewise.
23377         * misc/chroot.c: Likewise.
23378         * misc/fchflags.c: Likewise.
23379         * misc/fgetxattr.c: Likewise.
23380         * misc/flistxattr.c: Likewise.
23381         * misc/fremovexattr.c: Likewise.
23382         * misc/fsetxattr.c: Likewise.
23383         * misc/fsync.c: Likewise.
23384         * misc/ftruncate.c: Likewise.
23385         * misc/futimes.c: Likewise.
23386         * misc/futimesat.c: Likewise.
23387         * misc/getdomain.c: Likewise.
23388         * misc/getdtsz.c: Likewise.
23389         * misc/gethostid.c: Likewise.
23390         * misc/gethostname.c: Likewise.
23391         * misc/getloadavg.c: Likewise.
23392         * misc/getpagesize.c: Likewise.
23393         * misc/getsysstats.c: Likewise.
23394         * misc/getxattr.c: Likewise.
23395         * misc/gtty.c: Likewise.
23396         * misc/ioctl.c: Likewise.
23397         * misc/lgetxattr.c: Likewise.
23398         * misc/listxattr.c: Likewise.
23399         * misc/llistxattr.c: Likewise.
23400         * misc/lremovexattr.c: Likewise.
23401         * misc/lsetxattr.c: Likewise.
23402         * misc/lutimes.c: Likewise.
23403         * misc/madvise.c: Likewise.
23404         * misc/mincore.c: Likewise.
23405         * misc/mlock.c: Likewise.
23406         * misc/mlockall.c: Likewise.
23407         * misc/mmap.c: Likewise.
23408         * misc/mprotect.c: Likewise.
23409         * misc/msync.c: Likewise.
23410         * misc/munlock.c: Likewise.
23411         * misc/munlockall.c: Likewise.
23412         * misc/munmap.c: Likewise.
23413         * misc/preadv.c: Likewise.
23414         * misc/preadv64.c: Likewise.
23415         * misc/ptrace.c: Likewise.
23416         * misc/pwritev.c: Likewise.
23417         * misc/pwritev64.c: Likewise.
23418         * misc/readv.c: Likewise.
23419         * misc/reboot.c: Likewise.
23420         * misc/remap_file_pages.c: Likewise.
23421         * misc/removexattr.c: Likewise.
23422         * misc/revoke.c: Likewise.
23423         * misc/select.c: Likewise.
23424         * misc/setdomain.c: Likewise.
23425         * misc/setegid.c: Likewise.
23426         * misc/seteuid.c: Likewise.
23427         * misc/sethostid.c: Likewise.
23428         * misc/sethostname.c: Likewise.
23429         * misc/setregid.c: Likewise.
23430         * misc/setreuid.c: Likewise.
23431         * misc/setxattr.c: Likewise.
23432         * misc/sstk.c: Likewise.
23433         * misc/stty.c: Likewise.
23434         * misc/swapoff.c: Likewise.
23435         * misc/swapon.c: Likewise.
23436         * misc/sync.c: Likewise.
23437         * misc/syncfs.c: Likewise.
23438         * misc/syscall.c: Likewise.
23439         * misc/truncate.c: Likewise.
23440         * misc/ualarm.c: Likewise.
23441         * misc/usleep.c: Likewise.
23442         * misc/ustat.c: Likewise.
23443         * misc/utimes.c: Likewise.
23444         * misc/vhangup.c: Likewise.
23445         * misc/writev.c: Likewise.
23446         * posix/_exit.c: Likewise.
23447         * posix/alarm.c: Likewise.
23448         * posix/execve.c: Likewise.
23449         * posix/fexecve.c: Likewise.
23450         * posix/fork.c: Likewise.
23451         * posix/fpathconf.c: Likewise.
23452         * posix/getaddrinfo.c: Likewise.
23453         * posix/getegid.c: Likewise.
23454         * posix/geteuid.c: Likewise.
23455         * posix/getgid.c: Likewise.
23456         * posix/getgroups.c: Likewise.
23457         * posix/getlogin.c: Likewise.
23458         * posix/getlogin_r.c: Likewise.
23459         * posix/getpgid.c: Likewise.
23460         * posix/getpid.c: Likewise.
23461         * posix/getppid.c: Likewise.
23462         * posix/getresgid.c: Likewise.
23463         * posix/getresuid.c: Likewise.
23464         * posix/getsid.c: Likewise.
23465         * posix/getuid.c: Likewise.
23466         * posix/glob64.c: Likewise.
23467         * posix/nanosleep.c: Likewise.
23468         * posix/pathconf.c: Likewise.
23469         * posix/pause.c: Likewise.
23470         * posix/posix_madvise.c: Likewise.
23471         * posix/pread.c: Likewise.
23472         * posix/pread64.c: Likewise.
23473         * posix/pwrite.c: Likewise.
23474         * posix/pwrite64.c: Likewise.
23475         * posix/sched_getaffinity.c: Likewise.
23476         * posix/sched_getp.c: Likewise.
23477         * posix/sched_gets.c: Likewise.
23478         * posix/sched_primax.c: Likewise.
23479         * posix/sched_primin.c: Likewise.
23480         * posix/sched_rr_gi.c: Likewise.
23481         * posix/sched_setaffinity.c: Likewise.
23482         * posix/sched_setp.c: Likewise.
23483         * posix/sched_sets.c: Likewise.
23484         * posix/sched_yield.c: Likewise.
23485         * posix/setgid.c: Likewise.
23486         * posix/setlogin.c: Likewise.
23487         * posix/setpgid.c: Likewise.
23488         * posix/setresgid.c: Likewise.
23489         * posix/setresuid.c: Likewise.
23490         * posix/setsid.c: Likewise.
23491         * posix/setuid.c: Likewise.
23492         * posix/sleep.c: Likewise.
23493         * posix/spawni.c: Likewise.
23494         * posix/sysconf.c: Likewise.
23495         * posix/times.c: Likewise.
23496         * posix/wait.c: Likewise.
23497         * posix/wait3.c: Likewise.
23498         * posix/wait4.c: Likewise.
23499         * posix/waitpid.c: Likewise.
23500         * resolv/gai_sigqueue.c: Likewise.
23501         * resource/getpriority.c: Likewise.
23502         * resource/getrlimit.c: Likewise.
23503         * resource/getrusage.c: Likewise.
23504         * resource/nice.c: Likewise.
23505         * resource/setpriority.c: Likewise.
23506         * resource/setrlimit.c: Likewise.
23507         * resource/ulimit.c: Likewise.
23508         * rt/aio_cancel.c: Likewise.
23509         * rt/aio_fsync.c: Likewise.
23510         * rt/aio_read.c: Likewise.
23511         * rt/aio_sigqueue.c: Likewise.
23512         * rt/aio_suspend.c: Likewise.
23513         * rt/aio_write.c: Likewise.
23514         * rt/clock_getres.c: Likewise.
23515         * rt/clock_gettime.c: Likewise.
23516         * rt/clock_nanosleep.c: Likewise.
23517         * rt/clock_settime.c: Likewise.
23518         * rt/lio_listio.c: Likewise.
23519         * rt/mq_close.c: Likewise.
23520         * rt/mq_getattr.c: Likewise.
23521         * rt/mq_notify.c: Likewise.
23522         * rt/mq_open.c: Likewise.
23523         * rt/mq_receive.c: Likewise.
23524         * rt/mq_send.c: Likewise.
23525         * rt/mq_setattr.c: Likewise.
23526         * rt/mq_timedreceive.c: Likewise.
23527         * rt/mq_timedsend.c: Likewise.
23528         * rt/mq_unlink.c: Likewise.
23529         * rt/shm_open.c: Likewise.
23530         * rt/shm_unlink.c: Likewise.
23531         * rt/timer_create.c: Likewise.
23532         * rt/timer_delete.c: Likewise.
23533         * rt/timer_getoverr.c: Likewise.
23534         * rt/timer_gettime.c: Likewise.
23535         * rt/timer_settime.c: Likewise.
23536         * setjmp/__longjmp.c: Likewise.
23537         * setjmp/setjmp.c: Likewise.
23538         * signal/kill.c: Likewise.
23539         * signal/killpg.c: Likewise.
23540         * signal/raise.c: Likewise.
23541         * signal/sigaction.c: Likewise.
23542         * signal/sigaltstack.c: Likewise.
23543         * signal/sigblock.c: Likewise.
23544         * signal/sigignore.c: Likewise.
23545         * signal/sigintr.c: Likewise.
23546         * signal/signal.c: Likewise.
23547         * signal/sigpause.c: Likewise.
23548         * signal/sigpending.c: Likewise.
23549         * signal/sigqueue.c: Likewise.
23550         * signal/sigreturn.c: Likewise.
23551         * signal/sigset.c: Likewise.
23552         * signal/sigsetmask.c: Likewise.
23553         * signal/sigstack.c: Likewise.
23554         * signal/sigsuspend.c: Likewise.
23555         * signal/sigtimedwait.c: Likewise.
23556         * signal/sigvec.c: Likewise.
23557         * signal/sigwait.c: Likewise.
23558         * signal/sigwaitinfo.c: Likewise.
23559         * signal/sysv_signal.c: Likewise.
23560         * socket/accept.c: Likewise.
23561         * socket/accept4.c: Likewise.
23562         * socket/bind.c: Likewise.
23563         * socket/connect.c: Likewise.
23564         * socket/getpeername.c: Likewise.
23565         * socket/getsockname.c: Likewise.
23566         * socket/getsockopt.c: Likewise.
23567         * socket/isfdtype.c: Likewise.
23568         * socket/listen.c: Likewise.
23569         * socket/recv.c: Likewise.
23570         * socket/recvfrom.c: Likewise.
23571         * socket/recvmsg.c: Likewise.
23572         * socket/send.c: Likewise.
23573         * socket/sendmsg.c: Likewise.
23574         * socket/sendto.c: Likewise.
23575         * socket/setsockopt.c: Likewise.
23576         * socket/shutdown.c: Likewise.
23577         * socket/sockatmark.c: Likewise.
23578         * socket/socket.c: Likewise.
23579         * socket/socketpair.c: Likewise.
23580         * stdio-common/ctermid.c: Likewise.
23581         * stdio-common/cuserid.c: Likewise.
23582         * stdio-common/remove.c: Likewise.
23583         * stdio-common/rename.c: Likewise.
23584         * stdio-common/renameat.c: Likewise.
23585         * stdio-common/tempname.c: Likewise.
23586         * stdlib/getcontext.c: Likewise.
23587         * stdlib/makecontext.c: Likewise.
23588         * stdlib/setcontext.c: Likewise.
23589         * stdlib/swapcontext.c: Likewise.
23590         * stdlib/system.c: Likewise.
23591         * streams/fattach.c: Likewise.
23592         * streams/fdetach.c: Likewise.
23593         * streams/getmsg.c: Likewise.
23594         * streams/getpmsg.c: Likewise.
23595         * streams/putmsg.c: Likewise.
23596         * streams/putpmsg.c: Likewise.
23597         * sysdeps/unix/bsd/getpt.c: Likewise.
23598         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23599         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23600         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23602         Likewise.
23603         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23604         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23605         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23606         * sysvipc/msgctl.c: Likewise.
23607         * sysvipc/msgget.c: Likewise.
23608         * sysvipc/msgrcv.c: Likewise.
23609         * sysvipc/msgsnd.c: Likewise.
23610         * sysvipc/semctl.c: Likewise.
23611         * sysvipc/semget.c: Likewise.
23612         * sysvipc/semop.c: Likewise.
23613         * sysvipc/semtimedop.c: Likewise.
23614         * sysvipc/shmat.c: Likewise.
23615         * sysvipc/shmctl.c: Likewise.
23616         * sysvipc/shmdt.c: Likewise.
23617         * sysvipc/shmget.c: Likewise.
23618         * termios/tcdrain.c: Likewise.
23619         * termios/tcflow.c: Likewise.
23620         * termios/tcflush.c: Likewise.
23621         * termios/tcgetattr.c: Likewise.
23622         * termios/tcgetpgrp.c: Likewise.
23623         * termios/tcsendbrk.c: Likewise.
23624         * termios/tcsetattr.c: Likewise.
23625         * termios/tcsetpgrp.c: Likewise.
23626         * time/adjtime.c: Likewise.
23627         * time/clock.c: Likewise.
23628         * time/getitimer.c: Likewise.
23629         * time/gettimeofday.c: Likewise.
23630         * time/setitimer.c: Likewise.
23631         * time/settimeofday.c: Likewise.
23632         * time/stime.c: Likewise.
23633         * time/time.c: Likewise.
23634
23635 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23636
23637         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23638         /usr/old/bin.
23639
23640         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23641         instead of spaces.
23642         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23643
23644 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
23645
23646         [BZ #14796]
23647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23648         FE_TONEAREST before applying Dekker multiplication and Knuth
23649         addition.  Clear inexact exceptions and check for exact zero
23650         results afterwards.
23651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23652         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23653         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23654         * math/libm-test.inc (fma_test): Add more tests.
23655         (fma_test_towardzero): Likewise.
23656         (fma_test_downward): Likewise.
23657         (fma_test_upward): Likewise.
23658         * sysdeps/generic/math_private.h (default_libc_fesetround): New
23659         function.
23660         (libc_fesetround): New macro.
23661         (libc_fesetroundf): Likewise.
23662         (libc_fesetroundl): Likewise.
23663         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23664         function.
23665         (libc_fesetround_387): Likewise.
23666         (libc_fesetroundf): New macro.
23667         (libc_fesetround): Likewise.
23668         (libc_fesetroundl): Likewise.
23669         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23670         function.
23671         (libc_fesetroundf): New macro.
23672         (libc_fesetround): Likewise.
23673         (libc_fesetroundl): Likewise.
23674         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23675         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23676         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23677         libm_hidden_ver.
23678         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23679         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23680         libm_hidden_def.
23681         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23682         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23683         libm_hidden_ver.
23684         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23685         libm_hidden_def.
23686
23687         [BZ #3439]
23688         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23689         integer constant usable in #if and use that to give value to enum
23690         constant.
23691         (FE_DIVBYZERO): Likewise.
23692         (FE_UNDERFLOW): Likewise.
23693         (FE_OVERFLOW): Likewise.
23694         (FE_INVALID): Likewise.
23695         (FE_INVALID_SNAN): Likewise.
23696         (FE_INVALID_ISI): Likewise.
23697         (FE_INVALID_IDI): Likewise.
23698         (FE_INVALID_ZDZ): Likewise.
23699         (FE_INVALID_IMZ): Likewise.
23700         (FE_INVALID_COMPARE): Likewise.
23701         (FE_INVALID_SOFTWARE): Likewise.
23702         (FE_INVALID_SQRT): Likewise.
23703         (FE_INVALID_INTEGER_CONVERSION): Likewise.
23704         (FE_TONEAREST): Likewise.
23705         (FE_TOWARDZERO): Likewise.
23706         (FE_UPWARD): Likewise.
23707         (FE_DOWNWARD): Likewise.
23708         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23709         (FE_DIVBYZERO): Likewise.
23710         (FE_OVERFLOW): Likewise.
23711         (FE_UNDERFLOW): Likewise.
23712         (FE_INEXACT): Likewise.
23713         (FE_TONEAREST): Likewise.
23714         (FE_DOWNWARD): Likewise.
23715         (FE_UPWARD): Likewise.
23716         (FE_TOWARDZERO): Likewise.
23717         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23718         (FE_UNDERFLOW): Likewise.
23719         (FE_OVERFLOW): Likewise.
23720         (FE_DIVBYZERO): Likewise.
23721         (FE_INVALID): Likewise.
23722         (FE_TONEAREST): Likewise.
23723         (FE_TOWARDZERO): Likewise.
23724         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23725         (FE_OVERFLOW): Likewise.
23726         (FE_UNDERFLOW): Likewise.
23727         (FE_DIVBYZERO): Likewise.
23728         (FE_INEXACT): Likewise.
23729         (FE_TONEAREST): Likewise.
23730         (FE_TOWARDZERO): Likewise.
23731         (FE_UPWARD): Likewise.
23732         (FE_DOWNWARD): Likewise.
23733         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23734         (FE_DIVBYZERO): Likewise.
23735         (FE_OVERFLOW): Likewise.
23736         (FE_UNDERFLOW): Likewise.
23737         (FE_INEXACT): Likewise.
23738         (FE_TONEAREST): Likewise.
23739         (FE_DOWNWARD): Likewise.
23740         (FE_UPWARD): Likewise.
23741         (FE_TOWARDZERO): Likewise.
23742
23743 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
23744
23745         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23746
23747 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
23748
23749         * scripts/cross-test-ssh.sh (command): Use newlines to separate
23750         commands.  Quote $PWD.
23751         (blacklist_exports): Don't use remove_newlines.  Replace "declare
23752         -x" by "export".
23753         (remove_newlines): Remove.
23754
23755 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
23756
23757         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23758         * stdlib/stdlib.h (atof): Moved to ...
23759         * include/bits/stdlib-float.h: Here.  New file.
23760         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23761         * stdlib/bits/stdlib-float.h: New file.
23762         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23763         -mno-sse -mno-mmx.
23764         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23765         <xmmintrin.h>.
23766
23767 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23768
23769         * conform/conformtest.pl (@headers): Add fenv.h.
23770         * conform/data/fenv.h-data: New file.
23771         * include/fenv.h [_ISOMAC]: Disable all contents of file except
23772         include of <math/fenv.h>.
23773
23774         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23775         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23776         && !UNIX98].  Enables tests for XOPEN2K8.
23777         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23778         POSIX2008]: Likewise.
23779
23780         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23781         (struct rusage): Do not expect type or its members.
23782
23783         [BZ #3439]
23784         * math/math.h (FP_NAN): Define macro to integer constant usable in
23785         #if and use that to give value to enum constant.
23786         (FP_INFINITE): Likewise.
23787         (FP_ZERO): Likewise.
23788         (FP_SUBNORMAL): Likewise.
23789         (FP_NORMAL): Likewise.
23790
23791 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
23792
23793         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23794         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23795         arguments.
23796
23797 2012-11-02  Roland McGrath  <roland@hack.frob.com>
23798
23799         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23800         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23801         autoconf-time if not.
23802         * configure.in: Remove AC_PREREQ.
23803
23804 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23805
23806         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23807         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23808         of the internal implementation.
23809
23810 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23811
23812         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23813         except include of <misc/sys/syslog.h>.
23814
23815 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23816
23817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23818         function returns with a NULL context exit with zero.
23819
23820 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23821
23822         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23823
23824 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
23825
23826         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23827         (run_program_cmd): This.
23828         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23829         (tst_langinfo): New variable.  Use it.
23830
23831 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
23832
23833         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23834         floating point opcodes.
23835
23836 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23837
23838         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23839         variable.
23840
23841         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23842
23843         * sysdeps/mach/hurd/powerpc: Remove directory.
23844         * sysdeps/mach/powerpc: Likewise.
23845
23846 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23847
23848         * scripts/check-local-headers.sh: Ignore c++ headers.
23849
23850 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23851
23852         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23853         __libc_cleanup_region_start argument.
23854
23855 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
23856
23857         [BZ #14784]
23858         [BZ #14785]
23859         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23860         x * y using scaling, not as x * y + z.
23861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23862         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23863         * math/libm-test.inc (fma_test): Add more tests.
23864         (fma_test_towardzero): Likewise.
23865         (fma_test_downward): Likewise.
23866         (fma_test_upward): Likewise.
23867
23868 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23869
23870         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23871
23872 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23873
23874         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23875         New variable.
23876
23877 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23878
23879         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23880
23881 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23882
23883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23884         Fix sort order.
23885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23886         Likewise.
23887
23888 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23889
23890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23891         Fix the order of the list for glibc 2.17.
23892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23893         Likewise.
23894
23895 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23896
23897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23898
23899 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23900
23901         [BZ #14610]
23902         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23903         for low part of x being zero before using __atanl (y).
23904         * math/libm-test.inc (atan2_test): Add another test.
23905
23906         * manual/install.texi (Configuring and compiling): Document
23907         general use of test-wrapper and test-wrapper-env.
23908         * INSTALL: Regenerated.
23909
23910         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23911         (__fma): Do not extract and scale down low bits on after-rounding
23912         systems when result rounded to normal precision would have normal
23913         exponent.
23914         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23915         (__fmal): Do not extract and scale down low bits on after-rounding
23916         systems when result rounded to normal precision would have normal
23917         exponent.
23918         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23919         (__fmal): Do not extract and scale down low bits on after-rounding
23920         systems when result rounded to normal precision would have normal
23921         exponent.
23922         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23923         macro.
23924         (fma_test): Add more tests.
23925         (fma_test_towardzero): Likewise.
23926         (fma_test_downward): Likewise.
23927         (fma_test_upward): Likewise.
23928
23929 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23930
23931         * sysdeps/i386/tininess.h: Renamed to ...
23932         * sysdeps/x86/tininess.h: This.
23933         * sysdeps/x86_64/tininess.h: Removed.
23934
23935 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23936
23937         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23938         input.  Use $(build-program-cmd).
23939         ($(objpfx)tst-array1-static.out): Likewise.
23940         ($(objpfx)tst-array2.out): Likewise.
23941         ($(objpfx)tst-array3.out): Likewise.
23942         ($(objpfx)tst-array4.out): Likewise.
23943         ($(objpfx)tst-array5.out): Likewise.
23944         ($(objpfx)tst-array5-static.out): Likewise.
23945
23946 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23947
23948         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23949         if defined.
23950
23951         * nss/nsswitch.h (nss_interface_function): Provide new
23952         macro for use with NSS functions.
23953         * grp/initgroups.c: Use new macro.
23954         * nss/getXXbyYY.c: Likewise.
23955         * nss/getXXbyYY_r.c: Likewise.
23956         * nss/getXXent.c: Likewise.
23957         * nss/getXXent_r.c: Likewise.
23958         * sysdeps/posix/getaddrinfo.c: Likewise.
23959
23960 2012-10-30  Andreas Jaeger  <aj@suse.de>
23961
23962         * po/ru.po: Update Russion translation from translation project.
23963
23964 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23965
23966         [BZ #14152]
23967         [BZ #14783]
23968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23969         result and shift together with sticky bit instead of replicating
23970         round-to-nearest rounding.
23971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23972         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23973         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
23974         missing underflow exceptions.
23975         (fma_test_towardzero): Add more tests.
23976         (fma_test_downward): Likewise.
23977         (fma_test_upward): Likewise.
23978
23979         [BZ #14047]
23980         * sysdeps/generic/tininess.h: New file.
23981         * sysdeps/i386/tininess.h: Likewise.
23982         * sysdeps/sh/tininess.h: Likewise.
23983         * sysdeps/x86_64/tininess.h: Likewise.
23984         * stdlib/tst-strtod-underflow.c: Likewise.
23985         * stdlib/tst-tininess.c: Likewise.
23986         * stdlib/strtod_l.c: Include <tininess.h>.
23987         (round_and_return): Do not set errno for exact underflow cases.
23988         Force an underflow exception when setting errno for underflow.
23989         Determine underflow based on rounding to normal precision if
23990         TININESS_AFTER_ROUNDING.
23991         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23992         ERANGE for exact underflow cases.
23993         * stdlib/Makefile (tests): Add tst-tininess and
23994         tst-strtod-underflow.
23995         ($(objpfx)tst-tininess): Use $(link-libm).
23996         ($(objpfx)tst-strtod-underflow): Likewise.
23997
23998 2012-10-30  Andreas Jaeger  <aj@suse.de>
23999
24000         [BZ#14767]
24001         * elf/Makefile (tests): Remove conditional for have-initfini-array
24002         since this is now always required and the variable does not exist
24003         anymore.
24004         (tests-static): Likewise.
24005         (modules-names): Likewise.
24006
24007         * po/eo.po: Add Esperanto translation from translation project.
24008
24009         * elf/tst-array1.c (fini_array): Make writeable so that it can be
24010         merged with constructor/destructor.
24011         (init_array): Likewise.
24012         * elf/tst-array2dep.c (fini_array): Likewise.
24013         (init_array): Likewise.
24014
24015 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
24016
24017         * manual/message.texi: Delete @cartouche tags.
24018
24019 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
24020
24021         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24022         EOPNOTSUPP.
24023         * sysdeps/mach/hurd/fsync.c: Likewise.
24024
24025         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24026         [_POSIX_REALTIME_SIGNALS]: Change condition to
24027         [_POSIX_REALTIME_SIGNALS > 0].
24028
24029 2012-10-27  Andreas Jaeger  <aj@suse.de>
24030
24031         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24032         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24033         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24034         [__WORDSIZE != 64]: Likewise.
24035
24036 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
24037
24038         *  iconvdata/tst-table.sh: Remove ${SHELL}.
24039         *  iconvdata/tst-tables.sh: Likewise.
24040
24041 2012-10-25  David S. Miller  <davem@davemloft.net>
24042
24043         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24044         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24045         of strtoull.
24046
24047         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24048         ifunc-impl-list.c
24049         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24050         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24051         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24052         file.
24053
24054 2012-10-25  Roland McGrath  <roland@hack.frob.com>
24055
24056         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24057         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24058         __getdirentries.
24059
24060 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24061             Jim Blandy  <jimb@codesourcery.com>
24062
24063         * scripts/cross-test-ssh.sh: New file.
24064         * manual/install.texi (Configuring and compiling): Document use of
24065         cross-test-ssh.sh.
24066         * INSTALL: Regenerated.
24067
24068 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
24069
24070         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24071         EOPNOTSUPP.
24072
24073 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24074
24075         * Makeconfig (run-program-prefix): Fix comment.
24076
24077 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24078             Jim Blandy  <jimb@codesourcery.com>
24079
24080         * Makeconfig (test-wrapper): New variable,
24081         (test-wrapper-env): Likewise.
24082         [$(cross-compiling) = yes && $(test-wrapper) != ""]
24083         (run-built-tests): Define to yes.
24084         (run-program-prefix): Use $(test-wrapper).
24085         (built-program-cmd): Likewise.
24086         * Rules (make-test-out): Use $(test-wrapper-env) and
24087         $(host-built-program-cmd).
24088         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24089         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24090         tst-pathopt.sh.
24091         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24092         $(test-wrapper-env) to tst-rtld-load-self.sh.
24093         ($(objpfx)order2.out): Use $(test-wrapper).
24094         ($(objpfx)tst-initorder.out): Likewise.
24095         ($(objpfx)tst-initorder2.out): Likewise.
24096         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24097         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24098         (test_wrapper_env): New variable.  Use it to run ld.so.
24099         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24100         Use it to run ld.so.
24101         (test_wrapper_env): Likewise.
24102         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24103         $(test-wrapper) to run-iconv-test.sh.
24104         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24105         (ICONV): Use $test_wrapper.
24106         * posix/Makefile ($(objpfx)globtest.out): Pass
24107         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24108         globtest.sh, not $(run-program-prefix).
24109         * posix/globtest.sh (run_via_rtld_prefix): New variable.
24110         (test_wrapper): Likewise.
24111         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
24112         set together with run_via_rtld_prefix.
24113         (run_program_prefix): Define in terms of test_wrapper and
24114         run_via_rtld_prefix.
24115
24116 2012-10-24  Roland McGrath  <roland@hack.frob.com>
24117
24118         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24119         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24120         Targets removed.
24121
24122         [BZ #14743]
24123         * include/time.h: Remove librt_hidden_proto (clock_gettime).
24124         Declare __clock_getres, __clock_gettime, __clock_settime,
24125         __clock_nanosleep, and __clock_getcpuclockid.
24126         * rt/clock_gettime.c: Define __clock_gettime as an alias.
24127         Remove librt_hidden_def (clock_gettime).
24128         * sysdeps/unix/clock_gettime.c: Likewise.
24129         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24130         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24131         * rt/clock_getres.c: Define __clock_getres as an alias.
24132         * sysdeps/posix/clock_getres.c: Likewise.
24133         * rt/clock_settime.c: Define __clock_settime as an alias.
24134         * sysdeps/unix/clock_settime.c: Likewise.
24135         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24136         * sysdeps/unix/clock_nanosleep.c: Likewise.
24137         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24138         * rt/clock-compat.c: New file.
24139         * rt/Makefile (librt-routines): Add clock-compat and move
24140         $(clock-routines) to ...
24141         (routines): ... here, new variable.
24142         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24143         Don't add get_clockfreq here.
24144         * rt/Versions (libc: GLIBC_2.17): New version set.
24145         Add clock_* symbols here.
24146         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
24147         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24148         (GLIBC_2.17): Add clock_* symbols.
24149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24151         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24153         Likewise.
24154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24155         Likewise.
24156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24160         * NEWS: Mention the move.
24161
24162         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24163         Use __open, __read, __close rather than their public counterparts.
24164         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24165         (__get_clockfreq_via_cpuinfo): Likewise.
24166         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24167         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24168
24169         * config.h.in (HAVE_IFUNC): New #undef.
24170         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24171         was successful.
24172         * configure: Regenerated.
24173
24174 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24175
24176         * configure.in: Move READELF check to start of file.
24177         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24178         libc_cv_asm_gnu_indirect_function in the process.
24179         * configure: Regenerated.
24180
24181 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24182
24183         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24184         send the output to /dev/null.
24185         (libc_cv_cc_with_libunwind): Likewise.
24186         (libc_cv_as_noexecstack): Likewise.
24187         * configure: Regenerate.
24188
24189 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24190
24191         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24192
24193         * posix/globtest.sh (TMPDIR): Do not set.
24194         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24195         (testout): Likewise.
24196
24197 2012-10-24  Andreas Jaeger  <aj@suse.de>
24198
24199         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24200         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24201         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24202         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24203         posix_fadvise64, posix_fallocate64.
24204
24205         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24206         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24207         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24208         Likewise.
24209         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24210         Likewise.
24211         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24212
24213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24214         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24215         <bits/fcntl-linux.h>.
24216         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24217
24218         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24219         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24220         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24221         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24222         [__WORDSIZE != 64]: Likewise.
24223
24224 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24225
24226         * Makeconfig (run-built-tests): New variable.
24227         * Rules [$(cross-compiling) = yes]: Change condition to
24228         [$(run-built-tests) = no].
24229         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24230         to [$(run-built-tests) = yes].
24231         * elf/Makefile [$(cross-compiling) = no]: Likewise
24232         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24233         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24234         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24235         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24236         * io/Makefile [$(cross-compiling) = no]: Likewise.
24237         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24238         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24239         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24240         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24241         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24242         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24243         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24244         * string/Makefile [$(cross-compiling) = no]: Likewise.
24245
24246         * posix/Makefile ($(objpfx)globtest.out): Pass
24247         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24248         $(rtld-installed-name).
24249         * posix/globtest.sh (elf_objpfx): Remove variable.
24250         (rtld_installed_name): Likewise.
24251         (library_path): Likewise.
24252         (run_program_prefix): New variable.  Use for running globtest
24253         binary.
24254
24255 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24256             Joseph Myers  <joseph@codesourcery.com>
24257
24258         * Makeconfig (host-built-program-cmd): New variable.
24259         * elf/Makefile (tst-stackguard1-ARGS): Use
24260         $(host-built-program-cmd).
24261         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24262         (tst-spawn-ARGS): Likewise.
24263         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24264
24265 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24266             Jim Blandy  <jimb@codesourcery.com>
24267
24268         * Makeconfig (run-via-rtld-prefix): New variable.
24269         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24270         (built-program-cmd): Likewise.
24271
24272 2012-10-22  Andreas Jaeger  <aj@suse.de>
24273
24274         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24275         __O_RSYNC if it exists, otherwise to O_SYNC.
24276
24277 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24278             Joseph Myers  <joseph@codesourcery.com>
24279
24280         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24281         /dev/null.
24282         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24283         from /dev/null
24284         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24285         /dev/null.
24286
24287 2012-10-22  Andreas Jaeger  <aj@suse.de>
24288
24289         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24290         Define always.
24291         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24292
24293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24294         bits/fcntl-linux.h.
24295
24296         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24297         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24298
24299         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24300         to __O_LARGEFILE.
24301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24302         to __O_LARGEFILE.
24303
24304 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24305             Joseph Myers  <joseph@codesourcery.com>
24306
24307         * config.make.in (NM): New variable.
24308
24309 2012-10-21  Andreas Jaeger  <aj@suse.de>
24310
24311         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24312         definitions and declarations that are provided by
24313         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24314
24315 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24316
24317         [BZ #14683]
24318         * elf/Makefile (tests-static): Add tst-leaks1-static.
24319         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24320         ($(objpfx)tst-leaks1-static): New rule.
24321         ($(objpfx)tst-leaks1-static-mem): Likewise.
24322         (tst-leaks1-static-ENV): New macro.
24323         * elf/dl-open.c (dl_open_worker): Check the main application
24324         only if SHARED is defined.
24325         * elf/tst-leaks1-static.c: New file.
24326
24327 2012-10-20  Andreas Jaeger  <aj@suse.de>
24328
24329         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24330         generic values for Linux.
24331         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24332         and declarations that are provided by <bits/fcntl-linux.h> and
24333         include <bits/fcntl-linux.h>.
24334         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24335         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24336
24337 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24338
24339         * io/fcntl.h: Move include of <bits/types.h> to the top and
24340         include it unconditionally.
24341
24342 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24343
24344         * wcsmbs/Makefile (tests-ifunc): New variable.
24345         (tests): Add $(tests-ifunc).
24346         * wcsmbs/test-wcschr-ifunc.c: New file.
24347         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24348         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24349         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24350         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24351         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24352
24353         * string/Makefile (tests-ifunc): New variable.
24354         (tests): Add $(tests-ifunc).
24355         * string/test-memccpy.c (TEST_NAME): New macro.
24356         * string/test-memchr.c (TEST_NAME): Likewise.
24357         * string/test-memcmp.c (TEST_NAME): Likewise.
24358         * string/test-memcpy.c (TEST_NAME): Likewise.
24359         * string/test-memmem.c (TEST_NAME): Likewise.
24360         * string/test-memmove.c (TEST_NAME): Likewise.
24361         * string/test-memset.c (TEST_NAME): Likewise.
24362         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24363         * string/test-stpcpy.c (TEST_NAME): Likewise.
24364         * string/test-stpncpy.c (TEST_NAME): Likewise.
24365         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24366         * string/test-strcasestr.c (TEST_NAME): Likewise.
24367         * string/test-strcat.c (TEST_NAME): Likewise.
24368         * string/test-strchr.c (TEST_NAME): Likewise.
24369         * string/test-strcmp.c(TEST_NAME): Likewise.
24370         * string/test-strcpy.c (TEST_NAME): Likewise.
24371         * string/test-strcspn.c (TEST_NAME): Likewise.
24372         * string/test-strlen.c (TEST_NAME): Likewise.
24373         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24374         * string/test-strncmp.c (TEST_NAME): Likewise.
24375         * string/test-strncpy.c (TEST_NAME): Likewise.
24376         * string/test-strnlen.c (TEST_NAME): Likewise.
24377         * string/test-strpbrk.c (TEST_NAME): Likewise.
24378         * string/test-strrchr.c (TEST_NAME): Likewise.
24379         * string/test-strspn.c (TEST_NAME): Likewise.
24380         * string/test-strstr.c (TEST_NAME): Likewise.
24381         * string/test-bcopy-ifunc.c: New file.
24382         * string/test-bzero-ifunc.c: Likewise.
24383         * string/test-memccpy-ifunc.c: Likewise.
24384         * string/test-memchr-ifunc.c: Likewise.
24385         * string/test-memcmp-ifunc.c: Likewise.
24386         * string/test-memcpy-ifunc.c: Likewise.
24387         * string/test-memmem-ifunc.c: Likewise.
24388         * string/test-memmove-ifunc.c: Likewise.
24389         * string/test-mempcpy-ifunc.c: Likewise.
24390         * string/test-memset-ifunc.c: Likewise.
24391         * string/test-rawmemchr-ifunc.c: Likewise.
24392         * string/test-stpcpy-ifunc.c: Likewise.
24393         * string/test-stpncpy-ifunc.c: Likewise.
24394         * string/test-strcasecmp-ifunc.c: Likewise.
24395         * string/test-strcasestr-ifunc.c: Likewise.
24396         * string/test-strcat-ifunc.c: Likewise.
24397         * string/test-strchr-ifunc.c: Likewise.
24398         * string/test-strchrnul-ifunc.c: Likewise.
24399         * string/test-strcmp-ifunc.c: Likewise.
24400         * string/test-strcpy-ifunc.c: Likewise.
24401         * string/test-strcspn-ifunc.c: Likewise.
24402         * string/test-strlen-ifunc.c: Likewise.
24403         * string/test-strncasecmp-ifunc.c: Likewise.
24404         * string/test-strncat-ifunc.c: Likewise.
24405         * string/test-strncmp-ifunc.c: Likewise.
24406         * string/test-strncpy-ifunc.c: Likewise.
24407         * string/test-strnlen-ifunc.c: Likewise.
24408         * string/test-strpbrk-ifunc.c: Likewise.
24409         * string/test-strrchr-ifunc.c: Likewise.
24410         * string/test-strspn-ifunc.c: Likewise.
24411         * string/test-strstr-ifunc.c: Likewise.
24412
24413         * debug/Makefile (tests-ifunc): New variable.
24414         (tests): Add $(tests-ifunc).
24415         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24416         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24417         * debug/test-stpcpy_chk-ifunc.c: New file.
24418         * debug/test-strcpy_chk-ifunc.c: Likewise.
24419
24420 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24421
24422         [BZ #13601]
24423         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24424         header is not read in.
24425
24426 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24427
24428         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24429         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24430         directly.  Pass built executable to script as
24431         $(built-program-cmd).
24432         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24433         $testprogram without using LD_LIBRARY_PATH and $ldso.
24434
24435         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24436         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24437         $(rtld-installed-name).
24438         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24439         (rtld_installed_name): Likewise.
24440         (library_path): Likewise.
24441         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24442         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24443         $(run-program-prefix) to tst-tables.sh.
24444         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24445         it to run tst-table-from and tst-table-to.
24446         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24447         Pass it to tst-table.sh.
24448         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24449         $(run-program-prefix) to tst-gettext.sh.
24450         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24451         tst-translit.sh.
24452         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24453         tst-gettext2.sh.
24454         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24455         to run tst-gettext.
24456         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24457         to run tst-gettext2.
24458         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24459         to run tst-translit.
24460         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24461         $(run-program-prefix) to tst-mtrace.sh.
24462         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24463         to run tst-mtrace.
24464         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24465         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24466         $(rtld-installed-name).
24467         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24468         (rtld_installed_name): Likewise.
24469         (run_program_prefix): New variable.  Use it to run wordexp-test.
24470
24471         * Makeconfig (ARCH): Remove all definitions.
24472         (machine): Likewise.
24473         [ARCH]: Remove conditional code.
24474         [!objdir]: Give error.
24475         [!objdir] (objpfx): Remove.
24476         [!objdir] (common-objpfx): Likewise.
24477         [!objdir] (common-objdir): Likewise.
24478         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24479         AC_CONFIG_FILES call.
24480         * configure: Regenerated.
24481
24482         [BZ #13888]
24483         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24484         or TMPDIR.
24485         (testout): Likewise.
24486
24487         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24488         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24489         $(rtld-installed-name).
24490         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24491         (rtld_installed_name): Likwise.
24492         (runit): Remove function.
24493         (run_getconf): New variable,  Use it for running getconf binary.
24494
24495 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24496
24497         [BZ #14716]
24498         * string/test-memmem.c (check_result): New function.
24499         (do_one_test): Use it.
24500         (check1): New function.
24501         (test_main): Use it.
24502
24503 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24504
24505         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24506
24507 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24508
24509         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24510         (_G_LSEEK64): Likewise.
24511         (_G_MMAP64): Likewise.
24512         (_G_FSTAT64): Likewise.
24513         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24514         (_G_LSEEK64): Likewise.
24515         (_G_MMAP64): Likewise.
24516         (_G_FSTAT64): Likewise.
24517         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24518         unconditional.  Call __mmap64 directly.
24519         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24520         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24521         __lseek64 directly.
24522         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24523         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24524         __mmap64 directly.
24525         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24526         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24527         __lseek64 directly.
24528         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24529         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24530         __lseek64 directly.
24531         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24532         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24533         __lseek64 directly.
24534         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24535         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24536         __fxstat64 directly.
24537         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24538         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24539         unconditional.
24540         (freopen64) [!_G_OPEN64]: Remove conditional code.
24541         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24542         unconditional.
24543         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24544         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24545         unconditional.
24546         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24547         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24548         unconditional.
24549         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24550         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24551         unconditional.
24552         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24553         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24554         unconditional.
24555         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24556         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24557         unconditional.
24558         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24559         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24560         unconditional.
24561         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24562
24563 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24564
24565         [BZ #12140]
24566         * manual/memory.texi (Malloc Tunable Parameters): Add note
24567         about free list pointers overwriting some perturb bytes.
24568         Wording suggested by Roland McGrath.
24569
24570 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24571
24572         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24573         (lgamma_test): Likewise.
24574         (tgamma_test): Likewise.
24575
24576 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24577
24578         [BZ #14700]
24579         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24580         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24581
24582 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24583
24584         * NEWS: Mention BZ #14716.
24585         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24586         when removing AVAILABLE1_USES_J macro.
24587
24588 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24589
24590         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24591         (__bswap_64): __uint64_t for unsigned 64-bit int.
24592
24593 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24594
24595         * include/string.h (memmem): Declare libc hidden alias.
24596         * string/memmem.c (memmem): Define libc hidden alias.
24597         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24598         __read, __close instead of open, read, close.
24599
24600 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24601
24602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24603         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24604         global and hidden.
24605         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24606         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24607         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24608         Likewise.
24609         (__rawmemchr_sse2): Likewise.
24610         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24611         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24612         (__strchr_sse2): Likewise.
24613         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24614         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24615         (__strcasecmp_sse2): Likewise.
24616         (__strncasecmp_sse2): Likewise.
24617         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24618         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24619         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24620         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24621         (__strrchr_sse2): Likewise.
24622         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24623         ifunc-impl-list.c.
24624         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24625         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24626         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24627         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24628         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24629         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24630         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24631         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24632         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24633         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24634         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24635         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24636         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24637         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24638         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24639         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24640         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24641         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24642         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24643         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24644         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24645         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24646         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24647         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24648         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24649         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24650         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24651         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24652         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24653         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24654
24655         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24656         global and hidden.
24657         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24658         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24659         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24660         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24661         Likewise.
24662         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24663         Likewise.
24664         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24665         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24666         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24667         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24668         ifunc-impl-list.c.
24669         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24670         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24671         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24672         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24673         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24674         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24675         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24676         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24677         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24678         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24679         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24680         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24681         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24682         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24683         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24684         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24685         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24686         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24687         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24688         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24689         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24690         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24691         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24692         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24693         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24694         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24695         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24696         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24697         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24698         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24699         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24700         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24701         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24702         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24703         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24704         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24705         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24706         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24707         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24708         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24709         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24710
24711         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24712         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24713         * include/ifunc-impl-list.h: New file.
24714         * misc/ifunc-impl-list.c: Likewise.
24715         * misc/Makefile (routines): Add ifunc-impl-list.
24716         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24717         * string/test-string.h: Include <ifunc-impl-list.h>.
24718         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24719         TEST_NAME]: New variables.
24720         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24721         are defined.
24722         (test_init): Call __libc_ifunc_impl_list to initialize
24723         func_list if TEST_IFUNC and TEST_NAME are defined.
24724
24725         * string/Makefile (strop-tests): Add bcopy and bzero.
24726         * string/test-bcopy.c: New file.
24727         * string/test-bzero.c: Likewise.
24728         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24729         defined.
24730         * string/test-memset.c: Support bzero test if TEST_BZERO is
24731         defined.
24732         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24733         __libc_memmove.
24734         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24735         __libc_memset.
24736         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24737         of memset.
24738
24739 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
24740
24741         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24742         * configure: Regenerated.
24743
24744         * Makeconfig (+link-static-before-libc): Don't include
24745         $(link-static-libc).
24746
24747         * libio/libio.h (_IO_pos_t): Remove.
24748
24749 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24750
24751         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
24752         McGrath.
24753
24754 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24755
24756         * crypt/crypt-entry.c: Include fips-private.h.
24757         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24758         * crypt/md5c-test.c (main): Tolerate disabled MD5.
24759         * sysdeps/unix/sysv/linux/fips-private.h: New file.
24760         * sysdeps/generic/fips-private.h: New file, dummy fallback.
24761
24762 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24763
24764         * crypt/crypt-private.h: Include stdbool.h.
24765         (_ufc_setup_salt_r): Return bool.
24766         * crypt/crypt-entry.c: Include errno.h.
24767         (__crypt_r): Return NULL with EINVAL for bad salt.
24768         * crypt/crypt_util.c (bad_for_salt): New.
24769         (_ufc_setup_salt_r): Check that salt is long enough and within
24770         the specified alphabet.
24771         * crypt/badsalttest.c: New file.
24772         * crypt/Makefile (tests): Add it.
24773         ($(objpfx)badsalttest): New.
24774
24775 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
24776
24777         * NEWS: Add entry for BZ #14602.
24778
24779 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24780
24781         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24782         type-generic.
24783         * math/libm-test.inc: Update comment listing what functions and
24784         macros are tested.
24785         (isgreater_test): New function.
24786         (isgreaterequal_test): Likewise.
24787         (isless_test): Likewise.
24788         (islessequal_test): Likewise.
24789         (islessgreater_test): Likewise.
24790         (isunordered_test): Likewise.
24791         (main): Call the new functions.
24792
24793 2012-10-09  Roland McGrath  <roland@hack.frob.com>
24794
24795         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24796         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24797         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24798         * sysdeps/i386/configure: Regenerated.
24799         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24800         * sysdeps/mach/configure: Regenerated.
24801         * sysdeps/mach/hurd/configure: Regenerated.
24802         * sysdeps/powerpc/configure: Regenerated.
24803         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24804         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24805         * sysdeps/s390/s390-32/configure: Regenerated.
24806         * sysdeps/s390/s390-64/configure: Regenerated.
24807         * sysdeps/sh/configure: Regenerated.
24808         * sysdeps/sparc/configure: Regenerated.
24809         * sysdeps/unix/sysv/linux/configure: Regenerated.
24810         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24811         * sysdeps/x86_64/configure: Regenerated.
24812
24813         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24814         defined.  Don't check if MAP is NULL.
24815
24816 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24817
24818         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24819         (_G_stat64): Likewise.
24820         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24821         (_G_stat64): Likewise.
24822         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24823         instead of struct _G_stat64.
24824         * libio/fileops.c (mmap_remap_check): Likewise.
24825         (decide_maybe_mmap): Likewise.
24826         (_IO_new_file_seekoff): Likewise.
24827         (_IO_file_stat): Likewise.
24828         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24829         _G_off64_t.
24830         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24831         instead of struct _G_stat64.
24832         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24833
24834 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
24835
24836         [BZ #14602]
24837         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24838         Replace with ...
24839         (CHECK_EOL): New macro.
24840         (two_way_short_needle): Check beginning of haystack for EOL.  Use
24841         CHECK_EOL.
24842         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24843         Replace with CHECK_EOL.
24844         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24845         Replace with CHECK_EOL.
24846
24847 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
24848
24849         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24850         type-generic.
24851         * math/libm-test.inc: Update comment listing what functions and
24852         macros are tested.
24853         (finite_test): New function.
24854         (isinf_test): Likewise.
24855         (isnan_test): Likewise.
24856         (fpclassify_test): Test subnormal input.
24857         (isfinite_test): Likewise.
24858         (isnormal_test): Likewise.
24859         (main): Call the new functions.
24860
24861 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24862
24863         [BZ #14660]
24864         * Makerules (%.dynsym): Force C locale when running
24865         $(OBJDUMP) --dynamic-syms.
24866
24867 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24868
24869         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24870         <stdint.h>.
24871
24872 2012-10-06  David S. Miller  <davem@davemloft.net>
24873
24874         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24875         upper 32-bits of the length value in %o2 since we use branch-on-register
24876         tests which consider the entire 64-bit register.
24877
24878 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24879
24880         * string/test-strstr.c (check2): Add a test for page boundary.
24881
24882 2012-10-05  David S. Miller  <davem@davemloft.net>
24883
24884         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24885         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24886         file.
24887         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24888         sysdep_routines.
24889         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24890         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24891         and bzero when HWCAP_SPARC_CRYPTO is present.
24892
24893 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24894
24895         [BZ #14602]
24896         * string/test-strstr.c (check2): New function.
24897         (test_main): Call check2.
24898
24899         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24900         and bug-strchr1.
24901         * string/bug-strcasestr1.c (do_test): Moved to ...
24902         * string/test-strcasestr.c (check1): Here.  New function.
24903         (do_one_test): Break out result checking code into ...
24904         (check_result): This.  New function.
24905         (do_one_test): Call check_result.
24906         (test_main): Call check1.
24907         * string/bug-strchr1.c (do_test): Moved to ...
24908         * string/test-strchr.c (check1): Here.  New function.
24909         (do_one_test): Break out result checking code into ...
24910         (check_result): This.  New function.
24911         (do_one_test): Call check_result.
24912         (test_main): Call check1.
24913         * string/bug-strstr1.c (main): Moved to ...
24914         * string/test-strstr.c (check1): Here.  New function.
24915         (do_one_test): Break out result checking code into ...
24916         (check_result): This.  New function.
24917         (do_one_test): Call check_result.
24918         (test_main): Call check1.
24919         * string/bug-strcasestr1.c: Removed.
24920         * string/bug-strchr1.c: Likewise.
24921         * string/bug-strstr1.c: Likewise.
24922
24923         * elf/Makefile (dl-routines): Add hwcaps.
24924         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24925         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24926         (_dl_important_hwcaps): Moved to ...
24927         * elf/dl-hwcaps.c: Here.  New file.
24928         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24929
24930         [BZ #14557]
24931         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24932         if IS_IN_rtld isn't defined.
24933
24934         * elf/dl-support.c (_dl_sysinfo_map): New.
24935         Include "get-dynamic-info.h" and "setup-vdso.h".
24936         (_dl_non_dynamic_init): Call setup_vdso.
24937         * elf/dynamic-link.h: Don't include <assert.h>.
24938         (elf_get_dynamic_info): Moved to ...
24939         * elf/get-dynamic-info.h: Here.  New file.
24940         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24941         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24942         * elf/setup-vdso.h: Here.  New file.
24943         * elf/rtld.c: Include "setup-vdso.h".
24944         (dl_main): Call setup_vdso.
24945
24946 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24947
24948         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24949         creal in comment listing functions tested.  List finite, isinf,
24950         isnan, isless, islessequal, isgreater, isgreaterequal,
24951         islessgreater, isunordered, lgamma_r and pow10 as functions and
24952         macros not tested.  Mention which functions not tested are aliases
24953         for other functions.  Fix typo.  Note that signs of NaNs are not
24954         tested.
24955
24956         * scripts/config.guess: Update from config.git.
24957         * scripts/config.sub: Likewise.
24958
24959 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24960
24961         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24962         * misc/madvise.c (madvise): Renamed to __madvise.
24963         Make madvise a weak alias.
24964         * include/sys/mman.h: Declare __madvise.
24965         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24966         * sysdeps/unix/syscalls.list
24967         (madvise): Make __madvise the strong name, and madvise a weak alias.
24968         * sysdeps/unix/sysv/linux/syscalls.list
24969         (madvise, mmap): Remove redundant entries.
24970         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24971         * malloc/malloc.c (mtrim): Likewise.
24972         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24973
24974 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24975
24976         * sysdeps/mach/hurd/dl-cache.c: File removed.
24977         * config.h.in (USE_LDCONFIG): New #undef.
24978         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24979         * configure: Regenerated.
24980         * elf/Makefile (dl-routines): Add dl-cache only under
24981         [$(use-ldconfig) = yes].
24982         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24983         cache on [USE_LDCONFIG].
24984         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24985         [USE_LDCONFIG].
24986         * elf/rtld.c (dl_main): Likewise.
24987
24988 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
24989
24990         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24991         _SC_LEVEL4_CACHE_LINESIZE.
24992
24993 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24994
24995         * sysdeps/unix/bsd/confstr.h: File removed.
24996
24997 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
24998
24999         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25000         sys/sdt-config.h.
25001
25002 2012-10-02  Roland McGrath  <roland@hack.frob.com>
25003
25004         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25005         Make 'mapoff' field ElfW(Off) rather than off_t.
25006
25007 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
25008
25009         * nscd/Makefile: Remove nscd-cflags and all its users.
25010         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25011         (CFLAGS-nonlib): Add compiler flags for nscd modules.
25012
25013         [BZ #10631]
25014         * malloc.c (malloc_printerr): Clarify error message.
25015
25016 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
25017
25018         [BZ #14648]
25019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25020         Set bit_FMA_Usable if FMA is supported.
25021         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25022         macro.
25023         (bit_FMA4_Usable): Updated.
25024         (index_FMA_Usable): New macro.
25025         (CPUID_FMA): Likewise
25026         (HAS_FMA): Defined with bit_FMA_Usable.
25027
25028 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25029
25030         * bits/types.h (__swblk_t): Type removed.
25031         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25032         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25033         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25034         (__SWBLK_T_TYPE): Likewise.
25035         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25036         (__SWBLK_T_TYPE): Likewise.
25037         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25038         (__SWBLK_T_TYPE): Likewise.
25039         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25040         (__SWBLK_T_TYPE): Likewise.
25041
25042 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
25043             Honza Horak <hhorak@redhat.com>
25044
25045         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25046         (xdr_mapname): Use YPMAXMAP as maxsize.
25047         (xdr_peername): Use YPMAXPEER as maxsize.
25048         (xdr_keydat): Use YPAXRECORD as maxsize.
25049         (xdr_valdat): Use YPMAXRECORD as maxsize.
25050
25051 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25052
25053         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25054
25055         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25056         * csu/init-first.c: ... here.
25057         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25058         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25059         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25060         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25061         * sysdeps/i386/init-first.c: File removed.
25062         * sysdeps/sh/init-first.c: File removed.
25063
25064 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
25065
25066         [BZ #14645]
25067         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25068         if x * y might underflow to zero and z is zero.
25069         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25070         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25071         * math/libm-test.inc (min_subnorm_value): New variable.
25072         (fma_test): Add more tests.
25073         (fma_test_towardzero): Likewise.
25074         (fma_test_downward): Likewise
25075         (fma_test_upward): Likewise.
25076         (initialize): Set min_subnorm_value.
25077
25078 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
25079
25080         [BZ #14638]
25081         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25082         0 + 0.
25083         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25084         mode for addition resulting in exact zero.
25085         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25087         exact 0 + 0.
25088         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25089         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25090         * math/libm-test.inc (fma_test): Add more tests.
25091         (fma_test_towardzero): New function.
25092         (fma_test_downward): Likewise.
25093         (fma_test_upward): Likewise.
25094         (main): Call the new functions.
25095
25096 2012-09-28  David S. Miller  <davem@davemloft.net>
25097
25098         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25099
25100 2012-09-28  Roland McGrath  <roland@hack.frob.com>
25101
25102         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25103         instead of SIGALRM.
25104
25105         * sysdeps/gnu/_G_config.h: Moved to ...
25106         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25107         * sysdeps/mach/hurd/_G_config.h: Moved to ...
25108         * sysdeps/generic/_G_config.h: ... here.
25109
25110         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
25111
25112         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25113
25114         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25115         Conditionalize target on [libnss_test1.so-version].
25116
25117         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25118
25119         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25120         (elfobjdir): Move out of conditionals.
25121
25122         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25123         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25124         (__nss_lookup_function): Conditionalize label remove_from_tree on
25125         [!DO_STATIC_NSS || SHARED], matching its only use.
25126
25127 2012-09-28  David S. Miller  <davem@davemloft.net>
25128
25129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25130         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25131         file.
25132         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25133         sysdep_routines.
25134         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25135         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25136         when HWCAP_SPARC_CRYPTO is present.
25137
25138 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25139
25140         * io/tst-mknodat.c: Create a FIFO instead of a socket.
25141
25142 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
25143
25144         [BZ #6530]
25145         * stdio-common/vfprintf.c (process_string_arg): Revert
25146         2000-07-22 change.
25147
25148 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
25149
25150         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25151         for testcase.
25152         * stdio-common/tst-sprintf.c: Include <locale.h>
25153         (main): Test sprintf's handling of incomplete multibyte
25154         characters.
25155
25156 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
25157
25158         * elf/dl-runtime.c (VERSYMIDX): Removed.
25159         * elf/dl-version.c (VERSYMIDX): Likewise.
25160         * elf/do-rel.h (VERSYMIDX): Likewise.
25161         (VALIDX): Likewise.
25162         * elf/dynamic-link.h (VERSYMIDX): Likewise.
25163         * elf/rtld.c (VALIDX): Likewise.
25164         (ADDRIDX): Likewise.
25165         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25166         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25167         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25168         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25169         (VALIDX): Likewise.
25170         (ADDRIDX): Likewise.
25171
25172 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25173
25174         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25175
25176 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
25177
25178         [BZ #11438]
25179         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25180         to global scope.
25181         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25182         addresses are in the same scope as 192.0.2/24.
25183         * posix/gai.conf: Document new scope table defaults.
25184
25185 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25186
25187         [BZ #5298]
25188         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25189         for ftell.  Compute offsets from write pointers instead.
25190         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25191
25192 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25193
25194         [BZ #14543]
25195         * libio/Makefile (tests): New test case tst-fseek.
25196         * libio/tst-fseek.c: New test case to verify that fseek/ftell
25197         combination works in wide mode.
25198         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25199         state when the external buffer state changes.
25200
25201 2012-09-27  David S. Miller  <davem@davemloft.net>
25202
25203         [BZ #14376]
25204         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25205         pass reloc->r_addend in as the 'high' argument to
25206         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25207
25208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25209
25210 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25211
25212         * rt/tst-aio2.c: Include <pthread.h>.
25213         * rt/tst-aio3.c: Likewise.
25214
25215 2012-09-27  Steve Ellcey  <sellcey@mips.com>
25216
25217         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25218
25219 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
25220
25221         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25222         contents on [SHARED].
25223
25224 2012-09-26  Marek Polacek  <polacek@redhat.com>
25225
25226         [BZ #14530]
25227         [BZ #13741]
25228         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25229         for C++ and GCC <4.3 as well as for non GCC compilers.
25230
25231 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25232
25233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25234
25235 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25236
25237         * Makefile.in (all, install): Declare with .PHONY.
25238         Reported by Michael Hope <michael.hope@linaro.org>.
25239
25240 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25241
25242         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25243         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25244         system header.
25245         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25246         Likewise.
25247         (sydep_routines): Add the new and the internal functions.
25248         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25249         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25251         (GLIBC_2.17): Add the new function.
25252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25253         (GLIBC_2.17): Likewise.
25254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25255         (GLIBC_2.17): Likewise.
25256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25257         (GLIBC_2.17): Likewise.
25258         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25259
25260 2012-09-25  Alan Modra  <amodra@gmail.com>
25261
25262         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25263         Add release barrier before setting once_control to say
25264         initialisation is done.  Add hints on lwarx.  Use macro in
25265         place of isync.
25266         (clear_once_control): Add release barrier.
25267
25268 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25269
25270         [BZ #13629]
25271         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25272         specially.
25273         * math/s_clog10.c (__clog10): Likewise.
25274         * math/s_clog10f.c (__clog10f): Likewise.
25275         * math/s_clog10l.c (__clog10l): Likewise.
25276         * math/s_clogf.c (__clogf): Likewise.
25277         * math/s_clogl.c (__clogl): Likewise.
25278         * math/Makefile (libm-calls): Add x2y2m1.
25279         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25280         (__x2y2m1): Likewise.
25281         (__x2y2m1l): Likewise.
25282         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25283         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25284         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25285         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25286         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25287         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25288         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25289         * sysdeps/i386/fpu/libm-test-ulps: Update.
25290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25291
25292         [BZ #14621]
25293         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25294         int as type of variable DEPTH.
25295         (glob): Use size_t instead of int as type of variables NEWCOUNT
25296         and OLD_PATHC.
25297
25298 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25299
25300         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25301         Add s_sincosf-sse2.
25302         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25303         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25304         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25305         macros for using routine as __sincosf_ia32.
25306         Use macro for function declaration and weak_alias.
25307         * sysdeps/i386/fpu/libm-test-ulps: Update.
25308
25309         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25311
25312         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25313         subnormal argument.
25314         * math/s_cexpf.c (__cexpf): Likewise.
25315         * math/s_csinf.c (__csinf): Likewise.
25316         * math/s_csinhf.c (__csinhf): Likewise.
25317         * math/s_ctanf.c (__ctanf): Likewise.
25318         * math/s_ctanhf.c (__ctanhf): Likewise.
25319         * math/s_ccosh.c (__ccoshf): Likewise.
25320         * math/s_cexp.c (__cexpl): Likewise.
25321         * math/s_csin.c (__csin): Likewise.
25322         * math/s_csinh.c (__csinh): Likewise.
25323         * math/s_ctan.c (__ctan): Likewise.
25324         * math/s_ctanh.c (ctanh): Likewise.
25325         * math/s_ccoshl.c (__ccoshl): Likewise.
25326         * math/s_cexpl.c (__cexpl): Likewise.
25327         * math/s_csinl.c (__csinl): Likewise.
25328         * math/s_csinhl.c (__csinhl): Likewise.
25329         * math/s_ctanl.c (__ctanl): Likewise.
25330         * math/s_ctanhl.c (__ctanhl): Likewise.
25331
25332 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25333
25334         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25335         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25336         (_IO_off_t): Define to __off_t, not _G_off_t.
25337         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25338         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25339         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25340         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25341         type of __dummy and __dummy2 fields.
25342         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25343         (_G_ssize_t): Likewise.
25344         (_G_off_t): Likewise.
25345         (_G_pid_t): Likewise.
25346         (_G_uid_t): Likewise.
25347         (_G_wchar_t): Likewise.
25348         (_G_wint_t): Likewise.
25349         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25350         (_G_ssize_t): Likewise.
25351         (_G_off_t): Likewise.
25352         (_G_pid_t): Likewise.
25353         (_G_uid_t): Likewise.
25354         (_G_wchar_t): Likewise.
25355         (_G_wint_t): Likewise.
25356         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25357         (_G_ssize_t): Likewise.
25358         (_G_off_t): Likewise.
25359         (_G_pid_t): Likewise.
25360         (_G_uid_t): Likewise.
25361         (_G_wchar_t): Likewise.
25362         (_G_wint_t): Likewise.
25363
25364 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25365
25366         * malloc/arena.c: Include malloc-sysdep.h.
25367         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25368         is sufficient to shrink the heap or an unmap is needed.
25369         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25370         new function check_may_shrink_heap.
25371         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25372         new function check_may_shrink_heap.
25373
25374 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25375
25376         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25377         comments.
25378
25379 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25380
25381         * catgets/test-gencat.sh: Add "set -e".
25382         * elf/tst-pathopt.sh: Likewise.
25383         * grp/tst_fgetgrent.sh: Likewise.
25384         * iconvdata/run-iconv-test.sh: Likewise.
25385         * intl/tst-gettext.sh: Likewise.
25386         * intl/tst-gettext2.sh: Likewise.
25387         * intl/tst-gettext4.sh: Likewise.
25388         * intl/tst-gettext6.sh: Likewise.
25389         * intl/tst-translit.sh: Likewise.
25390         * io/ftwtest-sh: Likewise.
25391         * libio/test-freopen.sh: Likewise.
25392         * malloc/tst-mtrace.sh: Likewise.
25393         * posix/globtest.sh: Likewise.
25394         * posix/tst-getconf.sh: Likewise.
25395         * posix/wordexp-tst.sh: Likewise.
25396         * stdio-common/tst-printf.sh: Likewise.
25397         * stdio-common/tst-unbputc.sh: Likewise.
25398         * stdlib/tst-fmtmsg.sh: Likewise.
25399         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25400         * catgets/Makefile: Do not specify -e option when running
25401         testsuite shell scripts.
25402         * elf/Makefile: Likewise.
25403         * grp/Makefile: Likewise.
25404         * iconvdata/Makefile: Likewise.
25405         * intl/Makefile: Likewise.
25406         * io/Makefile: Likewise.
25407         * libio/Makefile: Likewise.
25408         * malloc/Makefile: Likewise.
25409         * posix/Makefile: Likewise.
25410         * stdio-common/Makefile: Likewise.
25411         * stdlib/Makefile: Likewise.
25412         * sysdeps/x86_64/Makefile: Likewise.
25413
25414         * io/ftwtest-sh: Add copyright header.
25415         * posix/globtest.sh: Likewise.
25416         * posix/tst-getconf.sh: Likewise.
25417         * posix/wordexp-tst.sh: Likewise.
25418         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25419
25420 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25421
25422         [BZ #13679]
25423         * Makeconfig (+link): Defined as $(+link-static) if
25424         $(build-shared) isn't yes.
25425         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25426         isn't yes.
25427         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25428
25429         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25430
25431         [BZ #14562]
25432         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25433         new chunk size with MALLOC_ALIGN_MASK.
25434
25435 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25436
25437         [BZ #5044]
25438         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25439         <rounding-mode.h>.
25440         (__printf_fphex): Determine rounding using get_rounding_mode and
25441         round_away.
25442         * stdio-common/tst-printf-round.c (struct hex_test): New
25443         structure.
25444         (hex_tests): New variable.
25445         (test_hex_in_one_mode): New function.
25446         (do_test): Also run tests for hex float output.
25447
25448 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25449
25450         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25451         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25452         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25453         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25454         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25455         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25456         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25457         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25458
25459 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25460
25461         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25462         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25463         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25464         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25465
25466 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25467
25468         [BZ #14579]
25469         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25470         mode only.
25471         * elf/tst-rtld-load-self.sh: New test.
25472         * elf/Makefile: Run it.
25473
25474 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25475
25476         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25477         (tst-writev-ENV): Remove.
25478         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25479
25480 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25481
25482         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25483
25484 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25485
25486         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25487         unconditional.
25488         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25489         Likewise.
25490         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25491         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25492         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25493         Likewise.
25494
25495 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25496
25497         [BZ #14587]
25498         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25499         * config.make.in (have-cpp-asm-debuginfo): Removed.
25500         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25501         * configure: Regenerated.
25502
25503 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25504
25505         [BZ #5044]
25506         * stdio-common/printf_fp.c: Include <stdbool.h> and
25507         <rounding-mode.h>.
25508         (___printf_fp): Determine rounding using get_rounding_mode and
25509         round_away.
25510         * stdio-common/tst-printf-round.c: New file.
25511         * stdio-common/Makefile (tests): Add tst-printf-round.
25512         (link-libm): New variable.
25513         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25514
25515 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25516
25517         [BZ #14576]
25518         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25519         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25520         Likewise.
25521         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25522         Likewise.
25523
25524 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25525
25526         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25527         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25528         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25529         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25530
25531 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25532
25533         [BZ #14518]
25534         * include/rounding-mode.h: New file.
25535         * sysdeps/generic/get-rounding-mode.h: Likewise.
25536         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25537         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25538         (MAX_VALUE): New macro.
25539         (MIN_VALUE): Likewise.
25540         (overflow_value): New function.
25541         (underflow_value): Likewise.
25542         (round_and_return): Use overflow_value and underflow_value to
25543         determine return values in overflow and underflow cases.  Use
25544         round_away to determine rounding depending on rounding mode.
25545         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25546         determine return values in overflow and underflow cases.
25547         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25548         (struct test_results): New structure.
25549         (struct test): Use struct test_results to store expected results
25550         for all rounding modes.
25551         (TEST): Include expected results for all rounding modes.
25552         (test_in_one_mode): New function.
25553         (do_test): Use test_in_one_mode to compute and check results.
25554         Check results for all rounding modes.
25555         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25556         $(link-libm).
25557
25558 2012-12-09  Allan McRae  <allan@archlinux.org>
25559
25560         * sysdeps/i386/fpu/libm-test-ulps: Update
25561
25562 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25563
25564         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25565         (_G_int32_t): Likewise.
25566         (_G_uint16_t): Likewise.
25567         (_G_uint32_t): Likewise.
25568         (_G_HAVE_BOOL): Likewise.
25569         (_G_HAVE_ATEXIT): Likewise.
25570         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25571         (_G_HAVE_IO_FILE_OPEN): Likewise.
25572         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25573         (_G_int32_t): Likewise.
25574         (_G_uint16_t): Likewise.
25575         (_G_uint32_t): Likewise.
25576         (_G_HAVE_BOOL): Likewise.
25577         (_G_HAVE_ATEXIT): Likewise.
25578         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25579         (_G_HAVE_IO_FILE_OPEN): Likewise.
25580         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25581         (_G_int32_t): Likewise.
25582         (_G_uint16_t): Likewise.
25583         (_G_uint32_t): Likewise.
25584         (_G_HAVE_BOOL): Likewise.
25585         (_G_HAVE_ATEXIT): Likewise.
25586         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25587         (_G_HAVE_IO_FILE_OPEN): Likewise.
25588
25589 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25590
25591         * csu/libc-tls.c: Update copyright years.
25592
25593 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25594
25595         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25596         [!_G_USING_THUNKS]: Remove conditional code.
25597         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25598         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25599
25600         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25601         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25602         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25603         (_G_VTABLE_LABEL_PREFIX): Likewise.
25604         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25605         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25606         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25607         (_G_VTABLE_LABEL_PREFIX): Likewise.
25608         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25609         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25610         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25611         (_G_VTABLE_LABEL_PREFIX): Likewise.
25612         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25613
25614 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25615
25616         * libio/Makefile: Include ../Makeconfig before tests.
25617         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25618         only if $(build-shared) is yes.
25619
25620         * iconv/gconv_db.c: Update copyright years.
25621
25622 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25623
25624         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25625         unwind info if defined PIC. Fix special cases description.
25626         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25627
25628         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25629         DP_HI_MASK entry.
25630         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25631
25632 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25633
25634         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25635
25636         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25637         is NULL.
25638
25639         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25640         (LDLIBS-tst-chk4): This.
25641         (LDFLAGS-tst-chk5): Renamed to ...
25642         (LDLIBS-tst-chk5): This.
25643         (LDFLAGS-tst-chk6): Renamed to ...
25644         (LDLIBS-tst-chk6): This.
25645         (LDFLAGS-tst-lfschk4): Renamed to ...
25646         (LDLIBS-tst-lfschk4): This.
25647         (LDFLAGS-tst-lfschk5): Renamed to ...
25648         (LDLIBS-tst-lfschk5): This.
25649         (LDFLAGS-tst-lfschk6): Renamed to ...
25650         (LDLIBS-tst-lfschk6): This.
25651
25652         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25653         on $(common-objpfx)soversions.mk.
25654
25655 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
25656
25657         [BZ #10014]
25658         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25659         example host name.
25660
25661 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25662
25663         * malloc/arena.c (arena_get_retry): New function that gets
25664         another arena for the caller to try its request on.
25665         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25666         current arena cannot fulfill the request.
25667         (__libc_memalign): Likewise.
25668         (__libc_memalign): Likewise.
25669         (__libc_pvalloc): Likewise.
25670         (__libc_calloc): Likewise.
25671
25672 2012-09-05  John Tobey  <john.tobey@gmail.com>
25673
25674         [BZ #13542]
25675         * manual/arith.texi (Operations on Complex): Fix description
25676         of carg branch cut.
25677
25678 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25679
25680         [BZ #10014]
25681         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25682         host name.
25683
25684         [BZ #10038]
25685         * manual/memory.texi (Memory): Make order of menu items match
25686         order of sections.
25687
25688 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25689
25690         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25691         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
25692         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25693
25694 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25695
25696         * csu/libc-tls.c (static_dtv): Renamed to ...
25697         (_dl_static_dtv): This.  Make it global.
25698         (_dl_initial_dtv): Removed.
25699         (__libc_setup_tls): Updated.
25700         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25701         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25702         DL_INITIAL_DTV.
25703
25704 2012-09-06  Petr Machata  <pmachata@redhat.com>
25705
25706         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25707         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25708         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25709         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25710
25711 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25712
25713         [BZ #14545]
25714         * csu/libc-tls.c (_dl_initial_dtv): New variable.
25715         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25716         freeing dtv[-1].
25717
25718 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25719
25720         [BZ #14544]
25721         * Makeconfig (link-static-before-libc): Replace $(+prector)
25722         with $(+prectorT).
25723         (link-static-after-libc): Replace $(+postctor) with
25724         $(+postctorT).
25725         (link-bounded): Replace $(+prector)/$(+postctor) with
25726         $(+prectorT)/$(+postctorT).
25727         (+prectorT): New macro.
25728         (+postctorT): Likewise.
25729
25730 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25731
25732         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25733         (round_str): Handle values above the maximum for IBM long double
25734         as inexact.
25735         * stdlib/tst-strtod-round.c (tests): Regenerated.
25736
25737 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25738
25739         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25740         assembler flag.
25741         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25742         zarch_nohighgprs around the zarch optimized routines.
25743         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25744         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25745         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25746         for zarch.
25747
25748 2012-09-05  David S. Miller  <davem@davemloft.net>
25749
25750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25751
25752         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25753         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25754         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25755         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25756         entries.
25757
25758 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25759
25760         * malloc/arena.c: Fold copyright years.
25761         * malloc/mcheck.c, malloc/memusage.c: Likewise.
25762
25763 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25764
25765         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25766
25767 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25768
25769         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
25770
25771 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25772
25773         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25774         change internal state upon failure.
25775
25776 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25777
25778         * malloc/mcheck.c (mcheck_check_all): Fix typo.
25779         * malloc/memusage.c (mmap): Likewise.
25780         (mmap64, mremap): Likewise.  Adjust name in comment.
25781
25782 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25783
25784         * libio/fileops.c: Fix typos in comments.
25785         * libio/oldfileops.c: Likewise.
25786         * libio/wfileops.c: Likewise.
25787
25788 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25789
25790         [BZ #1349]
25791         * malloc/Makefile (tests): Add tst-malloc-usable test case.
25792         (tst-malloc-usable-ENV): Set environment for test case.
25793         * malloc/hooks.c (malloc_check_get_size): New function to get
25794         requested size.
25795         * malloc/malloc.c (musable): Use malloc_check_get_size.
25796         * malloc/tst-malloc-usable.c: New test case.
25797
25798 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25799
25800         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25801
25802 2012-09-05  Allan McRae  <allan@archlinux.org>
25803
25804         [BZ #13966]
25805         * configure.in (CXX_SYSINCLUDES): Use compiler output to
25806         determine header location.
25807         * configure: Regenerated.
25808
25809 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25810
25811         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25812         float format.
25813         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25814         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25815         format.
25816         (test): Regenerate.
25817
25818 2012-09-04  David S. Miller  <davem@davemloft.net>
25819
25820         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25821         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25822         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25823
25824 2012-09-04  Florian Weimer  <fweimer@redhat.com>
25825
25826         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25827         failures.
25828
25829         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25830
25831 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
25832
25833         [BZ #9914]
25834         * libio/iogetdelim.c: Include <limits.h>.
25835         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25836         + len + 1 would overflow.
25837
25838 2012-09-03  Andreas Jaeger  <aj@suse.de>
25839
25840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25841         * sysdeps/i386/fpu/libm-test-ulps: Update.
25842
25843 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25844
25845         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25846         Add s_sinf-sse2, s_conf-sse2.
25847
25848         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25849         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25850         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25851         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25852
25853         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25854         for using routine as __sinf_ia32.
25855         Use macro for function declaration and weak_alias.
25856         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25857         for using routine as __cosf_ia32.
25858         Use macro for function declaration and weak_alias.
25859
25860         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25861         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25862
25863         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25864         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25866
25867         * math/libm-test.inc (cos_test): Add more test cases.
25868         (sin_test): Likewise.
25869         (sincos_test): Likewise.
25870
25871 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25872
25873         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25874         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25875         hidden.
25876         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25877
25878 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25879
25880         [BZ #14538]
25881         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25882         first element of the GOT.
25883         (elf_machine_load_address): Return the difference between
25884         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25885
25886 2012-09-01  Allan McRae  <allan@archlinux.org>
25887
25888         [BZ #13412]
25889         * configure.in (AWK): Require gawk version 3.0 or later.
25890         * configure: Regenerated.
25891
25892 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25893
25894         * sysdeps/unix/sysv/linux/kernel-features.h
25895         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25896         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25897         [__NR_clock_getres]: Make code unconditional.
25898         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25899         (clock_getcpuclockid): Remove code left unreachable by removal of
25900         conditionals.
25901         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25902         code unconditional.
25903         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25904         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25905         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25906         Make code unconditional.
25907         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25908         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25909         * sysdeps/unix/sysv/linux/clock_settime.c
25910         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25911         conditional code.
25912         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25913         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25914
25915 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25916
25917         [BZ #14476]
25918         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25919         scripts/test-installation.pl.
25920
25921         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25922         and $ld_so_version if it is set.
25923
25924 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25925
25926         [BZ #14516]
25927         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25928         failure if reading from procfs failed.
25929         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25930
25931 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25932
25933         * sysdeps/unix/sysv/linux/kernel-features.h
25934         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25935         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25936         Remove conditional code.
25937         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25938         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25939         Remove conditional code.
25940         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25941         * sysdeps/unix/sysv/linux/i386/fxstat.c
25942         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25943         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25944         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25945         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25946         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25947         * sysdeps/unix/sysv/linux/i386/lxstat.c
25948         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25949         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25950         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25951         Remove conditional code.
25952         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25953         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25954         Remove conditional code.
25955         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25956         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25957         <kernel-features.h>.
25958         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25959         Remove.
25960         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25961         Remove conditional code.
25962         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25963         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25964         Remove conditional.
25965
25966 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25967
25968         [BZ #5400]
25969         * NEWS: Add fixed bug number.
25970
25971 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25972
25973         [BZ #14519]
25974         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25975         underflowing exponent in case of negative sign.
25976         * stdlib/tst-strtod-round-data: Add more tests.
25977         * stdlib/tst-strtod-round.c (tests): Regenerated.
25978
25979         [BZ #3479]
25980         * stdlib/strtod_l.c (NDIG): Remove.
25981         (HEXNDIG): Likewise.
25982         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25983         smallest representable value.
25984         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25985         lie within an exact representation of 1/2 ulp of the result.
25986         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25987         unconditionally.
25988         (TENS_P9_IDX): Define unconditionally.
25989         (TENS_P9_SIZE): Likewise.
25990         (TENS_P10_IDX): Likewise.
25991         (TENS_P10_SIZE): Likewise.
25992         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25993         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25994         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25995         entries for 10^2^13 and 10^2^14.
25996         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25997         (TENS_P13_IDX): Define.
25998         (TENS_P13_SIZE): Likewise.
25999         (TENS_P14_IDX): Likewise.
26000         (TENS_P14_SIZE): Likewise.
26001         (_fpioconst_pow10): Change array size to
26002         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
26003         unconditional.
26004         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26005         1024]: Add entries for 10^2^13 and 10^2^14.
26006         [LAST_POW10 > _LAST_POW10]: Remove #error.
26007         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26008         (_fpioconst_pow10): Change array size to
26009         FPIOCONST_POW10_ARRAY_SIZE.
26010         * stdlib/gen-fpioconst.c: New file.
26011         * stdlib/gen-tst-strtod-round.c: Likewise.
26012         * stdlib/tst-strtod-round-data: Likewise.
26013         * stdlib/tst-strtod-round.c: Likewise.
26014         * stdlib/Makefile (tests): Add tst-strtod-round.
26015
26016         [BZ #14459]
26017         * stdlib/strtod_l.c: Include <stdint.h>.
26018         (NDEBUG): Do not define.
26019         (round_and_return): Change EXPONENT parameter to type intmax_t.
26020         Rearrange calculations to avoid internal overflow possibilities.
26021         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26022         Rearrange calculations to avoid internal overflow possibilities.
26023         Assert that number fits inside MPNSIZE limbs.
26024         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26025         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
26026         calculations and add assertions to avoid internal overflow
26027         possibilities.  Add casts to avoid signed/unsigned operations.
26028         * stdlib/tst-strtod-overflow.c: New file.
26029         * stdlib/Makefile (tests): Add tst-strtod-overflow.
26030
26031 2012-08-25  Marek Polacek  <polacek@redhat.com>
26032
26033         * time/time.h: Fix some typos in comments.
26034
26035 2012-08-23  Roland McGrath  <roland@hack.frob.com>
26036
26037         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26038         * posix/tst-rfc3484-2.c: Likewise.
26039         * posix/tst-rfc3484-3.c: Likewise.
26040
26041 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
26042
26043         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26044         (EF_ARM_ABI_FLOAT_HARD): Likewise.
26045
26046 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
26047
26048         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26049         #include of fxstatat64.c.
26050
26051 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26052
26053         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26054         * shadow/getspent_r.c: Likewise.
26055         * shadow/getspnam.c: Likewise.
26056         * shadow/getspnam_r.c: Likewise.
26057         * gshadow/getsgent.c: Likewise.
26058         * gshadow/getsgent_r.c: Likewise.
26059         * gshadow/getsgnam.c: Likewise.
26060         * gshadow/getsgnam_r.c: Likewise.
26061         * inet/getnetbyad.c: Likewise.
26062         * inet/getnetbyad_r.c: Likewise.
26063         * inet/getnetbynm.c: Likewise.
26064         * inet/getnetbynm_r.c: Likewise.
26065         * inet/getnetent.c: Likewise.
26066         * inet/getnetent_r.c: Likewise.
26067         * inet/getproto.c: Likewise.
26068         * inet/getproto_r.c: Likewise.
26069         * inet/getprtent.c: Likewise.
26070         * inet/getprtent_r.c: Likewise.
26071         * inet/getprtname.c: Likewise.
26072         * inet/getprtname_r.c: Likewise.
26073         * inet/getrpcbyname.c: Likewise.
26074         * inet/getrpcbyname_r.c: Likewise.
26075         * inet/getrpcbynumber.c: Likewise.
26076         * inet/getrpcbynumber_r.c: Likewise.
26077         * inet/getrpcent.c: Likewise.
26078         * inet/getrpcent_r.c: Likewise.
26079         * inet/getaliasent.c: Likewise.
26080         * inet/getaliasent_r.c: Likewise.
26081         * inet/getaliasname.c: Likewise.
26082         * inet/getaliasname_r.c: Likewise.
26083         * nscd/getgrgid_r.c: Likewise.
26084         * nscd/getgrnam_r.c: Likewise.
26085         * nscd/gethstbyad_r.c: Likewise.
26086         * nscd/gethstbynm3_r.c: Likewise.
26087         * nscd/getpwnam_r.c: Likewise.
26088         * nscd/getpwuid_r.c: Likewise.
26089         * nscd/getsrvbynm_r.c: Likewise.
26090         * nscd/getsrvbypt_r.c: Likewise.
26091         * nscd/gai.c: Likewise.
26092
26093         * configure.in (build_nscd): New substituted variable, set
26094         by --disable-build-nscd and defaults to $use_nscd.
26095         * configure: Regenerated.
26096         * config.make.in (build-nscd): New substituted variable.
26097         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26098         Change conditional to require [$(build-nscd) = yes] as well.
26099         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26100
26101         [BZ# 13696]
26102         * configure.in (use_nscd): New substituted variable, set by
26103         --disable-nscd.  If enabled, define USE_NSCD.
26104         * configure: Regenerated.
26105         * config.h.in: Add USE_NSCD.
26106         * config.make.in (use-nscd): New substituted variable.
26107         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26108         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26109         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26110         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26111         (CFLAGS-getgrnam_r.c): Likewise.
26112         (CFLAGS-initgroups.c): Likewise.
26113         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26114         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26115         Variables removed.
26116         * inet/getnetgrent_r.c
26117         (nscd_setnetgrent): New function, broken out of ...
26118         (setnetgrent): ... here.  Call it.
26119         (innetgr): Conditionalize nscd bits on [USE_NSCD].
26120         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26121         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26122         * nscd/Makefile (routines, aux): Move definitions after include of
26123         Makeconfig.  Conditionalize on [$(use-nscd) != no].
26124         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26125         Conditionalize on [USE_NSCD].
26126         (is_nscd, nscd_init_cb): Likewise.
26127         (nss_load_library): Conditionalize init callback on [USE_NSCD].
26128         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26129         * nss/nss_db/db-init.c: Likewise.
26130         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26131         [USE_NSCD].
26132         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26133         (make_request): Use it.
26134         (cache_valid_p): New function.
26135         (__check_pf): Use it.
26136         * NEWS: Add item for --disable-nscd.
26137
26138 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
26139
26140         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26141         to support sed >= 4.2.1-20-ga9bf076.
26142         * configure: Regenerated.
26143
26144 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26145
26146         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26147         Conditionalize whole body on [IREL].
26148
26149 2012-08-22  Jeff Law <law@redhat.com>
26150
26151         [BZ #14505]
26152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26153         if the family is PF_UNSPEC.
26154
26155 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
26156
26157         * Makerules (lib-version): Rename from V.
26158         (install-lib-nosubdir): Change V to lib-version.
26159
26160 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
26161
26162         [BZ #14252]
26163         * powerpc32/power6/wcschr.c: New file.
26164         * powerpc32/power6/wcscpy.c: New file.
26165         * powerpc32/power6/wcsrchr.c: New file.
26166         * powerpc64/power6/wcschr.c: New file.
26167         * powerpc64/power6/wcscpy.c: New file.
26168         * powerpc64/power6/wcsrchr.c: New file.
26169
26170 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26171
26172         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26173         (two_way_short_needle): Use it.
26174         * string/strstr.c (AVAILABLE1_USES_J): Define.
26175         * string/strcasestr.c: Likewise.
26176
26177         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26178         array references.
26179         * string/strcasestr.c (TOLOWER): Make side-effect safe.
26180
26181         [BZ #11607]
26182         * NEWS: Add an entry.
26183         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26184         define their defaults.
26185         (two_way_short_needle): Detect end-of-string on-the-fly.
26186         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26187         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26188         * string/bug-strcasestr1.c: New test.
26189         * string/Makefile: Run it.
26190
26191 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26192
26193         [BZ #11607]
26194         * string/str-two-way.h (two_way_short_needle): Optimize matching of
26195         the first character.
26196
26197 2012-08-21  Roland McGrath  <roland@hack.frob.com>
26198
26199         * csu/elf-init.c (__libc_csu_irel): Function removed.
26200         * csu/libc-start.c (apply_irel): New function.
26201         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26202
26203 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
26204
26205         * sysdeps/unix/sysv/linux/kernel-features.h
26206         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26207         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26208         <kernel-features.h>.
26209         [__NR_fadvise64_64]: Make code unconditional.
26210         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26211         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26212         !__NR_fadvise64_64)]: Likewise.
26213         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26214         !__NR_fadvise64_64))]: Likewise.
26215         [__NR_fadvise64]: Make code unconditional.
26216         [!__NR_fadvise64]: Remove conditional code.
26217         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26218         <kernel-features.h>.
26219         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26220         unconditional.
26221         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26222         conditional code.
26223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26224         not include <kernel-features.h>.
26225         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26226         unconditional.
26227         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26228         conditional code.
26229         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26230         include <kernel-features.h>.
26231         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26232         unconditional.
26233         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26234         conditional code.
26235
26236 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26237
26238         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26239         slight instruction rearrangements per scrollpipe analysis.
26240         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26241
26242 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26243
26244         * manual/syslog.texi (syslog; vsyslog, closelog):
26245         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26246         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26247
26248         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26249         DSOCAPS to match condition on defining it.
26250
26251 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26252
26253         * sysdeps/unix/sysv/linux/kernel-features.h
26254         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26256         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26257         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26259         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26260         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26262         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26263         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26264
26265         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26266         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26267
26268         * sysdeps/unix/sysv/linux/kernel-features.h
26269         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26270         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26271         unconditional.
26272         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26273         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26274         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26275         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26276         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26277         Make code unconditional.
26278         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26279         (__mmap64) [!__NR_mmap2]: Likewise.
26280         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26281         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26282         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26283         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26284         [__NR_mmap2]: Make code unconditional.
26285         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26286         (__mmap64) [!__NR_mmap2]: Likewise.
26287
26288 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26289
26290         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26291
26292 2012-08-18  Andreas Jaeger  <aj@suse.de>
26293
26294         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26295
26296 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26297
26298         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26299         * include/unistd.h (__have_sock_cloexec): Likewise.
26300         (__have_pipe2): Likewise.
26301         (__have_dup3): Likewise.
26302
26303 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26304
26305         [BZ #9685]
26306         * include/unistd.h (__have_pipe2): Change define into an extern int.
26307         (__have_dup3): Likewise.
26308         * socket/have_sock_cloexec.c: Include fcntl.h.
26309         (__have_pipe2): New variable.
26310         (__have_dup3): Likewise.
26311
26312 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26313
26314         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26315
26316 2012-08-17  Marek Polacek  <polacek@redhat.com>
26317
26318         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26319         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26320
26321 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26322
26323         * configure.in: Add AC_SUBST for sysheaders.
26324         * configure: Regenerated.
26325         * config.make.in (sysheaders): New substituted variable.
26326
26327         * sysdeps/unix/mkfifo.c: Moved ...
26328         * sysdeps/posix/mkfifo.c: ... here.
26329         * sysdeps/unix/mkfifoat.c: Moved ...
26330         * sysdeps/posix/mkfifoat.c: ... here.
26331
26332         * sysdeps/unix/utime.c: Moved ...
26333         * sysdeps/posix/utime.c: ... here.
26334
26335         * sysdeps/unix/time.c: Moved ...
26336         * sysdeps/posix/time.c: ... here.
26337         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26338         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26339
26340         * sysdeps/unix/nice.c: Moved ...
26341         * sysdeps/posix/nice.c: ... here.
26342
26343         * sysdeps/unix/alarm.c: Moved ...
26344         * sysdeps/posix/alarm.c: ... here.
26345
26346         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26347
26348 2012-08-17  Jeff Law <law@redhat.com>
26349
26350         * intl/Makefile (codeset_mo): New variable.
26351         ($(codeset_mo)): New target.
26352         (tst-codeset.out): Depend on that.  Remove explicit rule.
26353         (tst-gettext3.out, tst-gettext5.out): Likewise.
26354         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26355         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26356         * intl/tst-codeset.sh: Remove.
26357         * intl/tst-gettext3.sh: Likewise.
26358         * intl/tst-gettext5.sh: Likewise.
26359
26360 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26361
26362         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26363         * sysdeps/unix/syscalls.list: ... here.
26364
26365         * sysdeps/posix/getaddrinfo.c
26366         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26367         (gaiconf_init, gaiconf_reload): Use them.
26368         [!_STATBUF_ST_NSEC]
26369         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26370         Define using time_t rather than struct timespec.
26371
26372         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26373         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26374         Macros removed.
26375         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26376         [!NO_THREADS].
26377         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26378         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26379         Likewise.
26380
26381         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26382         __libc_cleanup_push argument.
26383
26384         * bits/param.h: New file.
26385         * misc/sys/param.h: New file.
26386         * include/sys/param.h: New file.
26387         * misc/Makefile (headers): Add bits/param.h.
26388         * sysdeps/generic/sys/param.h: File removed.
26389         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26390         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26391         * sysdeps/mach/hurd/bits/param.h: New file.
26392         * sysdeps/mach/hurd/sys/param.h: File removed.
26393
26394         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26395         last change.
26396
26397         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26398         [_IO_MTSAFE_IO].
26399         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26400         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26401         New macros.
26402
26403         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26404         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26405         rather than -D_IO_MTSAFE_IO conditionally.
26406         * stdio-common/Makefile (CPPFLAGS): Likewise.
26407         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26408         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26409         Use $(libio-mtsafe).
26410         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26411         of -D_IO_MTSAFE_IO.
26412         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26413         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26414         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26415         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26416         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26417         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26418         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26419         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26420         (CFLAGS-fread_u_chk.c): Likewise.
26421         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26422         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26423         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26424         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26425         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26426         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26427         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26428         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26429         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26430
26431         * libio/Makefile: Test [$(libc-reentrant) = yes]
26432         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26433
26434         * Makeconfig
26435         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26436         * sysdeps/pthread/configure: File removed.
26437         * sysdeps/pthread/Makeconfig: New file.
26438         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26439         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26440
26441 2012-08-16  Gary Benson  <gbenson@redhat.com>
26442
26443         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26444         unmapping the first object in a namespace.
26445
26446 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26447
26448         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26449         (__internal_setnetgrent): ... this.  Add internal_function to
26450         definition.  Add libc_hidden_def.
26451         (setnetgrent): Update caller.
26452         (internal_endnetgrent): Renamed to ...
26453         (__internal_endnetgrent): ... this.  Add internal_function to
26454         definition.  Add libc_hidden_def.
26455         (endnetgrent): Update caller.
26456         (internal_getnetgrent_r): Renamed to ...
26457         (__internal_getnetgrent_r): ... this.  Add internal_function to
26458         definition.  Add libc_hidden_def.
26459         (__getnetgrent_r): Update caller.
26460         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26461
26462 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26463
26464         * stdlib/longlong.h: Update from GCC.
26465
26466 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26467
26468         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26469         on _QL, which is set by umul_ppmm but never used.
26470         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26471         variables, which are set by GMP macros but never used.
26472         * stdio-common/_itowa.c (_itowa): Likewise.
26473         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26474         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26475
26476 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26477
26478         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26479         struct La_sh_regs is not constant.
26480         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26481         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26482         and struct La_sparc64_regs are not constant.
26483
26484 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26485
26486         * sysdeps/unix/sysv/linux/kernel-features.h
26487         (__ASSUME_POSIX_TIMERS): Remove.
26488         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26489         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26490         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26491         Make code unconditional.
26492         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26493         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26494         Make code unconditional.
26495         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26496         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26497         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26498         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26499         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26500         Make code unconditional.
26501         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26502         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26503         (__libc_missing_posix_timers): Remove.
26504
26505 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26506
26507         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26508         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26509
26510         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26511
26512         * elf/dl-sym.c: Include <stdlib.h>.
26513
26514         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26515         constants, which avoids warnings in 32-bit builds.
26516
26517         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26518         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26519
26520         * misc/lseek.c: File moved to ...
26521         * io/lseek.c: ... here.
26522
26523         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26524
26525         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26526         shifting LEN more than 31 bits at once.
26527
26528 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26529
26530         [BZ #14195]
26531         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26532         segmentation fault for a case of two empty input strings.
26533         * string/test-strncasecmp.c (check1): Renamed to...
26534         (bz12205): ...this.
26535         (bz14195): Add new testcase for two empty input strings and N > 0.
26536         (test_main): Call new testcase, adapt for renamed function.
26537
26538 2012-08-15  Andreas Jaeger  <aj@suse.de>
26539
26540         [BZ #14090]
26541         * crypt/md5test2.c: New test, based on test supplied by Serge
26542         Belyshev <belyshev@depni.sinp.msu.ru>.
26543         * crypt/Makefile (xtests): Add md5test-giant..
26544         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26545
26546 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26547
26548         [BZ #14090]
26549         * crypt/md5.c (md5_process_block): Don't assume the buffer
26550         length is less than 2**32.
26551         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26552         length is less than 2**64.
26553
26554 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26555
26556         * string/str-two-way.h: Include <sys/param.h>.
26557         (MAX): Macro removed.
26558
26559         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26560         Move #define and #undef of memmove to just before and after
26561         including <string.h>.
26562
26563         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26564         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26565         and after including <string.h>.  Move declarations of
26566         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26567         to before #include "string/memmove.c".
26568
26569         * include/dirent.h: Declare __getdirentries.
26570
26571         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26572         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26573
26574 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26575
26576         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26577         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26578         * sysdeps/i386/configure: Regenerated.
26579         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26580         STABS_CURRENT_FILE, and STABS_FUN.
26581         (END): Remove call to STABS_FUN_END.
26582         (STABS_CURRENT_FILE1): Delete.
26583         (STABS_CURRENT_FILE): Likewise.
26584         (STABS_FUN): Likewise.
26585         (STABS_FUN_END): Likewise.
26586         (STABS_FUN2): Likewise.
26587         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26588         * sysdeps/x86_64/configure: Regenerated.
26589
26590 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26591
26592         * elf/dl-open.c: Include <atomic.h>.
26593         * elf/dl-lookup.c: Likewise.
26594
26595 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26596
26597         * sysdeps/unix/sysv/linux/kernel-features.h
26598         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26599         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26600         unconditionally.
26601         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26602         unconditionally.
26603         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26604         condition on __ASSUME_CLONE_THREAD_FLAGS.
26605
26606 2012-08-14  Andreas Jaeger  <aj@suse.de>
26607
26608         * sysdeps/i386/fpu/libm-test-ulps: Update.
26609
26610 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26611
26612         * include/atomic.h (atomic_exchange_and_add): Split into ...
26613         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26614         New atomic macros.
26615
26616 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26617
26618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26619
26620 2012-08-13  Jeff Law <law@redhat.com>
26621
26622         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26623         null byte in the output string.
26624
26625 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26626
26627         * sysdeps/unix/sysv/linux/kernel-features.h
26628         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26629         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26630         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26631         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26632         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26633         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26634         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26635
26636 2012-08-09  Jeff Law <law@redhat.com>
26637
26638         [BZ #13939]
26639         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26640         When avoid_arena is set, don't retry in the that arena.  Pick the
26641         next one, whatever it might be.
26642         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26643         (arena_lock): Pass in new parameter to arena_get2.
26644         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26645         arena_get2.
26646         (__libc_malloc): Unify retrying after main arena failure with
26647         __libc_memalign version.
26648         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26649
26650 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26651
26652         [BZ #14166]
26653         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26654         to __redirect_strstr.
26655         (__strstr_sse42): Use typeof __redirect_strstr.
26656         (__strstr_ia32): Likewise.
26657         (__libc_strstr): New prototype.
26658         (strstr): Renamed to ...
26659         (__libc_strstr): This.
26660         (strstr): New strong alias of __libc_strstr.
26661         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26662         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26663         __redirect_time.
26664         Include <time.h>.
26665         (__libc_time): New prototype.
26666         (time_ifunc): Replace time with __libc_time.
26667         (time): New strong alias and hidden definition of __libc_time.
26668         (__GI_time): Remove strong alias.
26669         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26670         Include <stddef.h>.
26671         (memmove): Redefined to __redirect_memmove.
26672         (__memmove_sse2): Use typeof __redirect_memmove.
26673         (__memmove_ssse3): Likewise.
26674         (__memmove_ssse3_back): Likewise.
26675         (__libc_memmove): New prototype.
26676         (memmove): Renamed to ...
26677         (__libc_memmove): This.
26678         (memmove): New strong alias of __libc_memmove.
26679
26680 2012-08-08  Mark Salter  <msalter@redhat.com>
26681
26682         * elf/elf.h
26683         (R_MN10300_TLS_GD): Define.
26684         (R_MN10300_TLS_LD): Likewise.
26685         (R_MN10300_TLS_LDO): Likewise.
26686         (R_MN10300_TLS_GOTIE): Likewise.
26687         (R_MN10300_TLS_IE): Likewise.
26688         (R_MN10300_TLS_LE): Likewise.
26689         (R_MN10300_TLS_DTPMOD): Likewise.
26690         (R_MN10300_TLS_DTPOFF): Likewise.
26691         (R_MN10300_TLS_TPOFF): Likewise.
26692         (R_MN10300_SYM_DIFF): Likewise.
26693         (R_MN10300_ALIGN): Likewise.
26694         (R_MN10300_NUM): Update.
26695
26696 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
26697
26698         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26699         Remove.
26700
26701 2012-08-08  Roland McGrath  <roland@hack.frob.com>
26702
26703         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26704
26705         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26706         sysdeps/unix -> sysdeps/posix move.
26707         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26708
26709 2012-08-07      Allan McRae     <allan@archlinux.org>
26710
26711         [BZ #14303]
26712         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26713         (SUNOS_CPP): Likewise.
26714         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26715         not found.
26716         (open_input): Call CPP using execvp.
26717
26718 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26719
26720         * sysdeps/unix/sysv/linux/kernel-features.h
26721         (__ASSUME_PROT_GROWSUPDOWN): Remove.
26722         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26723         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26724         (__ASSUME_WAITID_SYSCALL): Likewise.
26725         * sysdeps/unix/sysv/linux/dl-execstack.c
26726         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26727         code unconditional.
26728         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26729         conditional code.
26730         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26731         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26732         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26733         code.
26734         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26735         unconditional.
26736         [__ASSUME_WAITID_SYSCALL]: Likewise.
26737         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26738
26739 2012-08-07  Roland McGrath  <roland@hack.frob.com>
26740
26741         * sysdeps/unix/closedir.c: Renamed to ...
26742         * sysdeps/posix/closedir.c: ... here.
26743         * sysdeps/unix/dirfd.c: Renamed to ...
26744         * sysdeps/posix/dirfd.c: ... here.
26745         * sysdeps/unix/dirstream.h: Renamed to ...
26746         * sysdeps/posix/dirstream.h: ... here.
26747         * sysdeps/unix/fdopendir.c: Renamed to ...
26748         * sysdeps/posix/fdopendir.c: ... here.
26749         * sysdeps/unix/opendir.c: Renamed to ...
26750         * sysdeps/posix/opendir.c: ... here.
26751         * sysdeps/unix/readdir.c: Renamed to ...
26752         * sysdeps/posix/readdir.c: ... here.
26753         * sysdeps/unix/readdir_r.c: Renamed to ...
26754         * sysdeps/posix/readdir_r.c: ... here.
26755         * sysdeps/unix/rewinddir.c: Renamed to ...
26756         * sysdeps/posix/rewinddir.c: ... here.
26757         * sysdeps/unix/seekdir.c: Renamed to ...
26758         * sysdeps/posix/seekdir.c: ... here.
26759         * sysdeps/unix/telldir.c: Renamed to ...
26760         * sysdeps/posix/telldir.c: ... here.
26761         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26762         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26763         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26764         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26765
26766         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26767         * bits/fcntl.h: ... here.
26768
26769         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26770         not 0.
26771         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26772         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26773         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26774         (struct flock): Move l_start, l_len to the beginning.
26775         Use __pid_t for l_pid.
26776         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26777         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26778         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26779         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26780         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26781         [__USE_LARGEFILE64] (struct flock64): New type.
26782         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26783
26784         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26785         * bits/dirent.h: ... here.
26786
26787         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26788         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26789
26790 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26791
26792         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26793         Change from 2.6.0 to 2.6.16.
26794         * sysdeps/unix/sysv/linux/configure: Regenerated.
26795         * sysdeps/unix/sysv/linux/kernel-features.h
26796         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26797         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26798         version.
26799         (__ASSUME_UTIMES): Likewise.
26800         (__ASSUME_CLONE_STOPPED): Remove.
26801         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26802         architectures, not kernel version.
26803         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26804         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26805         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26806         (__ASSUME_WAITID_SYSCALL): Likewise.
26807         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26808         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26809         * README: State 2.6.16 as minimum Linux kernel version.  Do not
26810         refer to older versions.
26811
26812 2012-08-06  Roland McGrath  <roland@hack.frob.com>
26813
26814         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26815         Define alphasort64 as an alias.
26816         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26817         Define versionsort64 as an alias.
26818         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26819         Define scandir64 as an alias.
26820         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26821         Define scandirat64 as an alias.
26822         * dirent/alphasort64.c (alphasort64):
26823         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26824         * dirent/versionsort64.c: Likewise.
26825         * dirent/scandir64.c: Likewise.
26826         * dirent/scandirat64.c: Likewise.
26827         * sysdeps/wordsize-64/alphasort.c: File removed.
26828         * sysdeps/wordsize-64/alphasort64.c: File removed.
26829         * sysdeps/wordsize-64/scandir.c: File removed.
26830         * sysdeps/wordsize-64/scandir64.c: File removed.
26831         * sysdeps/wordsize-64/scandirat.c: File removed.
26832         * sysdeps/wordsize-64/scandirat64.c: File removed.
26833         * sysdeps/wordsize-64/versionsort.c: File removed.
26834         * sysdeps/wordsize-64/versionsort64.c: File removed.
26835         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26836         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26837         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26838         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26839         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26840         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26841         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26842         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26843
26844         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26845         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26846         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26847         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26848         [defined __arch64__ || defined __sparcv9]
26849         (__INO_T_MATCHES_INO64_T): New macro.
26850         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26851         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26852         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26853         * sysdeps/unix/sysv/linux/bits/dirent.h
26854         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26855         (_DIRENT_MATCHES_DIRENT64): New macro.
26856
26857         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26858         Define lockf64 as an alias.
26859         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26860         Define fseeko64 as an alias.
26861         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26862         Define ftello64 as an alias.
26863         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26864         Define _IO_fgetpos64 and fgetpos64 as aliases.
26865         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26866         Define _IO_fsetpos64 and fsetpos64 as aliases.
26867         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26868         Conditionalize body on this.
26869         * libio/fseeko64.c: Likewise.
26870         * libio/ftello64.c: Likewise.
26871         * libio/iofgetpos64.c: Likewise.
26872         * libio/iofsetpos64.c: Likewise.
26873         * sysdeps/wordsize-64/lockf.c: File removed.
26874         * sysdeps/wordsize-64/lockf64.c: File removed.
26875         * sysdeps/wordsize-64/fseeko.c: File removed.
26876         * sysdeps/wordsize-64/fseeko64.c: File removed.
26877         * sysdeps/wordsize-64/ftello.c: File removed.
26878         * sysdeps/wordsize-64/ftello64.c: File removed.
26879         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26880         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26881         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26882         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26883         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26884         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26885         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26886         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26887         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26888         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26889         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26890         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26891         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26892         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26893
26894         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26895         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26896         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26897         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26898         [defined __arch64__ || defined __sparcv9]
26899         (__OFF_T_MATCHES_OFF64_T): New macro.
26900         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26901         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26902         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26903         (__OFF_T_MATCHES_OFF64_T): New macro.
26904
26905 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26906
26907         * stdlib/secure-getenv.c (__secure_getenv): Replace
26908         GLIBC_2_16 with GLIBC_2_17.
26909
26910 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26911
26912         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26913         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26914
26915 2012-08-03  David S. Miller  <davem@davemloft.net>
26916
26917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26918
26919 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26920
26921         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26922         Remove.
26923         (__ASSUME_CORRECT_SI_PID): Likewise.
26924         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26925         (__ASSUME_TMPFS_NAME): Likewise.
26926         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26927         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26928         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26929         (HAVE_AUX_SECURE): Make definition unconditional.
26930         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26931         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26932
26933 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26934
26935         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26936         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26937         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26938         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26939         __eloop_threshold instead of SYMLOOP_MAX.
26940
26941         * sysdeps/generic/eloop-threshold.h: New file.
26942         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26943         of MAXSYMLINKS.
26944         * elf/chroot_canon.c (chroot_canon): Likewise.
26945
26946 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26947
26948         [BZ #13717]
26949         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26950         Change to 2.6.0 everywhere.
26951         * sysdeps/unix/sysv/linux/configure: Regenerated.
26952         * sysdeps/unix/sysv/linux/kernel-features.h
26953         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26954         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26955         kernel versions.
26956         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26957         (__ASSUME_FUTEX_REQUEUE): Remove.
26958         (__ASSUME_STATFS64): Define unconditionally.
26959         (__ASSUME_AT_SECURE): Likewise.
26960         (__ASSUME_CORRECT_SI_PID): Likewise.
26961         (__ASSUME_TGKILL): Define without depending on kernel version for
26962         i386.
26963         (__ASSUME_UTIMES): Likewise.
26964         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26965         kernel version.
26966         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26967         (__ASSUME_TMPFS_NAME): Likewise.
26968         * README: Update reference to Linux kernel versions.
26969
26970 2012-08-02  Marek Polacek  <polacek@redhat.com>
26971
26972         [BZ# 14150]
26973         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
26974         libc_cv_asm_type_prefix with %.
26975         * configure: Regenerated.
26976         * include/libc-symbols.h: Remove comment about
26977         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26978         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26979         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26980         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26981         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26982         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26983         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26984         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26985         * elf/tst-unique2mod1.c: Likewise.
26986         * elf/tst-unique1mod2.c: Likewise.
26987         * elf/tst-unique1mod1.c: Likewise.
26988         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26989         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26990         Replace ASM_TYPE_DIRECTIVE with .type.
26991         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26992         * sysdeps/i386/sysdep.h: Likewise.
26993         * sysdeps/x86_64/sysdep.h: Likewise.
26994         * sysdeps/sh/sysdep.h: Likewise.
26995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26996         Do not define ASM_TYPE_DIRECTIVE.
26997         * sysdeps/powerpc/sysdep.h: Likewise.
26998         * sysdeps/powerpc/powerpc32/sysdep.h:
26999         Replace ASM_TYPE_DIRECTIVE with .type.
27000         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27001         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27002         * sysdeps/i386/fpu/e_powf.S: Likewise.
27003         * sysdeps/i386/fpu/e_expl.S: Likewise.
27004         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27005         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27006         * sysdeps/i386/fpu/e_pow.S: Likewise.
27007         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27008         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27009         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27010         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27011         * sysdeps/i386/fpu/e_log2.S: Likewise.
27012         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27013         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27014         * sysdeps/i386/fpu/e_powl.S: Likewise.
27015         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27016         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27017         * sysdeps/i386/fpu/e_logl.S: Likewise.
27018         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27019         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27020         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27021         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27022         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27023         * sysdeps/i386/fpu/e_log.S: Likewise.
27024         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27025         * sysdeps/i386/fpu/e_logf.S: Likewise.
27026         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27027         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27028         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27029         * sysdeps/i386/fpu/e_log10.S: Likewise.
27030         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27031         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27032         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27033         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27034         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27035         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27036         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27037         * sysdeps/i386/i686/strtok.S: Likewise.
27038         * sysdeps/i386/i386-mcount.S: Likewise.
27039         * sysdeps/i386/strtok.S: Likewise.
27040         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27041         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27042         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27043         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27044         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27045         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27046         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27047         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27048         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27049         * sysdeps/x86_64/_mcount.S: Likewise.
27050         * sysdeps/x86_64/strtok.S: Likewise.
27051         * sysdeps/sh/_mcount.S: Likewise.
27052
27053 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27054
27055         * libio/iofopen.c: Include <fcntl.h>.
27056         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27057         (_IO_fopen64, fopen64): Define as aliases.
27058         * libio/iofopen64.c: Include <fcntl.h>.
27059         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27060         Conditionalize body on this.
27061         * sysdeps/wordsize-64/iofopen.c: File removed.
27062         * sysdeps/wordsize-64/iofopen64.c: File removed.
27063
27064 2012-08-01  Marek Polacek  <polacek@redhat.com>
27065
27066         * libc/Makeconfig: Use elf in place of binfmt-subdir.
27067         Use dlfcn directly instead of a variable.
27068         (binfmt-subdir): Do not define.
27069         (dlfcn): Likewise.
27070
27071 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
27072
27073         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27074         Remove all definitions.
27075         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27076         <kernel-features.h>.
27077         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27078         (miss_F_GETOWN_EX): Remove all definitions.
27079         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27080         macro definition.
27081         [!__ASSUME_FCNTL64]: Remove conditional code.
27082         [__ASSUME_FCNTL64]: Make code unconditional.
27083         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27084         <kernel-features.h>.
27085         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27086         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27087         (lockf64) [__NR_fcntl64]: Make code unconditional.
27088         (lockf64) [__ASSUME_FCNTL64]: Likewise.
27089
27090         * sysdeps/unix/sysv/linux/kernel-features.h
27091         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27092         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27093         Make code unconditional.
27094         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27095         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27097         [__NR_vfork]: Make code unconditional.
27098         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27099         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27101         [__NR_vfork]: Make code unconditional.
27102         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27103         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27104
27105 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27106
27107         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27108         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27109
27110         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27111         Define mkstemp64 as an alias.
27112         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27113         Define mkstemps64 as an alias.
27114         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27115         Define mkostemp64 as an alias.
27116         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27117         Define mkostemps64 as an alias.
27118         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27119         Conditionalize body on this.
27120         * misc/mkostemp64.c: Likewise.
27121         * misc/mkostemps64.c: Likewise.
27122         * misc/mkstemps64.c: Likewise.
27123         * sysdeps/wordsize-64/mkstemp64.c: File removed.
27124         * sysdeps/wordsize-64/mkostemp64.c: File removed.
27125         * sysdeps/wordsize-64/mkostemp.c: File removed.
27126         * sysdeps/wordsize-64/mkstemp.c: File removed.
27127         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27128         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27129         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27130         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27131
27132         [BZ #14138]
27133         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27134         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27135         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27136         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27137
27138         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27139         compat_symbol macros from <shlib-compat.h> rather than the underlying
27140         default_symbol_version and symbol_version macros, so that DEFAULT
27141         lines in shlib-versions are respected.
27142         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27143
27144 2012-08-01  Florian Weimer  <fweimer@redhat.com>
27145
27146         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27147         Declare with warn_unused_result.
27148         (setgid, setregid, setegid, setresgid): Likewise.
27149         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27150         Likewise.
27151         * WUR-REPORT: Remove set*id functions.
27152
27153 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
27154
27155         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27156
27157 2012-07-31  Roland McGrath  <roland@hack.frob.com>
27158
27159         [BZ #10191]
27160         * include/sys/socket.h (__libc_accept, __libc_accept4):
27161         Add attribute_hidden.
27162         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27163
27164         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27165         use of PTR_MANGLE.
27166         * inet/getnetgrent_r.c (setup): Likewise.
27167
27168         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27169
27170 2012-07-31  David S. Miller  <davem@davemloft.net>
27171
27172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27173
27174 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
27175
27176         [BZ #13629]
27177         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27178         value between 1.0 and 2.0 and smaller part has absolute value less
27179         than 1.0.
27180         * math/s_clog10.c (__clog10): Likewise.
27181         * math/s_clog10f.c (__clog10f): Likewise.
27182         * math/s_clog10l.c (__clog10l): Likewise.
27183         * math/s_clogf.c (__clogf): Likewise.
27184         * math/s_clogl.c (__clogl): Likewise.
27185         * math/libm-test.inc (clog_test): Add more tests.
27186         (clog10_test): Likewise.
27187         * sysdeps/i386/fpu/libm-test-ulps: Update.
27188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27189
27190 2012-07-31  Florian Weimer  <fweimer@redhat.com>
27191
27192         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27193         Exit with zero in case no suitable GID is found, and write a
27194         message to standard error.
27195
27196 2012-07-30  Roland McGrath  <roland@hack.frob.com>
27197
27198         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27199         rather than to 1.
27200         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27201         (MAXPATHLEN): Removed.
27202         (NOGROUP, NODEV): New macros.
27203         (setbit, clrbit, isset, isclr): New macros.
27204         (howmany, roundup, powerof2): New macros.
27205         (DEV_BSIZE): New macro.
27206
27207         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27208         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27209
27210         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27211         definition on [!__NO_LONG_DOUBLE_MATH].
27212
27213         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27214         PTR_MANGLE and PTR_DEMANGLE.
27215
27216         * socket/accept4.c (accept4): Rename to __libc_accept4.
27217         Define accept4 as a weak alias.
27218
27219         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27220         on [_DIRENT_HAVE_D_TYPE].
27221         * io/ftw.c (ftw_dir): Likewise.
27222
27223         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27224
27225         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27226
27227         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27228         Use the BSD numbers rather than the arbitrary ones we had.
27229         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27230         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27231         (SIGXCPU, SIGXFSZ): New macros.
27232         (_NSIG): Now 32.
27233
27234         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27235         initializer on [_LIBC_REENTRANT].
27236
27237         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27238         definitions inside [_POSIX_MAPPED_FILES].
27239
27240         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27241
27242         * dirent/opendir.c: Include <fcntl.h>.
27243
27244         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27245         (__libc_getspecific): Likewise.
27246         (__libc_key_create): Likewise.
27247
27248         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27249         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27250         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27251         (tmpfile64): Define as alias.
27252         * sysdeps/wordsize-64/tmpfile.c: File removed.
27253         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27254         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27255         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27256
27257         * stdio-common/vfscanf.c: Include <stdbool.h>.
27258         * nss/makedb.c: Likewise.
27259         * stdio-common/_i18n_number.h: Likewise.
27260         * argp/argp-help.c: Likewise.
27261         * posix/wordexp.c: Likewise.
27262         * sysdeps/posix/spawni.c: Likewise.
27263         * nss/nss_files/files-initgroups.c: Likewise.
27264         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27265         * nss/nss_files/files-initgroups.c: Likewise.
27266         * nss/nss_db/db-netgrp.c: Likewise.
27267         * nss/nss_db/db-initgroups.c: Likewise.
27268         * io/fchmodat.c: Include <sys/stat.h>.
27269
27270         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27271         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27272
27273         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27274         [HAVE_MMAP].
27275
27276         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27277         Add multiple inclusion protection.
27278
27279 2012-07-27  David S. Miller  <davem@davemloft.net>
27280
27281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27282
27283 2012-07-27  Gary Benson  <gbenson@redhat.com>
27284
27285         [BZ #14298]
27286         * elf/rtld.c: Include <stap-probe.h>.
27287         (dl_main): Added static probes "init_start" and "init_complete".
27288         * elf/dl-load.c: Include <stap-probe.h>.
27289         (lose): Take new parameter "nsid".
27290         Added static probe "map_failed".
27291         (_dl_map_object_from_fd): Pass namespace id to lose.
27292         Added static probe "map_start".
27293         (open_verify): Pass namespace id to lose.
27294         * elf/dl-open.c: Include <stap-probe.h>.
27295         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27296         and "reloc_complete".
27297         * elf/dl-close.c: Include <stap-probe.h>.
27298         (_dl_close_worker): Added static probes "unmap_start" and
27299         "unmap_complete".
27300         * elf/rtld-debugger-interface.txt: New file documenting the above.
27301
27302 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27303
27304         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27305         rather than a string variable.
27306         * sunrpc/rpc_main.c (h_output): Likewise.
27307         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27308
27309 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27310
27311         * inet/check_native.c: New file.
27312
27313 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27314
27315         [BZ #13629]
27316         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27317         if larger part has absolute value 1.0.
27318         * math/s_clog10.c (__clog10): Likewise.
27319         * math/s_clog10f.c (__clog10f): Likewise.
27320         * math/s_clog10l.c (__clog10l): Likewise.
27321         * math/s_clogf.c (__clogf): Likewise.
27322         * math/s_clogl.c (__clogl): Likewise.
27323         * math/libm-test.inc (clog_test): Add more tests.
27324         (clog10_test): Likewise.
27325         * sysdeps/i386/fpu/libm-test-ulps: Update.
27326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27327
27328         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27329         (pltexit): Likewise.
27330         (La_regs): Likewise.
27331         (La_retval): Likewise.
27332         (int_retval): Likewise.
27333         Update #error for removed macros to refer only to definitions in
27334         tst-audit.h.
27335         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27336         macro.
27337         (pltexit): Likewise.
27338         (La_regs): Likewise.
27339         (La_retval): Likewise.
27340         (int_retval): Likewise.
27341         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27342         macro.
27343         (pltexit): Likewise.
27344         (La_regs): Likewise.
27345         (La_retval): Likewise.
27346         (int_retval): Likewise.
27347         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27348         macro.
27349         (pltexit): Likewise.
27350         (La_regs): Likewise.
27351         (La_retval): Likewise.
27352         (int_retval): Likewise.
27353         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27354         macro.
27355         (pltexit): Likewise.
27356         (La_regs): Likewise.
27357         (La_retval): Likewise.
27358         (int_retval): Likewise.
27359         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27360         macro.
27361         (pltexit): Likewise.
27362         (La_regs): Likewise.
27363         (La_retval): Likewise.
27364         (int_retval): Likewise.
27365         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27366         macro.
27367         (pltexit): Likewise.
27368         (La_regs): Likewise.
27369         (La_retval): Likewise.
27370         (int_retval): Likewise.
27371         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27372         macro definitions in tst-audit.h.
27373         * sysdeps/i386/tst-audit.h: New file.
27374         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27375         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27376         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27377         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27378         * sysdeps/sh/tst-audit.h: Likewise.
27379         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27380         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27381         * sysdeps/x86_64/tst-audit.h: Likewise.
27382
27383 2012-07-26  Andreas Jaeger  <aj@suse.de>
27384
27385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27386         ptrace.
27387
27388         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27389         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27390         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27391         PTRACE_O_MASK.
27392         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27393         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27394         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27395
27396         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27397         value.
27398
27399         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27400         _sigsys.
27401         (si_call_addr, si_syscall, si_arch): Define new macro.
27402         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27403         _sigsys.
27404         (si_call_addr, si_syscall, si_arch): Define new marcro.
27405         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27406         _sigsys.
27407         (si_call_addr, si_syscall, si_arch): Define new macro.
27408         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27409         _sigsys.
27410         (si_call_addr, si_syscall, si_arch): Define new macro.
27411
27412 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27413
27414         [BZ #13717]
27415         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27416         Change to 2.4.21 where previously 2.4.1.
27417         * sysdeps/unix/sysv/linux/configure: Regenerated.
27418         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27419         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27420         Linux kernel version.
27421         (__ASSUME_STD_AUXV): Remove.
27422         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27423         kernel version.
27424         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27425         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27426         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27427         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27428         (__ASSUME_NETLINK_SUPPORT): Likewise.
27429         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27430         (__no_netlink_support): Remove conditional definition.
27431         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27432         Remove.
27433         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27434         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27435         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27436         (if_nameindex_ioctl): Remove.
27437         (if_nameindex_netlink): Do not handle __no_netlink_support.
27438         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27439         code.
27440         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27441         Remove conditional code.
27442         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27443         code.
27444         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27445         unconditional.
27446         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27447         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27448         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27449         Remove.
27450         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27451         [!__ASSUME_STD_AUXV]: Remove conditional code.
27452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27453         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27454         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27456         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27457         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27458         code.
27459         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27461         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27462         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27463         conditional code.
27464         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27466         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27467         code.
27468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27469         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27470         conditional code.
27471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27472         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27473         code unconditional.
27474         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27475         conditional code.
27476         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27477         unconditional.
27478         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27479         conditional code.
27480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27481         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27482         unconditional.
27483         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27484         conditional code.
27485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27486         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27487         code unconditional.
27488         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27489         conditional code.
27490         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27491         unconditional.
27492         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27493         conditional code.
27494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27495         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27496         code unconditional.
27497         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27498         conditional code.
27499         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27500         unconditional.
27501         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27502         conditional code.
27503
27504 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27505
27506         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27507         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27508         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27509         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27510         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27511         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27512         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27513         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27514         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27515         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27516         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27517         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27518         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27519         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27520         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27521         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27522         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27523         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27524         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27525         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27526         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27527         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27528         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27529
27530 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27531
27532         * Versions.def: Add GLIBC_2.17.
27533         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27534         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27535         Introduce __libc_secure_getenv.
27536         * stdlib/Versions (2.17): Add secure_getenv
27537         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27538         * stdlib/secure-getenv.c: Rename __secure_getenv to
27539         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27540         symbol __secure_getenv for GLIBC_2.0.
27541         * stdlib/tst-secure-getenv.c: New.
27542         * stdlib/Makefile (tests): Add testcase.
27543         * manual/startup.texi (Environment Access): Document
27544         secure_getenv.
27545         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27546         __libc_secure_getenv.
27547         * inet/ruserpass.c (ruserpass): Likewise.
27548         * malloc/mtrace.c (mtrace): Likewise.
27549         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27550         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27551         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27552         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27553         HAVE_SECURE_GETENV.
27554         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27555         __secure_getenv to __libc_secure_getenv.
27556         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27558         Likewise.
27559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27560         Likewise.
27561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27563         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27568
27569 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27570
27571         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27572         (struct La_i86_retval): Likewise.
27573         (struct La_x86_64_regs): Likewise.
27574         (struct La_x86_64_retval): Likewise.
27575         (struct La_x32_regs): Likewise.
27576         (struct La_x32_retval): Likewise.
27577         (struct La_ppc32_regs): Likewise.
27578         (struct La_ppc32_retval): Likewise.
27579         (struct La_ppc64_regs): Likewise.
27580         (struct La_ppc64_retval): Likewise.
27581         (struct La_sh_regs): Likewise.
27582         (struct La_sh_retval): Likewise.
27583         (struct La_s390_32_regs): Likewise.
27584         (struct La_s390_32_retval): Likewise.
27585         (struct La_s390_64_regs): Likewise.
27586         (struct La_s390_64_retval): Likewise.
27587         (struct La_sparc32_regs): Likewise.
27588         (struct La_sparc32_retval): Likewise.
27589         (struct La_sparc64_regs): Likewise.
27590         (struct La_sparc64_retval): Likewise.
27591         (struct audit_ifaces): Remove architecture-specific pltenter and
27592         pltexit members.
27593         * sysdeps/i386/ldsodefs.h: New file.
27594         * sysdeps/powerpc/ldsodefs.h: Likewise.
27595         * sysdeps/s390/ldsodefs.h: Likewise.
27596         * sysdeps/sh/ldsodefs.h: Likewise.
27597         * sysdeps/sparc/ldsodefs.h: Likewise.
27598         * sysdeps/x86_64/ldsodefs.h: Likewise.
27599
27600 2012-07-25  Marek Polacek  <polacek@redhat.com>
27601
27602         [BZ #6808]
27603         * math/libm-test.inc (yn_test): Add another test.
27604         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27605         to ERANGE when the result is +-Inf.
27606         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27607         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27608         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27609         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27610
27611 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27612
27613         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27614         equal to 0.
27615         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27616         clock_t.
27617         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27618
27619 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27620
27621         * configure.in <sysdeps resolving>: Correct printing
27622         Implies_before.
27623         * configure: Regenerate.
27624
27625 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27626
27627         * math/w_ilogb.c: Include <limits.h>.
27628         * math/w_ilogbl.c: Likewise.
27629
27630 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27631
27632         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27633         va_copy.  Document allowing for unavailable va_copy only as
27634         pre-C99 compatibility.
27635         * manual/string.texi (Copying and Concatenation): Use va_copy
27636         instead of __va_copy in concat example.
27637
27638 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27639
27640         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27641         (__sendto): Use create_address_port.  Initialize APORT and deallocate
27642         it if not null.
27643
27644         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27645         with O_NOLINK passed to __file_name_lookup.
27646
27647         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27648         with O_NOLINK passed to __file_name_lookup.
27649
27650         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27651         negative N or less than NGIDS.
27652
27653         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27654         type to string_t.  Set ERANGE as errno and return it if NAME is not big
27655         enough.  Use memcpy instead of strncpy.
27656
27657 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27658
27659         * elf/Makefile (check-data): Remove.
27660         (localplt.data): New vpath directive.
27661         ($(objpfx)check-localplt.out): Use localplt.data from vpath
27662         instead of $(check-data).
27663         * scripts/data/localplt-generic.data: Move to ...
27664         * sysdeps/generic/localplt.data: ... here.
27665         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27666         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27667         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27669         ... here.
27670         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27672         ... here.
27673         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27675         ... here.
27676         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27678         ... here.
27679         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27681         ... here.
27682         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27684         ... here.
27685
27686 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27687
27688         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27689         PPC32 and PPC64 files.
27690         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27691         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27692
27693 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27694
27695         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27696         __makecontext_ret to ...
27697         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27698         ... here and call exit if uc_link is NULL.  New file.
27699         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27700         __makecontext_ret.S.
27701         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27702         __makecontext_ret to ...
27703         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27704         ... here and call exit if uc_link is NULL.  New file.
27705         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27706         __makecontext_ret.S.
27707
27708 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27709
27710         * elf/elf.h (R_390_IRELATIVE): New definition.
27711         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27712         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
27713         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27714         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27715         (elf_machine_lazy_rel): Likewise.
27716         * sysdeps/s390/dl-irel.h: New file.
27717         * sysdeps/s390/s390-64/memcpy.S: New asm code.
27718         * sysdeps/s390/s390-64/memset.S: New asm code.
27719         * sysdeps/s390/s390-64/memcmp.S: New asm code.
27720         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27721         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27722         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27723         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27724         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27725         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27726         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27727         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27728         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27729         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27730         * sysdeps/s390/s390-32/memcpy.S: New asm code.
27731         * sysdeps/s390/s390-32/memset.S: New asm code.
27732         * sysdeps/s390/s390-32/memcmp.S: New asm code.
27733
27734 2012-07-17  Marek Polacek  <polacek@redhat.com>
27735
27736         [BZ #14349]
27737         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27738         * sysdeps/s390/s390-64/configure.in: Likewise.
27739         * sysdeps/sparc/configure.in: Likewise.
27740         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27741         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27742         * sysdeps/i386/configure.in: Likewise.
27743         * sysdeps/x86_64/configure.in: Likewise.
27744         * sysdeps/sh/configure.in: Likewise.
27745         * sysdeps/s390/s390-32/configure: Regenerated.
27746         * sysdeps/s390/s390-64/configure: Likewise.
27747         * sysdeps/x86_64/configure: Likewise.
27748         * sysdeps/sh/configure: Likewise.
27749         * sysdeps/powerpc/powerpc64/configure: Likewise.
27750         * sysdeps/powerpc/powerpc32/configure: Likewise.
27751         * sysdeps/sparc/configure: Likwise.
27752         * sysdeps/i386/configure: Likewise.
27753
27754         * elf/dl-open.c: Comment fixes.
27755
27756 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
27757
27758         * Makefile [CXX] (check-data): Remove.
27759         [CXX] (c++-types.data): New vpath directive.
27760         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27761         vpath.  Do not allow for C++ type data being missing.
27762         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27763         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27764         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27765         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27766         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27767         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27768         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27770         ... here.
27771         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27773         ... here.
27774         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27776         ... here.
27777         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27779         ... here.
27780         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27782         ... here.
27783         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27785         ... here.
27786         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27788         ... here.
27789         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27791
27792         * elf/tls-macros.h (TLS_LE): Move architecture-specific
27793         definitions to architecture-specific files.
27794         (TLS_IE): Likewise.
27795         (TLS_LD): Likewise.
27796         (TLS_GD): Likewise.
27797         * sysdeps/i386/tls-macros.h: New file.
27798         * sysdeps/powerpc/tls-macros.h: Likewise.
27799         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27800         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27801         * sysdeps/sh/tls-macros.h: Likewise.
27802         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27803         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27804         * sysdeps/x86_64/tls-macros.h: Likewise.
27805
27806 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27807
27808         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27809         zero value for regular exit case.
27810
27811         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27812         (__start_context): Preserve zero value for regular exit case.
27813
27814 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27815             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27816
27817         * manual/setjmp.texi (setcontext): Clarify normal process
27818         termination when uc_link is the null pointer.
27819         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27820         exit call.
27821
27822 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
27823
27824         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27825         preprocessor.  Test for each exception mask separately.
27826
27827 2012-07-16  Andreas Jaeger  <aj@suse.de>
27828
27829         * po/ru.po: Update from translation team.
27830
27831 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
27832
27833         * conform/data/string.h-data (NULL): Use macro-constant.  Require
27834         equal to 0.
27835         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27836         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27837         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27838         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27839         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27840
27841 2012-07-13  Andreas Jaeger  <aj@suse.de>
27842
27843         * po/fr.po: Update from translation team.
27844
27845 2012-07-12  Marek Polacek  <polacek@redhat.com>
27846
27847         [BZ #14173]
27848         * math/libm-test.inc (yn_test): Add test for BZ #14173.
27849         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27850         loop condition.
27851
27852 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
27853
27854         [BZ #13717]
27855         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27856         Change to 2.4.1 where previously 2.4.0.
27857         * sysdeps/unix/sysv/linux/configure: Regenerated.
27858         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27859         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27860         version.
27861         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27862         (__ASSUME_AT_CLKTCK): Remove.
27863         (__ASSUME_AT_PAGESIZE): Likewise.
27864         (__ASSUME_AT_XID): Likewise.
27865         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27866         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27867         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27868         unconditionally.
27869         (HAVE_AUX_PAGESIZE): Likewise.
27870         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27871         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27872         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27873
27874 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27875
27876         [BZ #14307]
27877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27878         the temporary buffer used to invoke __gethostbyname2_r,
27879         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27880         host_data / struct gaih_addrtuple.
27881         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27882         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27883         header file nss/nsswitch.h.
27884         * nss/nsswitch.h (global scope): Add definition of implementation
27885         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27886         resolv/nss_dns/dns-host.c).
27887
27888 2012-07-11  Andreas Jaeger  <aj@suse.de>
27889
27890         * po/fr.po: Update from translation team.
27891
27892         * po/sv.po: Update from translation team
27893         * po/fr.po: Another update from translation team.
27894
27895 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27896
27897         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27898         for subnormals or multiply small sinh result by itself.
27899         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27901
27902 2012-07-11  David S. Miller  <davem@davemloft.net>
27903
27904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27905
27906 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27907
27908         [BZ #14347]
27909         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27910         (INTERNAL_MARK): Shift it here.
27911
27912 2012-07-10  Marek Polacek  <polacek@redhat.com>
27913
27914         [BZ #14151]
27915         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27916         libc_cv_asm_global_directive with .globl.
27917         * configure: Regenerated.
27918         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27919         with .globl.
27920         * sysdeps/i386/configure: Regenerated.
27921         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27922         with .globl.
27923         * sysdeps/x86_64/configure: Regenerated.
27924         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27925         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27926         * elf/tst-unique2mod2.c: Likewise.
27927         * elf/tst-unique2mod1.c: Likewise.
27928         * elf/tst-unique1mod2.c: Likewise.
27929         * elf/tst-unique1mod1.c: Likewise.
27930         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27931         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27932         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27933         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27934         * sysdeps/mach/sysdep.h: Likewise.
27935         * sysdeps/i386/sysdep.h: Likewise.
27936         * sysdeps/i386/i386-mcount.S: Likewise.
27937         * sysdeps/x86_64/_mcount.S: Likewise.
27938         * sysdeps/x86_64/sysdep.h: Likewise.
27939         * sysdeps/sh/_mcount.S: Likewise.
27940         * sysdeps/sh/sysdep.h: Likewise.
27941         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27942         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27943         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27944         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27945         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27946         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27947         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27948         * locale/localeinfo.h: Likewise.
27949         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27950         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27951
27952 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27953
27954         [BZ #14336]
27955         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27956         system".
27957         * manual/message.texi (The Uniforum approach): Likewise.
27958         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27959         (glibc iconv Implementation): Likewise.
27960
27961 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27962
27963         [BZ #14337]
27964         * math/s_clog.c (__clog): Avoid scaling a value down where that
27965         could result in underflow.
27966         * math/s_clog10.c (__clog10): Likewise.
27967         * math/s_clog10f.c (__clog10f): Likewise.
27968         * math/s_clog10l.c (__clog10l): Likewise.
27969         * math/s_clogf.c (__clogf): Likewise.
27970         * math/s_clogl.c (__clogl): Likewise.
27971         * math/libm-test.inc (clog_test): Add more tests.
27972         (clog10_test): Likewise.
27973         * sysdeps/i386/fpu/libm-test-ulps: Update.
27974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27975
27976 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27977
27978         [BZ #14283]
27979         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27980         by 7 not 8 to examine high bit of fractional part.
27981
27982         [BZ #14042]
27983         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27984         for call to __mcount_internal.
27985         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27986         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27987         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27988
27989 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
27990
27991         [BZ #14154]
27992         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27993         approximation for values within 0x1p-13f of an odd multiple of
27994         pi/4.
27995         * math/libm-test.inc (tan_test): Do not allow spurious underflow
27996         exception.  Add more tests.
27997         * sysdeps/i386/fpu/libm-test-ulps: Update.
27998
27999         [BZ #6778]
28000         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28001         inputs and return -1 for them.  Do not check for +Inf in case not
28002         reachable for +Inf.
28003         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28004         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28005         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28006         and return -1 for them.  Do not check for +Inf in case not
28007         reachable for +Inf.
28008         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28009         define.
28010         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28011         and return -1 for them.  Do not check for +Inf in case not
28012         reachable for +Inf.
28013         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
28014         spurious underflow.
28015         * sysdeps/i386/fpu/libm-test-ulps: Update.
28016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28017
28018 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
28019
28020         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28021
28022 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
28023
28024         [BZ #14157]
28025         [BZ #14331]
28026         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28027         could result in spurious underflow.  Scale down values above
28028         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28029         * math/s_csqrtf.c (__csqrtf): Likewise.
28030         * math/s_csqrtl.c (__csqrtl): Likewise.
28031         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
28032         spurious underflow.
28033         * sysdeps/i386/fpu/libm-test-ulps: Update.
28034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28035
28036 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
28037
28038         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28039         xopen-msg.sed.
28040         * catgets/xopen-msg.awk: New file.
28041         * catgets/xopen-msg.sed: Removed.
28042
28043         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28044         po2text.sed.
28045         * intl/po2test.awk: New file.
28046         * intl/po2test.sed: Removed.
28047
28048 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
28049
28050         [BZ #14328]
28051         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28052         or multiply small sinh result by itself.
28053         * math/s_ctanf.c (__ctanf): Likewise.
28054         * math/s_ctanh.c (__ctanh): Likewise.
28055         * math/s_ctanhf.c (__ctanhf): Likewise.
28056         * math/s_ctanhl.c (__ctanhl): Likewise.
28057         * math/s_ctanl.c (__ctanl): Likewise.
28058         * math/libm-test.inc (ctan_test_tonearest): New function.
28059         (ctan_test_towardzero): Likewise.
28060         (ctan_test_downward): Likewise.
28061         (ctan_test_upward): Likewise.
28062         (ctanh_test_tonearest): Likewise.
28063         (ctanh_test_towardzero): Likewise.
28064         (ctanh_test_downward): Likewise.
28065         (ctanh_test_upward): Likewise.
28066         (main): Call these new functions.
28067         * sysdeps/i386/fpu/libm-test-ulps: Update.
28068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28069
28070 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
28071
28072         * .gitignore: Delete /ports entry.
28073
28074 2012-07-03  Andreas Jaeger  <aj@suse.de>
28075
28076         * po/bg.po: Update from translation team.
28077         * po/cs.po: Likewise.
28078         * po/de.po: Likewise.
28079         * po/hr.po: Likewise.
28080         * po/nl.pl: Likewise.
28081         * po/pl.po: Likewise.
28082         * po/vi.po: Likewise.
28083
28084 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
28085
28086         * Makeconfig [!+link] (+link-before-libc): New variable.
28087         [!+link] (+link-after-libc): Likewise.
28088         [!+link] (+link-tests): Likewise.
28089         [!+link] (+link): Define in terms of $(+link-before-libc) and
28090         $(+link-after-libc).
28091         [!+link-static] (+link-static-before-libc): New variable.
28092         [!+link-static] (+link-static-after-libc): Likewise.
28093         [!+link-static] (+link-static-tests): Likewise.
28094         [!+link-static] (+link-static): Define in terms of
28095         $(+link-static-before-libc) and $(+link-static-after-libc).
28096         [build-shared] (link-libc-before-gnulib): New variable.
28097         [build-shared] (link-libc-tests): Likewise.
28098         [build-shared] (link-libc): Define in terms of
28099         $(link-libc-before-gnulib).
28100         [!build-shared] (link-libc-tests): New variable.
28101         (link-libc-static-tests): New variable.
28102         [!gnulib] (gnulib-arch): New variable.
28103         [!gnulib] (gnulib-tests): Likewise.
28104         [!gnulib] (static-gnulib-arch): Likewise.
28105         [!gnulib] (static-gnulib-tests): Likewise.
28106         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
28107         Define with "=" instead of ":=".
28108         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
28109         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
28110         * Rules (binaries-all-notests): New variable.
28111         (binaries-all-tests): Likewise.
28112         (binaries-static-notests): Likewise.
28113         (binaries-static-tests): Likewise.
28114         (binaries-all): Define using $(binaries-all-notests) and
28115         $(binaries-all-tests).
28116         (binaries-static): Define using $(binaries-static-notests) and
28117         $(binaries-static-tests).
28118         (binaries-shared-tests): New variable.
28119         (binaries-shared-notests): Likewise.
28120         (binaries-shared): Remove variable.
28121         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28122         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28123         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28124         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28125         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28126         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28127         * elf/Makefile (sln-modules): New variable.
28128         (extra-objs): Add $(sln-modules:=.o).
28129         (ldconfig-modules): Add static-stubs.
28130         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28131         * elf/static-stubs.c: New file.
28132
28133         [BZ #14283]
28134         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28135         by 7 not 8 to examine high bit of fractional part.  Use volatile
28136         variables when splitting into final array of floats if
28137         __FLT_EVAL_METHOD__ != 0.
28138         * math/libm-test.inc (cos_test): Add another test.
28139         (sin_test): Likewise.
28140         * sysdeps/i386/fpu/libm-test-ulps: Update.
28141
28142         [BZ #14273]
28143         * math/libm-test.inc (cosh_test): Add more tests.
28144
28145         * version.h (RELEASE): Set to "development".
28146         (VERSION): Set to "2.16.90".
28147
28148 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
28149
28150         * NEWS: Update copyright. Remove last-updated date.
28151         Mention math library bug fixes and timezone data changes.
28152         * README: Mention GNU/Hurd, x32, and HPPA support status.
28153
28154 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
28155
28156         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28157
28158 2012-06-27  Andreas Jaeger  <aj@suse.de>
28159
28160         * manual/contrib.texi (Contributors): Add Samuel Thibault.
28161
28162 2012-06-25  Andreas Jaeger  <aj@suse.de>
28163
28164         * sysdeps/s390/fpu/libm-test-ulps: Update.
28165
28166 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
28167             Thomas Schwinge  <thomas@codesourcery.com>
28168
28169         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28170         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28171         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28172         fanotify_mark.
28173
28174 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
28175
28176         * sysdeps/mach/start.c: Remove file.
28177         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28178         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28179         * sysdeps/sh/init-first.c: Likewise.
28180
28181         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28182         registers for frame unwinding purposes, add CFI directives.
28183         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28184         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28185         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28186         Likewise.
28187
28188         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28189         __fortify_fail returning.
28190         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28191
28192         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28193         sysdeps/sh/____longjmp_chk.S.
28194         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28195         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28196         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28197         (gen-as-const-headers): Append sigaltstack-offsets.sym.
28198
28199         * sysdeps/sh/abort-instr.h: New file.
28200         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28201         process in case exit returns.
28202
28203         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28204         initialize the GOT register before use.
28205
28206         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28207         calculation of ARGC > 4.
28208
28209         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28210         meaningful names to some local labels.
28211
28212 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28213             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28214
28215         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28216         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28217         (__arch_compare_and_exchange_val_16_acq): Likewise.
28218         (__arch_compare_and_exchange_val_32_acq): Likewise.
28219         (atomic_exchange_and_add): Fix gUSA sequence.
28220         (atomic_add): Likewise.
28221         (atomic_add_negative): Likewise.
28222         (atomic_add_zero): Likewise.
28223         (atomic_bit_test_set): Likewise.
28224
28225 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28226
28227         [BZ #13579]
28228         * include/link.h (struct link_map): Add l_free_initfini.
28229         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28230         l_initfini.
28231         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28232         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28233         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28234         set.
28235
28236 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28237
28238         * configure.in: Use AC_LANG_SOURCE.
28239         * configure: Regenerate.
28240
28241 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28242
28243         * configure.in (libc_cv_localstatedir): New substituted variable.
28244         * configure: Regenerated.
28245         * config.make.in (localstatedir): New variable, substituted from
28246         libc_cv_localstatedir.
28247         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28248         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28249         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28250         * sysdeps/gnu/configure: Regenerated.
28251
28252 2012-06-21  Jeff Law  <law@redhat.com>
28253
28254         [BZ #14277]
28255         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28256         free.  Simplify list management for _LIBC case.
28257
28258 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28259
28260         [BZ #14273]
28261         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28262         Clear sign bit of 64-bit integer value before comparing against
28263         overflow value.
28264
28265         * sysdeps/mach/configure: Regenerated.
28266
28267 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28268
28269         [BZ #14278]
28270         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28271
28272 2012-06-21  Jeff Law  <law@redhat.com>
28273
28274         [BZ #13882]
28275         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28276         uint16_t for elements in the "seen" array to avoid char overflows.
28277         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28278         * elf/dl-open.c (dl_open_worker): Likewise.
28279
28280 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28281
28282         * scripts/list-sources.sh: Scan PORTS for translations.
28283         * po/libc.pot: Regenerated.
28284
28285 2012-06-21  Andreas Jaeger  <aj@suse.de>
28286
28287         [BZ #12194]
28288         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28289         warning.
28290         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28291         * bits/byteswap-16.h (__bswap_16): Likewise.
28292         * bits/byteswap.h (__bswap_constant_16): Likewise.
28293
28294 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28295
28296         [BZ #14117]
28297         * sysdeps/i386/fpu_control.h: Removed.
28298         * sysdeps/x86_64/fpu_control.h: Moved to ...
28299         * sysdeps/x86/fpu_control.h: Here.
28300
28301         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28302         (_FPU_SETCW): Likewise.
28303
28304 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28305
28306         [BZ #14117]
28307         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28308         * sysdeps/x86/fpu/bits/mathinline.h: This.
28309         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28310
28311         [BZ #14050]
28312         [BZ #14117]
28313         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28314         functions if __x86_64__ is defined.
28315
28316 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28317
28318         * string/endian.h: Add !__ASSEMBLER__ condition for including
28319         conversion interfaces.
28320
28321 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28322
28323         [BZ #14241]
28324         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28325         of ABS(x) in calculating zero to negative powers other than odd
28326         integers.
28327         * math/libm-test.inc (pow_test): Add more tests.
28328
28329 2012-06-15  Andreas Jaeger  <aj@suse.de>
28330
28331         * manual/contrib.texi (Contributors): Update entry of Liubov
28332         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28333         Machado Filho.
28334
28335 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28336
28337         * string/string.h: Add __wur to GNU version of strerror_r.
28338
28339 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28340
28341         [BZ #14229]
28342         * string/Makefile (tests): Add tst-strtok_r.
28343         * string/tst-strtok_r.c: New file.
28344         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28345         RAX_LP/RDX_LP on SAVE_PTR.
28346
28347 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28348
28349         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28350
28351 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28352
28353         * libm_test.inc (csqrt_test): Allow more spurious underflow
28354         exceptions.
28355         (j0_test): Likewise.
28356         (j1_test): Likewise.
28357         (y0_test): Likewise.
28358         (y1_test): Likewise.
28359
28360 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28361
28362         * po/Makefile (libc.pot): Use UTF-8 charset.
28363
28364 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28365
28366         [BZ #14210]
28367         Suppress sign-conversion warning from FD_SET.
28368         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28369         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28370         not unsigned long int.
28371         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28372
28373 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28374
28375         [BZ #14050]
28376         [BZ #14117]
28377         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28378         __extern_always_inline instead of __extern_inline.
28379         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28380         (__signbit): Likewise.
28381         (__signbitl): Support C++ namespace.
28382         (lrintf): New inline function.
28383         (lrint): Likewise.
28384         (llrintf): Likewise.
28385         (llrint): Likewise.
28386         (fmaxf): Likewise.
28387         (fmax): Likewise.
28388         (fminf): Likewise.
28389         (fmin): Likewise.
28390         (rint): Likewise.
28391         (rintf): Likewise.
28392         (ceil): Likewise.
28393         (ceilf): Likewise.
28394         (floor): Likewise.
28395         (floorf): Likewise.
28396         (nearbyint): Likewise.
28397         (nearbyintf): Likewise.
28398
28399 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28400
28401         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28402         non-default versions.
28403
28404 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28405
28406         [BZ #14218]
28407         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28408
28409 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28410
28411         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28412         (FE_UPWARD, FE_DOWNWARD): Don't define.
28413         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28414         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28415
28416         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28417         reading it.
28418         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28419         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28420
28421 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28422
28423         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28424         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28425         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28426         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28427
28428 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28429
28430         [BZ #14117]
28431         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28432         * sysdeps/i386/fpu/Implies: New file.
28433         * sysdeps/x86_64/fpu/Implies: Likewise.
28434         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28435         * sysdeps/x86/fpu/bits/fenv.h: This.
28436
28437         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28438         __SSE_MATH__.
28439
28440 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28441
28442         [BZ #14134]
28443         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28444         character 0xffff that matches the last element of the
28445         conversion table.
28446
28447 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28448
28449         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28450         fmodl commit.
28451
28452 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28453
28454         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28455         values higher than 25.6283.
28456
28457 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28458
28459         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28460         subnormal exponent extraction and add some __builtin_expect.
28461         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28462         Fix for subnormal mantissa calculation.
28463
28464 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28465
28466         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28467         cpu2 is -1 and errno is not ENOSYS.
28468
28469 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28470
28471         [BZ #14117]
28472         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28473         * sysdeps/x86/bits/string.h: This.
28474         * sysdeps/x86_64/bits/string.h: Removed.
28475
28476         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28477         if not compiling for x86-64, but compiling for >= i486.
28478
28479         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28480         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28481
28482         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28483         New macro from Linux kernel 3.4.0.
28484         (FP_XSTATE_MAGIC2): Likewise.
28485         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28486         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28487         (struct _fpx_sw_bytes): New struct.
28488         (struct _xsave_hdr): Likewise.
28489         (struct _ymmh_state): Likewise.
28490         (struct _xstate): Likewise.
28491
28492         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28493         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28494         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28495         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28496         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28497         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28498
28499         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28500         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28501         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28502         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28503         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28504         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28505
28506 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28507
28508         [BZ #13743]
28509         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28510         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28511         (sysdep_headers): Include sys/platform/ppc.h.
28512         * sysdeps/powerpc/test-gettimebase.c: Test for
28513         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28514         * manual/Makefile (appendices): Include platform.texi.
28515         * manual/contrib.texi (Contributors): Update @node pointers.
28516         * manual/maint.texi (Maintenance): Likewise.
28517         (Platform): New node.
28518         * manual/platform.texi: New file.  Document the new features.
28519
28520 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28521             Jakub Jelinek  <jakub@redhat.com>
28522
28523         [BZ #14188]
28524         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28525         where __builtin_expect is unavailable.
28526
28527 2012-06-03  David S. Miller  <davem@davemloft.net>
28528
28529         * stdlib/longlong.h: Updated from GCC.
28530
28531 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28532
28533         [BZ #14042]
28534         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28535         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28536         __mcount_internal.
28537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28538         (GLIBC_2.16): Likewise.
28539
28540 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28541
28542         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28543
28544 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28545
28546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28547         (default-abi): New variable.
28548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28549         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28550         variable.
28551         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28552         Likewise.
28553         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28554         Likewise.
28555         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28556         Likewise.
28557
28558         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28559         definition.  Document in comment.
28560
28561 2012-06-01  David S. Miller  <davem@davemloft.net>
28562
28563         * stdlib/longlong.h: Updated from GCC.
28564
28565 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28566
28567         [BZ #14117]
28568         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28569         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28570         sys/debugreg.h sys/io.h here.
28571         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28572         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28573         sys/io.h.
28574         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28575         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28576         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28577         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28578         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28579         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28580
28581         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28582         Define only if __x86_64__ is defined.
28583
28584 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28585
28586         [BZ #14048]
28587         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28588         Use int64_t for variable i.
28589         * math/libm-test.inc (fmod_test): Add more tests.
28590
28591         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28592         z computation is not scheduled after fetestexcept.
28593         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28594         Use math_force_eval instead of asm to ensure calculation scheduled
28595         before exception test.
28596         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28597         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28598
28599 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28600
28601         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28602         computation is not scheduled after fetestexcept.
28603
28604 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28605
28606         [BZ #14117]
28607         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28608         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28609
28610 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28611
28612         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28613         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28614
28615 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28616
28617         [BZ #14117]
28618         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28619         <bits/wordsize.h>.
28620         (__WCHAR_MIN): Support __WORDSIZE == 64.
28621         (__WCHAR_MAX): Likewise.
28622
28623         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28624         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28625
28626         [BZ #14183]
28627         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28628         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28629
28630         [BZ #14117]
28631         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28632         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28633
28634         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28635         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28636
28637         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28638         Defined to 1 if __x86_64__ isn't defined.
28639         (_STAT_VER_LINUX_OLD): New.
28640         (st_atime): Remove duplicate.
28641         (st_mtime): Likewise.
28642         (st_ctime): Likewise.
28643
28644 2012-05-31  David S. Miller  <davem@davemloft.net>
28645
28646         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28647         entries.
28648
28649 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
28650
28651         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28652         gen-libm-test.pl.
28653
28654         [BZ #14132]
28655         * elf/dl-reloc.c: Include <_itoa.h>.
28656         (_dl_reloc_bad_type): Remove use of INTUSE.
28657         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28658         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28659         * stdio-common/psiginfo.c (psiginfo): Likewise.
28660         * stdio-common/psignal.c (psignal): Likewise.
28661         * string/strsignal.c (strsignal): Likewise.
28662         * include/signal.h (_sys_siglist): Declare hidden proto.
28663         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
28664         INTVARDEF with libc_hidden_data_def.
28665         * stdio-common/itoa-udigits.c: Likewise.
28666         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28667         (_itoa_lower_digits_internal): Remove declaration.
28668         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28669         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28670         (_sys_sigabbrev_internal): Remove aliases.
28671         (_sys_siglist): Define hidden alias.
28672
28673 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
28674
28675         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28676         bits/sysctl.h.
28677
28678 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28679
28680         [BZ #14117]
28681         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28682         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28683
28684         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28685         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28686         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28687         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28688         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28689         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28690
28691         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28692         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28693         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28694
28695         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28696         with __addr.
28697         (insw): Likewise.
28698         (insl): Likewise.
28699         (outsb): Likewise.
28700         (outsw): Likewise.
28701         (outsl): Likewise.
28702
28703         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28704         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28705         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28706
28707         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28708         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28709         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28710         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28711         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28712         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28713
28714         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28715         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28716
28717         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28718         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28719
28720         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28721         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28722         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28723
28724         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28725         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28726         to ...
28727         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28728
28729         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28730         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28731         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28732
28733         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28734         for x86-64.
28735         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28736
28737 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
28738
28739         * math/math.h (M_El): Use two more decimal places.
28740         (M_LOG2El): Likewise.
28741         (M_LOG10El): Likewise.
28742         (M_LN2l): Likewise.
28743         (M_LN10l): Likewise.
28744         (M_PIl): Likewise.
28745         (M_PI_2l): Likewise.
28746         (M_PI_4l): Likewise.
28747         (M_1_PIl): Likewise.
28748         (M_2_PIl): Likewise.
28749         (M_2_SQRTPIl): Likewise.
28750         (M_SQRT2l): Likewise.
28751         (M_SQRT1_2l): Likewise.
28752
28753 2012-05-31  David S. Miller  <davem@davemloft.net>
28754
28755         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28756         values between float registers.
28757         * sysdeps/sparc/sparc64/memset.S: Likewise.
28758         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28759
28760 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
28761
28762         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28763         -D_FORTIFY_SOURCE=1.
28764         (CPPFLAGS-tst-longjmp_chk.c): Define.
28765         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28766         (CPPFLAGS-tst-longjmp_chk2.c): Define.
28767         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28768         CFLAGS-tst-wchar-h.c.
28769
28770 2012-05-31  Marek Polacek  <polacek@redhat.com>
28771
28772         [BZ #14132]
28773         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28774         __endmntent_internal): Remove declaration.
28775         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28776         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28777         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28778
28779 2012-05-30  David S. Miller  <davem@davemloft.net>
28780
28781         * sysdeps/sparc/sparc32/soft-fp/q_util.c
28782         (___Q_simulate_exceptions): Use real FP ops rather than writing
28783         into the %fsr.
28784         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28785         Likewise.
28786
28787 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28788
28789         [BZ #14117]
28790         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28791         * sysdeps/x86/bits/xtitypes.h: This.
28792
28793         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28794         * sysdeps/x86/bits/wordsize.h: This.
28795
28796         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28797         * sysdeps/x86/bits/huge_vall.h: This.
28798
28799         * sysdeps/i386/bits/select.h: Removed.
28800         * sysdeps/x86_64/bits/select.h: Renamed to ...
28801         * sysdeps/x86/bits/select.h: This.
28802
28803         * sysdeps/i386/bits/setjmp.h: Removed.
28804         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28805         * sysdeps/x86/bits/setjmp.h: This.
28806
28807         * sysdeps/i386/bits/mathdef.h: Removed.
28808         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28809         * sysdeps/x86/bits/mathdef.h: This.
28810
28811 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
28812
28813         [BZ #14132]
28814         * include/sys/socket.h (__connect_internal)
28815         (__libc_sa_len_internal): Remove declaration.
28816         (__connect, __libc_sa_len): Declare hidden_proto.
28817         (SA_LEN): Remove use of INTUSE.
28818         * socket/connect.c: Add libc_hidden_def.
28819         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28820         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28821         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28822         alias.
28823         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28824         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28825         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28826         of adding _internal alias.
28827
28828 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28829
28830         [BZ #14117]
28831         * sysdeps/i386/bits/link.h: Removed.
28832         * sysdeps/i386/bits/linkmap.h: Likewise.
28833         * sysdeps/x86_64/bits/link.h: Renamed to ...
28834         * sysdeps/x86/bits/link.h: This.
28835         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28836         * sysdeps/x86/bits/linkmap.h: This.
28837
28838         * sysdeps/i386/bits/endian.h: Removed.
28839         * sysdeps/x86_64/bits/endian.h: Renamed to ...
28840         * sysdeps/x86/bits/endian.h: This.
28841
28842         * sysdeps/i386/bits/byteswap.h: Removed.
28843         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28844         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28845         * sysdeps/x86/bits/byteswap.h: This.
28846         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28847         * sysdeps/x86/bits/byteswap-16.h: This.
28848         * sysdeps/i386/Implies: Add x86.
28849         * sysdeps/x86_64/Implies: Likewise.
28850
28851 2012-05-30  David S. Miller  <davem@davemloft.net>
28852
28853         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28854         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28855         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28856         (FP_TRAPPING_EXCEPTIONS): Define.
28857         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28858         (FP_TRAPPING_EXCEPTIONS): Define.
28859         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28860         subnormals only when inexact has been signalled or underflow
28861         exceptions are enabled.
28862         (_FP_PACK_CANONICAL): Likewise.
28863
28864 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28865
28866         [BZ #14183]
28867         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28868         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28869
28870 2012-05-30  Richard Henderson  <rth@twiddle.net>
28871
28872         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28873         with #ifndef NOT_IN_libc.
28874
28875         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28876         marked to avoid plt entry.
28877
28878 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28879
28880         [BZ #14112]
28881         * Makeconfig (default-abi): New macro.
28882         (abi-includes): Likewise.
28883         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28884         $(abi-$(default-abi)-lib-soname) for soname if defined.
28885         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28886         abi-variants.
28887         * Makefile (installed-stubs): Likewise.
28888         * include/stubs-biarch.h: Removed.
28889         * scripts/lib-names.awk: Only handle one library at a time.
28890         * scripts/soversions.awk: Remove WORDSIZE support.
28891         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28892         entries.
28893         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28894         Removed.
28895         (syscall-list-default-condition): Likewise.
28896         (syscall-list-default-condition): Likewise.
28897         (syscall-list-includes): Likewise.
28898         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28899         syscall-list-* with abi-*.  Handle undefined abi-variants.
28900         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28901         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28902         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28903         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28904         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28905         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28906         Removed.
28907         (syscall-list-32-options): Likewise.
28908         (syscall-list-32-condition): Likewise.
28909         (syscall-list-64-options): Likewise.
28910         (syscall-list-64-condition): Likewise.
28911         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28912         macro.
28913         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28914         Renamed to ...
28915         (abi-*): This.
28916         (abi-64-ld-soname): New macro.
28917         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28918         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28919         Renamed to ...
28920         (abi-*): This.
28921         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28922         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28923
28924 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28925
28926         * sysdeps/unix/sysv/linux/kernel-features.h
28927         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28928         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28929         include <kernel-features.h>.
28930         [!__NR_ftruncate64]: Remove conditional code.
28931         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28932         [__NR_ftruncate64]: Make code unconditional.
28933         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28934         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28935         include <kernel-features.h>.
28936         [!__NR_ftruncate64]: Remove conditional code.
28937         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28938         [__NR_ftruncate64]: Make code unconditional.
28939         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28941         include <kernel-features.h>.
28942         [!__NR_ftruncate64]: Remove conditional code.
28943         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28944         [__NR_ftruncate64]: Make code unconditional.
28945         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28947         include <kernel-features.h>.
28948         [!__NR_ftruncate64]: Remove conditional code.
28949         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28950         [__NR_ftruncate64]: Make code unconditional.
28951         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28952
28953         * configure.in (libc_cv_fpie): Weaken to a compile test using
28954         LIBC_TRY_CC_OPTION.
28955         * configure: Regenerated.
28956
28957 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28958
28959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28963         Refreshed.
28964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28970         Refreshed.
28971
28972 2012-05-27  David S. Miller  <davem@davemloft.net>
28973
28974         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28975         (___Q_zero): New.
28976         (__Q_simulate_exceptions): Return void.  Change to simulate
28977         exceptions by writing into the %fsr.
28978         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28979         (__Qp_handle_exceptions): Likewise.
28980         (numbers): Delete.
28981         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28982         __Qp_handle_exceptions.
28983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28984         __Qp_handle_exceptions.
28985         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28986         as unused and give dummy FP_RND_NEAREST initializer.
28987         (FP_INHIBIT_RESULTS): Define.
28988         (___Q_simulate_exceptions): Update declaration.
28989         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28990         formatting.
28991         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28992         as unused and give dummy FP_RND_NEAREST initializer.
28993         (__Qp_handle_exceptions): Update declaration.
28994         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28995         formatting.
28996
28997 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
28998
28999         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29000         the temporary FPU control word.
29001         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29002         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29003         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29004         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29005         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29006         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29007         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29008         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29009         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29010         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29011         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29012
29013 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29014
29015         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29016         fields.
29017
29018 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
29019
29020         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29021         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29022         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29023         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29024         Likewise.
29025         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29026         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29027         Likewise.
29028
29029 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
29030
29031         * po/h.po: Update from translation team.
29032
29033 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
29034
29035         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29036
29037         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29038         handling of denormals.
29039         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29040         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29041         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29042         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29043         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29045         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29046         Likewise.
29047
29048 2012-05-26  Marek Polacek  <polacek@redhat.com>
29049
29050         [BZ #14152]
29051         * math/libm-test.inc (fma_test): Don't always expect underflow
29052         exception.
29053
29054 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29055
29056         [BZ #12416]
29057         * elf/tst-execstack.c: Include stackinfo.h.
29058         (do_test): Adjust test case to ensure that pthread_getattr_np
29059         behaviour remains the same after marking stack executable.
29060
29061 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29062
29063         * sysdeps/unix/sysv/linux/kernel-features.h
29064         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29065         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29066         kernel-features.h.
29067         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29068         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29069         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29070         kernel-features.h.
29071         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29072         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29073
29074 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
29075
29076         * configure.in: Define the default includes to being none.
29077         * configure: Regenerated.
29078
29079 2012-05-25  Roland McGrath  <roland@hack.frob.com>
29080
29081         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29082         * sysdeps/x86_64/setjmp.S: Likewise.
29083         * sysdeps/i386/bsd-setjmp.S: Likewise.
29084         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29085         * sysdeps/i386/setjmp.S: Likewise.
29086         * sysdeps/i386/__longjmp.S: Likewise.
29087         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29088         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29089
29090         * include/stap-probe.h: New file.
29091         * configure.in: Handle --enable-systemtap.
29092         * configure: Regenerated.
29093         * config.h.in (USE_STAP_PROBE): New #undef.
29094         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29095         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29096         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29097
29098 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29099
29100         [BZ #13717]
29101         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29102         to 2.4.0 where earlier.
29103         * sysdeps/unix/sysv/linux/configure: Regenerated.
29104         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29105         <kernel-features.h>.
29106         [__ASSUME_32BITUIDS]: Make code unconditional.
29107         [!__ASSUME_32BITUIDS]: Remove conditional code.
29108         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29109         <kernel-features.h>.
29110         [__ASSUME_32BITUIDS]: Make code unconditional.
29111         [!__ASSUME_32BITUIDS]: Remove conditional code.
29112         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29113         [__ASSUME_32BITUIDS]: Make code unconditional.
29114         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29115         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29116         <kernel-features.h>.
29117         [__ASSUME_32BITUIDS]: Make code unconditional.
29118         [!__ASSUME_32BITUIDS]: Remove conditional code.
29119         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29120         <kernel-features.h>.
29121         [__ASSUME_32BITUIDS]: Make code unconditional.
29122         [!__ASSUME_32BITUIDS]: Remove conditional code.
29123         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29124         <kernel-features.h>.
29125         [__ASSUME_32BITUIDS]: Make code unconditional.
29126         [!__ASSUME_32BITUIDS]: Remove conditional code.
29127         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29128         <kernel-features.h>.
29129         [__ASSUME_32BITUIDS]: Make code unconditional.
29130         [!__ASSUME_32BITUIDS]: Remove conditional code.
29131         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29132         <kernel-features.h>.
29133         [__ASSUME_32BITUIDS]: Make code unconditional.
29134         [!__ASSUME_32BITUIDS]: Remove conditional code.
29135         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29136         <kernel-features.h>.
29137         [__ASSUME_32BITUIDS]: Make code unconditional.
29138         [!__ASSUME_32BITUIDS]: Remove conditional code.
29139         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29140         <kernel-features.h>.
29141         [__ASSUME_32BITUIDS]: Make code unconditional.
29142         [!__ASSUME_32BITUIDS]: Remove conditional code.
29143         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29144         <kernel-features.h>.
29145         [__ASSUME_32BITUIDS]: Make code unconditional.
29146         [!__ASSUME_32BITUIDS]: Remove conditional code.
29147         * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
29156         <kernel-features.h>.
29157         [__NR_setresgid] (__setresgid): Do not declare.
29158         [__ASSUME_32BITUIDS]: Make code unconditional.
29159         [!__ASSUME_32BITUIDS]: Remove conditional code.
29160         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29161         <kernel-features.h>.
29162         [__NR_setresuid] (__setresuid): Do not declare.
29163         [__ASSUME_32BITUIDS]: Make code unconditional.
29164         [!__ASSUME_32BITUIDS]: Remove conditional code.
29165         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29166         <kernel-features.h>.
29167         [__ASSUME_32BITUIDS]: Make code unconditional.
29168         [!__ASSUME_32BITUIDS]: Remove conditional code.
29169         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29170         <kernel-features.h>.
29171         [__ASSUME_32BITUIDS]: Make code unconditional.
29172         [!__ASSUME_32BITUIDS]: Remove conditional code.
29173         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29174         <kernel-features.h>.
29175         [__ASSUME_32BITUIDS]: Make code unconditional.
29176         [!__ASSUME_32BITUIDS]: Remove conditional code.
29177         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29178         <kernel-features.h>.
29179         [__ASSUME_32BITUIDS]: Make code unconditional.
29180         [!__ASSUME_32BITUIDS]: Remove conditional code.
29181         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29182         <kernel-features.h>.
29183         [__ASSUME_32BITUIDS]: Make code unconditional.
29184         [!__ASSUME_32BITUIDS]: Remove conditional code.
29185         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29186         <kernel-features.h>.
29187         [__ASSUME_32BITUIDS]: Make code unconditional.
29188         [!__ASSUME_32BITUIDS]: Remove conditional code.
29189         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29190         <kernel-features.h>.
29191         [__ASSUME_32BITUIDS]: Make code unconditional.
29192         [!__ASSUME_32BITUIDS]: Remove conditional code.
29193         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29194         <kernel-features.h>.
29195         [__ASSUME_32BITUIDS]: Make code unconditional.
29196         [!__ASSUME_32BITUIDS]: Remove conditional code.
29197         * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
29206         (__ASSUME_SETRESUID_SYSCALL): Remove.
29207         (__ASSUME_SETRESGID_SYSCALL): Likewise.
29208         (__ASSUME_32BITUIDS): Likewise.
29209         (__ASSUME_LDT_WORKS): Likewise.
29210         (__ASSUME_O_DIRECTORY): Likewise.
29211         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29212         architecture but not kernel version.
29213         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29214         (__ASSUME_MMAP2_SYSCALL): Likewise.
29215         (__ASSUME_STAT64_SYSCALL): Likewise.
29216         (__ASSUME_IPC64): Likewise.
29217         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29218         <kernel-features.h>.
29219         [__ASSUME_32BITUIDS]: Make code unconditional.
29220         [!__ASSUME_32BITUIDS]: Remove conditional code.
29221         * sysdeps/unix/sysv/linux/opendir.c: Do not include
29222         <kernel-features.h>.
29223         [__ASSUME_O_DIRECTORY]: Make code unconditional.
29224         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29225         132096]: Remove conditional code.
29226         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29227         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29228         <kernel-features.h>.
29229         [__ASSUME_32BITUIDS]: Make code unconditional.
29230         [!__ASSUME_32BITUIDS]: Remove conditional code.
29231         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29232         <kernel-features.h>.
29233         [__ASSUME_32BITUIDS]: Make code unconditional.
29234         [!__ASSUME_32BITUIDS]: Remove conditional code.
29235         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29236         <kernel-features.h>.
29237         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29238         unconditional.
29239         (__setresgid): Do not declare.
29240         [__ASSUME_32BITUIDS]: Make code unconditional.
29241         [!__ASSUME_32BITUIDS]: Remove conditional code.
29242         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29243         <kernel-features.h>.
29244         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29245         unconditional.
29246         (__setresuid): Do not declare.
29247         [__ASSUME_32BITUIDS]: Make code unconditional.
29248         [!__ASSUME_32BITUIDS]: Remove conditional code.
29249         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29250         <kernel-features.h>.
29251         [__ASSUME_32BITUIDS]: Make code unconditional.
29252         [!__ASSUME_32BITUIDS]: Remove conditional code.
29253         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29254         <kernel-features.h>.
29255         [__ASSUME_32BITUIDS]: Make code unconditional.
29256         [!__ASSUME_32BITUIDS]: Remove conditional code.
29257
29258 2012-05-25  Richard Henderson  <rth@twiddle.net>
29259
29260         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29261         dl_hwcap to ifunc resolver.
29262         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29263         elf_ifunc_invoke.
29264         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29265         dl_hwcap to ifunc resolver.
29266         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29267
29268 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29269
29270         [BZ #14153]
29271         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29272         for |x| <= 2**-26, not 2**-57.
29273         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29274         exception.
29275
29276 2012-05-24  Jeff Law  <law@redhat.com>
29277
29278         * stdio-common/Makefile (tests): Add bug25.
29279         * stdio-common/bug25.c: New test.
29280
29281 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29282
29283         [BZ #13576]
29284         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29285         multiple of MALLOC_ALIGNMENT in size.
29286         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29287
29288 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29289
29290         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29291         Require >= 256.
29292         (FILENAME_MAX): Use macro-int-constant.
29293         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29294         (_IOFBF): Use macro-int-constant.
29295         (_IOLBF): Likewise.
29296         (_IONBF): Likewise.
29297         (SEEK_CUR): Likewise.
29298         (SEEK_END): Likewise.
29299         (SEEK_SET): Likewise.
29300         (TMP_MAX): Likewise.
29301         (EOF): Use macro-int-constant.  Require < 0.
29302         (NULL): Use macro-constant.  Require == 0.
29303         (stdin): Require type to be FILE *.
29304         (stdout): Likewise.
29305         (stderr): Likewise.
29306         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29307         macro-int-constant.
29308         (EXIT_SUCCESS): Likewise.
29309         (NULL): Use macro-constant.  Require == 0.
29310         (RAND_MAX): Use macro-int-constant.
29311         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29312         [C99-based standards] (strtof): Require function.
29313         [C99-based standards] (strtold): Likewise.
29314         [C99-based standards] (strtoll): Likewise.
29315         [C99-based standards] (strtoull): Likewise.
29316         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29317         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29318         [ISO || ISO99 || ISO11] (math.h): Likewise.
29319         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29320         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29321         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29322
29323 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29324
29325         [BZ #14132]
29326         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29327         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29328         * intl/dgettext.c (DCGETTEXT): Likewise.
29329         * intl/gettext.c (DCGETTEXT): Likewise.
29330         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29331         * posix/regex_internal.h (gettext): Likewise.
29332         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29333         Remove declaration.
29334         * include/argz.h (__argz_count_internal)
29335         (__argz_stringify_internal): Remove declaration.
29336         (__argz_count, __argz_stringify): Declare hidden proto.
29337         * intl/dcgettext.c: Remove use of INTDEF.
29338         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29339         * string/argz-stringify.c: Likewise.
29340         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29341         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29342         Declare hidden proto.
29343         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29344         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29345         Declare hidden proto.
29346         * include/stdio.h (__asprintf_internal): Don't declare.
29347         (__asprintf): Don't define as macro.  Declare hidden proto.
29348         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29349         (__fsetlocking): Declare hidden proto.
29350         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29351         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29352         hidden proto.
29353         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29354         (_IO_setlinebuf): Remove use of INTUSE.
29355         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29356         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29357         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29358         Remove declaration.
29359         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29360         (_IO_do_flush): Remove use of INTUSE.
29361         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29362         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29363         (_IO_adjust_column, _IO_least_wmarker)
29364         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29365         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29366         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29367         (_IO_default_doallocate, _IO_wdefault_doallocate)
29368         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29369         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29370         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29371         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29372         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29373         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29374         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29375         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29376         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29377         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29378         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29379         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29380         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29381         proto.
29382         (_IO_flush_all_internal, _IO_adjust_column_internal)
29383         (_IO_default_uflow_internal, _IO_default_finish_internal)
29384         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29385         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29386         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29387         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29388         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29389         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29390         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29391         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29392         (_IO_file_close_internal, _IO_file_close_it_internal)
29393         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29394         (_IO_file_init_internal, _IO_file_attach_internal)
29395         (_IO_file_fopen_internal, _IO_file_read_internal)
29396         (_IO_file_sync_internal, _IO_file_seek_internal)
29397         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29398         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29399         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29400         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29401         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29402         (_IO_list_all_internal, _IO_link_in_internal)
29403         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29404         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29405         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29406         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29407         (_IO_do_write_internal, _IO_padn_internal)
29408         (_IO_getline_info_internal, _IO_getline_internal)
29409         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29410         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29411         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29412         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29413         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29414         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29415         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29416         with libc_hidden_ver, remove use of INTUSE.
29417         * libio/genops.c: Likewise.
29418         * libio/freopen.c: Likewise.
29419         * libio/freopen64.c: Likewise.
29420         * libio/iofclose.c: Likewise.
29421         * libio/iofdopen.c: Likewise.
29422         * libio/iofflush.c: Likewise.
29423         * libio/iofflush_u.c: Likewise.
29424         * libio/iofgets.c: Likewise.
29425         * libio/iofgets_u.c: Likewise.
29426         * libio/iofopen.c: Likewise.
29427         * libio/iofopncook.c: Likewise.
29428         * libio/iofread.c: Likewise.
29429         * libio/iofread_u.c: Likewise.
29430         * libio/ioftell.c: Likewise.
29431         * libio/iofwrite.c: Likewise.
29432         * libio/iogetline.c: Likewise.
29433         * libio/iogets.c: Likewise.
29434         * libio/iogetwline.c: Likewise.
29435         * libio/iopadn.c: Likewise.
29436         * libio/iopopen.c: Likewise.
29437         * libio/ioseekoff.c: Likewise.
29438         * libio/ioseekpos.c: Likewise.
29439         * libio/iosetbuffer.c: Likewise.
29440         * libio/iosetvbuf.c: Likewise.
29441         * libio/ioungetc.c: Likewise.
29442         * libio/ioungetwc.c: Likewise.
29443         * libio/iovdprintf.c: Likewise.
29444         * libio/iovsprintf.c: Likewise.
29445         * libio/iovsscanf.c: Likewise.
29446         * libio/memstream.c: Likewise.
29447         * libio/obprintf.c: Likewise.
29448         * libio/oldfileops.c: Likewise.
29449         * libio/oldiofclose.c: Likewise.
29450         * libio/oldiofdopen.c: Likewise.
29451         * libio/oldiofopen.c: Likewise.
29452         * libio/oldiopopen.c: Likewise.
29453         * libio/oldstdfiles.c: Likewise.
29454         * libio/putc.c: Likewise.
29455         * libio/setbuf.c: Likewise.
29456         * libio/setlinebuf.c: Likewise.
29457         * libio/stdfiles.c: Likewise.
29458         * libio/strops.c: Likewise.
29459         * libio/vasprintf.c: Likewise.
29460         * libio/vscanf.c: Likewise.
29461         * libio/vsnprintf.c: Likewise.
29462         * libio/vswprintf.c: Likewise.
29463         * libio/wfiledoalloc.c: Likewise.
29464         * libio/wfileops.c: Likewise.
29465         * libio/wgenops.c: Likewise.
29466         * libio/wmemstream.c: Likewise.
29467         * libio/wstrops.c: Likewise.
29468         * libio/__fpurge.c: Likewise.
29469         * libio/__fsetlocking.c: Likewise.
29470         * assert/assert.c: Likewise.
29471         * debug/fgets_chk.c: Likewise.
29472         * debug/fgets_u_chk.c: Likewise.
29473         * debug/fread_chk.c: Likewise.
29474         * debug/fread_u_chk.c: Likewise.
29475         * debug/gets_chk.c: Likewise.
29476         * debug/obprintf_chk.c: Likewise.
29477         * debug/vasprintf_chk.c: Likewise.
29478         * debug/vdprintf_chk.c: Likewise.
29479         * debug/vsnprintf_chk.c: Likewise.
29480         * debug/vsprintf_chk.c: Likewise.
29481         * malloc/mtrace.c: Likewise.
29482         * misc/error.c: Likewise.
29483         * misc/syslog.c: Likewise.
29484         * stdio-common/asprintf.c: Likewise.
29485         * stdio-common/fxprintf.c: Likewise.
29486         * stdio-common/getw.c: Likewise.
29487         * stdio-common/isoc99_fscanf.c: Likewise.
29488         * stdio-common/isoc99_scanf.c: Likewise.
29489         * stdio-common/isoc99_vfscanf.c: Likewise.
29490         * stdio-common/isoc99_vscanf.c: Likewise.
29491         * stdio-common/isoc99_vsscanf.c: Likewise.
29492         * stdio-common/printf-prs.c: Likewise.
29493         * stdio-common/printf_fp.c: Likewise.
29494         * stdio-common/printf_fphex.c: Likewise.
29495         * stdio-common/printf_size.c: Likewise.
29496         * stdio-common/putw.c: Likewise.
29497         * stdio-common/scanf.c: Likewise.
29498         * stdio-common/sprintf.c: Likewise.
29499         * stdio-common/tmpfile.c: Likewise.
29500         * stdio-common/vfprintf.c: Likewise.
29501         * stdio-common/vfscanf.c: Likewise.
29502         * stdlib/strfmon_l.c: Likewise.
29503         * sunrpc/openchild.c: Likewise.
29504         * sunrpc/xdr_stdio.c: Likewise.
29505         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29506         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29507
29508 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29509
29510         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29511
29512         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29513         in the third column, to generate for the shared library an IFUNC
29514         that uses _dl_vdso_vsym.
29515         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29516         * Makeconfig (object-suffixes-noshared): New variable.
29517
29518         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29519         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29520         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29521         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29522
29523         [BZ #14132]
29524         * include/sys/time.h (__gettimeofday): Remove macro.
29525         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29526         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29527         Remove INTDEF.
29528         (__gettimeofday): Add libc_hidden_def.
29529         (gettimeofday): Add libc_hidden_weak.
29530         * sysdeps/mach/gettimeofday.c: Likewise.
29531         * sysdeps/posix/gettimeofday.c: Likewise.
29532         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29533         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29534         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29535         (__gettimeofday_internal): Remove strong_alias.
29536         (__gettimeofday): Add libc_hidden_def.
29537         (gettimeofday): Add libc_hidden_weak.
29538         * sysdeps/unix/syscalls.list (gettimeofday):
29539         Remove __gettimeofday_internal alias.
29540
29541 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29542             H.J. Lu  <hongjiu.lu@intel.com>
29543
29544         [BZ #12495]
29545         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29546         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29547         (largebin_index_32_big): New.
29548         (largebin_index): Use it for 16-byte alignment.
29549         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29550         correction with front_misalign.
29551
29552 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29553
29554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29556         Likewise.
29557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29558         Likewise.
29559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29560         Likewise.
29561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29562         Likewise.
29563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29564         Likewise.
29565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29566         Likewise.
29567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29568         Likewise.
29569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29570         Likewise.
29571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29572         Likewise.
29573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29574         Likewise.
29575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29576         Likewise.
29577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29578         Likewise.
29579
29580         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29581         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29582
29583 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29584
29585         [BZ #10846]
29586         [BZ #14036]
29587         * math/libm-test.inc (exp_test): Add test from bug 14036.
29588         (pow_test): Add test from bug 10846.
29589
29590         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29591         and other flags.
29592         (special_function): Do not include flags in test name.
29593         (parse_args): Likewise.
29594         * sysdeps/i386/fpu/libm-test-ulps: Update.
29595         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29596         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29597         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29599
29600         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29601         exceptions.
29602         * math/libm-test.inc ("Philosophy"): Update comment about
29603         exception testing.
29604         (UNDERFLOW_EXCEPTION): New macro.
29605         (UNDERFLOW_EXCEPTION_OK): Likewise.
29606         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29607         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29608         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29609         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29610         (INVALID_EXCEPTION_OK): Update value.
29611         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29612         (OVERFLOW_EXCEPTION_OK): Likewise.
29613         (IGNORE_ZERO_INF_SIGN): Likewise.
29614         (test_exceptions): Handle underflow exceptions.
29615         (acos_test): Update for underflow exception expectations.
29616         (cexp_test): Likewise.
29617         (clog_test): Likewise.
29618         (clog10_test): Likewise.
29619         (csqrt_test): Likewise.
29620         (ctan_test): Likewise.
29621         (ctanh_test): Likewise.
29622         (exp_test): Likewise.
29623         (exp10_test): Likewise.
29624         (exp2_test): Likewise.
29625         (expm1_test): Likewise.
29626         (fma_test): Likewise.
29627         (j0_test): Likewise.
29628         (jn_test): Likewise.
29629         (nexttoward_test): Likewise.
29630         (pow_test): Likewise.
29631         (scalbn_test): Likewise.
29632         (scalbln_test): Likewise.
29633         (tan_test): Likewise.
29634         (y1_test): Likewise.
29635         * sysdeps/i386/fpu/libm-test-ulps: Update.
29636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29637
29638 2012-05-23  David S. Miller  <davem@davemloft.net>
29639
29640         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29641         (__libc_sigaction): Remove unused local variables.
29642
29643 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29644
29645         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29646
29647 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
29648
29649         mktime: avoid signed integer overflow
29650         * time/mktime.c (__mktime_internal): Do not mishandle the case
29651         where diff == INT_MIN.
29652
29653         mktime: simplify computation of average
29654         * time/mktime.c (ranged_convert): Use new time_t_avg function
29655         instead of rolling our own (probably-slower) code.
29656
29657         mktime: do not assume signed right shift propagates sign bit
29658         * time/mktime.c (isdst_differ): New static function.
29659         (__mktime_internal): No need to normalize tm_isdst now.
29660         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29661         tm_isdst values.
29662
29663         mktime: merge another wrapv change from gnulib
29664         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29665         from some compilers.
29666
29667         mktime: remove incorrect attempt at unusual arithmetics
29668         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29669         The code didn't really work on such machines anyway.
29670         (TYPE_MINIMUM): Assume two's complement.
29671         (twos_complement_arithmetic): Verify that long_int and time_t
29672         are two's complement (or unsigned, in the latter case).
29673
29674         mktime: check signed shifts on long_int and time_t, too
29675         * time/mktime.c (SHR): Check that shifts work as desired
29676         on the types long_int and time_t too, as SHR is used on
29677         such types.
29678
29679         mktime: do not assume 'long' is wide enough
29680         * time/mktime.c (verify): Move decl up.
29681         (long_int): New type.
29682         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29683         to remove assumption in the code that 'long' is wide enough to
29684         store year values.  This assumption is not true on x32 and on
29685         some non-glibc platforms.
29686
29687         mktime: merge wrapv change from gnulib
29688         * time/mktime.c (WRAPV): New macro.
29689         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29690         (guess_time_tm, __mktime_internal): Do not assume that signed
29691         integer overflow wraps around; modern compilers generate code
29692         where this assumption is no longer valid.
29693
29694 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29695
29696         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29697         Replace "jmp L(pseudo_end)" with "ret".
29698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29699         Likewise.
29700
29701 2012-05-23  Andreas Jaeger  <aj@suse.de>
29702
29703         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29704         * sysdeps/unix/sysv/linux/poll.c: Remove file.
29705
29706 2012-05-23  Andreas Jaeger  <aj@suse.de>
29707             Maximilian Attems  <max@stro.at>
29708
29709         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29710         New macros.
29711
29712 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29713
29714         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29715         code so that pseudo_end is just ret and the stack pointer is
29716         correct also for static library in error case.
29717
29718 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
29719
29720         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29721         move to syscalls.list.
29722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29726
29727         * manual/install.texi (Running make install): Do not mention Linux
29728         kernel version for which pt_chown is not needed.
29729         (Linux): Do not mention problems with nscd with 2.0 kernels.
29730         * INSTALL: Regenerated.
29731
29732 2012-05-23  Andreas Jaeger  <aj@suse.de>
29733
29734         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29735         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29736         macro.
29737         * sysdeps/unix/sysv/linux/s390/bits/mman.h
29738         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29739         * sysdeps/unix/sysv/linux/sh/bits/mman.h
29740         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29741         * sysdeps/unix/sysv/linux/i386/bits/mman.h
29742         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29743         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29744         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29745         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29746         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29747         * sysdeps/unix/sysv/linux/bits/in.h
29748         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29749
29750 2012-05-22  Roland McGrath  <roland@hack.frob.com>
29751
29752         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29753         (PREPARE_VERSION): Just use assert instead, it will be elided
29754         under [NDEBUG] anyway.
29755
29756 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29757
29758         * sysdeps/unix/sysv/linux/Makefile: Include
29759         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29760         (sysdep_routines): Remove sysctl.
29761         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29762         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29763         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29764         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29765         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29766
29767 2012-05-22  Andreas Jaeger  <aj@suse.de>
29768
29769         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29770         that pseudo_end is just ret and the stack pointer is correct also
29771         for static library in error case.
29772
29773 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29774
29775         [BZ #14122]
29776         * nss/nsswitch.c (defconfig_entries): New variable.
29777         (__nss_database_lookup): Don't leak defconfig entries.
29778         (nss_parse_service_list): Don't leak on error paths.
29779         (free_database_entries): New function.
29780         (free_defconfig): New function.
29781         (free_mem): Move common code to free_database_entries.
29782
29783 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29784
29785         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29786         Add arch_prctl.
29787         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29788
29789         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29790         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29792         New macro.
29793         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29794         (INTERNAL_SYSCALL_TYPES): Likewise.
29795         (LOAD_ARGS_TYPES_[1-6]): Likewise.
29796         (LOAD_REGS_TYPES_[1-6]): Likewise.
29797         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29798         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29799
29800 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29801
29802         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29803         copysignl for GLIBC_2_0.
29804         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29805         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29806         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29807         logbl for GLIBC_2_0.
29808         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29809         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29810
29811 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29812
29813         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29814         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29815
29816         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29817         Use "neg %eax".
29818
29819         * time/mktime.c: Update copyright years.
29820
29821 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29822
29823         mktime: merge comment-quoting-style change from gnulib
29824         * time/mktime.c: Quote 'like this' in comments.
29825         The GNU coding standards suggest that we no longer quote `like this',
29826         as "`" and "'" are typically rendered asymmetrically nowadays.
29827         The typical gnulib style is to quote 'like this' when quoting
29828         code, and "like this" when quoting English.
29829
29830         * time/mktime.c (compile-command): Add "-I.".
29831
29832         mktime: merge mktime-internal.h change from gnulib
29833         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29834
29835         mktime: merge time_r change from gnulib
29836         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29837
29838         mktime: merge DEBUG change from gnulib
29839         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29840         case system <time.h> has a #define.
29841
29842         mktime: merge <sys/types.h> change from gnulib
29843         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29844         since <time.t> is now guaranteed to define time_t.
29845
29846         mktime: merge HAVE_CONFIG_H change from gnulib
29847         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29848
29849 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29850
29851         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29852         Use "neg %eax".
29853
29854         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29855         __rlim_t cast.
29856         (struct rusage): Use anonymous union to pad each field to
29857         __syscall_slong_t.
29858
29859 2012-05-21  David S. Miller  <davem@davemloft.net>
29860
29861         * Makefules (o-iterator): Remove .s cases.
29862         (compile-command.s): Delete.
29863         (COMPILE.s): Delete.
29864         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29865
29866 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29867
29868         * configure.in (libc_cv_predef_stack_protector): Only consider
29869         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29870         * configure: Regenerated.
29871
29872 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29873
29874         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29875         New macro.  Use R*LP on int and pointer.
29876         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29877         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29878         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29879         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29880
29881         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29882         [__WORDSIZE_TIME64_COMPAT32] instead of
29883         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29884         (struct utmp): Likewise.
29885         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29886         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29887         Renamed to ...
29888         (__WORDSIZE_TIME64_COMPAT32): This.
29889         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29890         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29891         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29892         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29893         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29894         (__WORDSIZE_TIME64_COMPAT32): New macro.
29895
29896 2012-05-21  Andreas Jaeger  <aj@suse.de>
29897
29898         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29899         only if [SHARED]. Add prototype for __wcschr_ia32.
29900
29901 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29902
29903         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29904         of %rbp unmolested in the jmp_buf while mangling the low bits.
29905         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29906         unmolested high bits of %rbp while demangling the low bits.
29907         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29908
29909 2012-05-21  Andreas Jaeger  <aj@suse.de>
29910
29911         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29912         * sunrpc/svc_simple.c: Use it for registerrpc.
29913         * sunrpc/xcrypt.c: Use it for passwd2des.
29914
29915         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29916
29917 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29918
29919         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29920         Don't define if [__SYSCALL_WORDSIZE != 32].
29921         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29922         New macro.
29923
29924 2012-05-21  Bruno Haible  <bruno@clisp.org>
29925             Andreas Jaeger  <aj@suse.de>
29926
29927         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29928         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29929         inptr and inend for must_buffer_ch.
29930         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29931         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29932         * stdio-common/Makefile (tests): Remove bug15.
29933         (bug15-ENV): Remove macro.
29934         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29935         anymore.
29936
29937 2012-05-19  Andreas Jaeger  <aj@suse.de>
29938             Roland McGrath  <roland@hack.frob.com>
29939
29940         * manual/contrib.texi: Completely rewritten. It contains now an
29941         alphabetical list of contributors and their contributions.
29942
29943 2012-05-21  Richard Henderson  <rth@twiddle.net>
29944
29945         * misc/getauxval.c (__getauxval): Use unsigned long int.
29946         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29947         (getauxval): Use unsigned long int.
29948
29949 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29950
29951         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29952
29953 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29954
29955         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29956         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29957         __alignof__ (long double).
29958
29959 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29960
29961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29962
29963 2012-05-20  Richard Henderson  <rth@twiddle.net>
29964
29965         * misc/getauxval.c: New file.
29966         * misc/sys/auxv.h: New file.
29967         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29968         (routines): Add getauxval.
29969         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29970         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29971         * elf/dl-sysdep.c (_dl_auxv): Remove.
29972         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29973         * elf/dl-support.c (_dl_auxv): New variable.
29974         (_dl_aux_init): Initialize it.
29975         * manual/startup.texi (Auxiliary Vector): New node.
29976         * sysdeps/generic/bits/hwcap.h: New file.
29977         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29978         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
29979         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29980         * sysdeps/sparc/sysdep.h: ... here.  Include it.
29981         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29982         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29984         Update.
29985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29988         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29993
29994 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29995
29996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29997
29998 2012-05-19  David S. Miller  <davem@davemloft.net>
29999
30000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30001
30002 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30003
30004         [BZ #14123]
30005         * math/s_ccosh.c: Include <float.h>
30006         (__ccosh): Avoid internal overflow calculating sinh and cosh
30007         values before multiplying by sin and cos values.
30008         * math/s_ccoshf.c: Likewise.
30009         * math/s_ccoshl.c: Likewise.
30010         * math/s_csin.c: Likewise.
30011         * math/s_csinf.c: Likewise.
30012         * math/s_csinl.c: Likewise.
30013         * math/s_csinh.c: Likewise.
30014         * math/s_csinhf.c: Likewise.
30015         * math/s_csinhl.c: Likewise.
30016         * math/libm-test.inc (ccos_test): Add more tests.
30017         (ccosh_test): Likewise.
30018         (csin_test): Likewise.
30019         (csinh_test): Likewise.
30020         * sysdeps/i386/fpu/libm-test-ulps: Update.
30021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30022
30023 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
30024
30025         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30026         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30027
30028         * sysdeps/x86_64/x32/_itoa.h: Add comment.
30029
30030 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30031
30032         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30033         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30034         * sysdeps/powerpc/soft-fp/Versions: Likewise.
30035         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30036         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30037         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30038         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30039         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30040         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30041         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30042         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30043         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30044         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30045         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30046         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30047         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30048         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30049         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30050         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30051         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30052         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30053         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30054         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30055         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30056         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30057         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30058         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30059         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30060         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30061         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30062         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30063
30064 2012-05-18  Andreas Jaeger  <aj@suse.de>
30065
30066         * csu/.gitignore: Delete.
30067
30068 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30069
30070         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30071         (timex): Use __syscall_slong_t.
30072
30073 2012-05-18  Andreas Jaeger  <aj@suse.de>
30074             Carlos O'Donell  <carlos_odonell@mentor.com>
30075
30076         * manual/install.texi (Configuring and compiling): Update
30077         description about files modified in the source directory.
30078         * INSTALL: Regenerated.
30079
30080 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30081
30082         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30083         value.  Use "or" to set return value to -1.
30084         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30085         negate return value.
30086
30087 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30088
30089         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30090         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30091         failure if the compiler has Graphite support disabled.
30092         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30093         Likewise.
30094         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30095         (CFLAGS-memmove.c): Likewise.
30096         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30097         Likewise.
30098
30099 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30100
30101         * sysdeps/x86_64/x32/_itoa.h: New file.
30102
30103         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30104         getdents system call only if kernel and user dirents have the
30105         same d_ino and d_off.
30106
30107         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30108         LLONG_MAX != LONG_MAX.
30109         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30110         (_fitoa_word): Likewise.
30111
30112         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30113         years.
30114         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30115         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30116         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30117
30118         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30119         include <bits/wordsize.h>.  Check __x86_64__ instead of
30120         __WORDSIZE.
30121         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30122         if __x86_64__ is defined.  Use anonymous union on fpstate.
30123
30124         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30125         anonymous union.
30126
30127 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
30128
30129         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30130         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30131         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30132         Refer to _rtld_local_ro instead of _rtld_global_ro.
30133         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30134         Likewise.
30135         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30136         Likewise.
30137         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30138         Likewise.
30139         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30140         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30141         of _rtld_global, and rtld_progname instead of _dl_argv[0].
30142
30143         * sysdeps/powerpc/powerpc32/dl-machine.c
30144         (__elf_machine_runtime_setup) [PROF]: Don't reference
30145         _dl_prof_resolve.
30146
30147 2012-05-18  Andreas Jaeger  <aj@suse.de>
30148
30149         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30150         function only available for GCCs before 3.4 since GCC 3.4
30151         introduced a builtin.
30152         (lrint): Likewise.
30153         (llrintf): Likewise.
30154         (llrint): Likewise.
30155         (fmaxf): Likewise.
30156         (fmax): Likewise.
30157         (fminf): Likewise.
30158         (fmin): Likewise.
30159         (rint): Likewise.
30160         (rintf): Likewise.
30161         (nearbyint): Likewise.
30162         (nearbyintf): Likewise.
30163         (ceil): Likewise.
30164         (ceilf): Likewise.
30165         (floor): Likewise.
30166         (floorf): Likewise.
30167
30168 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30169
30170         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30171         on both fields and cast pointer to __syscall_ulong_t.
30172
30173         * bits/types.h (__fsword_t): New type.
30174         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30175         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30176         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30177         (__FSWORD_T_TYPE): Likewise.
30178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30179         (__FSWORD_T_TYPE): Likewise.
30180         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30181         (__FSWORD_T_TYPE): Likewise.
30182         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30183         (__FSWORD_T_TYPE): Likewise.
30184         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30185         __SWORD_TYPE with __fsword_t.
30186         (statfs64): Likewise.
30187
30188 2012-05-17  David S. Miller  <davem@davemloft.net>
30189
30190         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30191
30192 2012-05-17  Andreas Jaeger  <aj@suse.de>
30193
30194         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30195         warning.
30196
30197 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30198
30199         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30200
30201 2012-05-17  Andreas Jaeger  <aj@suse.de>
30202
30203         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30204         when it is used.
30205
30206 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30207
30208         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30209
30210 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30211
30212         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30213         * sysdeps/x86_64/tst-mallocalign1.c: New file.
30214
30215 2012-05-17  Andreas Jaeger  <aj@suse.de>
30216             Carlos O'Donell  <carlos_odonell@mentor.com>
30217
30218         [BZ #14059]
30219         * sysdeps/x86_64/multiarch/init-arch.h
30220         (bit_YMM_Usable): Rename to...
30221         (bit_AVX_Usable): ... this.
30222         (bit_FMA4_Usable): New macro.
30223         (bit_XMM_state): New macro.
30224         (bit_YMM_state): New macro.
30225         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30226         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30227         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30228         (CPUID_OSXSAVE): New macro.
30229         (CPUID_AVX): New macro.
30230         (CPUID_FMA4): New macro.
30231         (index_YMM_Usable): Rename to...
30232         (index_AVX_Usable): ... this.
30233         (HAS_AVX): Use HAS_ARCH_FEATURE.
30234         (HAS_FMA4): Likewise.
30235         (HAS_YMM_USABLE): Remove.
30236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30237         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30238         are present.
30239         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30240         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30241         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30242         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30243         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30244
30245 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30246
30247         * math/libm-test.c: Support platforms without multiple rounding modes.
30248         * math/bug-nextafter.c: Support platforms without FP exceptions.
30249         * math/bug-nexttoward.c: Likewise.
30250         * math/test-fenv.c: Likewise.
30251         * math/test-misc.c: Likewise.
30252         * stdlib/bug-getcontext.c: Likewise.
30253
30254 2012-05-17  Andreas Jaeger  <aj@suse.de>
30255
30256         * manual/examples/search.c (critter_cmp): Change signature to
30257         avoid warnings.
30258         * manual/string.texi (Collation Functions): Likewise.
30259
30260 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30261
30262         * bits/types.h: Fold copyright years.
30263         * bits/typesizes.h: Likewise.
30264         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30266         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30267         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30268         * time/time.h: Likewise.
30269
30270 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30271
30272         [BZ #208]
30273         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30274         in instead of returning them.  Return void.
30275         (__libc_mallinfo): Accumulate over all arenas.
30276         (__malloc_stats): Adjust for change in int_mallinfo interface.
30277
30278 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30279
30280         [BZ #10375]
30281         * configure.in (NM): Add AC_CHECK_TOOL for it.
30282         (libc_extra_cflags): New substituted variable.
30283         Check for -fstack-protector being used implicitly.
30284         * configure: Regenerated.
30285         * config.make.in (config-extra-cflags): New variable,
30286         gets @libc_extra_cflags@.
30287         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30288
30289         [BZ #10375]
30290         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30291         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30292         * configure: Regenerated.
30293         * config.make.in (CPPUNDEFS): New substituted variable.
30294         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30295         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30296         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30297
30298 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30299
30300         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30301         (mq_attr): Use __syscall_slong_t.
30302
30303 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30304
30305         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30306         Check __x86_64__ instead of __WORDSIZE.
30307         (_STAT_VER_LINUX): Likewise.
30308         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30309         __syscall_ulong_t and __syscall_slong_t.
30310         (stat64): Likewise.
30311
30312 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30313
30314         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30315
30316 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30317
30318         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30319
30320 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30321
30322         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30323         __syscall_ulong_t.
30324
30325         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30326         include <bits/wordsize.h>.  Check __x86_64__ instead of
30327         __WORDSIZE.
30328         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30329         defined.
30330         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30331
30332         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30333         include <bits/wordsize.h>.  Check __x86_64__ instead of
30334         __WORDSIZE.
30335         (user_regs_struct): Use "__extension__ unsigned long long"
30336         instead of "unsigned long" if __x86_64__ is defined.
30337         (user): Likewise.  Pad after pointer field if __ILP32__ is
30338         defined.
30339
30340 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30341
30342         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30343         versions 5 to 9.
30344         * configure: Regenerated.
30345         * manual/install.texi (texinfo): Increase version requirement to
30346         4.5 or later.
30347         * INSTALL: Regenerated.
30348
30349         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30350
30351 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30352
30353         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30354
30355         * sysdeps/x86_64/x32/ffs.c: New file.
30356
30357         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30358         __syscall_ulong_t.
30359         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30360         defined.  Use __syscall_ulong_t.
30361         (shminfo): Use __syscall_ulong_t.
30362         (shm_info): Likewise.
30363
30364         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30365         __syscall_ulong_t.
30366
30367         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30368         <bits/wordsize.h>.
30369         (msgqnum_t): Use __syscall_ulong_t.
30370         (msglen_t): Likewise.
30371         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30372         __syscall_ulong_t.
30373
30374         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30375         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30376
30377         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30378
30379         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30380         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30381
30382         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30383         __syscall_slong_t.
30384
30385         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30386         include <bits/wordsize.h>.  Check __x86_64__ instead of
30387         __WORDSIZE.
30388
30389         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30390         "unsigned long long int" if __x86_64__ is defined.
30391         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30392
30393         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30394         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30395         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30396
30397         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30398         <stdint.h>.
30399         (GET_PC): Cast to uintptr_t first.
30400         (GET_FRAME): Likewise.
30401         (GET_STACK): Likewise.
30402
30403         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30404         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30405         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30406         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30407         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30408         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30409         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30410         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30411         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30412         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30413         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30414         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30415         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30416         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30417         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30418         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30419         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30420         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30421         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30422         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30423         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30424         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30425         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30426         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30427         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30428         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30429         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30430         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30431         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30432
30433 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30434
30435         * Makerules (+depfiles): Also collect depfiles from .oS in
30436         $(extra-objs).
30437         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30438         .oS, $(libnldbl-routines)).
30439
30440         * Makerules (native-compile-mkdep-flags): Define.
30441         * sunrpc/Makefile (extra-objs): Add $(addprefix
30442         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30443         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30444         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30445         calling $(make-target-directory).
30446
30447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30448
30449         * bits/types.h (__snseconds_t): Removed.
30450         * time/time.h (struct timespec): Replace __snseconds_t with
30451         __syscall_slong_t.
30452         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30453         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30454         Likewise.
30455         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30456         (__SNSECONDS_T_TYPE): Likewise.
30457         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30458         (__SNSECONDS_T_TYPE): Likewise.
30459         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30460         (__SNSECONDS_T_TYPE): Likewise.
30461
30462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30463
30464         * sysdeps/mach/hurd/bits/typesizes.h
30465         (__SYSCALL_SLONG_TYPE): New macro.
30466         (__SYSCALL_ULONG_TYPE): Likewise.
30467
30468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30469
30470         * bits/types.h (__syscall_slong_t): New type.
30471         (__syscall_ulong_t): Likewise.
30472
30473         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30474         (__SYSCALL_ULONG_TYPE): Likewise.
30475         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30476         (__SYSCALL_SLONG_TYPE): Likewise.
30477         (__SYSCALL_ULONG_TYPE): Likewise.
30478         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30479         (__SYSCALL_SLONG_TYPE): Likewise.
30480         (__SYSCALL_ULONG_TYPE): Likewise.
30481         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30482         (__SYSCALL_SLONG_TYPE): Likewise.
30483         (__SYSCALL_ULONG_TYPE): Likewise.
30484
30485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30486
30487         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30488         Add sigaltstack-offsets.sym.
30489         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30490         <sigaltstack-offsets.h>.
30491         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30492         longjmp_msg pointer.
30493         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30494         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30495         signal stack.
30496         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30497
30498 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30499
30500         * elf/stackguard-macros.h: Remove file.
30501         * sysdeps/generic/stackguard-macros.h: New file.
30502         * sysdeps/i386/stackguard-macros.h: Likewise.
30503         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30504         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30505         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30506         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30507         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30508         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30509         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30510         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30511         <elf/stackguard-macros.h>.
30512
30513         [BZ #14109]
30514         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30515         __aligned__ in attribute.
30516         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30517         (gregset_t): Likewise.
30518
30519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30520
30521         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30522         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30523         * sysdeps/x86_64/x32/Implies-after: New file.
30524
30525 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30526
30527         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30528         and access return value for _dl_profile_fixup.  Use R10_LP to
30529         load frame size.
30530
30531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30532
30533         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30534
30535 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30536
30537         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30538         * sysdeps/x86_64/x32/sysdep.h: New file.
30539
30540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30541
30542         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30543         * sysdeps/x86_64/setjmp.S: Likewise.
30544
30545 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30546
30547         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30548         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30549         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30550         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30551         remove unused global constant.
30552
30553 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30554
30555         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30556         include of <not-cancel.h>.
30557
30558 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30559
30560         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30561
30562 2012-05-15  Jeff Law  <law@redhat.com>
30563             Andreas Jaeger  <aj@suse.de>
30564
30565         [BZ #13594]
30566         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30567         out from...
30568         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30569         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30570         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30571         code changing __hst_map_handle.map.
30572
30573 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30574
30575         * configure.in (sysnames): Look for Implies-before and Implies-after
30576         files.
30577         * configure: Regenerated.
30578
30579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30580
30581         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30582         8-byte data alignment with LP_SIZE alignment.
30583
30584 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30585
30586         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30587         into R10_LP.
30588
30589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30590
30591         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30592
30593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30594
30595         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30596         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30597         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30598         Likewise.
30599         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30600
30601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30602
30603         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30604         (stackinfo_sub_sp): Likewise.
30605
30606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30607
30608         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30609         RAX_LP.
30610
30611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30612
30613         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30614         into R*_LP.
30615
30616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30617
30618         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30619         sizes into R*_LP.
30620
30621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30622
30623         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30624
30625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30626
30627         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30628         into R11_LP and load __x86_64_shared_cache_size_half into
30629         R8_LP.
30630
30631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30632
30633         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30634         R8_LP.
30635
30636 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30637
30638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30639         logb for POWER7.
30640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30641         logbf for POWER7.
30642         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30643         logbl for POWER7.
30644         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30645         powerpc32/power7/fpu/s_logb.c via #include.
30646         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30647         powerpc32/power7/fpu/s_logbf.c via #include.
30648         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30649         powerpc32/power7/fpu/s_logbl.c via #include.
30650
30651 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30652
30653         * README.libm: Remove file.
30654
30655 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30656
30657         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30658         count for x32.  Use R*_LP and omit operand-size suffix.
30659
30660 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30661
30662         * shlib-versions: Move x86_64-.*-linux.* entries to ...
30663         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
30664         * sysdeps/x86_64/x32/shlib-versions: New file.
30665
30666 2012-05-14  Roland McGrath  <roland@hack.frob.com>
30667
30668         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30669         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30670         Use _dl_fatal_printf instead.
30671
30672 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30673
30674         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30675         set if not set by the user.  Do not allow for being unset.
30676         * sysdeps/unix/sysv/linux/configure: Regenerated.
30677
30678 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30679
30680         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30681         the `q' suffix from lea and replace .quad with ASM_ADDR.
30682
30683 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30684
30685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30686         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
30687         instead of $17.
30688         (PTR_DEMANGLE): Likewise.
30689
30690 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30691
30692         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30693         (LP_OP): Likewise.
30694         (ASM_ADDR): Likewise.
30695         (RAX_LP): Likewise.
30696         (RBP_LP): Likewise.
30697         (RBX_LP): Likewise.
30698         (RCX_LP): Likewise.
30699         (RDI_LP): Likewise.
30700         (RSI_LP): Likewise.
30701         (RSP_LP): Likewise.
30702         (R8_LP): Likewise.
30703         (R9_LP): Likewise.
30704         (R10_LP): Likewise.
30705         (R10_LP): Likewise.
30706         (R11_LP): Likewise.
30707         (R12_LP): Likewise.
30708         (R13_LP): Likewise.
30709         (R14_LP): Likewise.
30710         (R15_LP): Likewise.
30711
30712 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30713
30714         * sysdeps/x86_64/x32/dl-machine.h: New file.
30715
30716 2012-05-14  Andreas Jaeger  <aj@suse.de>
30717
30718         * manual/Makefile (subdir): Remove export of subdir.
30719         (all): Remove target.
30720         (.PHONY): Remove all from list.
30721         (mkinstalldirs): Remove.
30722         (.PHONY): Remove installdirs from list.
30723         ($(inst_infodir)/libc.info): Use make-target-directory.
30724         (installdirs): Remove.
30725         (subdir_%): Remove.
30726         (glibc-targets): Remove.
30727         (lib): Remove.
30728         (stubs): Remove.
30729         ($(objpfx)stubs ../po/manual.pot): Remove.
30730         ($(objpfx)stamp%): Remove.
30731         (make-target-directory): Remove.
30732         (subdir_install): Remove.
30733         (routines): Remove.
30734         (aux): Remove.
30735         (sources): Remove.
30736         (objects): Remove.
30737         (headers): Remove.
30738
30739         [BZ #13750]
30740         * manual/.gitignore: Remove, it's not needed anymore.
30741         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30742         all files in it.
30743         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30744         directory.
30745         (texis): Renamed to $(objpfx)texis.
30746         (texis-path): New, contains path to generated files.
30747         (chapters.%): Use texis-path for complete path, add extra argument
30748         libc-texinfo.sh.
30749         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30750         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30751         (summary,texi, stamp-summary): Use complete path of
30752         files. Generate files in build dir.
30753         (dir-add.texi): Build in build dir.
30754         (libm-err.texi,stamp-libm-err): Likewise.
30755         (version.texi, stamp-version): Likewise.
30756         (.%c.texi): Likewise.
30757         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30758         (mostlyclean): Remove target.
30759         (realclean): Remove target.
30760         (generated): Add new variable with contents from mostlyclean and
30761         realclean, remove entries duplicated in common-mostlyclean, add
30762         stamp-libm-err and stamp-version.
30763         (generated-dirs): Add libc directory.
30764         ($(inst_infodir)/libc.info): Install files from build dir.
30765
30766         * manual/install.texi (Configuring and compiling): Adjust since
30767         the info files are not part of the tar ball anymore.
30768
30769 2012-05-14  Andreas Jaeger  <aj@suse.de>
30770
30771         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30772         variable.
30773
30774 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30775
30776         [BZ #13717]
30777         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30778         to 2.2.0 where earlier.
30779         * sysdeps/unix/sysv/linux/configure: Regenerated.
30780         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30781         Remove conditional code.
30782         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30783         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30784         Remove conditional code.
30785         [!__NR_lchown]: Likewise.
30786         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30787         [__NR_lchown]: Likewise.
30788         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30789         comment referencing __ASSUME_LCHOWN_SYSCALL.
30790         * sysdeps/unix/sysv/linux/i386/sigaction.c
30791         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30792         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30793         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30794         Remove conditional code.
30795         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30796         (__protocol_available): Remove #if 0 code.
30797         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30798         conditional code.
30799         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30800         * sysdeps/unix/sysv/linux/kernel-features.h
30801         (__ASSUME_GETCWD_SYSCALL): Don't define.
30802         (__ASSUME_REALTIME_SIGNALS): Likewise.
30803         (__ASSUME_PREAD_SYSCALL): Likewise.
30804         (__ASSUME_PWRITE_SYSCALL): Likewise.
30805         (__ASSUME_POLL_SYSCALL): Likewise.
30806         (__ASSUME_LCHOWN_SYSCALL): Likewise.
30807         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30808         non-SPARC.
30809         (__ASSUME_SIOCGIFNAME): Don't define.
30810         (__ASSUME_MSG_NOSIGNAL): Likewise.
30811         (__ASSUME_SENDFILE): Define unconditionally.
30812         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30813         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30814         conditional code.
30815         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30816         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30817         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30818         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30819         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30820         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30821         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30823         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30824         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30826         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30827         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30829         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30830         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30832         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30833         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30835         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30836         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30838         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30839         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30841         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30842         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30844         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30845         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30846         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30847         Remove conditional code.
30848         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30849         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30850         Remove conditional code.
30851         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30852         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30853         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30854         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30855         Remove conditional code.
30856         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30857         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30858         Remove conditional code.
30859         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30860         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30861         Remove conditional code.
30862         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30863         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30864         Remove conditional code.
30865         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30866         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30867         Remove conditional code.
30868         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30869         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30870         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30871         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30872         * sysdeps/unix/sysv/linux/sigaction.c
30873         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30874         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30875         * sysdeps/unix/sysv/linux/sigpending.c
30876         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30877         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30878         * sysdeps/unix/sysv/linux/sigprocmask.c
30879         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30880         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30881         * sysdeps/unix/sysv/linux/sigsuspend.c
30882         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30883         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30884         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30885         (__libc_missing_rt_sigs): Remove.
30886         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30887         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30888         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30889         Remove conditional code.
30890         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30891         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30892         return 1.
30893         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30894         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30895         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30896         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30897
30898 2012-05-14  Andreas Jaeger  <aj@suse.de>
30899
30900         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30901         it's not used in glibc.
30902         (__coshm1): Likewise.
30903         (__acosh1p): Likewise.
30904         (__sgn): Likewise.
30905
30906         * manual/string.texi (Copying and Concatenation): Add missing
30907         variable in concat example.
30908         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30909
30910 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30911
30912         [BZ #14103]
30913         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30914         __builtin_clzl with __builtin_clzll.
30915
30916 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30917
30918         [BZ #14104]
30919         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30920         libc_freeres_ptr.
30921
30922 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30923
30924         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30925         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30926         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30927         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30928
30929 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30930
30931         * NEWS: Update ia64 info.
30932
30933 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30934
30935         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30936         used as bcopy.
30937
30938 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30939
30940         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30941         * sysdeps/unix/syscalls.list (dup3): Likewise.
30942         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30943         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30944
30945 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30946
30947         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30948         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30949
30950 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30951
30952         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30953         thread pointer.
30954         (TLS_IE): Use mov/add instead of movq/addq to load thread
30955         pointer.
30956         (TLS_GD_PREFIX): New.
30957         (TLS_GD): Use it.
30958
30959 2012-05-11  David S. Miller  <davem@davemloft.net>
30960
30961         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30962         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30963         (_FPU_SETCW): Likewise.
30964
30965 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30966
30967         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30968         is 32-byte aligned.
30969
30970 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
30971
30972         [BZ #11837]
30973         * iconvdata/gb18030.c: Update tables.
30974         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
30975         characters specially.
30976         (BODY for TO_LOOP): Add encoding of missing ranges.
30977
30978 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
30979
30980         [BZ #13673]
30981         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30982         * sysdeps/mach/hurd/dup3.c: Likewise.
30983         * sysdeps/mach/hurd/readlinkat.c: Likewise.
30984         * sysdeps/powerpc/memmove.c:: Likewise.
30985
30986 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30987
30988         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30989         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30990
30991 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30992
30993         * elf/elf.h (R_X86_64_RELATIVE64): New.
30994         (R_X86_64_NUM): Updated.
30995         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30996         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
30997         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30998         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30999         tst-quad1pie tst-quad2pie
31000         (modules-names): Add tst-quadmod1 tst-quadmod2.
31001         ($(objpfx)tst-quad1): New dependency.
31002         ($(objpfx)tst-quad2): Likewise.
31003         ($(objpfx)tst-quad1pie): Likewise.
31004         ($(objpfx)tst-quad2pie): Likewise.
31005         * sysdeps/x86_64/tst-quad1.c: New file.
31006         * sysdeps/x86_64/tst-quad1pie.c: New file.
31007         * sysdeps/x86_64/tst-quad2.c: Likewise.
31008         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31009         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31010         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31011         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31012         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31013
31014 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31015
31016         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31017         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31018         * streams/stropts.h (t_scalar_t): Define type.
31019
31020         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31021         (_PATH_PRESERVE): Set to "/var/lib".
31022         (_PATH_RWHODIR): Set to "/var/spool/rwho".
31023
31024         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31025         instead of int.
31026
31027         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31028         if __dir_mkfile succeeded.
31029
31030         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31031         checking for _hurd_dtablesize.  Unlock it right after having
31032         finished _hurd_dtable allocation.
31033
31034 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31035
31036         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31037         * sysdeps/mach/hurd/configure: Regenerated.
31038         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31039         special-casing to...
31040         * sysdeps/gnu/configure.in: ... this new file.
31041         * sysdeps/unix/sysv/linux/configure: Regenerated.
31042         * sysdeps/gnu/configure: New generated file.
31043
31044         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31045         for Linux: use nsec instead of usec, as well as:
31046         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31047         members of type struct timespec.
31048         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31049         New macros.
31050         (struct stat64): Likewise.
31051         (_STATBUF_ST_NSEC): New macro.
31052         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31053
31054         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31055         __strtoul_internal rather than strtoul.
31056
31057 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31058
31059         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31060         and reject them.
31061
31062 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31063
31064         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31065         which preserves existing values.
31066         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31067
31068 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31069
31070         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31071         TIMEOUT values.  Return EINVAL for NFDS values either negative or
31072         greater than FD_SETSIZE.
31073
31074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31075
31076         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31077         allocated, call __vm_protect to finish enabling the existing space, and
31078         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31079         allocate the remainder.
31080
31081 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31082
31083         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31084         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
31085
31086 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31087
31088         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31089         sysdeps/mach/hurd/readlink.c.
31090
31091         * posix/tst-sysconf.c (posix_options): Only use
31092         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31093         _POSIX_SYNCHRONIZED_IO when they are defined
31094         * sysdeps/mach/hurd/bits/posix_opt.h:
31095         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31096         (_XOPEN_REALTIME): Undefine macro.
31097         (_XOPEN_REALTIME_THREADS): Undefine macro.
31098         (_XOPEN_SHM): Undefine macro.
31099         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31100         macro to -1.
31101         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31102         macro to -1.
31103         (_POSIX_ASYNC_IO): Undefine macro.
31104         (_POSIX_PRIORITIZED_IO): Undefine macro.
31105         (_POSIX_SPIN_LOCKS): Define macro to -1.
31106
31107         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31108         SA_NODEFER, SA_RESETHAND.
31109         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31110         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31111         F_DUPFD_CLOEXEC.
31112
31113 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31114
31115         * elf/Makefile (pldd-modules): Define unconditionally.
31116
31117 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31118
31119         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31120
31121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31122
31123         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31124         Return ENOENT when name is empty.
31125         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31126
31127 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31128
31129         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31130
31131         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31132
31133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31134
31135         Fix mlock in all cases except non-readable pages.
31136         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31137         instead of VM_PROT_ALL as parameter to __vm_wire function.
31138
31139         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31140         (__mkdir): When path is `/', just fail with EEXIST.
31141         * sysdeps/mach/hurd/mkdirat.c: Likewise.
31142
31143 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31144
31145         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31146         <sys/uio.h> (for writev).
31147         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31148         and <sys/param.h> (for MIN).
31149
31150 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31151
31152         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31153         REQUESTED_TIME.  Properly set the remaining time and return EINTR
31154         if interrupted.
31155
31156 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31157
31158         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31159         Depend on against $(link-rpcuserlibs).
31160
31161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31162
31163         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31164         (__libc_stack_end): Do not use attribute_relro.
31165         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31166         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31167         to libthread-provided value.
31168         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31169         attribute_relro.
31170
31171 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31172
31173         [BZ #3748]
31174         * bits/libc-lock.h (__libc_once_get): New macro.
31175         * sysdeps/mach/bits/libc-lock.h: Likewise.
31176         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31177         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31178         instead of using implementation details.
31179
31180         * libio/fileops.c: Unconditionally include <kernel-features.h>.
31181         * libio/freopen.c: Likewise.
31182         * libio/freopen64.c: Likewise.
31183         * misc/syslog.c: Likewise.
31184         * nscd/connections.c: Likewise.
31185         * nscd/netgroupcache.c: Likewise.
31186         * sysdeps/posix/getcwd.c: Likewise.
31187
31188 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31189
31190         * math/w_ilogbf.c: Add #include <limits.h>.
31191
31192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31193
31194         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31195         path instead of returning without unlocking.
31196
31197         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31198         immediate-write ioctls.
31199         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31200
31201 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31202
31203         * sysdeps/mach/hurd/i386/init-first.c (init): Use
31204         __builtin_frame_address instead of making assumptions about the
31205         location of the return address relative to DATA.  Force early load of
31206         the return address.
31207         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31208         __builtin_frame_address.
31209
31210         dup3 for GNU Hurd.
31211         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31212         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
31213         implement dup3 and do some further code clean-ups.
31214         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31215         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31216
31217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31218
31219         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31220
31221         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31222         HURD_CRITICAL_END around holding _hurd_dtable_lock.
31223         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31224         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31225         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31226         d->port.lock.
31227
31228         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31229         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31230         when handler == SIG_ERR, not when handler != SIG_ERR.
31231
31232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31233
31234         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31235         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31236         definitions.
31237
31238         accept4 for GNU Hurd.
31239         * include/sys/socket.h (__libc_accept4): New prototype.
31240         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31241         to implement __libc_accept4.
31242         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31243         __libc_accept4.
31244         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31245
31246         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31247         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31248         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31249         signal-defines.sym.
31250
31251 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31252
31253         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31254
31255 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31256
31257         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31258         assertion on O_CLOEXEC flag.
31259         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31260         * hurd/intern-fd.c: Likewise.
31261         * hurd/port2fd.c: Likewise.
31262
31263 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31264
31265         [BZ #3906]
31266         * bits/in.h (IPV6_PKTINFO): Define new macro.
31267         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31268
31269 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31270
31271         [BZ #13954]
31272         [BZ #13955]
31273         [BZ #13956]
31274         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31275         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31276         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31277         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31278         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31279         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31280         * math/libm-test.inc (logb_test) : Additional logb tests.
31281
31282 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31283             Andreas Jaeger  <aj@suse.de>
31284
31285         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31286         * configure: Regenerated.
31287         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31288         * config.make.in (link-obsolete-rpc): New substituted variable.
31289         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31290         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31291         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31292         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31293         so that libc.a contains the symbols.
31294         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31295         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31296         * sunrpc/auth_none.c: Likewise.
31297         * sunrpc/auth_unix.c: Likewise.
31298         * sunrpc/authdes_prot.c: Likewise.
31299         * sunrpc/authuxprot.c: Likewise.
31300         * sunrpc/clnt_gen.c: Likewise.
31301         * sunrpc/clnt_perr.c: Likewise.
31302         * sunrpc/clnt_raw.c: Likewise.
31303         * sunrpc/clnt_simp.c: Likewise.
31304         * sunrpc/clnt_tcp.c: Likewise.
31305         * sunrpc/clnt_udp.c: Likewise.
31306         * sunrpc/clnt_unix.c: Likewise.
31307         * sunrpc/des_crypt.c: Likewise.
31308         * sunrpc/des_soft.c: Likewise.
31309         * sunrpc/get_myaddr.c: Likewise.
31310         * sunrpc/key_call.c: Likewise.
31311         * sunrpc/key_prot.c: Likewise.
31312         * sunrpc/netname.c: Likewise.
31313         * sunrpc/pm_getmaps.c: Likewise.
31314         * sunrpc/pm_getport.c: Likewise.
31315         * sunrpc/pmap_clnt.c: Likewise.
31316         * sunrpc/pmap_prot.c: Likewise.
31317         * sunrpc/pmap_prot2.c: Likewise.
31318         * sunrpc/pmap_rmt.c: Likewise.
31319         * sunrpc/publickey.c: Likewise.
31320         * sunrpc/rpc_cmsg.c: Likewise.
31321         * sunrpc/rpc_common.c: Likewise.
31322         * sunrpc/rpc_dtable.c: Likewise.
31323         * sunrpc/rpc_prot.c: Likewise.
31324         * sunrpc/rpc_thread.c: Likewise.
31325         * sunrpc/rtime.c: Likewise.
31326         * sunrpc/svc.c: Likewise.
31327         * sunrpc/svc_auth.c: Likewise.
31328         * sunrpc/svc_raw.c: Likewise.
31329         * sunrpc/svc_run.c: Likewise.
31330         * sunrpc/svc_tcp.c: Likewise.
31331         * sunrpc/svc_udp.c: Likewise.
31332         * sunrpc/svc_unix.c: Likewise.
31333         * sunrpc/svcauth_des.c: Likewise.
31334         * sunrpc/xcrypt.c: Likewise.
31335         * sunrpc/xdr.c: Likewise.
31336         * sunrpc/xdr_array.c: Likewise.
31337         * sunrpc/xdr_float.c: Likewise.
31338         * sunrpc/xdr_intXX_t.c: Likewise.
31339         * sunrpc/xdr_mem.c: Likewise.
31340         * sunrpc/xdr_rec.c: Likewise.
31341         * sunrpc/xdr_ref.c: Likewise.
31342         * sunrpc/xdr_sizeof.c: Likewise.
31343         * sunrpc/xdr_stdio.c: Likewise.
31344
31345 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31346
31347         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31348         change.  Update copyright years.
31349
31350 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31351
31352         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31353
31354 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31355             Joseph Myers  <joseph@codesourcery.com>
31356             Paul Pluzhnikov  <ppluzhnikov@google.com>
31357
31358         [BZ #14012]
31359         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31360         requiring rpcgen.
31361         [cross-compiling] (extra-libs): Likewise.
31362         [cross-compiling] (extra-libs-others): Likewise.
31363         [cross-compiling] (librpcsvc-routines): Likewise.
31364         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31365         [cross-compiling] (omit-deps): Likewise.
31366         (sunrpc-CPPFLAGS): New variable.
31367         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31368         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31369         (cross-rpcgen-objs): New variable.
31370         (extra-objs): Append $(cross-rpcgen-objs).
31371         ($(cross-rpcgen-objs)): New rule.
31372         ($(objpfx)cross-rpcgen): Likewise.
31373         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31374         comment.
31375         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31376         ($(objpfx)x%.stmp): Likewise.
31377         * sunrpc/proto.h [IS_IN_build] (_): Define.
31378         [IS_IN_build] (_libc_intl_domainname): Likewise.
31379
31380 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31381
31382         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31383         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31384         and R_X86_64_TPOFF64.
31385
31386 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31387
31388         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31389         sysdeps/unix/sysv/syscalls.list.
31390         (stime): Likewise.
31391         (utime): Likewise.
31392         * sysdeps/unix/sysv/syscalls.list: Remove file.
31393
31394 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31395
31396         [BZ #3440]
31397         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31398         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31399         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31400         (__LC_IDENTIFICATION): Make these macros useful in #if
31401         expressions, as required by C99.
31402
31403 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31404
31405         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31406         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31407         after this.
31408
31409 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31410
31411         * stdlib/longlong.h: Updated from GCC.
31412
31413 2012-05-09  Andreas Jaeger  <aj@suse.de>
31414
31415         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31416         default is first entry.
31417         (run_mode): Set type.
31418         (main): Remove informal message about syslog.
31419         (options): Fix typo.
31420
31421         [BZ #14053]
31422         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31423         to asm.
31424         (lrint): Likewise.
31425         (llrintf): Likewise.
31426         (llrint): Likewise.
31427         (rint): Likewise.
31428         (rintf): Likewise.
31429         (nearbyint): Likewise.
31430         (nearbyintf): Likewise.
31431
31432 2012-05-09  Andreas Jaeger  <aj@suse.de>
31433             Pedro Alves  <palves@redhat.com>
31434
31435         * nscd/nscd.c (run_mode): Use enum.
31436         (main): Cleanup coding style issue.
31437
31438 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31439             Andreas Jaeger  <aj@suse.de>
31440
31441         * nscd/nscd.c (go_background): Replaced with...
31442         (run_mode): ... this.
31443         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31444         (options): Add -F --foreground.
31445         (main): Implement it.
31446         (parse_opt): Parse it.
31447
31448 2012-05-09  Andreas Jaeger  <aj@suse.de>
31449
31450         [BZ #14083]
31451         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31452         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31453         -Wconversion warning.
31454         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31455         Likewise.
31456
31457 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31458
31459         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31460         == 0.
31461         (LC_ALL): Use macro-int-constant.
31462         (LC_COLLATE): Likewise.
31463         (LC_CTYPE): Likewise.
31464         (LC_MESSAGES): Likewise.
31465         (LC_MONETARY): Likewise.
31466         (LC_NUMERIC): Likewise.
31467         (LC_TIME): Likewise.
31468         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31469         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31470         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31471         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31472         Specify type.
31473         [C99-based standards] (float_t): Expect type.
31474         [C99-based standards] (double_t): Expect type.
31475         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31476         type.
31477         [C99-based standards] (HUGE_VALL): Likewise.
31478         [C99-based standards] (INFINITY): Likewise.
31479         [C99-based standards] (NAN): Likewise.
31480         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31481         [C99-based standards] (FP_NAN): Likewise.
31482         [C99-based standards] (FP_NORMAL): Likewise.
31483         [C99-based standards] (FP_SUBNORMAL): Likewise.
31484         [C99-based standards] (FP_ZERO): Likewise.
31485         [C99-based standards] (FP_FAST_FMA): Use
31486         optional-macro-int-constant.  Specify type.  Require == 1.
31487         [C99-based standards] (FP_FAST_FMAF): Likewise.
31488         [C99-based standards] (FP_FAST_FMAL): Likewise.
31489         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31490         [C99-based standards] (FP_ILOGBNAN): Likewise.
31491         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31492         Specify type.
31493         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31494         [C99-based standards] (math_errhandling): Specify type.
31495         [ISO99 || ISO11] (signgam): Do not allow.
31496         [non-C99-based standards] (copysignf): Do not allow.
31497         [non-C99-based standards] (exp2f): Likewise.
31498         [non-C99-based standards] (log2f): Likewise.
31499         [non-C99-based standards] (modff): Allow.
31500         [non-C99-based standards] (erff): Do not allow.
31501         [non-C99-based standards] (erfcf): Likewise.
31502         [non-C99-based standards] (gammaf): Likewise.
31503         [non-C99-based standards] (hypotf): Likewise.
31504         [non-C99-based standards] (j0f): Likewise.
31505         [non-C99-based standards] (j1f): Likewise.
31506         [non-C99-based standards] (jnf): Likewise.
31507         [non-C99-based standards] (lgammaf): Likewise.
31508         [non-C99-based standards] (tgammaf): Likewise.
31509         [non-C99-based standards] (y0f): Likewise.
31510         [non-C99-based standards] (y1f): Likewise.
31511         [non-C99-based standards] (ynf): Likewise.
31512         [non-C99-based standards] (isnanf): Likewise.
31513         [non-C99-based standards] (acoshf): Likewise.
31514         [non-C99-based standards] (asinhf): Likewise.
31515         [non-C99-based standards] (atanhf): Likewise.
31516         [non-C99-based standards] (cbrtf): Likewise.
31517         [non-C99-based standards] (expm1f): Likewise.
31518         [non-C99-based standards] (ilogbf): Likewise.
31519         [non-C99-based standards] (log1pf): Likewise.
31520         [non-C99-based standards] (logbf): Likewise.
31521         [non-C99-based standards] (nextafterf): Likewise.
31522         [non-C99-based standards] (remainderf): Likewise.
31523         [non-C99-based standards] (rintf): Likewise.
31524         [non-C99-based standards] (scalbf): Likewise.
31525         [non-C99-based standards] (copysignl): Likewise.
31526         [non-C99-based standards] (exp2l): Likewise.
31527         [non-C99-based standards] (log2l): Likewise.
31528         [non-C99-based standards] (modfl): Allow.
31529         [non-C99-based standards] (erfl): Do not allow.
31530         [non-C99-based standards] (erfcl): Likewise.
31531         [non-C99-based standards] (gammal): Likewise.
31532         [non-C99-based standards] (hypotl): Likewise.
31533         [non-C99-based standards] (j0l): Likewise.
31534         [non-C99-based standards] (j1l): Likewise.
31535         [non-C99-based standards] (jnl): Likewise.
31536         [non-C99-based standards] (lgammal): Likewise.
31537         [non-C99-based standards] (tgammal): Likewise.
31538         [non-C99-based standards] (y0l): Likewise.
31539         [non-C99-based standards] (y1l): Likewise.
31540         [non-C99-based standards] (ynl): Likewise.
31541         [non-C99-based standards] (isnanl): Likewise.
31542         [non-C99-based standards] (acoshl): Likewise.
31543         [non-C99-based standards] (asinhl): Likewise.
31544         [non-C99-based standards] (atanhl): Likewise.
31545         [non-C99-based standards] (cbrtl): Likewise.
31546         [non-C99-based standards] (expm1l): Likewise.
31547         [non-C99-based standards] (ilogbl): Likewise.
31548         [non-C99-based standards] (log1pl): Likewise.
31549         [non-C99-based standards] (logbl): Likewise.
31550         [non-C99-based standards] (nextafterl): Likewise.
31551         [non-C99-based standards] (remainderl): Likewise.
31552         [non-C99-based standards] (rintl): Likewise.
31553         [non-C99-based standards] (scalbl): Likewise.
31554         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31555         [non-C99-based standards] (FP_*): Do not allow.
31556         [C99-based standards] (FP_*): Change to
31557         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31558         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31559         allow.
31560         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31561         (SIG_ERR): Likewise.
31562         [X/Open-based standards] (SIG_HOLD): Likewise.
31563         (SIG_IGN): Likewise.
31564         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31565         positive value.
31566         (SIGFPE): Likewise.
31567         (SIGILL): Likewise.
31568         (SIGINT): Likewise.
31569         (SIGSEGV): Likewise.
31570         (SIGTER): Likewise.
31571         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31572         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31573         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31574         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31575         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31576         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31577         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31578         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31579         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31580         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31581         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31582         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31583         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31584         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31585         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31586         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31587         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31588         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31589         [X/Open-based standards] (SIGTRAP): Likewise.
31590         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31591         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31592         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31593         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31594         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31595         allow.
31596
31597 2012-05-08  Ian Wienand  <ianw@vmware.com>
31598
31599         [BZ #14080]
31600         * time/tzset.c (__tzset_parse_tz): Update default rules for
31601         daylight time changes in the Energy Policy Act of 2005.
31602
31603 2012-05-09  Andreas Jaeger  <aj@suse.de>
31604
31605         [BZ #13983]
31606         * elf/ldconfig.c (parse_conf): Change string to make clear that
31607         ldconfig only issued a warning if ld.so.conf does not exist.
31608
31609 2012-05-08  David S. Miller  <davem@davemloft.net>
31610
31611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31612         movxtod instead of popping the value on the stack.
31613
31614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31615
31616 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31617
31618         * config.h.in: Add HAVE_ARM_PCS_VFP.
31619
31620 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31621
31622         [BZ #13979]
31623         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31624         checking but the checks are disabled for any reason.
31625
31626 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31627
31628         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31629         and ELF64_R_TYPE with ELFW(R_TYPE).
31630
31631 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31632
31633         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31634         (ulimit): Likewise.
31635
31636         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31637         (settimeofday): Likewise.
31638
31639 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31640
31641         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
31642         a struct th_u2 inside the union, and move tu_block/tu_code into
31643         a new th_u3 union of tu_block/tu_code inside of that.  Move
31644         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
31645         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
31646         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31647         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31648         (th_stuff): Change to th_u1.tu_stuff.
31649         (th_data): Define.
31650         (th_msg): Change to th_u1.th_u2.tu_data.
31651
31652 2012-05-07  David S. Miller  <davem@davemloft.net>
31653
31654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31655
31656         [BZ #14074]
31657         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31658         (SETUP_PIC_REG): Use it.
31659         (SETUP_PIC_REG_LEAF): Use it.
31660
31661 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
31662
31663         [BZ #13885]
31664         [BZ #13923]
31665         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31666         USE_AS_EXPM1L.
31667         (EXPL_FINITE): Likewise.
31668         (FLDLOG): Likewise.
31669         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31670         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31671         e_expl.S.
31672         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31673         USE_AS_EXPM1L.
31674         (EXPL_FINITE): Likewise.
31675         (FLDLOG): Likewise.
31676         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31677         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31678         e_expl.S.
31679         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
31680         test of -max_value argument for long double.
31681         * sysdeps/i386/fpu/libm-test-ulps: Update.
31682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31683
31684 2012-05-06  David S. Miller  <davem@davemloft.net>
31685
31686         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31687         quad soft-float symbols whose references which are compiler
31688         generated.
31689         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31690
31691 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
31692
31693         [BZ #13884]
31694         [BZ #13914]
31695         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31696         USE_AS_EXP10L.
31697         (EXPL_FINITE): Likewise.
31698         (FLDLOG): Likewise.
31699         (c0): Likewise.
31700         (c1): Likewise.
31701         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31702         Adjust comments for base varying.
31703         (__expl_finite): Change alias to EXPL_FINITE.
31704         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31705         e_expl.S.
31706         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31707         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31708         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31709         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31710         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31711         USE_AS_EXP10L.
31712         (EXPL_FINITE): Likewise.
31713         (FLDLOG): Likewise.
31714         (c0): Likewise.
31715         (c1): Likewise.
31716         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31717         Adjust comments for base varying.
31718         (__expl_finite): Change alias to EXPL_FINITE.
31719         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
31720         tests for bugs.
31721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31722
31723         [BZ #14064]
31724         * math/libm-test.inc (check_float_internal): Correct ulp
31725         calculation for subnormal expected results.
31726
31727 2012-05-06  Andreas Jaeger  <aj@suse.de>
31728
31729         * Makeconfig (+math-flags): New, set to -frounding-math.
31730         (+cflags): Add +math-flags so that all of glibc gets compiled with
31731         it.
31732
31733         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31734
31735 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
31736
31737         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31738         Disable one test.
31739
31740         [BZ #13787]
31741         [BZ #13922]
31742         [BZ #14036]
31743         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31744         (__ieee754_expl): Allow for and saturate large arguments.
31745         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31746         (u_threshold): Likewise.
31747         (__exp): Call __ieee754_exp before checking for overflow and
31748         underflow.
31749         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31750         (u_threshold): Likewise.
31751         (__expf): Call __ieee754_expf before checking for overflow and
31752         underflow.
31753         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31754         (u_threshold): Likewise.
31755         (__expl): Call __ieee754_expl before checking for overflow and
31756         underflow.
31757         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31758         (__ieee754_expl): Allow for and saturate large arguments.
31759         * math/libm-test.inc (exp_test): Add another test.  Do not allow
31760         missing overflow exception on overflow.
31761         (expm1_test): Do not allow missing overflow exception on overflow.
31762
31763         * sysdeps/i386/fpu/e_expl.c: Move to ...
31764         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
31765         rather than using inline asm.
31766         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31767         * sysdeps/x86_64/fpu/e_expl.S: Copy from
31768         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31769
31770         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31771         (nice): Likewise.
31772         (poll): Likewise.
31773         (signal): Likewise.
31774         (time): Likewise.
31775         (times): Likewise.
31776
31777 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31778
31779         * sysdeps/unix/syscalls.list (adjtime): Add entry from
31780         sysdeps/unix/common/syscalls.list.
31781         (fchmod): Likewise.
31782         (fchown): Likewise.
31783         (ftruncate): Likewise.
31784         (getrusage): Likewise.
31785         (gettimeofday): Likewise.
31786         (setpgid): Likewise.
31787         (setregid): Likewise.
31788         (setreuid): Likewise.
31789         (sigaction): Likewise.
31790         (truncate): Likewise.
31791         (vhangup): Likewise.
31792         * sysdeps/unix/common/syscalls.list: Remove file.
31793         * sysdeps/unix/bsd/Implies: Don't include unix/common.
31794         * sysdeps/unix/sysv/linux/Implies: Likewise.
31795
31796 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
31797
31798         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31800         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31801         Moved to ...
31802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31803         Here.
31804         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31805         to ...
31806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31807         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31808         to ...
31809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31810         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31811         to ...
31812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31813         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31814         to ...
31815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31816         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31817         to ...
31818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31819         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31820         to ...
31821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31822         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31823         to ...
31824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31825         Here.
31826         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31827         to ...
31828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31829         Here.
31830         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31831         to ...
31832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31833         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31834         Moved to ...
31835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31836         Here.
31837         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31838         to ...
31839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31840
31841 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31842
31843         * sysdeps/unix/common/bits/dirent.h: Remove file.
31844         * sysdeps/unix/common/bits/fcntl.h: Likewise.
31845
31846         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31847         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31848         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31849         * sysdeps/unix/bsd/isatty.c: Likewise.
31850         * sysdeps/unix/bsd/tcdrain.c: Likewise.
31851         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31852         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31853
31854 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31855
31856         [BZ #13563]
31857         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31858         long double comparison inaccuracies.
31859         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31861
31862 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31863
31864         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31865         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31866
31867 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31868
31869         [BZ #14049]
31870         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31871         nonzero digits before rounding a hex value.
31872         * stdlib/tst-strtod.c (tests): Add another test.
31873
31874 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31875
31876         * sysdeps/s390/fpu/libm-test-ulps: Update.
31877
31878 2012-05-03  Andreas Jaeger  <aj@suse.de>
31879
31880         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31881         does not get optimized out.
31882         (malloc_opt_barrier): New.
31883
31884 2012-05-03  Andreas Jaeger  <aj@suse.de>
31885             Roland McGrath  <roland@hack.frob.com>
31886
31887         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31888         intermediate file deletion.
31889         (generated): Add .symlist files.
31890
31891 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31892
31893         [BZ #13775]
31894         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31895         Redirect under this condition.
31896         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31897         [__USE_GNU] (__dprintf_chk): Not under this condition.
31898         [__USE_GNU] (__vdprintf_chk): Likewise.
31899         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31900         under this condition.
31901         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31902         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31903         [__USE_XOPEN2K8] (vdprintf): Likewise.
31904         [__USE_GNU] (__dprintf_chk): Not under this condition.
31905         [__USE_GNU] (__vdprintf_chk): Likewise.
31906         [__USE_GNU] (dprintf): Likewise.
31907         [__USE_GNU] (vdprintf): Likewise.
31908
31909 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31910
31911         * elf/Makefile (common-generated): Set this instead of generated for
31912         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31913         $(all-built-dso)-derived lists.
31914
31915 2012-05-03  Andreas Jaeger  <aj@suse.de>
31916
31917         * sysdeps/i386/fpu/libm-test-ulps: Update.
31918
31919         * FAQ: Removed.
31920         * FAQ.in: Likewise.
31921         * scripts/gen-FAQ.pl: Likewise.
31922         * manual/install.texi (Installation): Point to online location of
31923         FAQ.
31924         * Makefile (files-for-dist): Remove FAQ.
31925         (FAQ): Remove.
31926
31927 2012-05-02  Allan McRae  <allan@archlinux.org>
31928
31929         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31930         (LDFLAGS-reldepmod5.so): Likewise.
31931         (LDFLAGS-reldep6mod1.so): Likewise.
31932         (LDFLAGS-reldep6mod4.so): Likewise.
31933         (LDFLAGS-reldep8mod3.so): Likewise.
31934         (LDFLAGS-unload4mod1.so): Likewise.
31935         (LDFLAGS-unload4mod2.so): Likewise.
31936         (LDFLAGS-tst-initorder): Likewise.
31937         (LDFLAGS-tst-initordera2.so): Likewise.
31938         (LDFLAGS-tst-initordera3.so): Likewise.
31939         (LDFLAGS-tst-initordera4.so): Likewise.
31940         (LDFLAGS-tst-initorderb2.so): Likewise.
31941         (LDFLAGS-noload): Likewise.
31942         (LDFLAGS-next): Likewise.
31943         (LDFLAGS-order2mod1.so): Likewise.
31944         (LDFLAGS-order2mod2.so): Likewise.
31945         (LDFLAGS-tst-initorder2): Likewise.
31946         (LDFLAGS-tst-initorder2a.so): Likewise.
31947         (LDFLAGS-tst-initorder2b.so): Likewise.
31948         (LDFLAGS-tst-initorder2c.so): Likewise.
31949         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31950
31951 2012-05-02  David S. Miller  <davem@davemloft.net>
31952
31953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31954
31955 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31956
31957         [BZ #14055]
31958         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31959
31960 2012-05-02  Andreas Jaeger  <aj@suse.de>
31961
31962         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31963         since we manipulate rounding mode.
31964         (CPPFLAGS-test-idouble.c): Likewise.
31965         (CPPFLAGS-test-ifloat.c): Likewise.
31966         (CFLAGS-test-ldouble.c): Likewise.
31967         (CFLAGS-test-double.c): Likewise.
31968         (CFLAGS-test-float.c): Likewise.
31969         (CFLAGS-test-misc.c): Likewise.
31970         (CFLAGS-test-test-fenv.c): Likewise.
31971
31972 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31973
31974         [BZ #2550]
31975         [BZ #2570]
31976         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31977         comparisons to determine direction to adjust input.
31978
31979 2012-05-01  Roland McGrath  <roland@hack.frob.com>
31980
31981         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31982         output to the target.
31983
31984         * scripts/localplt.awk: New file.
31985         * elf/Makefile ($(objpfx)check-localplt): Target removed.
31986         (check-localplt-CFLAGS): Variable removed.
31987         ($(all-built-dso:=.jmprel)): New static pattern rule.
31988         (generated): Add those targets.
31989         (localplt-built-dso): New variable.
31990         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31991
31992         * elf/check-localplt.c: File removed.
31993
31994         * scripts/check-execstack.awk: New file.
31995         * elf/Makefile ($(objpfx)check-execstack): Target removed.
31996         (check-execstack-CFLAGS): Variable removed.
31997         ($(objpfx)check-execstack.h): Target removed.
31998         ($(objpfx)execstack-default): New target.
31999         (generated): Add that instead of check-execstack.h.
32000         ($(all-built-dso:=.phdr)): New static pattern rule.
32001         (generated): Add those targets.
32002         * elf/check-execstack.c: File removed.
32003
32004         * scripts/check-textrel.awk: New file.
32005         * elf/Makefile ($(objpfx)check-textrel): Target removed.
32006         (check-textrel-CFLAGS): Variable removed.
32007         (all-built-dso): Use := to define.o
32008         ($(all-built-dso:=.dyn)): New static pattern rule.
32009         (generated): Add those targets.
32010         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32011         * config.make.in (READELF): New substituted variable.
32012         * elf/check-textrel.c: File removed.
32013
32014 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32015
32016         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32017         allow.
32018         * conform/data/ctype.h-data [C99-based standards] (isblank):
32019         Expect function.
32020         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32021         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32022         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32023         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32024         Specify type.  Require positive value.
32025         (EILSEQ): Likewise.
32026         (ERANGE): Likewise.
32027         [ISO || POSIX] (EILSEQ): Do not expect.
32028         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32029         Specify type.  Require positive value.
32030         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32031         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32032         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32033         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32034         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32035         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32036         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32037         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32038         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32039         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32040         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32041         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32042         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32043         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32044         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32045         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32046         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32047         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32048         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32049         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32050         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32051         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32052         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32053         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32054         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32055         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32056         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32057         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32058         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32059         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32060         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32061         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32062         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32063         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32064         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32065         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32066         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32067         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32068         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32069         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32070         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32071         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32072         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32073         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32074         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32075         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32076         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32077         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32078         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32079         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32080         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32081         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32082         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32083         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32084         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32085         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32086         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32087         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32088         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32089         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32090         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32091         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32092         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32093         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32094         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32095         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32096         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32097         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32098         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32099         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32100         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32101         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32102         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32103         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32104         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32105         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32106         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32107         Require >= 2.
32108         (FLT_ROUNDS): Expect as macro, not constant.
32109         (FLT_MANT_DIG): Use macro-int-constant.
32110         (DBL_MANT_DIG): Likewise.
32111         (LDBL_MANT_DIG): Likewise.
32112         (FLT_DIG): Likewise.
32113         (DBL_DIG): Likewise.
32114         (LDBL_DIG): Likewise.
32115         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
32116         (DBL_MIN_EXP): Likewise.
32117         (LDBL_MIN_EXP): Likewise.
32118         (FLT_MAX_EXP): Use macro-int-constant.
32119         (DBL_MAX_EXP): Likewise.
32120         (LDBL_MAX_EXP): Likewise.
32121         (FLT_MAX_10_EXP): Likewise.
32122         (DBL_MAX_10_EXP): Likewise.
32123         (LDBL_MAX_10_EXP): Likewise.
32124         (FLT_MAX): Use macro-constant.
32125         (DBL_MAX): Likewise.
32126         (LDBL_MAX): Likewise.
32127         (FLT_EPSILON): Use macro-constant.  Give upper bound.
32128         (DBL_EPSILON): Likewise.
32129         (LDBL_EPSILON): Likewise.
32130         (FLT_MIN): Likewise.
32131         (DBL_MIN): Likewise.
32132         (LDBL_MIN): Likewise.
32133         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32134         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32135         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32136         [ISO11] (FLT_HAS_SUBNORM): Likewise.
32137         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32138         [ISO11] (DBL_DECIMAL_DIG): Likewise.
32139         [ISO11] (FLT_DECIMAL_DIG): Likewise.
32140         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32141         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32142         [ISO11] (FLT_TRUE_MIN): Likewise.
32143         [ISO11] (LDBL_TRUE_MIN): Likewise.
32144         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32145         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32146         (SCHAR_MIN): Use macro-int-constant.  Specify type.
32147         (SCHAR_MAX): Likewise.
32148         (UCHAR_MAX): Likewise.
32149         (CHAR_MIN): Likewise.
32150         (CHAR_MAX): Likewise.
32151         (MB_LEN_MAX): Use macro-int-constant.
32152         (SHRT_MIN): Use macro-int-constant.  Specify type.
32153         (SHRT_MAX): Likewise.
32154         (USHRT_MAX): Likewise.
32155         (INT_MAX): Likewise.
32156         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
32157         bound negative.
32158         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32159         bound with "U".
32160         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32161         bound with "L".
32162         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
32163         bound negative.  Suffix upper bound with "L".
32164         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32165         bound with "UL".
32166         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32167         Specify type.
32168         [C99-based standards] (LLONG_MAX): Likewise.
32169         [C99-based standards] (ULLONG_MAX): Likewise.
32170         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
32171         == 0.
32172         [ISO11] (max_align_t): Require type.
32173         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32174
32175         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32176         from $CFLAGS, without defining away __attribute__ calls.
32177         (checknamespace): Use $CFLAGS_namespace.
32178
32179         * conform/conformtest.pl (@keywords): Only include C99 keywords
32180         for standards based on C99 or C11.
32181
32182         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32183         Disable tests.
32184         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32185         UNIX98]: Likewise.
32186
32187         * conform/conformtest.pl: Handle "macro-int-constant" and test for
32188         usability of symbols in #if.
32189
32190         * conform/conformtest.pl: If macro or constant types start
32191         "promoted:", expect the symbol to be of the following type
32192         promoted by the integer promotions.
32193
32194         * conform/conformtest.pl: Parse all "constant" and "macro" lines
32195         in one place.  Also handle "macro-constant".
32196
32197         * conform/conformtest.pl: Only accept expected macro values with
32198         "==".  Parse all "macro" lines in one place.
32199         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32200
32201         * conform/conformtest.pl: Handle braced types on "constant" lines
32202         instead of handling "typed-constant".
32203         * conform/data/signal.h-data: Use "constant" instead of
32204         "typed-constant".
32205
32206         * conform/conformtest.pl: Handle "optional-" at start of lines in
32207         one place rather than duplicating several cases.  Handle each
32208         format of "macro" line with initial "optional-".
32209
32210         * conform/conformtest.pl: Only accept expected constant or
32211         optional-constant values with "==".  Parse all "constant" lines in
32212         one place.  Parse all "optional-constant" lines in one place.
32213         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32214         * conform/data/fmtmsg.h-data: Likewise.
32215         * conform/data/netinet/in.h-data: Likewise.
32216         * conform/data/tar.h-data: Likewise.
32217         * conform/data/limits.h-data: Use "==" form on "constant" and
32218         "optional-constant" lines.
32219
32220         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32221         Use -std=c99 for XOPEN2K.
32222         (@knownproblems): Remove.
32223         (newtoken): Don't check %isknown.
32224
32225         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32226         Do not expect macro.
32227         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32228         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32229         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32230         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32231         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32232         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32233         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32234         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32235         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32236         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32237         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32238         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32239         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32240         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32241         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32242         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32243         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32244         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32245         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32246         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32247         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32248         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32249         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32250         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32251         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32252         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32253         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32254         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32255         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32256         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32257         [XPG3] (acosh): Likewise.
32258         [XPG3] (asinh): Likewise.
32259         [XPG3] (atanh): Likewise.
32260         [XPG3] (cbrt): Likewise.
32261         [XPG3] (expm1): Likewise.
32262         [XPG3] (ilogb): Likewise.
32263         [XPG3] (log1p): Likewise.
32264         [XPG3] (logb): Likewise.
32265         [XPG3] (nextafter): Likewise.
32266         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32267         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32268         [XPG3] (remainder): Likewise.
32269         [XPG3] (rint): Likewise.
32270         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32271         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32272         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32273         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32274         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32275         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32276         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32277         [UNIX98 || XOPEN2K] (scalb): Expect.
32278         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32279         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32280         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32281         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32282         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32283         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32284         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32285         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32286         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32287         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32288         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32289         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32290         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32291         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32292         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32293         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32294         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32295         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32296         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32297         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32298         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32299         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32300         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32301         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32302         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32303         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32304         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32305         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32306         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32307         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32308         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32309         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32310         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32311         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32312         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32313         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32314         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32315         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32316         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32317         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32318         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32319         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32320         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32321         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32322         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32323         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32324         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32325         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32326         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32327         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32328         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32329         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32330         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32331         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32332         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32333         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32334         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32335         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32336         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32337         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32338         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32339         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32340         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32341         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32342         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32343         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32344         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32345         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32346         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32347         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32348         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32349         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32350         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32351         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32352         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32353         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32354         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32355         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32356         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32357         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32358         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32359         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32360         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32361         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32362         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32363         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32364         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32365         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32366         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32367         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32368         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32369         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32370         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32371         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32372         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32373         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32374         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32375         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32376         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32377         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32378         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32379         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32380         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32381         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32382         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32383         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32384         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32385         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32386         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32387         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32388         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32389         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32390         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32391         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32392         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32393         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32394         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32395         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32396         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32397         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32398         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32399         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32400         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32401         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32402         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32403         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32404         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32405         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32406         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32407         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32408         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32409         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32410         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32411         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32412         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32413         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32414         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32415
32416         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32417         _XOPEN_SOURCE_EXTENDED for XPG4.
32418
32419         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32420
32421         * Makeconfig (localtime): Remove variable.
32422         (inst_localtime-file): Likewise.
32423
32424 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32425
32426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32427         Update.
32428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32429         Update.
32430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32431         Update.
32432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32433         Update.
32434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32435         Update.
32436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32437         Update.
32438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32439         Update.
32440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32441         Update.
32442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32443         Update.
32444
32445 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32446
32447         [BZ #2550]
32448         [BZ #2570]
32449         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32450         comparisons to determine direction to adjust input.
32451         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32452         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32453         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32454         Likewise.
32455         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32456         Likewise.
32457         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32458         Likewise.
32459         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32460         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32461         Likewise.
32462         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32463         Likewise.
32464         * math/libm-test.inc (nexttoward_test): Add more tests.
32465
32466 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32467
32468         [BZ #14040]
32469         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32470         in version GLIBC_2.1, not GLIBC_2.0.
32471         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32472         Likewise.
32473
32474 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32475
32476         [BZ #13942]
32477         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32478         (1 - x) * (1 + x).
32479         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32480         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32481         * math/libm-test.inc (acos_test): Add more tests.
32482         (asin_test): Likewise.
32483         * sysdeps/i386/fpu/libm-test-ulps: Update.
32484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32485
32486         [BZ #14034]
32487         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32488         of square root.
32489         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32490         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32491         * math/libm-test.inc (acos_test_tonearest): New function.
32492         (acos_test_towardzero): Likewise.
32493         (acos_test_downward): Likewise.
32494         (acos_test_upward): Likewise.
32495         (asin_test_tonearest): Likewise.
32496         (asin_test_towardzero): Likewise.
32497         (asin_test_downward): Likewise.
32498         (asin_test_upward): Likewise.
32499         (main): Call the new functions.
32500         * sysdeps/i386/fpu/libm-test-ulps: Update.
32501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32502
32503         [BZ #13884]
32504         [BZ #13924]
32505         * math/e_exp10.c: Include <float.h>.
32506         (__ieee754_exp10): Handle underflow here rather than multiplying
32507         large negative argument by M_LN10.
32508         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32509         of __ieee754_expf.
32510         * math/e_exp10l.c: Include <float.h>.
32511         (__ieee754_exp10l): Handle underflow here rather than multiplying
32512         large negative argument by M_LN10l.
32513         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32514         spurious overflow exception on underflow.
32515
32516 2012-04-29  Marek Polacek  <polacek@redhat.com>
32517
32518         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32519         (__fortify_function): New macro.
32520         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32521         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32522         __extern_always_inline.
32523         * libio/bits/stdio2.h: Likewise.
32524         * libio/bits/stdio.h: Likewise.
32525         * string/string.h: Likewise.
32526         * string/bits/string3.h: Likewise.
32527         * include/stdio.h: Likewise.
32528         * stdlib/bits/stdlib.h: Likewise.
32529         * stdlib/stdlib.h: Likewise.
32530         * rt/bits/mqueue2.h: Likewise.
32531         * rt/mqueue.h: Likewise.
32532         * posix/bits/unistd.h: Likewise.
32533         * posix/unistd.h: Likewise.
32534         * io/bits/poll2.h: Likewise.
32535         * io/bits/fcntl2.h: Likewise.
32536         * io/fcntl.h: Likewise.
32537         * io/sys/poll.h: Likewise.
32538         * misc/bits/syslog.h: Likewise.
32539         * misc/bits/syslog-ldbl.h: Likewise.
32540         * misc/sys/syslog.h: Likewise.
32541         * socket/bits/socket2.h: Likewise.
32542         * socket/sys/socket.h: Likewise.
32543         * debug/tst-chk1.c: Likewise.
32544         * wcsmbs/bits/wchar2.h: Likewise.
32545         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32546         * wcsmbs/wchar.h: Likewise.
32547
32548 2012-04-29  Andreas Jaeger  <aj@suse.de>
32549
32550         * Makerules (tests): Remove enable-check-abi protection.
32551         (check-abi-warn): Remove.
32552         (check-abi-%): Remove check-abi-warn usage.
32553
32554         * configure.in: Remove check-abi configure option.
32555         * configure: Regenerated.
32556         * config.make.in (enable-check-abi): Remove.
32557
32558 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32559
32560         [BZ #14033]
32561         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32562         double functions to double *_finite functions.
32563
32564         [BZ #13941]
32565         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32566         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32567         LDBL_MIN_EXP.
32568         * stdio-common/Makefile (tests): Add tst-sprintf3.
32569         * stdio-common/tst-sprintf3.c: New file.
32570
32571         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32572         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32573
32574 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32575
32576         * conform/conformtest.pl: Remove duplicate typed-constant
32577         handling.
32578
32579 2012-04-28  David S. Miller  <davem@davemloft.net>
32580
32581         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32582         (check-abi-%): Remove AWK script prerequisite and explicit
32583         abilist directory.
32584         (check-abi): Rewrite to just diff the symlist with the abilist.
32585         (config-tls, config-abi-config): Delete, no longer used.
32586         (update-abi-%): Remove AWK script and explicit abilist directory.
32587         (update-abi): Rewrite to simply compare and conditionally copy the
32588         symlist and the sysdep abilist file.  Remove update-abi-config
32589         checks.
32590         * abilist/ld.abilist: Remove.
32591         * abilist/libBrokenLocale.abilist: Remove.
32592         * abilist/libanl.abilist: Remove.
32593         * abilist/libcrypt.abilist: Remove.
32594         * abilist/libdl.abilist: Remove.
32595         * abilist/librt.abilist: Remove.
32596         * abilist/libthread_db.abilist: Remove.
32597         * abilist/libutil.abilist: Remove.
32598         * scripts/extract-abilist.awk: Remove.
32599         * scripts/merge-abilist.awk: Remove.
32600         * sysdeps/generic/libcidn.abilist: New file.
32601         * sysdeps/generic/libnss_compat.abilist: New file.
32602         * sysdeps/generic/libnss_db.abilist: New file.
32603         * sysdeps/generic/libnss_dns.abilist: New file.
32604         * sysdeps/generic/libnss_files.abilist: New file.
32605         * sysdeps/generic/libnss_hesiod.abilist: New file.
32606         * sysdeps/generic/libnss_nis.abilist: New file.
32607         * sysdeps/generic/libnss_nisplus.abilist: New file.
32608         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32609         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32610         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32611         file.
32612         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32613         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32614         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32615         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32616         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32617         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32618         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32619         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32620         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32621         file.
32622         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32623         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32624         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32625         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32626         file.
32627         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32628         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32629         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32630         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32631         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32632         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32633         file.
32634         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32635         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32636         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32637         file.
32638         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32639         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32640         New file.
32641         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32642         New file.
32643         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32644         New file.
32645         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32646         New file.
32647         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32648         New file.
32649         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32650         New file.
32651         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32652         New file.
32653         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32654         New file.
32655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32656         New file.
32657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32658         New file.
32659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32660         New file.
32661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32662         New file.
32663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32664         New file.
32665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32666         file.
32667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32668         New file.
32669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32670         New file.
32671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32672         file.
32673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32674         New file.
32675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32676         New file.
32677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32678         file.
32679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32680         New file.
32681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32682         New file.
32683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32684         New file.
32685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32686         New file.
32687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32688         New file.
32689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32690         New file.
32691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32693         file.
32694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32695         New file.
32696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32697         file.
32698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32699         file.
32700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32701         file.
32702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32703         file.
32704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32705         file.
32706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32707         New file.
32708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32709         file.
32710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32711         file.
32712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32713         New file.
32714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32715         file.
32716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32718         file.
32719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32720         New file.
32721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32722         file.
32723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32724         file.
32725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32726         file.
32727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32728         file.
32729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32730         file.
32731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32732         New file.
32733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32734         file.
32735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32736         file.
32737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32738         New file.
32739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32740         file.
32741         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32742         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32743         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32744         file.
32745         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32746         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32747         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32748         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32749         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32750         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32751         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32752         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32753         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32754         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32757         file.
32758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32759         New file.
32760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32761         file.
32762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32763         file.
32764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32765         file.
32766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32767         file.
32768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32769         file.
32770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32771         New file.
32772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32773         New file.
32774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32775         file.
32776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32777         New file.
32778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32779         file.
32780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32782         file.
32783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32784         New file.
32785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32786         file.
32787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32788         file.
32789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32790         file.
32791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32792         file.
32793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32794         file.
32795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32796         New file.
32797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32798         New file.
32799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32800         file.
32801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32802         New file.
32803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32804         file.
32805
32806 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32807
32808         * conform/conformtest.pl: Fix typo in handling typed-constant from
32809         allow-header.
32810
32811 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32812
32813         * README: Cut down references to pre-2.6 Linux kernels and
32814         Linuxthreads.  Update lists of configurations in libc and ports
32815         and sort alphabetically.  Say "or newer" with Linux kernel version
32816         requirements.
32817
32818         * config.h.in [IS_IN_build]: Allow compiling without optimization.
32819
32820 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32821
32822         [BZ #887]
32823         * math/libm-test.inc (logb_test_downward): New test to expose
32824         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32825         rounding mode.
32826
32827 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32828
32829         [BZ #14027]
32830         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32831         to be done.
32832         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32833         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32834
32835 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
32836
32837         * sysdeps/unix/i386/brk.S: Remove file.
32838         * sysdeps/unix/i386/dl-brk.S: Likewise.
32839         * sysdeps/unix/i386/pipe.S: Likewise.
32840         * sysdeps/unix/i386/sigreturn.S: Likewise.
32841         * sysdeps/unix/i386/syscall.S: Likewise.
32842         * sysdeps/unix/i386/vfork.S: Likewise.
32843         * sysdeps/unix/i386/wait.S: Likewise.
32844
32845         * sysdeps/unix/common/tcsendbrk.c: Move to ...
32846         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32847
32848         * configure.in (arm*-none*): Do not allow without
32849         --enable-hacker-mode.
32850         (netbsd*): Remove case setting base_os.
32851         (386bsd*): Likewise.
32852         (freebsd*): Likewise.
32853         (bsdi*): Likewise.
32854         (osf*): Likewise.
32855         (sunos*): Likewise.
32856         (ultrix*): Likewise.
32857         (newsos*): Likewise.
32858         (dynix*): Likewise.
32859         (*bsd*): Likewise.
32860         (sysv*): Likewise.
32861         (isc*): Likewise.
32862         (esix*): Likewise.
32863         (sco*): Likewise.
32864         (minix*): Likewise.
32865         (irix4*): Likewise.
32866         (irix6*): Likewise.
32867         (solaris[2-9]*): Likewise.
32868         (none): Likewise.
32869         * configure: Regenerated.
32870
32871 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32872
32873         [BZ #11521]
32874         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32875         overflow or cancellation in calculating denominator.
32876         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32877         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32878         down expression to avoid unexpected rounding in newer GCCs.
32879         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32880
32881 2012-04-26  David S. Miller  <davem@davemloft.net>
32882
32883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32884         long-double compat symbols.
32885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32898
32899 2012-04-25  David S. Miller  <davem@davemloft.net>
32900
32901         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32902         HWCAP_* values only after the memory barriers have been defined.
32903         (atomic_full_barrier): Define.
32904         (atomic_read_barrier): Define.
32905         (atomic_write_barrier): Define.
32906
32907 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32908
32909         * shlib-versions: Add libgcc_s version information.
32910         * sysdeps/generic/libgcc_s.h: Remove.
32911         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32912         libgcc_s.h.
32913         * sysdeps/gnu/unwind-resume.c: Likewise.
32914         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32915
32916 2012-04-25  David S. Miller  <davem@davemloft.net>
32917
32918         * sysdeps/unix/sparc/brk.S: Delete.
32919         * sysdeps/unix/sparc/dl-brk.S: Delete.
32920         * sysdeps/unix/sparc/pipe.S: Delete.
32921         * sysdeps/unix/sparc/sysdep.S: Delete.
32922         * sysdeps/unix/sparc/sysdep.h: Delete.
32923         * sysdeps/unix/sparc/vfork.S: Delete.
32924         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32925         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32926         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32927         (ret_ERRVAL, r0, r1, MOVE): Define.
32928         (JUMPTARGET): Remove.
32929         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32930         sysdeps/unix/sparc/sysdep.h
32931         (ENTRY, END): Remove.
32932         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32933
32934 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32935
32936         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32937         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32938         -DIS_IN_build.
32939
32940         * timezone/README: Update upstream location and email address for
32941         tzcode and tzdata.
32942         * timezone/zdump.c: Update from tzcode 2012b.
32943         * timezone/zic.c: Likewise.
32944
32945         * configure.in (libc_cv_as_needed): Remove test.
32946         * configure: Regenerated.
32947         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32948         conditional definition.
32949         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32950         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32951         * config.make.in (have-as-needed): Remove variable.
32952
32953 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32954             Paul Pluzhnikov  <ppluzhnikov@google.com>
32955
32956         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32957         strings correctly.
32958
32959 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32960
32961         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32962         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32963         * sysdeps/sh/strlen.S: Likewise.
32964
32965 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32966
32967         * sysdeps/unix/fork.S: Remove file.
32968         * sysdeps/unix/i386/fork.S: Likewise.
32969         * sysdeps/unix/sparc/fork.S: Likewise.
32970
32971         * sysdeps/unix/system.c: Remove file.
32972         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32973
32974         * sysdeps/unix/getegid.S: Remove file.
32975         * sysdeps/unix/geteuid.S: Likewise.
32976
32977 2012-04-24  Roland McGrath  <roland@hack.frob.com>
32978
32979         * scripts/check-localplt.awk: New file.
32980         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32981         of diff.
32982         * scripts/data/localplt-generic.data: Add a comment.
32983
32984         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32985         NODE when __dir_mkfile failed.
32986         * sysdeps/mach/hurd/symlinkat.c: Likewise.
32987         Reported by Ludovic Courtès <ludo@gnu.org>.
32988
32989 2012-04-24  Andreas Jaeger  <aj@suse.de>
32990
32991         * Makerules (common-clean): Also remove gen-as-const-headers
32992         files.
32993
32994 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32995
32996         * Makerules (native-compile): Do not change working directory for
32997         build.  Use $(OUTPUT_OPTION) in command.
32998         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32999
33000 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33001
33002         [BZ #13886]
33003         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33004         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33005         * math/libm-test.inc (floor_test): Add more tests.
33006         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33007
33008 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33009
33010         * sysdeps/unix/getdents.c: Remove file.
33011         * sysdeps/unix/sysv/getdents.c: Likewise.
33012         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33013
33014         * sysdeps/unix/syscalls.list (madvise): Add syscall from
33015         sysdeps/unix/mman/syscalls.list.
33016         (mmap): Likewise.
33017         (mprotect): Likewise.
33018         (msync): Likewise.
33019         (munmap): Likewise.
33020         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33021         * sysdeps/unix/mman/syscalls.list: Remove.
33022         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33023
33024         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33025         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33026         * configure: Regenerated.
33027         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33028         $(libgcc_s_suffix).
33029         * config.make.in (libgcc_s_suffix): Remove variable.
33030
33031 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33032
33033         * sysdeps/unix/sysv/gethostname.c: Move to ...
33034         * sysdeps/posix/gethostname.c: ... here.
33035
33036         * sysdeps/unix/execve.S: Remove file.
33037
33038         * sysdeps/unix/_exit.S: Remove file.
33039
33040 2012-04-23  Andreas Jaeger  <aj@suse.de>
33041
33042         [BZ #13739]
33043         * manual/Makefile: Remove make dist support, there's no
33044         need for a stand-alone documentation tar ball.
33045         (TEXI2DVI): Define always, it's not in Makeconfig.
33046         (dist): Removed.
33047         (tar-it): Removed.
33048         (edition): Removed.
33049         (glibc-doc-$(edition).tar): Removed
33050         (%.Z): Removed.
33051         (%.gz): Removed.
33052         (%.uu): Removed.
33053         (ETAGS): Remove, it's in Makeconfig.
33054         (move-if-change): Remove, it's in Makeconfig.
33055
33056 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
33057
33058         [BZ #13970]
33059         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33060         (strtod, strtof, strtold, strtol, strtoul, strtoq)
33061         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33062         (strtod_l, strtof_l, strtold_l): Remove __wur.
33063         It is not necessarily an error to ignore strtol's return value.
33064         One can reliably look at the stored endptr to decide whether
33065         the number had valid syntax.
33066
33067 2012-04-21  Andreas Jaeger  <aj@suse.de>
33068
33069         [BZ #13739]
33070         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33071
33072 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
33073
33074         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33075         * sysdeps/unix/sysv/Versions: Remove file.
33076
33077 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
33078
33079         [BZ #13927]
33080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33081
33082 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
33083
33084         [BZ #7064]
33085         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33086         version from __vm86.
33087
33088 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
33089
33090         * sysdeps/unix/common/lxstat.c: Remove file.
33091         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33092
33093         * sysdeps/unix/sysv/Makefile: Remove file.
33094
33095         * sysdeps/unix/sysv/direct.h: Remove file.
33096
33097         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33098         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33099         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33100         * sysdeps/unix/sysv/bits/signum.h: Likewise.
33101         * sysdeps/unix/sysv/bits/stat.h: Likewise.
33102         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33103         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33104
33105         * sysdeps/unix/sysv/setrlimit.c: Remove file.
33106
33107         * sysdeps/unix/xmknod.c: Remove file.
33108         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33109
33110         * sysdeps/unix/sysv/settimeofday.c: Remove file.
33111
33112         * sysdeps/unix/sysv/i386/time.S: Remove file.
33113
33114         * sysdeps/unix/fxstat.c: Remove file.
33115         * sysdeps/unix/xstat.c: Likewise.
33116         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33117
33118         * sysdeps/unix/sysv/sigaction.c: Remove file.
33119
33120         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33121         (sysdep_headers): Remove variable.
33122         [termio.h not in sysdep_headers] (generated): Likewise.
33123         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33124         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33125         * sysdeps/unix/sysv/tcdrain.c: Likewise.
33126         * sysdeps/unix/sysv/tcflow.c: Likewise.
33127         * sysdeps/unix/sysv/tcflush.c: Likewise.
33128         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33129         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33130         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33131         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33132         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33133
33134         * sysdeps/unix/siglist.c: Remove file.
33135
33136         * sysdeps/unix/getppid.S: Remove file.
33137
33138         * sysdeps/unix/mkdir.c: Remove file.
33139         * sysdeps/unix/rmdir.c: Likewise.
33140
33141 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
33142
33143         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33144         ERR_MAX value.
33145         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33146         errlist-compat value.
33147
33148 2012-04-18  David S. Miller  <davem@davemloft.net>
33149
33150         * sysdeps/generic/memcopy.h (reg_char): Delete.
33151         * debug/strcat_chk.c: Use char, not reg_char.
33152         * debug/strcpy_chk.c: Likewise.
33153         * debug/strncat_chk.c: Likewise.
33154         * debug/strncpy_chk.c: Likewise.
33155         * string/memchr.c: Likewise.
33156         * string/memrchr.c: Likewise.
33157         * string/rawmemchr.c: Likewise.
33158         * string/strcat.c: Likewise.
33159         * string/strchr.c: Likewise.
33160         * string/strchrnul.c: Likewise.
33161         * string/strcmp.c: Likewise.
33162         * string/strcpy.c: Likewise.
33163         * string/strncat.c: Likewise.
33164         * string/strncmp.c: Likewise.
33165         * string/strncpy.c: Likewise.
33166
33167 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33168
33169         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33170         __builtin_memcopy is called when src and dest ranges are known to not
33171         overlap.
33172
33173 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33174
33175         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33176         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33177         fwd_align_merge macro call.
33178         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33179         bwd_align_merge macro call.
33180         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33181
33182 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33183
33184         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33185         bwd_align_merge macros.
33186         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33187         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33188         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33189
33190 2012-04-18  David S. Miller  <davem@davemloft.net>
33191
33192         * sysdeps/sparc/sparc64/memcopy.h: Delete.
33193
33194 2012-04-18  Andreas Jaeger  <aj@suse.de>
33195
33196         [BZ# 6794]
33197         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33198         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33199         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33200
33201         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33202         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33203         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33204
33205         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33206         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33207         Adjust for changed ldbl-128 files.
33208
33209         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33210         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33211         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33212
33213 2012-04-17  David S. Miller  <davem@davemloft.net>
33214
33215         * sysdeps/sparc/sparc32/memcopy.h: Delete.
33216
33217 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
33218
33219         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33220         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33221         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33222         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33223         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33224         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33225
33226 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33227
33228         [BZ #6794]
33229         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33230         * math/libm-test.inc: Add ilogb errno and exception tests.
33231         * math/w_ilogb.c: New file: ilogb wrapper.
33232         * math/w_ilogbf.c: New file: ilogbf wrapper.
33233         * math/w_ilogbl.c: New file: ilogbl wrapper.
33234         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33235         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33236         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33237         exception being thrown with 0.0 as argument.
33238         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33239         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33240         exception being thrown with 0.0 as argument.
33241         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33242         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33243         exception being thrown with 0.0 as argument.
33244         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33245         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33246         exception being thrown with 0.0 as argument.
33247         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33248         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33249         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33250         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33251         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33252         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33253         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33254         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33255         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33256
33257 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33258
33259         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33260         with altivec.
33261
33262 2012-04-16  Marek Polacek  <polacek@redhat.com>
33263
33264         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33265
33266 2012-04-16  Marek Polacek  <polacek@redhat.com>
33267
33268         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33269         operands of fdivp instruction.
33270
33271 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33272
33273         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33274         * elf/tst-auditmod3b.c: Likewise.
33275         * elf/tst-auditmod4b.c: Likewise.
33276         * elf/tst-auditmod5b.c: Likewise.
33277         * elf/tst-auditmod6b.c: Likewise.
33278         * elf/tst-auditmod6c.c: Likewise.
33279         * elf/tst-auditmod7b.c: Likewise.
33280         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33281         * sysdeps/x86_64/preconfigure.in: Likewise.
33282         * sysdeps/x86_64/preconfigure: Regenerated.
33283
33284 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33285
33286         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33287         __ILP32__.
33288
33289 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33290
33291         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33292         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33293
33294 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33295
33296         [BZ #13973]
33297         * locale/iso-639.def: Fix gl language name. Spotted by
33298         Yaron Shahrabani.
33299
33300 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33301
33302         [BZ #2074]
33303         * libio/libio.h (__io_write_fn): Update comment.
33304
33305 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33306
33307         [BZ #2074]
33308         * stdio.texi (Hook Functions): The user provided writer function
33309         is not allowed to return -1.
33310
33311 2012-04-11  David S. Miller  <davem@davemloft.net>
33312
33313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33314
33315 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33316
33317         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33318         Add a leading slash to rtkaio.
33319
33320 2012-04-11  Jim Meyering  <meyering@redhat.com>
33321
33322         [BZ #11959]
33323         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33324         It is not necessarily an error to ignore fwrite's return
33325         value.  One can reliably use ferror to test for errors after
33326         the fact.
33327
33328 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33329
33330         * bits/types.h (__snseconds_t): New type.
33331         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33332
33333         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33334         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33335         (__SNSECONDS_T_TYPE): Likewise.
33336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33337         (__SNSECONDS_T_TYPE): Likewise.
33338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33339         (__SNSECONDS_T_TYPE): Likewise.
33340
33341 2012-04-10  Andreas Jaeger  <aj@suse.de>
33342
33343         [BZ #2636]
33344         * manual/time.texi (Processor Time): Return type of times is
33345         elapsed real time since an arbitrary point in the past.
33346         (CPU Time): Move CLK_TCK from here...
33347         (Processor Time): ...to here.  Correct description.
33348         * manual/conf.texi (Constants for Sysconf): Correct description of
33349         _SC_CLK_TCK.
33350
33351 2012-04-10  David S. Miller  <davem@davemloft.net>
33352
33353         [BZ #13967]
33354         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33355         where the is a gap between DT_REL(A) and DT_JMPREL.
33356
33357 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33358
33359         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33360         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33361         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33362
33363 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33364
33365         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33366         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33367         (dl_main): Handle --inhibit-cache.
33368         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33369         _dl_inhibit_cache.
33370         * elf/dl-load.c (_dl_map_object): Use it.
33371         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33372
33373 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33374
33375         [BZ #13872]
33376         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33377         (__ieee754_powl): Saturate large exponents rather than testing for
33378         overflow of y*log2(x).
33379         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33380         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33381         exceptions.
33382
33383         [BZ #11521]
33384         * math/s_ctan.c: Include <float.h>.
33385         (__ctan): Avoid internal overflow or cancellation in calculating
33386         denominator.
33387         * math/s_ctanf.c: Likewise.
33388         * math/s_ctanl.c: Likewise.
33389         * math/s_ctanh.c: Likewise.
33390         * math/s_ctanhf.c: Likewise.
33391         * math/s_ctanhl.c: Likewise.
33392         * math/libm-test.inc (ctan_test): Add more tests.
33393         (ctanh_test): Likewise.
33394         * sysdeps/i386/fpu/libm-test-ulps: Update.
33395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33396
33397 2012-04-09  Andreas Jaeger  <aj@suse.de>
33398
33399         [BZ #6894]
33400         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33401         is an optional BSD extension.
33402
33403         [BZ #10254]
33404         * manual/stdio.texi (Opening Streams): Document additional fopen
33405         parameters.
33406
33407 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33408
33409         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33410         %eax without telling the compiler.
33411
33412 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33413
33414         [BZ # 13963]
33415         * manual/install.texi: Use sourceware.org.
33416
33417 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33418
33419         [BZ #13873]
33420         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33421         (__ieee754_pow): Generate overflow and underflow using huge*huge
33422         and tiny*tiny rather than just returning constant infinity or zero
33423         for large exponents.
33424         * math/libm-test.inc (pow_test): Require overflow exceptions for
33425         applicable cases of large exponents.
33426
33427         [BZ #706]
33428         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33429         (__ieee754_pow): Use iterative multiplication algorithm only for
33430         integer exponents with absolute value below 1024.  Check for odd
33431         integer exponents when using algorithm for real exponents.
33432         * math/libm-test.inc (pow_test): Add more tests.
33433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33434
33435 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33436
33437         [BZ #13705]
33438         * math/libm-test.inc (exp_test): Do not allow overflow exception
33439         on underflow test.
33440
33441 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33442
33443         [BZ #13705]
33444         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33445         instead of __kernel_standard_f.
33446
33447 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33448
33449         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33450         * sysdeps/x86_64/memset_chk.S: Likewise.
33451
33452 2012-04-08  Andreas Jaeger  <aj@suse.de>
33453
33454         [BZ #10153]
33455         * manual/startup.texi (Environment Access): Describe return value
33456         for putenv and setenv.
33457
33458         [BZ #6895]
33459         * manual/filesys.texi (Directory Entries): Add description for
33460         DT_LNK.
33461
33462         [BZ #6890]
33463         * manual/filesys.texi (Directory Entries): Clarify that it's file
33464         system not operating system in the description of DT_UNKNOWN.
33465
33466         [BZ #6578]
33467         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33468
33469 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33470
33471         [BZ #6649]
33472         * manual/llio.texi (Opening and Closing Files): Add cross
33473         reference to explain mode argument.
33474
33475 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33476
33477         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33478         * sysdeps/x86_64/memset_chk.S: Likewise.
33479
33480 2012-04-07  David S. Miller  <davem@davemloft.net>
33481
33482         * elf/elf.h (R_SPARC_WDISP10): Define.
33483         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33484         R_SPARC_SIZE32.
33485         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33486         R_SPARC_SIZE64 and R_SPARC_H34.
33487
33488 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33489
33490         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33491         conditions and remove no longer applicable assertion.
33492
33493 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33494
33495         * bits/byteswap.h: Include <features.h>.
33496         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33497         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33498
33499 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33500
33501         * bits/byteswap.h (__bswap_16): Removed.
33502         Include <bits/byteswap-16.h> to get __bswap_16.
33503         * sysdeps/i386/bits/byteswap.h: Likewise.
33504         * sysdeps/s390/bits/byteswap.h: Likewise.
33505         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33506         * bits/byteswap-16.h: New file.
33507         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33508         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33509         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33510         * string/Makefile (headers): Add bits/byteswap-16.h.
33511
33512 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33513
33514         [BZ #13895]
33515         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33516         extra indirection.
33517         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33518         * nss/tst-nss-static.c: New.
33519
33520 2012-04-06  Robert Millan  <rmh@gnu.org>
33521
33522         [BZ #6486]
33523         * manual/llio.texi (File Position Primitive): lseek
33524         refers to WHENCE when it really means OFFSET.
33525
33526 2012-04-06  Andreas Jaeger  <aj@suse.de>
33527
33528         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33529         strncmp declarations.
33530
33531         * abilist/libc.abilist: Add __poll and __ppoll.
33532
33533 2012-04-05  David S. Miller  <davem@davemloft.net>
33534
33535         * scripts/check-local-headers.sh: Accept a host triplet in the
33536         path matched by the exclude regexp.
33537
33538         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33539         definition.
33540         * sysdeps/powerpc/powerpc32/dl-machine.h
33541         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33542         * sysdeps/s390/s390-32/dl-machine.h
33543         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33544         * sysdeps/sparc/sparc32/dl-machine.h
33545         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33546         * sysdeps/sparc/sparc64/dl-machine.h
33547         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33548
33549         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33550         lazy binding.
33551         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33552         undefined symbol errors.
33553
33554         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33555         DT_NEEDED entries.
33556
33557 2012-04-05  Michael Matz  <matz@suse.de>
33558
33559         [BZ #13592]
33560         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33561
33562 2012-04-05  Andreas Jaeger  <aj@suse.de>
33563
33564         [BZ #13908]
33565         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33566         comment.
33567
33568 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33569
33570         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33571         which ROUND is no valid rounding mode.
33572
33573 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33574
33575         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33576         read again.
33577         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33578
33579 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33580
33581         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33582         an exception using FPU order intentionally.
33583
33584 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33585
33586         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33587         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33588         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33589         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33590
33591 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33592
33593         [BZ #12340]
33594         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33595         EINVAL when BUFLEN is too smal.
33596
33597 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33598
33599         [BZ #13553]
33600         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33601         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33602
33603 2012-04-03  Andreas Jaeger  <aj@suse.de>
33604
33605         [BZ #13938]
33606         * manual/setjmp.texi (System V contexts): Fix sentence.
33607
33608         [BZ #13926]
33609         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33610         New macro for this case.
33611         [!__GNUC__] (__bswap_64): New inline function for this case.
33612         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33613         * bits/byteswap.h: Likewise.
33614         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33615         ull, guard with __GLIBC_HAVE_LONG_LONG.
33616
33617         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33618         __GLIBC_HAVE_LONG_LONG.
33619
33620         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33621         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33622
33623 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33624
33625         [BZ #13691]
33626         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33627         inptr and inend, rather than using last_ch.
33628
33629 2012-04-02  David S. Miller  <davem@davemloft.net>
33630
33631         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33632         * stdio-common/printf-parse.h (read_int): Change return type to
33633         'int', return -1 on INT_MAX overflow.
33634         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33635         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33636         overflows INT_MAX.  Check for overflow of in-format-string precision
33637         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33638         SIZE_MAX not INT_MAX for integer overflow test.
33639         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33640         skip the construct in the format string but do not record anything.
33641         * stdio-common/bug22.c: Adjust to test both width/prevision
33642         INT_MAX overflow as well as total length INT_MAX overflow.  Check
33643         explicitly for proper errno values.
33644
33645 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33646
33647         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33648         CHAR_MAX.
33649         * string/test-strcmp.c [! WIDE]: Likewise.
33650         * time/tst-mktime2.c: Likewise for INT_MAX.
33651         * string/test-string.h: #include <sys/param.h> for MIN.
33652
33653         * csu/init-first.c (__libc_init_first): Call __ctype_init.
33654         * sysdeps/i386/init-first.c (init): Likewise.
33655         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33656         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33657         * sysdeps/sh/init-first.c (init): Likewise.
33658
33659 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
33660
33661         * po/ru.po: Update from translation team.
33662         * po/vi.po: Likewise.
33663
33664 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33665
33666         * resolv/nss_dns/dns-host.c: Merge copyright years.
33667
33668 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33669
33670         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33671         Optimize memcpy with prefetch if
33672         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
33673         src, dst pointers have unequal 16 byte alignments.
33674
33675 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33676
33677         [BZ #13928]
33678         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33679         from a CNAME entry and return the minimum ttl for the query.
33680         (gaih_getanswer_slice): Likewise.
33681
33682 2012-03-30  Jeff Law  <law@redhat.com>
33683
33684         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33685         due to long keys.
33686         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33687         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33688
33689         * resolv/nss_dns/dns-host.c: Update copyright year.
33690
33691 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
33692
33693         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33694         requests to save a system call.  Fix check that all bytes are sent.
33695
33696         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33697         comments for sendmmsg.
33698
33699 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33700
33701         [BZ #13691]
33702         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33703         with only 1 character between 0x0041 and 0x01b0.
33704         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33705         * wcsmbs/tst-mbsnrtowcs.c: New file.
33706
33707 2012-03-29  David S. Miller  <davem@davemloft.net>
33708
33709         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33710         small copies by hand.
33711
33712 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33713
33714         [BZ #13761]
33715         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33716         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33717         group memberships.
33718
33719 2012-03-28  David S. Miller  <davem@davemloft.net>
33720
33721         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33722         that branches into memcpy.
33723         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33724         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33725         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33726         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33727         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33728         bits.
33729         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33730         implementation too.
33731         * sysdeps/sparc/mempcpy.S: New file.
33732
33733         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33734         the IFUNC routine in the libc case.
33735         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33736
33737         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33738         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33739         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33740         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33741         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33742         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33743         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33744         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33745
33746         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33747         loop to 256 bytes instead of 64 bytes and fix test signedness.
33748
33749         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33750         * sysdeps/sparc/sparc32/Makefile: rather than here...
33751         * sysdeps/sparc/sparc64/Makefile: and here.
33752
33753 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
33754
33755         * malloc/mallocbug.c: Avoid warnings about unused variables.
33756
33757 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33758
33759         [BZ #13760]
33760         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33761         in the right place. Discard and retry query if response is
33762         larger than input buffer size.
33763
33764 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
33765
33766         [BZ #369]
33767         [BZ #2678]
33768         [BZ #3866]
33769         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33770         x for large integer exponent.
33771         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33772         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
33773         sign of result as needed afterwards.
33774         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33775         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33776         result for underflowing pow the same as for overflow.
33777         (__kernel_standard_l): Handle powl overflow and underflow here
33778         rather than calling __kernel_standard.
33779         * math/libm-test.inc (pow_test): Add more tests.
33780
33781         [BZ #3868]
33782         [BZ #13879]
33783         [BZ #13910]
33784         [BZ #13911]
33785         [BZ #13912]
33786         [BZ #13913]
33787         [BZ #13915]
33788         [BZ #13916]
33789         [BZ #13917]
33790         [BZ #13918]
33791         [BZ #13919]
33792         [BZ #13920]
33793         [BZ #13921]
33794         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33795         * sysdeps/ieee754/k_standard.c: Include <float.h>.
33796         (__kernel_standard_l): New function.
33797         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33798         __kernel_standard.
33799         * math/w_acosl.c (__acosl): Likewise.
33800         * math/w_asinl.c (__asinl): Likewise.
33801         * math/w_atan2l.c (__atan2l): Likewise.
33802         * math/w_atanhl.c (__atanhl): Likewise.
33803         * math/w_coshl.c (__coshl): Likewise.
33804         * math/w_exp10l.c (__exp10l): Likewise.
33805         * math/w_exp2l.c (__exp2l): Likewise.
33806         * math/w_fmodl.c (__fmodl): Likewise.
33807         * math/w_hypotl.c (__hypotl): Likewise.
33808         * math/w_j0l.c (__j0l, __y0l): Likewise.
33809         * math/w_j1l.c (__j1l, __y1l): Likewise.
33810         * math/w_jnl.c (__jnl, __ynl): Likewise.
33811         * math/w_lgammal.c (__lgammal): Likewise.
33812         * math/w_log10l.c (__log10l): Likewise.
33813         * math/w_log2l.c (__log2l): Likewise.
33814         * math/w_logl.c (__logl): Likewise.
33815         * math/w_powl.c (__powl): Likewise.
33816         * math/w_remainderl.c (__remainderl): Likewise.
33817         * math/w_scalbl.c (sysv_scalbl): Likewise.
33818         * math/w_sinhl.c (__sinhl): Likewise.
33819         * math/w_sqrtl.c (__sqrtl): Likewise.
33820         * math/w_tgammal.c (__tgammal): Likewise.
33821         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33822         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33823         * math/libm-test.inc (acos_test): Add more tests.
33824         (acosh_test): Likewise.
33825         (asin_test): Likewise.
33826         (atanh_test): Likewise.
33827         (exp_test): Likewise.
33828         (exp10_test): Likewise.
33829         (exp2_test): Likewise.
33830         (expm1_test): Likewise.
33831         (lgamma_test): Likewise.
33832         (log_test): Likewise.
33833         (log10_test): Likewise.
33834         (log1p_test): Likewise.
33835         (log2_test): Likewise.
33836         (pow_test): Do not allow some spurious overflow exceptions.
33837         (sqrt_test): Add more tests.
33838         (tgamma_test): Likewise.
33839         (y0_test): Likewise.
33840         (y1_test): Likewise.
33841         (yn_test): Likewise.
33842
33843 2012-03-27  Anton Blanchard  <anton@samba.org>
33844
33845         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33846         MAP_HUGETLB.
33847         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33848         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33849         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33850
33851 2012-03-27  David S. Miller  <davem@davemloft.net>
33852
33853         * conform/Makefile: Run run-conformtest.sh using $(BASH).
33854
33855         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33856         have-as-vis3 check.
33857
33858 2012-03-27  Andreas Jaeger  <aj@suse.de>
33859
33860         * sysdeps/x86_64/elf/configure.in: Moved to ...
33861         * sysdeps/x86_64/configure.in: ... here.
33862         * sysdeps/x86_64/elf/start.S: Moved to ...
33863         * sysdeps/x86_64/start.S: ... here.
33864         * sysdeps/x86_64/elf/configure: Delete.
33865
33866         * sysdeps/x86_64/configure.in: Merge contents from
33867         sysdeps/i386/configure.in (without i686 check).
33868
33869         * sysdeps/i386/elf/Versions: Merge into ...
33870         * sysdeps/i386/Versions: ... this.
33871         * sysdeps/i386/elf/Versions: Delete file.
33872         * sysdeps/i386/elf/start.S: Moved to ...
33873         * sysdeps/i386/start.S: ...here.
33874         * sysdeps/i386/elf/configure.in: Merge into...
33875         * sysdeps/i386/configure.in: ...here.
33876         * sysdeps/i386/elf/configure.in: Delete file.
33877         * sysdeps/i386/elf/configure: Delete file.
33878
33879         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33880         * debug/backtracesyms.c: ... here.
33881         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33882         * debug/backtracesymsfd.c: ... here.
33883         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33884         * sysdeps/generic/ifunc-sel.h: ... here.
33885
33886         * sysdeps/unix/i386/start.c: Delete file.
33887         * sysdeps/unix/sparc/start.c: Delete file.
33888         * sysdeps/unix/start.c: Delete file.
33889
33890         * sysdeps/sh/elf/configure.in: Moved to ...
33891         * sysdeps/sh/configure.in: ... here.
33892         * sysdeps/sh/elf/start.S: Moved to ...
33893         * sysdeps/sh/start.S: ... here.
33894         * sysdeps/sh/elf/configure: Delete file.
33895
33896         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33897         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33898         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33899         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33900         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33901         * sysdeps/powerpc/powerpc64/start.S: here.
33902         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33903         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33904         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33905         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33906         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33907
33908         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33909         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33910         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33911         * sysdeps/powerpc/powerpc32/start.S: ... here.
33912         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33913         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33914         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33915
33916         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33917         * sysdeps/powerpc/ifunc-sel.h: ... here.
33918         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33919         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33920
33921         * sysdeps/sparc/elf/configure.in: Moved to ...
33922         * sysdeps/sparc/configure.in: ... here.
33923         * sysdeps/sparc/elf/configure: Delete file.
33924         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33925         * sysdeps/sparc/sparc32/start.S: ... here.
33926         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33927         * sysdeps/sparc/sparc64/start.S: ... here.
33928         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33929         * sysdeps/sparc/sparc32/Makefile: ... this.
33930         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33931         * sysdeps/sparc/sparc64/Makefile: ... this.
33932
33933         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33934         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33935         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33936         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33937         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33938         * sysdeps/s390/s390-32/setjmp.S: ... here.
33939         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33940         * sysdeps/s390/s390-32/configure.in: ... here.
33941         * sysdeps/s390/s390-32/elf/configure: Delete file.
33942         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33943         * sysdeps/s390/s390-32/start.S: ... here.
33944
33945         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33946         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33947         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33948         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33949         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33950         * sysdeps/s390/s390-64/setjmp.S: ... here.
33951         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33952         * sysdeps/s390/s390-64/configure.in: ... here
33953         * sysdeps/s390/s390-64/elf/configure: Delete file.
33954         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33955         * sysdeps/s390/s390-64/start.S: ... here.
33956         * sysdeps/s390/s390-64/elf/configure: Delete.
33957
33958         * configure.in: Remove support for elf directories in sysdeps.
33959
33960         * configure: Regenerated.
33961         * sysdeps/i386/configure: Regenerated.
33962         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33963         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33964         * sysdeps/s390/s390-32/configure: Regenerated.
33965         * sysdeps/s390/s390-64/configure: Regenerated.
33966         * sysdeps/sh/configure: Regenerated.
33967         * sysdeps/sparc/configure: Regenerated.
33968         * sysdeps/x86_64/configure: Regenerated.
33969
33970 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
33971
33972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33973
33974         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33975         denormal result into account.
33976
33977 2012-03-25  Roland McGrath  <roland@hack.frob.com>
33978
33979         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33980         Reported by Allan McRae <allan@archlinux.org>.
33981
33982 2012-03-23  Jeff Law  <law@redhat.com>
33983
33984         * nss/getnssent.c (__nss_getent): Fix typo.
33985
33986 2012-03-23  David S. Miller  <davem@davemloft.net>
33987
33988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33989
33990 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
33991
33992         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33993         to pad to uint64_t for each field.
33994         (dl_tls_index): Replace unsigned long with uint64_t.
33995
33996 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
33997         Paul Pluzhnikov  <ppluzhnikov@google.com>
33998
33999         [BZ #6528]
34000         * grp/Makefile (otherlibs): Don't set it.
34001         * inet/Makefile (otherlibs): Likewise.
34002         * login/Makefile (otherlibs): Likewise.
34003         * nscd/Makefile (otherlibs): Likewise.
34004         * posix/Makefile (otherlibs): Likewise.
34005         * pwd/Makefile (otherlibs): Likewise.
34006         * rt/Makefile (otherlibs): Likewise.
34007         * sunrpc/Makefile (otherlibs): Likewise.
34008         * nss/Makefile (otherlibs): Likewise.
34009         Add libnss_files to routines and static-only-routines.
34010         ($(objpfx)getent): Remove rule.
34011         * resolv/Makefile: Add libnss_dns and libresolv to routines and
34012         static-only-routines.
34013
34014 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34015
34016         [BZ #13892]
34017         * math/s_cexp.c: Include <float.h>.
34018         (__cexp): Handle exp result overflowing not necessarily
34019         overflowing both real and imaginary parts of result.
34020         * math/s_cexpf.c: Likewise.
34021         * math/s_cexpl.c: Likewise.
34022         * math/libm-test.inc (cexp_test): Add more tests.
34023         * sysdeps/i386/fpu/libm-test-ulps: Update.
34024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34025
34026 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34027
34028         * include/link.h (ELFW): New macro.
34029         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34030         Replace ELF64_R_TYPE with ELFW(R_TYPE).
34031
34032 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34033
34034         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34035         with uint64_t.
34036
34037 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34038
34039         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34040         declaration.
34041         (struct La_x32_retval): Likewise.
34042
34043 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34044
34045         * sysdeps/x86_64/preconfigure.in: New file.
34046         * sysdeps/x86_64/preconfigure: New generated file.
34047
34048 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34049
34050         [BZ #13824]
34051         * math/e_exp2l.c: Include <float.h>.
34052         (__ieee754_exp2l): Handle overflow and underflow cases
34053         separately.  Only pass fractional part of argument to
34054         __ieee754_expl.
34055         * math/libm-test.inc (exp2_test): Add more tests.
34056
34057         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34058         negating x to take absolute value.
34059         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34060         Likewise.
34061         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34062         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34063         Likewise.
34064         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34065         computing low part if x was negated.
34066         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34067
34068 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34069
34070         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34071         la_x32_gnu_pltexit.
34072         (pltexit): Cast int_retval to ptrdiff_t.
34073         * elf/tst-auditmod3b.c: Likewise.
34074         * elf/tst-auditmod4b.c: Likewise.
34075         * elf/tst-auditmod5b.c: Likewise.
34076         * elf/tst-auditmod6b.c: Likewise.
34077         * elf/tst-auditmod6c.c: Likewise.
34078         * elf/tst-auditmod7b.c: Likewise.
34079
34080         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34081         and x32_gnu_pltexit.
34082
34083         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34084         __ELF_NATIVE_CLASS.
34085         (La_x32_regs): New macro.
34086         (La_x32_retval): Likewise.
34087         (la_x32_gnu_pltenter): New function prototype.
34088         (la_x32_gnu_pltexit): Likewise.
34089
34090 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
34091
34092         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34093         exponent.
34094
34095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34096
34097         * configure.in (libc_cv_cc_nofma): Check for option to disable
34098         generation of FMA instructions.
34099         * configure: Regenerate.
34100         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34101         * sysdeps/ieee754/dbl-64/Makefile: New file.
34102         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34103         Remove brandred-fma4.
34104         (CFLAGS-brandred-fma4.c): Remove.
34105         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34106         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34107         define.
34108         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34109         define.
34110
34111 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34112
34113         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34114         LLONG_MAX != LONG_MAX.
34115         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34116         (_fitoa_word): Likewise.
34117         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34118         LLONG_MAX != LONG_MAX.
34119         * stdio-common/_itowa.h: Include <_itoa.h>.
34120         (_itowa_word): Use _ITOA_WORD_TYPE on value.
34121         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
34122         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
34123         only if not defined.
34124         (_ITOA_WORD_TYPE): Likewise.
34125         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34126         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34127
34128 2012-03-21  David S. Miller  <davem@davemloft.net>
34129
34130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34131
34132 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34133
34134         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34135         of x86_64 when setting libc_cv_slibdir, libdir and
34136         libc_cv_localedir.
34137         * sysdeps/unix/sysv/linux/configure: Regenerated.
34138
34139 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34140
34141         * manual/lang.texi (Old Varargs): Remove section.
34142         (How Variadic): Update menu.
34143         (va_start): Do not mention varargs.h.
34144
34145 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34146             Joseph Myers  <joseph@codesourcery.com>
34147
34148         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34149         link test.
34150         * configure: Regenerated.
34151
34152 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34153
34154         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34155         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34156         conformtest.pl
34157
34158 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34159
34160         * NOTES: Remove.
34161         * Makefile (files-for-dist): Remove NOTES.
34162         (NOTES): Remove rule.
34163         * README: Don't refer to NOTES.
34164         * manual/creature.texi: Don't include macros.texi.
34165         * manual/intro.texi (creature.texi): Remove comment referring to
34166         NOTES.
34167
34168         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34169         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34170         * configure: Regenerated.
34171         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34172         LIBC_TRY_CC_OPTION.
34173         (libc_cv_as_i686): Likewise.
34174         (libc_cv_cc_avx): Likewise.
34175         (libc_cv_cc_sse2avx): Likewise.
34176         (libc_cv_cc_fma4): Likewise.
34177         (libc_cv_cc_novzeroupper): Likewise.
34178         * sysdeps/i386/configure: Regenerated.
34179
34180         [BZ #13883]
34181         * sysdeps/i386/fpu/s_cexp.S: Remove.
34182         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34183         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34184         * math/libm-test.inc (cexp_test): Add more tests.
34185         * sysdeps/i386/fpu/libm-test-ulps: Update.
34186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34187
34188 2012-03-21  Allan McRae  <allan@archlinux.org>
34189
34190         * timezone/Makefile: Do not install iso3166.tab and zone.tab
34191
34192 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34193
34194         [BZ #13871]
34195         * math/w_exp2.c: Do not include <float.h>.
34196         (o_threshold, u_threshold): Remove.
34197         (__exp2): Calculate result before checking finiteness and calling
34198         __kernel_standard.
34199         * math/w_exp2f.c: Likewise.
34200         * math/w_exp2l.c: Likewise.
34201         * math/libm-test.inc (exp2_test): Require overflow exception for
34202         1e6 input.
34203
34204         [BZ #3866]
34205         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34206         range of signed 64-bit integers before using fistpll.  Remove
34207         checks for whether integers fit in mantissa bits.
34208         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34209         the range of signed 32-bit integers before using fistpl.  Remove
34210         checks for whether integers fit in mantissa bits.
34211         * sysdeps/i386/fpu/e_powl.S (p64): New object.
34212         (__ieee754_powl): Test for y outside the range of signed 64-bit
34213         integers before using fistpll.  Reduce 64-bit values to 63-bit
34214         ones as needed.
34215         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34216         divide-by-zero is raised for zero to large negative powers.
34217         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34218         (__ieee754_powl): Test for y outside the range of signed 64-bit
34219         integers before using fistpll.  Reduce 64-bit values to 63-bit
34220         ones as needed.
34221         * math/libm-test.inc (pow_test): Add more tests.
34222
34223 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34224
34225         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34226         <stdio-common/_itoa.h>.
34227         * debug/segfault.c: Likewise.
34228         * elf/dl-cache.c: Likewise.
34229         * elf/dl-minimal.c: Likewise.
34230         * elf/dl-misc.c: Likewise.
34231         * elf/dl-sysdep.c: Likewise.
34232         * elf/dl-version.c: Likewise.
34233         * elf/rtld.c: Likewise.
34234         * hurd/hurdsock.c: Likewise.
34235         * hurd/lookup-retry.c: Likewise.
34236         * malloc/malloc.c: Likewise.
34237         * malloc/mtrace.c: Likewise.
34238         * nscd/nscd_getgr_r.c: Likewise.
34239         * nscd/nscd_getpw_r.c: Likewise.
34240         * nscd/nscd_getserv_r.c: Likewise.
34241         * posix/getopt_init.c: Likewise.
34242         * posix/wordexp.c: Likewise.
34243         * stdio-common/_itoa.c: Likewise.
34244         * stdio-common/printf_fphex.c: Likewise.
34245         * stdio-common/vfprintf.c: Likewise.
34246         * string/_strerror.c: Likewise.
34247         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34248         * sysdeps/i386/i686/hp-timing.h: Likewise.
34249         * sysdeps/mach/_strerror.c: Likewise.
34250         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34251         * sysdeps/mach/hurd/sethostid.c: Likewise.
34252         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34253         * sysdeps/mach/xpg-strerror.c: Likewise.
34254         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34255         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34256         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34257         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34258         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34259         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34260         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34261         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34262         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34263         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34264         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34265         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34266         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34267         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34268         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34269         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34270         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34271         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34272         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34273         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34274         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34275
34276         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34277
34278         * stdio-common/_itoa.h: Moved to ...
34279         * sysdeps/generic/_itoa.h: Here.
34280
34281         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34282
34283         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34284         instead of "_itoa.h" and "_itowa.h".
34285         * stdio-common/vfprintf.: Likewise.
34286
34287 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34288
34289         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34290         <bits/wordsize.h>.
34291         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34292         (__signbit): Likwise.
34293         (llrintf): Likwise.
34294         (llrint): Likwise.
34295
34296 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34297
34298         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34299         __WORDSIZE != 64.
34300
34301 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34302
34303         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34304         OVERFLOW_EXCEPTION_OK.
34305         * math/libm-test.inc ("Philosophy"): Update comment about
34306         exception testing.
34307         (OVERFLOW_EXCEPTION): Define.
34308         (OVERFLOW_EXCEPTION_OK): Likewise.
34309         (INVALID_EXCEPTION_OK): Renumber.
34310         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34311         (IGNORE_ZERO_INF_SIGN): Likewise.
34312         (test_exceptions): Handle FE_OVERFLOW.
34313         (exp10_test): Expect overflow exceptions.
34314         (exp2_test): Likewise.
34315         (expm1_test): Likewise.
34316         (nextafter_test): Likewise.
34317         (pow_test): Likewise.
34318         (scalbn_test): Likewise.
34319         (scalbln_test): Likewise.
34320
34321 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34322
34323         * sysdeps/x86_64/bits/atomic.h
34324         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34325         64bit integer.
34326         (atomic_exchange_acq): Likewise.
34327         (__arch_exchange_and_add_body): Likewise.
34328         (__arch_add_body): Likewise.
34329         (atomic_add_negative): Likewise.
34330         (atomic_add_zero): Likewise.
34331
34332 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34333
34334         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34335         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34336
34337 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34338
34339         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34340         Check __x86_64__ instead of __WORDSIZE.
34341
34342 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34343
34344         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34345
34346 2012-03-19  David S. Miller  <davem@davemloft.net>
34347
34348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34349
34350         * sysdeps/sparc/fpu/fenv_private.h: New file.
34351         * sysdeps/sparc/fpu/math_private.h: Use it.
34352         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34353         Remove.
34354         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34355         (libc_feholdexcept_setroundl): Remove.
34356         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34357         Remove.
34358         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34359         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34360
34361 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34362
34363         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34364         int64_t instead of long int.
34365         (INSERT_WORDS64): Likwise.
34366
34367 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34368
34369         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34370         _Unwind_GetCFA return to _Unwind_Ptr first.
34371
34372 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34373
34374         [BZ #13629]
34375         * math/s_clog.c: Include <float.h>.
34376         (__clog): Scale large or subnormal inputs.
34377         * math/s_clogf.c: Likewise.
34378         * math/s_clogl.c: Likewise.
34379         * math/s_clog10.c: Include <float.h>.
34380         (M_LOG10_2): Define.
34381         (__clog10): Scale large or subnormal inputs.
34382         * math/s_clog10f.c: Likewise.
34383         * math/s_clog10l.c: Likewise.
34384         * math/libm-test.inc (clog_test): Add more tests.
34385         (clog10_test): Likewise.
34386         * sysdeps/i386/fpu/libm-test-ulps: Update.
34387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34388
34389         [BZ #11451]
34390         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34391         x and y.
34392         * math/libm-test.inc (atan2_test): Add another test.
34393
34394         * Makerules (common-objdir-compile): Remove.
34395         * sysdeps/unix/Makefile (config-generated): Do not add
34396         $(unix-generated) to variable.
34397         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34398         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34399         Remove rule.
34400         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34401         Likewise.
34402         [generic bits/local_lim.h] (before-compile): Do not append to
34403         variable.
34404         [generic bits/local_lim.h] (common-generated): Likewise.
34405         [generic sys/param.h] (before-compile): Do not append to variable.
34406         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34407         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34408         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34409         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34410         include.
34411         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34412         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34413         [generic sys/param.h] ($(addprefix
34414         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34415         [generic sys/param.h] (common-generated): Do not append to
34416         variable.
34417         [generic sys/param.h] (sysdep_headers): Likewise.
34418         [generic bits/errno.h] (before-compile): Do not append to
34419         variable.
34420         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34421         rule.
34422         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34423         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34424         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34425         [generic bits/errno.h] (common-generated): Do not append to
34426         variable.
34427         [generic bits/ioctls.h] (before-compile): Do not append to
34428         variable.
34429         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34430         rule.
34431         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34432         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34433         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34434         rule.
34435         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34436         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34437         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34438         [generic bits/ioctls.h] (common-generated): Do not append to
34439         variable.
34440         [generic sys/syscall.h] (syscall.h): Remove variable.
34441         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34442         rule.
34443         [generic sys/syscall.h] (before-compile): Do not append to
34444         variable.
34445         [generic sys/syscall.h] (common-generated): Likewise.
34446         * sysdeps/unix/errnos-tmpl.c: Remove file.
34447         * sysdeps/unix/errnos.awk: Likewise.
34448         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34449         * sysdeps/unix/ioctls.awk: Likewise.
34450         * sysdeps/unix/mk-local_lim.c: Likewise.
34451         * sysdeps/unix/snarf-ioctls: Likewise.
34452
34453 2012-03-19  Richard Henderson  <rth@twiddle.net>
34454
34455         * sysdeps/i386/fpu/fenv_private.h: New file.
34456         * sysdeps/i386/fpu/math_private.h: Use it.
34457         (math_opt_barrier, math_force_eval): Remove.
34458         (libc_feholdexcept_setround_53bit): Remove.
34459         (libc_feupdateenv_53bit): Remove.
34460         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34461         (math_opt_barrier, math_force_eval): Remove.
34462         (libc_feholdexcept): Remove.
34463         (libc_feholdexcept_setround): Remove.
34464         (libc_fetestexcept, libc_fesetenv): Remove.
34465         (libc_feupdateenv_test): Remove.
34466         (libc_feupdateenv, libc_feholdsetround): Remove.
34467         (libc_feresetround): Remove.
34468
34469         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34470         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34471
34472         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34473         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34474         (libc_feupdateenv_testl): New.
34475         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34476         (libc_feupdateenv_testf): New.
34477         (libc_feupdateenv): Use libc_feupdateenv_test.
34478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34479         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34480
34481         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34482         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34483         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34484         (libc_feresetround_noex): New.
34485         (libc_feresetround_noexf): New.
34486         (libc_feresetround_noexl): New.
34487         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34488         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34489         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34490         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34491         SET_RESTORE_ROUND.
34492         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34494         (__cos): Likewise.
34495         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34496         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34497         SET_RESTORE_ROUND_NOEX.
34498         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34499         SET_RESTORE_ROUND_NOEXF.
34500         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34501         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34502         (libc_feholdsetroundf): New.
34503         (libc_feresetround, libc_feresetroundf): New.
34504
34505         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34506         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34507         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34508
34509         * sysdeps/generic/math_private.h: Include <fenv.h>.
34510         (default_libc_feholdexcept): New.
34511         (default_libc_feholdexcept_setround): New.
34512         (default_libc_fesetenv, default_libc_feupdateenv): New.
34513         (libc_feholdexcept): Only define if undefined.
34514         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34515         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34516         (libc_feholdexcept_setroundl): Likewise.
34517         (libc_feholdexcept_setround_53bit): Likewise.
34518         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34519         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34520         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34521         (libc_feupdateenv_53bit): Likewise.
34522         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34523         (libc_feholdexcept): Convert from macro to inline function.
34524         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34525         (libc_fesetenv, libc_feupdateenv): Likewise.
34526
34527         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34528         not previously defined.
34529         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34530         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34531         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34532         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34533         * sysdeps/ieee754/flt-32/math_private.h: New file.
34534         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34535         math_private.h below SET_FLOAT_WORD.
34536         (__isnan, __isinf_ns, __finite): Remove.
34537         (__isnanf, __isinf_nsf, __finitef): Remove.
34538
34539 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34540
34541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34542
34543 2012-03-17  David S. Miller  <davem@davemloft.net>
34544
34545         [BZ #6471]
34546         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34547         for 2.16.
34548
34549 2012-03-16  David S. Miller  <davem@davemloft.net>
34550
34551         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34552         warnings.
34553
34554         [BZ #6471]
34555         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34556         properly.
34557         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34558         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34559         sysdep_routines when subdir is sysvipc.
34560         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34561         __getshmlba helper.
34562
34563         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34564
34565 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34566
34567         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34568         [__LP64__].
34569
34570 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34571
34572         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34573         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34574         (__lround): Renamed to ...
34575         (__llround): This.  Replace long int with long long int.
34576         Define lround functions as aliases of llround functions.
34577         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34578
34579 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34580
34581         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34582         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34583         adresses to uintptr_t.  Replace "long int" and "unsigned long
34584         int" with "greg_t" on va_arg.
34585
34586 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34587
34588         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34589         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34590
34591         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34592         Move e_machine check before EI_CLASS check.  Handle x32
34593         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34594         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34595         SKIP_EM_IA_64 and include
34596         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34597
34598         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34599         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34600         (add_system_dir): New macro.
34601
34602         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34603         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34604
34605 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34606
34607         [BZ #2551]
34608         [BZ #2552]
34609         [BZ #2553]
34610         [BZ #2554]
34611         [BZ #2562]
34612         [BZ #2563]
34613         [BZ #2565]
34614         [BZ #2566]
34615         [BZ #2576]
34616         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34617         (y0): Likewise.
34618         * math/w_j0f.c (j0f): Likewise.
34619         (y0f): Likewise.
34620         * math/w_j0l.c (__j0l): Likewise.
34621         (__y0l): Likewise.
34622         * math/w_j1.c (j1): Likewise.
34623         (y1): Likewise.
34624         * math/w_j1f.c (j1f): Likewise.
34625         (y1f): Likewise.
34626         * math/w_j1l.c (__j1l): Likewise.
34627         (__y1l): Likewise.
34628         * math/w_jn.c (jn): Likewise.
34629         (yn): Likewise.
34630         * math/w_jnf.c (jnf): Likewise.
34631         (ynf): Likewise.
34632         * math/w_jnl.c (__jnl): Likewise.
34633         (__ynl): Likewise.
34634         * math/libm-test.inc (j0_test): Add more tests.
34635         (j1_test): Likewise.
34636         (jn_test): Likewise.  Add trailing semicolon to existing test.
34637         (y0_test): Likewise.
34638         (y1_test): Likewise.
34639         * sysdeps/i386/fpu/libm-test-ulps: Update.
34640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34641
34642         [BZ #13851]
34643         [BZ #13854]
34644         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34645         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34646         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34647         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34648         (__tanl): Set errno for infinite argument.
34649         * sysdeps/i386/fpu/mptan.c: Remove.
34650         * sysdeps/i386/fpu/s_tan.S: Likewise.
34651         * sysdeps/i386/fpu/s_tanl.S: Likewise.
34652         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34653         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34654         * math/libm-test.inc (tan_test): Add more tests and enable more
34655         tests for double and long double.
34656         * sysdeps/i386/fpu/libm-test-ulps: Update.
34657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34658
34659 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
34660
34661         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34662         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34663
34664 2012-03-16  Roland McGrath  <roland@hack.frob.com>
34665
34666         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34667         * configure.in: Use it for both main tree and add-ons.
34668         * configure: Regenerated.
34669
34670 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34671
34672         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34673
34674 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34675
34676         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34677         in comment.
34678
34679         [BZ #13851]
34680         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34681         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34682         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34683         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34684         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34685         infinite argument.
34686         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34687         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34688         != 0 for prec == 2.
34689         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34690         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34691         * sysdeps/i386/fpu/s_cosl.S: Likewise.
34692         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34693         * sysdeps/i386/fpu/s_sinl.S: Likewise.
34694         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34695         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34696         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34697         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34698         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34699         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34700         * math/libm-test.inc (cos_test): Add more tests and enable more
34701         tests for long double.
34702         (sin_test): Likewise.
34703         (sincos_test): Likewise.
34704         * sysdeps/i386/fpu/libm-test-ulps: Update.
34705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34706
34707 2012-03-16  David S. Miller  <davem@davemloft.net>
34708
34709         * sysdeps/sparc/fpu/math_private.h: New file.
34710
34711 2012-03-15  David S. Miller  <davem@davemloft.net>
34712
34713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34714         file.
34715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34717         file.
34718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34722         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34723         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34724         sysdep routines.
34725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34726
34727         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34728         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34729
34730         * sysdeps/sparc/sparc-ifunc.h: New file.
34731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34732         sparc-ifunc.h
34733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34735         Likewise.
34736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34737         Likewise.
34738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34742         Likewise.
34743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34748         Likewise.
34749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34750         Likewise.
34751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34757         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34758         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34760         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34765         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34766         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34767         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34768         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34769         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34770         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34771         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34772         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34773         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34774         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34775
34776 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34777
34778         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34779         scaling.
34780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34781
34782 2012-03-15  Andreas Jaeger  <aj@suse.de>
34783
34784         [BZ #13852]
34785         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34786         ieee754/flt-32 implementation for sin, cos and sincos.
34787         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34788         * sysdeps/i386/fpu/s_cosf.S: Likewise.
34789         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34790         * sysdeps/i386/fpu/s_sinf.S: Likewise.
34791         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34792         ieee754/flt-32 implementation for tan.
34793
34794         * math/libm-test.inc (cos_test): Enable some large input tests for
34795         float as well
34796         (sin_test): Likewise.
34797         (sincos_test): Likewise.
34798         (tan_test): Add tests for large input.
34799
34800         * sysdeps/i386/fpu/libm-test-ulps: Update.
34801
34802 2012-03-15  Andreas Jaeger  <aj@suse.de>
34803
34804         [BZ #13658]
34805         * math/libm-test.inc (cos_test): Add more test cases.
34806         (sin_test): Likewise.
34807         (sincos_test): Likewise.
34808
34809 2012-03-15  Andreas Jaeger  <aj@suse.de>
34810
34811         [BZ #13837]
34812         * math/libm-test.inc (cos_test): Add a test case for large input
34813         value.
34814         (sin_test): Likewise.
34815         (sincos_test): Likewise.
34816
34817 2012-03-15  Andreas Jaeger  <aj@suse.de>
34818             Joseph Myers  <joseph@codesourcery.com>
34819
34820         [BZ #13658]
34821         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34822         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34823         * sysdeps/i386/fpu/branred.c: Likewise.
34824         * sysdeps/i386/fpu/dosincos.c: Likewise.
34825         * sysdeps/i386/fpu/mpa.c: Likewise.
34826         * sysdeps/i386/fpu/s_cos.S: Likewise.
34827         * sysdeps/i386/fpu/s_sin.S: Likewise.
34828         * sysdeps/i386/fpu/s_sincos.S: Likewise.
34829         * sysdeps/i386/fpu/sincos32.c: Likewise.
34830
34831         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34832         Define.
34833         (libc_feupdateenv_53bit): Define.
34834         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34835         Define.
34836         (libc_feupdateenv_53bit): Define.
34837
34838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34839         53 bit (without extend i386 double precision).
34840
34841         * math/libm-test.inc (sincos_test): Add tests for large input.
34842         (sin): Likewise.
34843         (cos): Likewise.
34844
34845         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34846
34847 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34848
34849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34850
34851 2012-03-15  David S. Miller  <davem@davemloft.net>
34852
34853         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34854         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34855         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34856         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34869         file.
34870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34872         file.
34873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34875         file.
34876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34878         file.
34879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34880         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34881         fmin/fmax sysdep routines.
34882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34883
34884 2012-03-14  David S. Miller  <davem@davemloft.net>
34885
34886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34890         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34891         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34892         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34893         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34898         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34900         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34901         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34902         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34903         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34904         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34906         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34907         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34908         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34909         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34910         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34912         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34913         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34914         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34915         routines.
34916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34917         file.
34918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34920         file.
34921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34923         file.
34924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34926         file.
34927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34929         file.
34930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34932         file.
34933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34934         file.
34935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34936         file.
34937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34938         file.
34939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34940         New file.
34941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34942         file.
34943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34944         file.
34945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34947         file.
34948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34950         file.
34951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34953         file.
34954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34956         VIS3 routines.
34957
34958         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34959         New file.
34960
34961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34962
34963         * sysdeps/sparc/configure.in: New file.
34964         * sysdeps/sparc/configure: Generate.
34965         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34966         * configure: Regenerate.
34967         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34968         * config.make.in (have-as-vis3): New.
34969         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34970         available use -Av9d instead of -Av9a.
34971         * sysdeps/sparc/sparc64/Makefile: Likewise.
34972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34974         New file.
34975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34976         file.
34977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34978         New file.
34979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34980         file.
34981         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34982         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34983         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34984         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34985         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34986
34987         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34988         fzeros/fnegs to load 0x80000000 into a float register instead of
34989         using the stack.
34990         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34991
34992 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34993
34994         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34995         bits/syscall.h.
34996         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34997         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34998         ($(inst_includedir)/bits/syscall.h): Remove rule.
34999         ($(objpfx)bits/syscall.d): Include instead of
35000         $(objpfx)syscall-list.d.
35001         (generated): Change syscall-list.h and syscall-list.d to
35002         bits/syscall.h and bits/syscall.d.
35003
35004 2012-03-14  Roland McGrath  <roland@hack.frob.com>
35005
35006         [BZ #13846]
35007         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35008
35009 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35010
35011         [BZ #13841]
35012         * math/s_csqrt.c: Include <float.h>.
35013         (__csqrt): Scale large or subnormal inputs.
35014         * math/s_csqrtf.c: Likewise.
35015         * math/s_csqrtl.c: Likewise.
35016         * math/libm-test.inc (csqrt_test): Add more tests.
35017         * sysdeps/i386/fpu/libm-test-ulps: Update.
35018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35019
35020         [BZ #13840]
35021         * math/libm-test.inc (hypot_test): Add more tests.
35022
35023 2012-03-13  David S. Miller  <davem@davemloft.net>
35024
35025         [BZ #13840]
35026         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35027         double-precision for the calculation instead of scaling.
35028
35029 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
35030
35031         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35032         manipulate bits before adding and subtracting TWO52[sx].
35033         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35034         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35035         Likewise.
35036         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35037
35038 2012-03-13  David S. Miller  <davem@davemloft.net>
35039
35040         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35041         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35042         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35043         rtld-global-offsets.h
35044         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35045
35046         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35047         large parameters.
35048
35049         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35050
35051         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35052         'err' in the ifdef scope in which it is actually used.
35053
35054         * nss/nss_db/db-init.c: Include string.h
35055
35056 2012-03-12  David S. Miller  <davem@davemloft.net>
35057
35058         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35059         masking out of the most significant byte of random value used.
35060         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35061         Fix coding style in previous change.
35062
35063         * sysdeps/unix/sysv/linux/kernel-features.h
35064         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35065         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35066         expression.
35067         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35068         later.
35069
35070 2012-03-11  David S. Miller  <davem@davemloft.net>
35071
35072         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35073         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35074         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35075         for 'resultvar' otherwise things get truncated on 64-bit.
35076
35077         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35078         Fix masking out of the most significant byte of random value used.
35079
35080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35081
35082 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
35083
35084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35085
35086 2012-03-09  David S. Miller  <davem@davemloft.net>
35087
35088         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35089         variables with appropriate CPP guards.
35090         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35091         from the frame pointer, not the stack pointer.  Correct layout
35092         comments.  Fix test on resulting framesize and the management of
35093         the outregs buffer for pltexit.  Preserve floating point return
35094         values across _dl_call_pltexit call.
35095         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35096         framesize and the management of the outregs buffer for pltexit.
35097         Preserve floating point return values across _dl_call_pltexit
35098         call.
35099         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35100         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35101         (la_sparc64_gnu_pltexit): New functions.
35102         (print_exit): Fix format string for return register value.
35103
35104 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
35105
35106         * sunrpc/Makefile (others): Add rpcgen.
35107         ($(objpfx)rpcgen): Remove special build rule and dependency on
35108         libc.
35109         * sunrpc/rpcgen.c: New file.
35110
35111 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
35112
35113         [BZ #13673]
35114         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35115         * stdio-common/bug-vfprintf-nargs.c: Likewise.
35116         * sysdeps/i386/crti.S: Likewise.
35117         * sysdeps/i386/crtn.S: Likewise.
35118         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35119         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35120         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35121         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35122         * sysdeps/sh/crti.S: Likewise.
35123         * sysdeps/sh/crtn.S: Likewise.
35124         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35125
35126         [BZ #13673]
35127         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35128         with URL.
35129         * locale/programs/locfile-kw.gperf: Likewise.
35130         * locale/programs/charmap-kw.h: Regenerated.
35131         * locale/programs/locfile-kw.h: Likewise.
35132
35133         [BZ #13673]
35134         * intl/plural.y: Replace FSF snail mail address with URL.
35135         * intl/plural.c: Regenerated.
35136
35137 2012-03-09  Richard Henderson  <rth@twiddle.net>
35138
35139         * include/math_private.h: Remove file.
35140         * math/math_private.h: Move file ...
35141         * sysdeps/generic/math_private.h: ... here.
35142
35143         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35144         * sysdeps/powerpc/fpu/math_private.h: Likewise.
35145         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35146
35147         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35148         and <math_private.h>.
35149         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35150         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35151         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35152         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35153         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35154         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35155         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35156         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35157         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35158         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35159         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35160         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35161         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35162         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35163         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35164         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35165         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35166         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35167         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35168         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35169         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35170         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35171         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35172         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35173         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35174         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35175         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35176         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35177         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35178         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35179         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35180         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35181         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35182         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35183         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35184         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35185         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35186         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35187         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35188         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35189         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35190         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35191         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35192         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35193         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35194         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35195         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35196         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35197         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35198         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35199         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35200         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35201         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35202         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35203         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35204         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35205         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35206         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35207         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35208         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35209         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35210         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35211         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35212         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35213         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35214         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35215         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35216         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35217         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35218         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35219         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35220         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35221         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35222         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35223         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35224         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35226         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35227         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35228         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35229         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35230         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35231         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35232         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35233         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35234         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35235         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35236         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35237         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35238         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35239         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35240         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35241         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35242         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35243         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35244         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35245         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35246         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35247         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35248         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35249         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35250         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35251         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35252         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35253         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35254         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35255         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35256         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35257         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35258         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35259         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35260         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35261         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35262         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35263         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35264         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35265         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35266         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35267         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35268         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35269         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35270         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35271         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35272         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35273         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35274         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35275         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35276         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35277         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35278         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35279         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35280         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35281         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35282         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35283         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35284         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35285         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35286         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35287         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35288         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35289         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35290         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35291         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35292         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35293         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35294         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35295         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35296         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35297         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35298         * sysdeps/ieee754/k_standard.c: Likewise.
35299         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35300         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35301         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35302         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35303         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35304         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35305         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35306         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35307         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35308         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35309         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35310         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35311         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35312         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35313         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35314         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35315         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35316         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35317         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35318         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35319         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35320         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35321         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35322         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35323         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35324         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35325         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35326         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35327         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35328         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35329         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35330         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35331         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35332         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35333         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35334         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35335         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35336         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35337         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35338         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35339         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35340         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35341         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35342         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35343         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35344         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35345         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35346         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35347         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35348         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35349         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35350         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35351         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35352         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35353         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35354         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35355         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35356         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35357         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35358         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35359         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35360         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35361         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35362         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35363         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35364         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35365         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35366         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35367         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35368         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35369         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35370         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35371         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35372         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35373         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35374         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35375         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35376         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35377         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35378         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35379         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35380         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35381         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35382         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35383         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35384         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35385         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35386         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35387         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35389         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35390         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35391         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35392         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35393         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35394         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35395         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35396         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35397         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35398         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35399         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35400         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35401         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35402         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35403         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35404         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35405         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35406         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35407         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35408         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35409         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35410         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35411         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35412         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35413         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35414         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35415         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35416         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35417         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35418         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35419         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35420         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35421         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35422         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35423         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35424         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35425         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35426         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35427         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35428         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35429         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35430         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35431         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35432         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35433         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35434         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35435         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35436         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35437         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35438         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35439         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35440         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35441         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35442         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35443         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35444         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35445         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35446         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35447         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35448         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35449         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35450         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35451         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35452         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35453         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35454         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35455         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35456         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35457         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35458         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35459         * sysdeps/ieee754/s_lib_version.c: Likewise.
35460         * sysdeps/ieee754/s_matherr.c: Likewise.
35461         * sysdeps/ieee754/s_signgam.c: Likewise.
35462         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35463         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35464         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35465         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35466         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35467         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35468         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35469         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35470         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35471         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35472         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35473         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35474         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35475         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35476         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35477         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35478         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35479         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35480         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35481         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35482         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35483
35484 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35485
35486         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35487         * sunrpc/rpc_main.c: Likewise.
35488         * sunrpc/rpc_svcout.c: Likewise.
35489
35490 2012-03-09  David S. Miller  <davem@davemloft.net>
35491
35492         * include/math_private.h: New file.
35493
35494 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35495
35496         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35497         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35498         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35499         from <bits/socket_type.h>.
35500         (enum __socket_type): Don't define here.
35501         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35503         bits/socket_type.h.
35504
35505         [BZ #13566]
35506         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35507         checking __USE_GNU.
35508
35509         * Makerules ($(inst_includedir)/%.h): New rule.
35510         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35511         (install-others): Remove variable setting.
35512         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35513
35514 2012-03-08  Richard Henderson  <rth@twiddle.net>
35515
35516         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35517         from macro to inline function; merge with the
35518         !__LIBC_INTERNAL_MATH_INLINES version.
35519         (__ieee754_sqrtf): Likewise.
35520
35521         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35522         to inline function.
35523         (__rintf, __floor, __floorf): Likewise.
35524
35525         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35526         macro to inline function.
35527         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35528
35529         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35530         not <math/math_private.h>.
35531
35532 2012-03-08  David S. Miller  <davem@davemloft.net>
35533
35534         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35535         copyright year.
35536         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35537
35538 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35539
35540         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35541         normalization.
35542         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35543         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35544
35545 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35546
35547         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35548         be defined individually, they must be defined as a block.  Define
35549         S for printing a string instead of hidint the different by using a
35550         macro for adding the 'l'.
35551         * stdio-common/tst-fphex-wide.c: Adjust.
35552
35553 2012-03-07  Marek Polacek  <polacek@redhat.com>
35554
35555         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35556
35557 2012-03-08  Marek Polacek  <polacek@redhat.com>
35558
35559         [BZ #13806]
35560         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35561         * stdio-common/tst-fphex.c: Define a few macros to make the
35562         test reusable.  Use them.
35563         * stdio-common/tst-fphex-wide.c: New file.
35564
35565 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35566
35567         [BZ #6911]
35568         * manual/macros.texi (gnusystems): New macro.
35569         (nongnusystems): Likewise.
35570         (gnulinuxhurdsystems): Likewise.
35571         (gnuhurdsystems): Likewise..
35572         (gnulinuxsystems): Likewise.
35573         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35574         variants of the GNU system, not "GNU system".
35575         * manual/conf.texi: Likewise.
35576         * manual/errno.texi: Likewise.  Update example of errno macro
35577         expansion.
35578         * manual/filesys.texi: Likewise.
35579         (getumask): Document as specific to GNU/Hurd.
35580         * manual/install.texi: Likewise.  Reword some references to
35581         GNU/Linux.
35582         * manual/intro.texi: Likewise.
35583         * manual/io.texi: Likewise.
35584         (File Name Portability): Detail which constraints are inapplicable
35585         to all GNU systems and which are only inapplicable to GNU/Hurd.
35586         * manual/job.texi: Likewise.
35587         * manual/llio.texi: Likewise.
35588         (O_NOCTTY): Document as present on GNU/Linux.
35589         * manual/maint.texi: Likewise.
35590         * manual/memory.texi: Likewise.
35591         * manual/pattern.texi: Likewise.
35592         * manual/pipe.texi: Likewise.
35593         * manual/process.texi: Likewise.
35594         * manual/resource.texi: Likewise.
35595         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35596         child on GNU/Hurd.
35597         * manual/setjmp.texi: Likewise.
35598         * manual/signal.texi: Likewise.
35599         * manual/startup.texi: Likewise.
35600         * manual/stdio.texi: Likewise.
35601         * manual/terminal.texi: Likewise.
35602         (ONLCR): Document as POSIX.
35603         (OXTABS): Document availability on GNU/Linux as XTABS.
35604         (ONOEOT): Document availability separately from other bits.
35605         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35606         * manual/time.texi: Likewise.
35607         * manual/users.texi: Likewise.
35608         * INSTALL: Regenerated.
35609         * sysdeps/gnu/errlist.c: Regenerated.
35610
35611         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35612         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35613         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35614         puts.
35615         * configure: Regenerated.
35616
35617 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35618
35619         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35620         default includes instead of AC_HEADER_CHECK.
35621         * sysdeps/i386/configure: Regenerated.
35622
35623         [BZ #10716]
35624         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35625         * math/s_cacoshf.c (__cacoshf): Likewise.
35626         * math/s_cacoshl.c (__cacoshl): Likewise.
35627         * math/s_casinh.c (__casinh): Set signs of result from argument.
35628         * math/s_casinhf.c (__casinhf): Likewise.
35629         * math/s_casinhl.c (__casinhl): Likewise.
35630         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35631         (casinh_test): Add more tests.
35632         * sysdeps/i386/fpu/libm-test-ulps: Update.
35633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35634
35635 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35636
35637         * po/zh_TW.po: Update from translation team.
35638
35639         * login/Makefile (distribute): Remove variable.
35640         * catgets/Makefile: Likewise.
35641         * mach/Makefile: Likewise.
35642         * malloc/Makefile: Likewise.
35643         * misc/Makefile: Likewise.
35644         * iconv/Makefile: Likewise.
35645         * nscd/Makefile: Likewise.
35646         * hurd/Makefile: Likewise.
35647         * manual/Makefile: Likewise.
35648         * locale/Makefile: Likewise.
35649         * intl/Makefile: Likewise.
35650         * conform/Makefile: Likewise.
35651         * nss/Makefile: Likewise.
35652         * time/Makefile: Likewise.
35653         * soft-fp/Makefile: Likewise.
35654         * dirent/Makefile: Likewise.
35655         * gmon/Makefile: Likewise.
35656         * po/Makefile: Likewise.
35657         * rt/Makefile: Likewise.
35658         * socket/Makefile: Likewise.
35659         * math/Makefile: Likewise.
35660         * signal/Makefile: Likewise.
35661         * debug/Makefile: Likewise.
35662         * elf/Makefile: Likewise.
35663         * timezone/Makefile: Likewise.
35664         * stdlib/Makefile: Likewise.
35665         * iconvdata/Makefile: Likewise.
35666         * sunrpc/Makefile: Likewise.
35667         * io/Makefile: Likewise.
35668         * argp/Makefile: Likewise.
35669         * inet/Makefile: Likewise.
35670         * hesiod/Makefile: Likewise.
35671         * grp/Makefile: Likewise.
35672         * csu/Makefile: Likewise.
35673         * wctype/Makefile: Likewise.
35674         * crypt/Makefile: Likewise.
35675         * libio/Makefile: Likewise.
35676         * string/Makefile: Likewise.
35677         * nis/Makefile: Likewise.
35678         * resolv/Makefile: Likewise.
35679         * stdio-common/Makefile: Likewise.
35680         * wcsmbs/Makefile: Likewise.
35681         * dlfcn/Makefile: Likewise.
35682         * posix/Makefile: Likewise.
35683
35684         [BZ #6959]
35685         * timezone/Makefile: Don't install timezone files, just the programs
35686         and scripts.
35687
35688 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
35689
35690         * nss/databases.def: Add missing gshadow entry.
35691
35692         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
35693
35694 2012-03-06  Marek Polacek  <polacek@redhat.com>
35695
35696         [BZ #13726]
35697         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35698         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35699         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35700         * stdio-common/tst-long-dbl-fphex.c: New file.
35701
35702 2012-03-06  David S. Miller  <davem@davemloft.net>
35703
35704         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35705         (set_obp_int): New function.
35706         (get_obp_int): New function.
35707         (__get_clockfreq_via_dev_openprom): Likewise.
35708         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35709         Avoid unused variable warnings on 'val' and use builtin_expect.
35710         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35711         __builtin_expect.
35712         (INLINE_CLONE_SYSCALL): Likewise.
35713
35714 2012-03-05  David S. Miller  <davem@davemloft.net>
35715
35716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35717
35718 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
35719
35720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35721
35722         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35723         only for |x| >= 40.
35724         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35725
35726 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35727
35728         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35729         Replace gettimeofday with __vdso_gettimeofday.
35730
35731         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35732         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35733         __vdso_clock_gettime and __vdso_getcpu.
35734
35735         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35736         time with __vdso_time.
35737
35738 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35739
35740         * manual/lang.texi (size_t): Note types to which size_t may be
35741         equivalent with the GNU C Library, but do not describe when
35742         differences between them are significant.
35743
35744 2012-03-05  Andreas Jaeger  <aj@suse.de>
35745
35746         * sysdeps/i386/fpu/libm-test-ulps: Update.
35747
35748 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35749
35750         [BZ #3976]
35751         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35752         (__ieee754_pow): Save and restore rounding mode and use
35753         round-to-nearest for main computations.
35754         * math/libm-test.inc (pow_test_tonearest): New function.
35755         (pow_test_towardzero): Likewise.
35756         (pow_test_downward): Likewise.
35757         (pow_test_upward): Likewise.
35758         (main): Call the new functions.
35759         * sysdeps/i386/fpu/libm-test-ulps: Update.
35760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35761
35762         [BZ #3976]
35763         * math/libm-test.inc (cosh_test_tonearest): New function.
35764         (cosh_test_towardzero): Likewise.
35765         (cosh_test_downward): Likewise.
35766         (cosh_test_upward): Likewise.
35767         (sinh_test_tonearest): Likewise.
35768         (sinh_test_towardzero): Likewise.
35769         (sinh_test_downward): Likewise.
35770         (sinh_test_upward): Likewise.
35771         (main): Call the new functions.
35772         * sysdeps/i386/fpu/libm-test-ulps: Update.
35773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35774
35775 2012-03-05  Tom de Vries  <tom@codesourcery.com>
35776
35777         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35778         default stack guard is set in last bytes.
35779         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35780
35781 2012-03-05  Kees Cook  <keescook@chromium.org>
35782
35783         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35784
35785         [BZ #13656]
35786         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35787         possibly allocate from heap instead of stack.
35788         * stdio-common/bug-vfprintf-nargs.c: New file.
35789         * stdio-common/Makefile (tests): Add nargs overflow test.
35790
35791 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
35792
35793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35794
35795 2012-03-03  Marek Polacek  <polacek@redhat.com>
35796
35797         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35798         * math/math_private.h: Likewise.
35799         * stdlib/tst-strtod.c: Likewise.
35800         * sysdeps/i386/i486/bits/atomic.h: Likewise.
35801         * sysdeps/x86_64/bits/atomic.h: Likewise.
35802
35803 2012-03-02  David S. Miller  <davem@davemloft.net>
35804
35805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35809         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35810         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35811         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35812         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35813
35814 2012-03-02  Roland McGrath  <roland@hack.frob.com>
35815
35816         [BZ #13792]
35817         * manual/examples/README: New file, says the example source files
35818         can be used under GPL>=2.
35819         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35820         line containing just "*/".
35821         * manual/examples/add.c: Add copyright header (GPL>=2).
35822         * manual/examples/argp-ex1.c: Likewise.
35823         * manual/examples/argp-ex2.c: Likewise.
35824         * manual/examples/argp-ex3.c: Likewise.
35825         * manual/examples/argp-ex4.c: Likewise.
35826         * manual/examples/atexit.c: Likewise.
35827         * manual/examples/db.c: Likewise.
35828         * manual/examples/dir.c: Likewise.
35829         * manual/examples/dir2.c: Likewise.
35830         * manual/examples/execinfo.c: Likewise.
35831         * manual/examples/filecli.c: Likewise.
35832         * manual/examples/filesrv.c: Likewise.
35833         * manual/examples/fmtmsgexpl.c: Likewise.
35834         * manual/examples/genpass.c: Likewise.
35835         * manual/examples/inetcli.c: Likewise.
35836         * manual/examples/inetsrv.c: Likewise.
35837         * manual/examples/isockad.c: Likewise.
35838         * manual/examples/longopt.c: Likewise.
35839         * manual/examples/memopen.c: Likewise.
35840         * manual/examples/memstrm.c: Likewise.
35841         * manual/examples/mkfsock.c: Likewise.
35842         * manual/examples/mkisock.c: Likewise.
35843         * manual/examples/mygetpass.c: Likewise.
35844         * manual/examples/pipe.c: Likewise.
35845         * manual/examples/popen.c: Likewise.
35846         * manual/examples/rprintf.c: Likewise.
35847         * manual/examples/search.c: Likewise.
35848         * manual/examples/select.c: Likewise.
35849         * manual/examples/setjmp.c: Likewise.
35850         * manual/examples/sigh1.c: Likewise.
35851         * manual/examples/sigusr.c: Likewise.
35852         * manual/examples/stpcpy.c: Likewise.
35853         * manual/examples/strdupa.c: Likewise.
35854         * manual/examples/strftim.c: Likewise.
35855         * manual/examples/strncat.c: Likewise.
35856         * manual/examples/subopt.c: Likewise.
35857         * manual/examples/swapcontext.c: Likewise.
35858         * manual/examples/termios.c: Likewise.
35859         * manual/examples/testopt.c: Likewise.
35860         * manual/examples/testpass.c: Likewise.
35861         * manual/examples/timeval_subtract.c: Likewise.
35862
35863         [BZ #13792]
35864         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35865         function to ...
35866         * manual/timeval_subtract.c.texi: ... here, new file.
35867
35868 2012-03-02  David S. Miller  <davem@davemloft.net>
35869
35870         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35871
35872 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35873
35874         [BZ #3976]
35875         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35876         (__sin): Save and restore rounding mode and use round-to-nearest
35877         for all computations.
35878         (__cos): Save and restore rounding mode and use round-to-nearest
35879         for all computations.
35880         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35881         <fenv.h>.
35882         (tan): Save and restore rounding mode and use round-to-nearest for
35883         all computations.
35884         * math/libm-test.inc (cos_test_tonearest): New function.
35885         (cos_test_towardzero): Likewise.
35886         (cos_test_downward): Likewise.
35887         (cos_test_upward): Likewise.
35888         (sin_test_tonearest): Likewise.
35889         (sin_test_towardzero): Likewise.
35890         (sin_test_downward): Likewise.
35891         (sin_test_upward): Likewise.
35892         (tan_test_tonearest): Likewise.
35893         (tan_test_towardzero): Likewise.
35894         (tan_test_downward): Likewise.
35895         (tan_test_upward): Likewise.
35896         (main): Call the new functions.
35897         * sysdeps/i386/fpu/libm-test-ulps: Update.
35898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35899
35900         [BZ #10135]
35901         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35902         small n, then large n, before computing and testing k+n.
35903         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35904         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35905         Likewise.
35906         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35907         Likewise.
35908         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35909         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35910         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35911         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35912         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35913         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35914         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35915         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35916         * math/libm-test.inc (scalbn_test): Add more tests.
35917         (scalbln_test): Likewise.
35918
35919         * manual/filesys.texi (mode_t): Describe constraints on size and
35920         signedness, not exact equivalence to a particular type.
35921         (ino_t): Likewise.
35922         (ino64_t): Likewise.
35923         (dev_t): Likewise.
35924         (nlink_t): Likewise.
35925         (blkcnt_t): Likewise.
35926         (blkcnt64_t): Likewise.
35927         * manual/llio.texi (off_t): Likewise.
35928
35929         [BZ #3976]
35930         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35931         (__ieee754_exp): Save and restore rounding mode and use
35932         round-to-nearest for all computations.
35933         * math/libm-test.inc (exp_test_tonearest): New function.
35934         (exp_test_towardzero): Likewise.
35935         (exp_test_downward): Likewise.
35936         (exp_test_upward): Likewise.
35937         (main): Call the new functions.
35938         * sysdeps/i386/fpu/libm-test-ulps: Update.
35939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35940
35941 2012-03-01  Chris Demetriou  <cgd@google.com>
35942
35943         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35944         have predictable order.
35945
35946 2012-03-01  David S. Miller  <davem@davemloft.net>
35947
35948         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35949
35950         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35951         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35952         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35953         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35954
35955         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35956         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35957         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35959         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35960         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35961         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35962         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35963         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35964
35965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35966
35967         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35968         * sysdeps/sparc/fpu/libm-test-ulps: to here.
35969         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35970
35971         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35972         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35973         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35974         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35975         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35976         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35977         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35978         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35979         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35980         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35981         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35982         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35984         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35985         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35987         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35988         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35989         * sysdeps/sparc/elf/configure: Regenerated.
35990
35991 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
35992
35993         * configure.in (AS, LD): Require binutils 2.20 or later.
35994         * configure: Regenerated.
35995         * manual/install.texi (Tools for Compilation): Give binutils 2.20
35996         as required minimum version.
35997         * INSTALL: Regenerated.
35998
35999         [BZ #2541]
36000         [BZ #4108]
36001         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36002         before squaring exponent.
36003         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36004         bottom long double and 27 bits of top long double before squaring
36005         exponent.
36006         * math/libm-test.inc (erfc_test): Add more tests.
36007         * sysdeps/i386/fpu/libm-test-ulps: Update.
36008         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36010
36011 2012-03-01  Kai Tietz  <ktietz@redhat.com>
36012
36013         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36014         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36015         containing bit-fields.
36016         * soft-fp/extended.h (_FP_UNION_E): Likewise.
36017         * soft-fp/single.h (_FP_UNION_S): Likewise.
36018         * soft-fp/double.h (_FP_UNION_D): Likewise.
36019
36020 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36021
36022         [BZ #13786]
36023         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36024         not include ../strcmp.S.
36025         [USE_AS_STRNCASECMP_L]: Likewise.
36026         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36027         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36028         * sysdeps/i386/i686/multiarch/strncase_l-c.c
36029         (__strncasecmp_l_ia32): Define as alias to
36030         __strncasecmp_l_nonascii.
36031
36032         [BZ #5794]
36033         * math/libm-test.inc (expm1_test): Add test for bug 5794.
36034         * sysdeps/i386/fpu/libm-test-ulps: Update.
36035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36036
36037         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36039
36040 2012-02-29  Jeff Law  <law@redhat.com>
36041
36042         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36043         out of bounds read.
36044
36045 2012-02-29  Marek Polacek  <polacek@redhat.com>
36046
36047         [BZ #13706]
36048         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36049         * elf/Makefile: Add rules to run tst-unused-dep.out.
36050
36051 2012-02-28  David S. Miller  <davem@davemloft.net>
36052
36053         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36054         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36055         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36056         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36057         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36058         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36059
36060 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36061
36062         * math/libm-test.inc (llround_test): Move one test from
36063         lround_test.  Use TEST_f_L in moved test.
36064         (lround_test): Move misplaced test to llround_test.  Add testcase
36065         from bug 2561.
36066
36067 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
36068
36069         * sysdeps/x86_64/fpu/e_expf.S: New file.
36070         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36071
36072 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
36073
36074         [BZ #13637]
36075         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36076         of remain_len that may cause incomplete multi-byte character and
36077         false match.
36078         * posix/bug-regex33.c: New file.
36079         * posix/Makefile (tests): Add bug-regex33.
36080
36081 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
36082
36083         * manual/macros.texi: New file.
36084         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36085         * manual/libc.texinfo: Include macros.texi.
36086         * manual/creatute.texi: Likewise.
36087         * manual/install.texi: Likewise.
36088         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36089         @glibcadj{} in references to the GNU C Library.
36090         * manual/charset.texi: Likewise.
36091         * manual/conf.texi: Likewise.
36092         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
36093         when not using those macros.
36094         * manual/creature.texi: Likewise.
36095         * manual/crypt.texi: Likewise.
36096         * manual/errno.texi: Likewise.
36097         * manual/filesys.texi: Likewise.
36098         * manual/header.texi: Likewise.
36099         * manual/install.texi: Likewise.
36100         * manual/intro.texi: Likewise.
36101         * manual/io.texi: Likewise.
36102         * manual/job.texi: Likewise.
36103         * manual/lang.texi: Likewise.
36104         * manual/libc.texiinfo: Likewise.
36105         * manual/llio.texi: Likewise.
36106         * manual/locale.texi: Likewise.
36107         * manual/maint.texi: Likewise.
36108         * manual/math.texi: Likewise.
36109         * manual/memory.texi: Likewise.
36110         * manual/message.texi: Likewise.
36111         * manual/nss.texi: Likewise.
36112         * manual/pattern.texi: Likewise.
36113         * manual/process.texi: Likewise.
36114         * manual/resource.texi: Likewise.
36115         * manual/search.texi: Likewise.
36116         * manual/setjmp.texi: Likewise.
36117         * manual/signal.texi: Likewise.
36118         * manual/socket.texi: Likewise.
36119         * manual/startup.texi: Likewise.
36120         * manual/stdio.texi: Likewise.
36121         * manual/string.texi: Likewise.
36122         * manual/sysinfo.texi: Likewise.
36123         * manual/syslog.texi: Likewise.
36124         * manual/terminal.texi: Likewise.
36125         * manual/time.texi: Likewise.
36126         * manual/users.texi: Likewise.
36127         * INSTALL: Regenerated.
36128         * NOTES: Regenerated.
36129         * sysdeps/gnu/errlist.c: Regenerated.
36130
36131 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
36132
36133         * include/dirent.h: Include <dirstream.h> before
36134         <dirent/dirent.h>.
36135
36136 2012-02-28  David S. Miller  <davem@davemloft.net>
36137
36138         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36139         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36140         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36141         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36142
36143 2012-02-27  David S. Miller  <davem@davemloft.net>
36144
36145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36147         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36148         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36149
36150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36151         frame pointer instead of stack pointer relative arg slot.
36152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36153         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36154         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36155
36156 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
36157
36158         [BZ #3992]
36159         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36160
36161 2012-02-27  David S. Miller  <davem@davemloft.net>
36162
36163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36167         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36168         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36169         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36170         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36171
36172 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36173
36174         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36175         later.  Allow versions 5-9.
36176         * configure: Regenerated.
36177         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36178         required minimum version and 4.6 as recommended version.  Do not
36179         mention bugs in GCC 2.7 and 2.8.
36180         * INSTALL: Regenerated.
36181
36182 2012-02-27  David S. Miller  <davem@davemloft.net>
36183
36184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36188         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36189         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36190         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36191         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36192
36193         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36194         manipulate bits before adding and subtracting TWO112[sx].
36195         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36196
36197 2012-02-27  Roland McGrath  <roland@hack.frob.com>
36198
36199         [BZ #13775]
36200         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36201         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36202         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36203         being in POSIX, because they are in 1003.1-2008.
36204
36205         * rt/tst-aio.c: Include <fcntl.h>.
36206         * rt/tst-aio7.c: Likewise.
36207         * rt/tst-aio64.c: Likewise.
36208
36209         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36210
36211 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36212
36213         * manual/install.texi (--with-headers): Describe headers as
36214         interface headers, not private headers.
36215         (Specific advice for GNU/Linux systems): Describe use of headers
36216         from "make headers_install", not private headers from older
36217         kernels.
36218         * INSTALL: Regenerated.
36219         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36220         Change to 2.6.19.
36221         * sysdeps/unix/sysv/linux/configure: Regenerated.
36222
36223         * manual/llio.texi (fclean): Remove documentation.
36224
36225         * manual/Makefile (libc-texi-generated): New variable.  Include
36226         version.texi.
36227         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36228         $(libc-texi-generated), not duplicated list of files.
36229         (version.texi, stamp-version): New rules.
36230         (realclean): Remove $(libc-texi-generated), not individual files
36231         from that list.  Do not remove dir-add.texinfo.
36232         * manual/libc.texinfo: Comment out uses of edition numbers and
36233         references to printed manual.  Remove last-updated dates.
36234         (EDITION): Comment out.
36235         (ISBN): Likewise.
36236         (VERSION, UPDATED): Remove.
36237         (version.texi): Include.
36238
36239 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36240
36241         * sysdeps/posix/spawni.c: Include <signal.h>.
36242         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36243         * sysdeps/pthread/aio_fsync.c: Likewise.
36244
36245 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36246
36247         * conform/Makefile (tests): Run only when not cross-compiling and
36248         when fast-check is not defined.
36249
36250         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36251         * conform/data/limits.h-data: Fixes for POSIX2008.
36252         * conform/run-conformtest.sh: Run all tests.
36253         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36254         headers.
36255         * include/bits/dlfcn.h: Likewise.
36256         * include/langinfo.h: Likewise.
36257         * include/monetary.h: Likewise.
36258         * include/sys/poll.h: Likewise.
36259
36260         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36261         for __USE_GNU.
36262         * posix/spawn.h: Define __need_sigset_t.
36263         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36264         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36265         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36266         to get sigevent_t only.
36267         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36268         only for __USE_GNU.
36269         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36270         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36271         process_vm_writev only for __USE_GNU.
36272         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36273
36274         * conform/Makefile: For now ignore errors from run-conformtest.
36275         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36276         POSIX to avoid namespace pollution.  Don't prepend headers.
36277         * conform/data/aio.h-data: Fixes for POSIX testing.
36278         * conform/data/fcntl.h-data: Likewise.
36279         * conform/data/glob.h-data: Likewise.
36280         * conform/data/grp.h-data: Likewise.
36281         * conform/data/pthread.h-data: Likewise.
36282         * conform/data/pwd.h-data: Likewise.
36283         * conform/data/signal.h-data: Likewise.
36284         * conform/data/spawn.h-data: Likewise.
36285         * conform/data/stdio.h-data: Likewise.
36286         * conform/data/stdlib.h-data: Likewise.
36287         * conform/data/stropts.h-data: Likewise.
36288         * conform/data/sys/mman.h-data: Likewise.
36289         * conform/data/sys/stat.h-data: Likewise.
36290         * conform/data/sys/types.h-data: Likewise.
36291         * conform/data/sys/wait.h-data: Likewise.
36292         * conform/data/time.h-data: Likewise.
36293         * conform/data/unistd.h-data: Likewise.
36294         * conform/data/utime.h-data: Likewise.
36295
36296         * io/sys/stat.h: fchmod was always in POSIX.
36297         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36298         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36299         * rt/aio.h: Define __need_timespec before including <time.h>.
36300         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36301         struct.  Add forward declaration of pthread_attr_t and use it in
36302         sigevent.
36303         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36304         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36305         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36306         always remove CLK_TCK definition.
36307
36308 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36309
36310         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36311
36312 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36313
36314         * conform/run-conformtest.sh: New file.
36315         * conform/Makefile: Run run-conformtest for tests.
36316         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36317         support.
36318
36319         * conform/data/uchar.h-data: New file.
36320         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36321         * conform/data/arpa/inet.h-data: Likewise.
36322         * conform/data/assert.h-data: Likewise.
36323         * conform/data/complex.h-data: Likewise.
36324         * conform/data/cpio.h-data: Likewise.
36325         * conform/data/ctype.h-data: Likewise.
36326         * conform/data/dirent.h-data: Likewise.
36327         * conform/data/dlfcn.h-data: Likewise.
36328         * conform/data/errno.h-data: Likewise.
36329         * conform/data/fcntl.h-data: Likewise.
36330         * conform/data/float.h-data: Likewise.
36331         * conform/data/fmtmsg.h-data: Likewise.
36332         * conform/data/fnmatch.h-data: Likewise.
36333         * conform/data/ftw.h-data: Likewise.
36334         * conform/data/glob.h-data: Likewise.
36335         * conform/data/grp.h-data: Likewise.
36336         * conform/data/iconv.h-data: Likewise.
36337         * conform/data/inttypes.h-data: Likewise.
36338         * conform/data/langinfo.h-data: Likewise.
36339         * conform/data/libgen.h-data: Likewise.
36340         * conform/data/limits.h-data: Likewise.
36341         * conform/data/locale.h-data: Likewise.
36342         * conform/data/math.h-data: Likewise.
36343         * conform/data/monetary.h-data: Likewise.
36344         * conform/data/mqueue.h-data: Likewise.
36345         * conform/data/ndbm.h-data: Likewise.
36346         * conform/data/net/if.h-data: Likewise.
36347         * conform/data/netdb.h-data: Likewise.
36348         * conform/data/netinet/in.h-data: Likewise.
36349         * conform/data/nl_types.h-data: Likewise.
36350         * conform/data/poll.h-data: Likewise.
36351         * conform/data/pthread.h-data: Likewise.
36352         * conform/data/pwd.h-data: Likewise.
36353         * conform/data/regex.h-data: Likewise.
36354         * conform/data/sched.h-data: Likewise.
36355         * conform/data/search.h-data: Likewise.
36356         * conform/data/semaphore.h-data: Likewise.
36357         * conform/data/setjmp.h-data: Likewise.
36358         * conform/data/signal.h-data: Likewise.
36359         * conform/data/spawn.h-data: Likewise.
36360         * conform/data/stdarg.h-data: Likewise.
36361         * conform/data/stdio.h-data: Likewise.
36362         * conform/data/stdlib.h-data: Likewise.
36363         * conform/data/string.h-data: Likewise.
36364         * conform/data/strings.h-data: Likewise.
36365         * conform/data/stropts.h-data: Likewise.
36366         * conform/data/sys/ipc.h-data: Likewise.
36367         * conform/data/sys/mman.h-data: Likewise.
36368         * conform/data/sys/msg.h-data: Likewise.
36369         * conform/data/sys/resource.h-data: Likewise.
36370         * conform/data/sys/select.h-data: Likewise.
36371         * conform/data/sys/sem.h-data: Likewise.
36372         * conform/data/sys/shm.h-data: Likewise.
36373         * conform/data/sys/socket.h-data: Likewise.
36374         * conform/data/sys/stat.h-data: Likewise.
36375         * conform/data/sys/statvfs.h-data: Likewise.
36376         * conform/data/sys/time.h-data: Likewise.
36377         * conform/data/sys/timeb.h-data: Likewise.
36378         * conform/data/sys/times.h-data: Likewise.
36379         * conform/data/sys/types.h-data: Likewise.
36380         * conform/data/sys/uio.h-data: Likewise.
36381         * conform/data/sys/un.h-data: Likewise.
36382         * conform/data/sys/utsname.h-data: Likewise.
36383         * conform/data/sys/wait.h-data: Likewise.
36384         * conform/data/syslog.h-data: Likewise.
36385         * conform/data/tar.h-data: Likewise.
36386         * conform/data/termios.h-data: Likewise.
36387         * conform/data/utime.h-data: Likewise.
36388         * conform/data/utmpx.h-data: Likewise.
36389         * conform/data/varargs.h-data: Likewise.
36390         * conform/data/wchar.h-data: Likewise.
36391         * conform/data/wctype.h-data: Likewise.
36392         * conform/data/wordexp.h-data: Likewise.
36393
36394         * include/stropts.h: New file.
36395         * include/uchar.h: New file.
36396         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36397         * include/assert.h: Likewise.
36398         * include/ctype.h: Likewise.
36399         * include/dirent.h: Likewise.
36400         * include/dlfcn.h: Likewise.
36401         * include/fcntl.h: Likewise.
36402         * include/fnmatch.h: Likewise.
36403         * include/glob.h: Likewise.
36404         * include/grp.h: Likewise.
36405         * include/libio.h: Likewise.
36406         * include/locale.h: Likewise.
36407         * include/math.h: Likewise.
36408         * include/net/if.h: Likewise.
36409         * include/netdb.h: Likewise.
36410         * include/netinet/in.h: Likewise.
36411         * include/pthread.h: Likewise.
36412         * include/pwd.h: Likewise.
36413         * include/regex.h: Likewise.
36414         * include/sched.h: Likewise.
36415         * include/search.h: Likewise.
36416         * include/setjmp.h: Likewise.
36417         * include/signal.h: Likewise.
36418         * include/stdio.h: Likewise.
36419         * include/stdlib.h: Likewise.
36420         * include/string.h: Likewise.
36421         * include/sys/cdefs.h: Likewise.
36422         * include/sys/mman.h: Likewise.
36423         * include/sys/msg.h: Likewise.
36424         * include/sys/resource.h: Likewise.
36425         * include/sys/select.h: Likewise.
36426         * include/sys/socket.h: Likewise.
36427         * include/sys/stat.h: Likewise.
36428         * include/sys/statvfs.h: Likewise.
36429         * include/sys/time.h: Likewise.
36430         * include/sys/times.h: Likewise.
36431         * include/sys/uio.h: Likewise.
36432         * include/sys/utsname.h: Likewise.
36433         * include/sys/wait.h: Likewise.
36434         * include/termios.h: Likewise.
36435         * include/time.h: Likewise.
36436         * include/ulimit.h: Likewise.
36437         * include/unistd.h: Likewise.
36438         * include/utime.h: Likewise.
36439         * include/wchar.h: Likewise.
36440         * include/wctype.h: Likewise.
36441         * include/wordexp.h: Likewise.
36442
36443         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36444
36445         * time/time.h: TIME_UTC must be a macro.
36446         Make timespec_get available for ISO C11 only as well.
36447
36448 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36449
36450         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36451         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36452
36453 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36454
36455         * configure.in: Use -o not -a in test for unsupported multi-arch.
36456
36457 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36458
36459         * manual/texinfo.tex: Update to version 2012-01-19.16.
36460
36461 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36462
36463         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36464
36465 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36466
36467         [BZ #13738]
36468         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36469         * manual/fdl-1.3.texi: New file.
36470         * manual/fdl-1.1.texi: File removed.
36471
36472         [BZ #13738]
36473         * manual/libc.texinfo (FDL_VERSION): New @set.
36474         Use it for mention of FDL in cover text.
36475         (Documentation License): Use it in @include file name.
36476
36477 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36478             Roland McGrath  <roland@hack.frob.com>
36479
36480         [BZ #5461]
36481         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36482         (not LONG_LONG_MAX and LONG_LONG_MIN.
36483         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36484         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36485         name.
36486         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36487
36488 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36489
36490         [BZ #2547]
36491         [BZ #11365]
36492         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36493         manipulate bits before adding and subtracting TWO23[sx].
36494         * math/libm-test.inc (nearbyint_test): Add more tests.
36495
36496 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36497
36498         [BZ #2548]
36499         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36500         bits before adding and subtracting TWO23[sx].
36501         * math/libm-test.inc (rint_test): Add more tests.
36502         (rint_test_tonearest): Likewise.
36503         (rint_test_towardzero): Likewise.
36504         (rint_test_downward): Likewise.
36505         (rint_test_upward: Likewise.
36506
36507 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36508
36509         [BZ #10110]
36510         * include/stdc-predef.h: New file.  Extracted from features.h.
36511         * include/features.h: Include stdc-predef.h.
36512         * Makefile (headers): Add stdc-predef.h.
36513         * CONFORMANCE (Compiler limitations): Update.
36514
36515 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36516
36517         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36518
36519 2012-02-21  David S. Miller  <davem@davemloft.net>
36520
36521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36522         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36523
36524 2012-02-20  David S. Miller  <davem@davemloft.net>
36525
36526         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36527         using a normal save/restore sequence, rather than allocating a
36528         dummy stack frame just to store a frame pointer and restore.
36529         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36530
36531 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36532
36533         * manual/install.texi: Fix stray word in line-wrapped comment.
36534
36535 2012-02-20  David S. Miller  <davem@davemloft.net>
36536
36537         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36538         both binutils and gcc support GOTDATA.
36539
36540         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36541         "rd %pc" in the PIC register setup sequences.
36542
36543         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36544         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36545         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36546         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36547         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36548         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36549         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36550         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36551         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36552         (SYSCALL_ERROR_HANDLER): Likewise.
36553         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36554         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36555         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36556         (SYSCALL_ERROR_HANDLER): Likewise.
36557
36558         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36559         (HAVE_GCC_GOTDATA): New.
36560         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36561         relocation support in both binutils and gcc.
36562         * sysdeps/sparc/elf/configure: Regenerate.
36563
36564         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36565         * sysdeps/sparc/sparc32/elf/configure: Delete.
36566         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36567         * sysdeps/sparc/sparc64/elf/configure: Delete.
36568         * sysdeps/sparc/elf/configure.in: New file.
36569         * sysdeps/sparc/elf/configure: Generate.
36570
36571         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36572         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36573         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36574         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36575         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36576
36577 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36578
36579         * manual/install.texi: Do not mention specific glibc version
36580         numbers.
36581         * manual/libc.texinfo (VERSION, UPDATED): Update.
36582         (@copying): Use @copyright{} and range of years.
36583
36584 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36585
36586         [BZ #13695]
36587         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36588         [crti.S not in sysdirs] (generated): Do not append.
36589         [crti.S not in sysdirs] (omit-deps): Likewise.
36590         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36591         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36592         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36593         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36594         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36595         Likewise.
36596         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36597         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36598         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36599         * csu/defs.awk: Remove file.
36600         * sysdeps/generic/initfini.c: Likewise.
36601         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36602         variable.
36603         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36604         Likewise.
36605
36606 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36607
36608         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36609         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36610         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36611         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36612         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36613         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36614         <bits/epoll.h>.
36615         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36616         (__EPOLL_PACKED): Define to empty if not defined by
36617         <bits/epoll.h>.
36618         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36620         bits/epoll.h.
36621
36622 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36623
36624         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36625         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36626         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36627         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36628         <bits/timerfd.h>.
36629         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36631         bits/timerfd.h.
36632
36633 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36634
36635         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36636         in C locale.
36637         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36638         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36639         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36641
36642 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
36643
36644         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36645         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36646
36647 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
36648
36649         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36650         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36651         defined.
36652         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36653         Likewise.
36654         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36655         entry for 2.16.
36656
36657 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
36658
36659         * math/w_acos.c: Use non-signaling floating-point comparisons.
36660         * math/w_acosf.c: Likewise.
36661         * math/w_acosh.c: Likewise.
36662         * math/w_acoshf.c: Likewise.
36663         * math/w_acoshl.c: Likewise.
36664         * math/w_acosl.c: Likewise.
36665         * math/w_asin.c: Likewise.
36666         * math/w_asinf.c: Likewise.
36667         * math/w_asinl.c: Likewise.
36668         * math/w_atanh.c: Likewise.
36669         * math/w_atanhf.c: Likewise.
36670         * math/w_atanhl.c: Likewise.
36671         * math/w_exp2.c: Likewise.
36672         * math/w_exp2f.c: Likewise.
36673         * math/w_exp2l.c: Likewise.
36674         * math/w_j0.c: Likewise.
36675         * math/w_j0f.c: Likewise.
36676         * math/w_j0l.c: Likewise.
36677         * math/w_j1.c: Likewise.
36678         * math/w_j1f.c: Likewise.
36679         * math/w_j1l.c: Likewise.
36680         * math/w_jn.c: Likewise.
36681         * math/w_jnf.c: Likewise.
36682         * math/w_log.c: Likewise.
36683         * math/w_log10.c: Likewise.
36684         * math/w_log10f.c: Likewise.
36685         * math/w_log10l.c: Likewise.
36686         * math/w_log2.c: Likewise.
36687         * math/w_log2f.c: Likewise.
36688         * math/w_log2l.c: Likewise.
36689         * math/w_logf.c: Likewise.
36690         * math/w_logl.c: Likewise.
36691         * math/w_sqrt.c: Likewise.
36692         * math/w_sqrtf.c: Likewise.
36693         * math/w_sqrtl.c: Likewise.
36694         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36695         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36696         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36697         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36698         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36699
36700 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36701
36702         [BZ #9739]
36703         * manual/string.texi (strnlen): Use correct parameter name in
36704         equivalent expression.
36705
36706 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36707
36708         [BZ #11174]
36709         * manual/users.texi (seteuid): Consistently use neweuid for
36710         argument name.
36711
36712 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36713
36714         [BZ #13704]
36715         * manual/nss.texi (Services in the NSS configuration): Correct
36716         list of services in example configuration file.
36717
36718 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
36719
36720         [BZ #11322]
36721         * manual/arith.texi: Remove statements about negative zero
36722         behaving identically to zero.
36723
36724 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36725
36726         [BZ #5993]
36727         * manual/install.texi: Do not document upgrading from libc5.
36728
36729 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36730
36731         [BZ #4596]
36732         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36733
36734 2012-02-18  David S. Miller  <davem@davemloft.net>
36735
36736         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36737         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36738         %o7 across the call.
36739         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36740         instead.
36741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36742         SETUP_PIC_REG_LEAF.
36743         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36744         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36745         * sysdeps/sparc/crtn.S: Likewise.
36746
36747 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
36748
36749         * aout/Makefile: Remove.
36750
36751 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
36752
36753         [BZ #13058]
36754         * manual/examples/argp-ex1.c (main): Format definition in GNU
36755         style.
36756         * manual/examples/argp-ex2.c (main): Likewise.
36757         * manual/examples/argp-ex3.c (main): Likewise.
36758         * manual/examples/argp-ex4.c (main): Likewise.
36759         * manual/examples/longopt.c (main): Use new-style prototype
36760         definition.
36761         * manual/examples/strncat.c (main): Specify return type and use
36762         (void) for arguments.
36763         * manual/examples/subopt.c (main): Use char **argv argument.
36764
36765 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36766
36767         [BZ #5077]
36768         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36769         rounding modes.
36770
36771 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
36772
36773         [BZ #6907]
36774         * manual/string.texi (strchr): Change when strchrnul is
36775         recommended.
36776
36777 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
36778
36779         [BZ #174]
36780         * manual/locale.texi (setlocale): Document LOCPATH.
36781
36782 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36783
36784         [BZ #10210]
36785         * manual/process.texi (execle): Move @dots{} before last argument.
36786
36787 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
36788
36789         [BZ #12047]
36790         * manual/charset.texi (Generic Charset Conversion): Fix typo
36791         (LC_TYPE -> LC_CTYPE).
36792
36793 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
36794
36795         [BZ #5805]
36796         * manual/arith.texi (scalbn): Use @var{} on parameter names.
36797         (scalbnf): Likewise.
36798         (scalbnl): Likewise.
36799         (scalbln): Likewise.
36800         (scalblnf): Likewise.
36801         (scalblnl): Likewise.
36802         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36803         (vwarnx): Likewise.
36804         (verr): Likewise.
36805         (verrx): Likewise.
36806         * manual/filesys.texi (telldir): Use braces around return type.
36807         * manual/llio.texi (mmap): Add space after comma.
36808         (mmap64): Likewise.
36809         * manual/math.texi (jn): Use @var{} on parameter names.
36810         (jnf): Likewise.
36811         (jnl): Likewise.
36812         (yn): Likewise.
36813         (ynf): Likewise.
36814         (ynl): Likewise.
36815         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36816         line.
36817         * manual/resource.texi (ulimit): Use @dots{} instead of literal
36818         "...".
36819         (sched_get_priority_min): Remove semicolon on @deftypefun line.
36820         (sched_get_priority_max): Likewise.
36821         * manual/signal.texi (sigvec): Add space after comma.
36822         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36823         names.
36824         (if_indextoname): Likewise.
36825         (if_freenameindex): Likewise.
36826         (sendto): Use ',' instead of '.' in prototype.
36827         * manual/startup.texi (syscall): Use @dots{} instead of literal
36828         "...".
36829         * manual/stdio.texi (__fpending): Separate initial words of
36830         paragraph from @deftypefun line.
36831         * manual/syslog.texi (syslog): Use @dots{} instead of literal
36832         "...".
36833         (vsyslog): Use @var{} on parameter names.
36834         * manual/terminal.texi (stty): Use @var{} on parameter names.
36835         * manual/users.texi (getutmp): Use @var{} on parameter names.
36836         (getutmpx): Likewise.
36837
36838 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36839
36840         [BZ #6884]
36841         * manual/stdio.texi (fopen): Fix typos in description of
36842         ",ccs=STRING".
36843
36844 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
36845
36846         [BZ #4026]
36847         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36848         get clock_id definition.
36849
36850 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
36851
36852         [BZ #4822]
36853         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36854         (madvise): Cast every argument to void on its own.
36855
36856 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36857
36858         [BZ #9902]
36859         * manual/startup.texi (Exit Status): Fix typo.
36860
36861 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36862
36863         [BZ #10140]
36864         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36865         * manual/examples/argp-ex2.c: Likewise.
36866         * manual/examples/argp-ex3.c: Likewise.
36867
36868 2012-02-16  Richard Henderson  <rth@redhat.com>
36869
36870         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36871         * sysdeps/s390/s390-32/initfini.c: Remove.
36872         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36873         * sysdeps/s390/s390-64/initfini.c: Remove.
36874
36875 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36876
36877         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36878         compiler output for sysdeps/generic/initfini.c.
36879         * sysdeps/sh/elf/initfini.c: Remove file.
36880
36881 2012-02-16  David S. Miller  <davem@davemloft.net>
36882
36883         [BZ #11494]
36884         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36885
36886         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36887         * sysdeps/sparc/crti.S: New file.
36888         * sysdeps/sparc/crtn.S: New file.
36889         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36890         * sysdeps/sparc/sparc64/Makefile: Likewise.
36891
36892 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36893
36894         [BZ #3335]
36895         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36896
36897 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36898
36899         [BZ #4822]
36900         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36901
36902         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36903         (write, read, close): Likewise.
36904         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36905
36906 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36907
36908         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36909         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36910         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36911         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36912         <bits/signalfd.h>.
36913         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36914         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36915         bits/signalfd.h.
36916
36917 2012-02-14  Marek Polacek  <polacek@redhat.com>
36918
36919         * sysdeps/x86_64/crti.S: New file.
36920         * sysdeps/x86_64/crtn.S: New file.
36921         * sysdeps/x86_64/elf/initfini.c: Remove file.
36922
36923 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36924
36925         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36926         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36927         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36928         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36929         <bits/inotify.h>.
36930         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36931         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36932         bits/inotify.h.
36933
36934 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36935
36936         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36937         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36938         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36939         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36940         <bits/eventfd.h>.
36941         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36942         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36943         bits/eventfd.h.
36944
36945 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36946
36947         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36948         __feraiseexcept instead of feraiseexcept.
36949
36950         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36951         nanosleep invocations.
36952         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36953         strings, and add error checking for a nanosleep invocations.
36954
36955 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36956
36957         Replace FSF snail mail address with URLs, as per GNU coding standards.
36958         Most of the snail mail addresses were wrong anyway, and omitting
36959         them makes the source code easier to maintain.  Almost all of the
36960         changes are to license notices and to locale LC_IDENTIFICATION
36961         addresses, except for this one:
36962         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36963         not its snail mail address.
36964
36965 2012-02-09  Richard Henderson  <rth@twiddle.net>
36966
36967         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36968         of kernel-features.h.
36969
36970         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36971
36972 2012-02-08  Marek Polacek  <polacek@redhat.com>
36973
36974         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36975         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36976         * sysdeps/gnu/_G_config.h: Likewise.
36977         * sysdeps/generic/_G_config.h: Likewise.
36978
36979 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
36980
36981         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36982         tests.
36983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36984
36985         * sysdeps/powerpc/powerpc32/crti.S: New file.
36986         * sysdeps/powerpc/powerpc32/crtn.S: New file.
36987         * sysdeps/powerpc/powerpc64/crti.S: New file.
36988         * sysdeps/powerpc/powerpc64/crtn.S: New file.
36989
36990         * Makeconfig (have-initfini): Don't set.
36991         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36992         * configure.in (nopic_initfini): Don't substitute.
36993         * config.h.in (HAVE_INITFINI): Don't #undef.
36994         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36995         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36996
36997 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
36998
36999         Support crti.S and crtn.S provided directly by architectures.
37000         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37001         [crti.S in sysdirs] (omit-deps): Likewise.
37002         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37003         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37004         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37005         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37006         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37007         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37008         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37009         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37010         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37011         compiler output for sysdeps/generic/initfini.c.
37012         * sysdeps/i386/elf/Makefile: Remove file.
37013         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37014
37015 2012-02-07  Marek Polacek  <polacek@redhat.com>
37016
37017         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37018         * sysdeps/gnu/_G_config.h: Likewise.
37019         * sysdeps/mach/hurd/_G_config.h: Likewise.
37020
37021 2012-02-07  Marek Polacek  <polacek@redhat.com>
37022
37023         * math/Makefile (tests): Add tst-CMPLX2.
37024         * math/tst-CMPLX2.c: New file.
37025
37026 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
37027
37028         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37029
37030         * math/libm-test.inc (jn_test): Add missing L suffix.
37031
37032 2012-02-06  Marek Polacek  <polacek@redhat.com>
37033
37034         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37035         * sysdeps/i386/fpu/e_powf.S: Likewise.
37036         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37037         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37038         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37039         * sysdeps/i386/fpu/e_pow.S: Likewise.
37040         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37041         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37042         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37043         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37044         * sysdeps/i386/fpu/e_log2.S: Likewise.
37045         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37046         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37047         * sysdeps/i386/fpu/e_powl.S: Likewise.
37048         * sysdeps/i386/fpu/s_log1p.S: Likewise.
37049         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37050         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37051         * sysdeps/i386/fpu/e_logl.S: Likewise.
37052         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37053         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37054         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37055         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37056         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37057         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37058         * sysdeps/i386/fpu/e_log.S: Likewise.
37059         * sysdeps/i386/fpu/s_cexp.S: Likewise.
37060         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37061         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37062         * sysdeps/i386/fpu/e_logf.S: Likewise.
37063         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37064         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37065         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37066         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37067         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37068         * sysdeps/i386/fpu/e_log10.S: Likewise.
37069         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37070         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37071         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37072         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37073         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37074         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37075         * sysdeps/i386/asm-syntax.h: Likewise.
37076         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37077         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37078         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37079         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37080         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37081         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37082         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37083         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37084         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37085         * sysdeps/powerpc/sysdep.h: Likewise.
37086         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37087         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37088
37089 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37090
37091         [BZ #411]
37092         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37093
37094 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37095
37096         * sysdeps/i386/sysdep.h: Include <features.h>.
37097         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37098         version.
37099
37100 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
37101
37102         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37103         Define.
37104         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37105         LOAD_PIC_REG_STR.
37106
37107 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37108
37109         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37110         (SETUP_PIC_REG): Use GET_PC_THUNK.
37111         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37112         macro.
37113
37114 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37115
37116         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37117         for non-PIC compilation.
37118         (SETUP_PIC_REG): Add .p2align directive.
37119         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37120         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37121         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37122         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37123         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37124         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37125         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37126         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37127         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37128         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37129         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37130         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37131         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37132         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37133         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37134         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37135         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37136         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37137         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37138         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37139         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37140         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37141         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37142         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37143         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37145         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37146         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37147         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37148         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37149         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37150         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37151         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37152         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37153         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37154         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37155         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37156         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37157         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37158         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37159         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37160
37161 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37162
37163         * math/tst-CMPLX.c: Include <stdio.h>.
37164
37165 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
37166
37167         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37168         float.
37169         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37170         * sysdeps/sparc/bits/mathdef.h: Likewise.
37171
37172 2012-01-31  Marek Polacek  <polacek@redhat.com>
37173
37174         * libio/libio.h: Don't define _PARAMS.
37175         * locale/programs/config.h: Don't define PARAMS.
37176         * stdlib/strtol_l.c: Likewise.
37177         (__strtol_l): Remove PARAMS from the prototype.
37178
37179 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
37180
37181         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
37182         names.  Just use the correct names.  Remove unnecessary wrapper
37183         functions.
37184         * malloc/arena.c: Likewise.
37185         * malloc/hooks.c: Likewise.
37186
37187         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37188         ARENA_TEST says not to.  Simplify test for creation of a new arena.
37189         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37190
37191 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
37192
37193         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37194         into tail calls.
37195         (update_get_addr): New function.
37196         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37197         GET_ADDR_MODULE parameter.
37198
37199 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37200
37201         * crypt/cert.c: Remove __STDC__ conditionals.
37202         * crypt/crypt-entry.c: Likewise.
37203         * crypt/crypt_util.c: Likewise.
37204         * libio/filedoalloc.c: Likewise.
37205         * libio/fileops.c: Likewise.
37206         * libio/genops.c: Likewise.
37207         * libio/iofclose.c: Likewise.
37208         * libio/iofdopen.c: Likewise.
37209         * libio/iofopen.c: Likewise.
37210         * libio/iofopen64.c: Likewise.
37211         * libio/iogetdelim.c: Likewise.
37212         * libio/iopopen.c: Likewise.
37213         * libio/obprintf.c: Likewise.
37214         * libio/oldfileops.c: Likewise.
37215         * libio/oldiofclose.c: Likewise.
37216         * libio/oldiofdopen.c: Likewise.
37217         * libio/oldiofopen.c: Likewise.
37218         * libio/oldiopopen.c: Likewise.
37219         * libio/wfiledoalloc.c: Likewise.
37220         * libio/wgenops.c: Likewise.
37221         * locale/programs/xmalloc.c: Likewise.
37222         * misc/syslog.c: Likewise.
37223         * stdio-common/xbug.c: Likewise.
37224         * string/memchr.c: Likewise.
37225         * string/memcmp.c: Likewise.
37226         * string/memrchr.c: Likewise.
37227         * string/rawmemchr.c: Likewise.
37228         * sysdeps/posix/getcwd.c: Likewise.
37229         * time/strftime_l.c: Likewise.
37230
37231 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37232
37233         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37234         * config.make.in (config-cflags-sse2avx): Define.
37235         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37236         Fix typo.
37237
37238 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37239
37240         * scripts/config.guess: Update from upstream config git repository.
37241         * scripts/config.sub: Likewise.
37242
37243 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37244
37245         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37246         (EM_NUM): Update.
37247         (R_TILEPRO_*, R_TILEGX_*): New macros.
37248
37249         * scripts/firstversions.awk: Fix bug in version range handling.
37250
37251         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37252
37253         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37254
37255         * include/sys/epoll.h: New file.
37256         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37257         libc_hidden_def.
37258
37259 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37260
37261         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37262         Avoid unnecessary __WORDSIZE == 64 test.
37263         (fmaxf): Use VEX format if possible.
37264         (fmax): Likewise.
37265         (fminf): Likewise.
37266         (fmin): Likewise.
37267
37268         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37269         * math/math_private.h: Remove libc_fegetround* and
37270         libc_fesetround*.
37271         * sysdeps/i386/configure.in: Check for -msse2avx.
37272         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37273         also if SSE2AVX is defined.
37274         Remove libc_fegetround* and libc_fesetround*.
37275         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37276         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37277         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37278         of HAS_YMM_USABLE.
37279         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37280         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37281         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37282         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37283         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37284
37285         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37286
37287 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37288
37289         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37290         size is not set.
37291         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37292
37293 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37294
37295         [BZ #13618]
37296         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37297         relocation.
37298         * Makeconfig (libm): Define.
37299         * elf/Makefile: Add rules to build and run tst-relsort1.
37300         * elf/tst-relsort1.c: New file.
37301         * elf/tst-relsort1mod1.c: New file.
37302         * elf/tst-relsort1mod2.c: New file.
37303
37304 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37305
37306         * math/s_ldexp.c: Remove __STDC__ conditionals.
37307         * math/s_ldexpf.c: Likewise.
37308         * math/s_ldexpl.c: Likewise.
37309         * math/s_nextafter.c: Likewise.
37310         * math/s_nexttowardf.c: Likewise.
37311         * math/s_significand.c: Likewise.
37312         * math/s_significandf.c: Likewise.
37313         * math/s_significandl.c: Likewise.
37314         * math/w_jnl.c: Likewise.
37315         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37316         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37317         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37318         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37319         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37320         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37321         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37322         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37323         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37324         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37325         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37326         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37327         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37328         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37329         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37330         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37331         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37332         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37333         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37334         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37335         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37336         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37337         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37338         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37339         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37340         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37341         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37342         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37343         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37344         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37345         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37346         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37347         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37348         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37349         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37350         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37351         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37352         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37353         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37354         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37355         * sysdeps/ieee754/k_standard.c: Likewise.
37356         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37357         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37358         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37359         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37360         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37361         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37362         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37363         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37364         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37365         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37366         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37367         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37368         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37369         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37370         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37371         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37372         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37373         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37374         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37375         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37376         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37377         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37378         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37379         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37380         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37381         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37382         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37383         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37384         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37385         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37386         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37387         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37388         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37389         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37390         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37391         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37392         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37393         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37394         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37395         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37396         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37397         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37398         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37399         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37400         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37401         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37402         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37403         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37404         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37405         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37406         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37407         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37408         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37409         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37410         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37411         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37412         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37413         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37414         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37415         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37416         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37417         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37418         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37419         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37420         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37421         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37422         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37423         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37424         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37425         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37426         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37427         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37428         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37429         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37430         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37431         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37432         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37433         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37434         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37435         * sysdeps/ieee754/s_matherr.c: Likewise.
37436         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37437         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37438         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37439         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37440
37441 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37442
37443         * crypt/md5.h: Remove __STDC__ conditionals.
37444         * libio/libioP.h: Likewise.
37445         * locale/programs/config.h: Likewise.
37446         * sysdeps/generic/sysdep.h: Likewise.
37447         * sysdeps/i386/asm-syntax.h: Likewise.
37448         * sysdeps/s390/asm-syntax.h: Likewise.
37449         * sysdeps/unix/sysdep.h: Likewise.
37450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37452
37453 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37454
37455         * libio/libio.h: Remove __STDC__ conditionals.
37456         * malloc/obstack.h: Likewise.
37457         * math/complex.h: Likewise.
37458         * math/math.h: Likewise.
37459         * sysdeps/generic/_G_config.h: Likewise.
37460         * sysdeps/gnu/_G_config.h: Likewise.
37461         * sysdeps/mach/hurd/_G_config.h: Likewise.
37462         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37463         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37464         * sysdeps/sparc/bits/mathdef.h: Likewise.
37465
37466 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37467
37468         [BZ #13583]
37469         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37470         Clean up HAS_* macros.
37471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37472         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37473         possible.
37474         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37475         HAS_AVX.
37476         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37477         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37478         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37479         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37480         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37481
37482 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37483
37484         * elf/tst-unique3.cc (gets): Remove declaration.
37485         * elf/tst-unique3lib.cc (gets): Likewise.
37486         * elf/tst-unique3lib2.cc (gets): Likewise.
37487         * elf/tst-unique4.cc (gets): Likewise.
37488
37489 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37490
37491         * include/stdio.h: Add C++ protection.  Add gets declarations and
37492         definitions.
37493         * debug/tst-chk1.c: Don't declare gets here.
37494         * stdio-common/tst-gets.c: Likewise.
37495
37496 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37497
37498         * posix/glob: Remove directory.
37499
37500 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37501
37502         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37503
37504 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37505
37506         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37507         of the non-standard EPFNOSUPPORT.
37508
37509 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37510
37511         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37512         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37513         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37514
37515 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37516
37517         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37518
37519 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37520
37521         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37522         transient errors.
37523         * nscd/grpcache.c (cache_addgr): Likewise.
37524         * nscd/hstcache.c (cache_addhst): Likewise.
37525         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37526         * nscd/pwdcache.c (cache_addpw): Likewise.
37527         * nscd/servicescache.c (cache_addserv): Likewise.
37528
37529 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37530
37531         * malloc/malloc.c: Various cleanups.
37532         * malloc/hooks.c: Likewise.
37533
37534         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37535         * stdlib/bug-fmtmsg1.c: New file.
37536
37537         * stdlib/fmtmsg.c (init): Add missing unlock.
37538         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37539
37540 2012-01-12  Marek Polacek  <polacek@redhat.com>
37541
37542         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37543         and _GNU_SOURCE.
37544
37545 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37546
37547         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37548         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37549         macro to ensure uniqueness of label name.
37550         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37551         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37552
37553 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37554
37555         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37556
37557         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37558         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37559         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37560         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37561
37562 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37563
37564         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37565
37566         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37567         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37568         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37569
37570         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37571
37572         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37573         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37574         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37575         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37576
37577         * math/bits/math-finite.h: Add ldexp support.
37578
37579 2012-01-10  Marek Polacek  <polacek@redhat.com>
37580
37581         * locale/programs/localedef.h (show_archive_content): Add noreturn
37582         attribute.
37583
37584 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37585
37586         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37587
37588 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37589
37590         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37591
37592         * io/Makefile (headers): Add bits/poll2.h.
37593
37594 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37595
37596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37597         typo #include statement.
37598
37599 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37600
37601         * include/sys/cdefs.h: Define __attribute_alloc_size.
37602         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37603         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37604         * elf/pldd.c: Likewise.
37605         * iconv/iconv_charmap.c: Likewise.
37606         * iconv/iconvconfig.c: Likewise.
37607         * iconv/strtab.c: Likewise.
37608         * locale/programs/locale.c: Likewise.
37609         * locale/programs/localedef.h: Likewise.
37610         * locale/programs/simple-hash.c: Likewise.
37611         * nscd/nscd.h: Likewise.
37612         * nss/makedb.c: Likewise.
37613         * sysdeps/generic/ldconfig.h: Likewise.
37614         * locale/programs/localedef.c: Remove xmalloc prototype.
37615         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37616
37617 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37618
37619         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37620         appropriate.
37621
37622 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37623
37624         * math/Makefile (tests): Add tst-CMPLX.
37625         * math/tst-CMPLX.c: New file.
37626
37627         * math/complex.h (CMPLXL): Fix typo.
37628
37629         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37630         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37631         GLIBC_2.16.
37632         * debug/tst-chk1.c: Add poll and ppoll tests.
37633         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37634         * include/sys/poll.h: Add hidden proto for ppoll.
37635         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37636         * sysdeps/mach/hurd/ppoll.c: Likewise.
37637         * io/ppoll.c: Likewise.
37638         * debug/poll_chk.c: New file.
37639         * debug/ppoll_chk.c: New file.
37640         * include/bits/poll2.h: New file.
37641         * io/bits/poll2.h: New file.
37642
37643         [BZ #1350]
37644         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37645
37646         * configure.in: static is always set to yes.  Remove.
37647         * config.make.in: Don't set build-static.
37648         * Makeconfig: Remove use of build-static.
37649         * dlfcn/Makefile: Likewise.
37650         * elf/Makefile: Likewise.
37651         * math/Makefile: Likewise.
37652         * misc/Makefile: Likewise.
37653         * nptl/Makefile: Likewise.
37654         * sysdeps/mach/hurd/Makefile: Likewise.
37655
37656         * configure.in: PWD_P is not used anymore.
37657         * config.make.in: Remove PWD_P entry.
37658
37659         * configure.in: Remove last remnants of RANLIB.
37660         No need to check for signed size_t anymore.
37661         Don't set libc_commonpagesize and libc_relro_required here for Alpha
37662         and IA-64.
37663         Remove __builtin_expect test because we require at least gcc 3.4.
37664         * aclocal.m4: Likewise.
37665
37666         * wcsmbs/mbrtoc16.c: Implement using towc function.
37667         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37668         * wcsmbs/wcsmbsload.c: Likewise.
37669         * iconv/gconv_simple.c: Likewise.
37670         * iconv/gconv_int.h: Likewise.
37671         * iconv/gconv_builtin.h: Likewise.
37672         * iconv/iconv_prog.c: Remove CHAR16 handling.
37673
37674         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37675
37676         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37677
37678         * configure.in: Remove --with-elf and --enable-bounded options.
37679         Dont set base_machine for ia64.  More non-ELF conditions removed.
37680         Remove testing and setting of leading underscore information.
37681         * config.make.in (build-bounded): Set to no.
37682         * config.h.in: Remove NO_UNDERSCORES entry.
37683         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
37684         them.
37685         * csu/start.c: Remove !NO_UNDERSCORE code.
37686         * locale/localeinfo.h: Likewise.
37687         * sysdeps/generic/machine-gmon.h: Likewise.
37688         * sysdeps/generic/sysdep.h: Likewise.
37689         * sysdeps/i386/sysdep.h: Likewise.
37690         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37691         * sysdeps/mach/sysdep.h: Likewise.
37692         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37693         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37694         * sysdeps/sh/sysdep.h: Likewise.
37695         * sysdeps/sparc/sparc32/alloca.S: Likewise.
37696         * sysdeps/unix/i386/sysdep.S: Likewise.
37697         * sysdeps/unix/sparc/start.c: Likewise.
37698         * sysdeps/unix/sparc/sysdep.S: Likewise.
37699         * sysdeps/unix/sparc/sysdep.h: Likewise.
37700         * sysdeps/unix/start.c: Likewise.
37701         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37702         * sysdeps/x86_64/sysdep.h: Likewise.
37703
37704 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
37705
37706         [BZ #13553]
37707         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37708         for non-gcc.
37709         * argp/argp-fmtstream.h: Use const instead __const.
37710         * argp/argp.h: Likewise.
37711         * assert/assert.h: Likewise.
37712         * bits/fenv.h: Likewise.
37713         * bits/sched.h: Likewise.
37714         * bits/sigset.h: Likewise.
37715         * bits/sigthread.h: Likewise.
37716         * catgets/nl_types.h: Likewise.
37717         * conform/data/pthread.h-data: Likewise.
37718         * crypt/crypt-private.h: Likewise.
37719         * crypt/crypt.h: Likewise.
37720         * crypt/crypt_util.c: Likewise.
37721         * ctype/ctype.h: Likewise.
37722         * debug/execinfo.h: Likewise.
37723         * debug/mbsnrtowcs_chk.c: Likewise.
37724         * debug/mbsrtowcs_chk.c: Likewise.
37725         * debug/wcsnrtombs_chk.c: Likewise.
37726         * debug/wcsrtombs_chk.c: Likewise.
37727         * debug/wcstombs_chk.c: Likewise.
37728         * dirent/dirent.h: Likewise.
37729         * dlfcn/dlfcn.h: Likewise.
37730         * elf/neededtest4.c: Likewise.
37731         * grp/grp.h: Likewise.
37732         * gshadow/gshadow.h: Likewise.
37733         * iconv/gconv.h: Likewise.
37734         * iconv/gconv_int.h: Likewise.
37735         * iconv/gconv_simple.c: Likewise.
37736         * iconv/iconv.h: Likewise.
37737         * iconv/loop.c: Likewise.
37738         * iconv/skeleton.c: Likewise.
37739         * include/aio.h: Likewise.
37740         * include/aliases.h: Likewise.
37741         * include/argz.h: Likewise.
37742         * include/arpa/inet.h: Likewise.
37743         * include/assert.h: Likewise.
37744         * include/dirent.h: Likewise.
37745         * include/dlfcn.h: Likewise.
37746         * include/execinfo.h: Likewise.
37747         * include/fcntl.h: Likewise.
37748         * include/fenv.h: Likewise.
37749         * include/glob.h: Likewise.
37750         * include/grp.h: Likewise.
37751         * include/libintl.h: Likewise.
37752         * include/mntent.h: Likewise.
37753         * include/netdb.h: Likewise.
37754         * include/pwd.h: Likewise.
37755         * include/rpc/netdb.h: Likewise.
37756         * include/sched.h: Likewise.
37757         * include/search.h: Likewise.
37758         * include/shadow.h: Likewise.
37759         * include/signal.h: Likewise.
37760         * include/stdio.h: Likewise.
37761         * include/stdlib.h: Likewise.
37762         * include/string.h: Likewise.
37763         * include/sys/socket.h: Likewise.
37764         * include/sys/stat.h: Likewise.
37765         * include/sys/statfs.h: Likewise.
37766         * include/sys/statvfs.h: Likewise.
37767         * include/sys/syslog.h: Likewise.
37768         * include/sys/time.h: Likewise.
37769         * include/sys/uio.h: Likewise.
37770         * include/time.h: Likewise.
37771         * include/unistd.h: Likewise.
37772         * include/utmp.h: Likewise.
37773         * include/wchar.h: Likewise.
37774         * include/wctype.h: Likewise.
37775         * inet/aliases.h: Likewise.
37776         * inet/arpa/inet.h: Likewise.
37777         * inet/netinet/ether.h: Likewise.
37778         * inet/netinet/in.h: Likewise.
37779         * intl/libintl.h: Likewise.
37780         * io/bits/fcntl2.h: Likewise.
37781         * io/fcntl.h: Likewise.
37782         * io/ftw.h: Likewise.
37783         * io/sys/poll.h: Likewise.
37784         * io/sys/stat.h: Likewise.
37785         * io/sys/statfs.h: Likewise.
37786         * io/sys/statvfs.h: Likewise.
37787         * io/utime.h: Likewise.
37788         * libio/bits/stdio.h: Likewise.
37789         * libio/bits/stdio2.h: Likewise.
37790         * libio/libio.h: Likewise.
37791         * libio/libioP.h: Likewise.
37792         * libio/stdio.h: Likewise.
37793         * locale/lc-ctype.c: Likewise.
37794         * locale/locale.h: Likewise.
37795         * login/utmp.h: Likewise.
37796         * malloc/arena.c: Likewise.
37797         * malloc/malloc.c: Likewise.
37798         * malloc/malloc.h: Likewise.
37799         * malloc/mcheck.c: Likewise.
37800         * malloc/mtrace.c: Likewise.
37801         * math/bits/mathcalls.h: Likewise.
37802         * math/fenv.h: Likewise.
37803         * math/math_private.h: Likewise.
37804         * misc/bits/error.h: Likewise.
37805         * misc/bits/syslog.h: Likewise.
37806         * misc/err.h: Likewise.
37807         * misc/error.h: Likewise.
37808         * misc/fstab.h: Likewise.
37809         * misc/mntent.h: Likewise.
37810         * misc/regexp.h: Likewise.
37811         * misc/search.h: Likewise.
37812         * misc/sgtty.h: Likewise.
37813         * misc/sys/mman.h: Likewise.
37814         * misc/sys/syslog.h: Likewise.
37815         * misc/sys/uio.h: Likewise.
37816         * misc/sys/xattr.h: Likewise.
37817         * misc/ttyent.h: Likewise.
37818         * nis/rpcsvc/ypclnt.h: Likewise.
37819         * nss/nss.h: Likewise.
37820         * posix/bits/unistd.h: Likewise.
37821         * posix/fnmatch.h: Likewise.
37822         * posix/glob.h: Likewise.
37823         * posix/sched.h: Likewise.
37824         * posix/spawn.h: Likewise.
37825         * posix/sys/wait.h: Likewise.
37826         * posix/unistd.h: Likewise.
37827         * posix/wordexp.h: Likewise.
37828         * pwd/pwd.h: Likewise.
37829         * resolv/netdb.h: Likewise.
37830         * resource/sys/resource.h: Likewise.
37831         * rt/aio.h: Likewise.
37832         * rt/bits/mqueue2.h: Likewise.
37833         * rt/mqueue.h: Likewise.
37834         * shadow/shadow.h: Likewise.
37835         * signal/signal.h: Likewise.
37836         * socket/send.c: Likewise.
37837         * socket/sendto.c: Likewise.
37838         * socket/sys/socket.h: Likewise.
37839         * stdio-common/printf.h: Likewise.
37840         * stdlib/bits/stdlib.h: Likewise.
37841         * stdlib/fmtmsg.h: Likewise.
37842         * stdlib/monetary.h: Likewise.
37843         * stdlib/stdlib.h: Likewise.
37844         * stdlib/ucontext.h: Likewise.
37845         * streams/stropts.h: Likewise.
37846         * string/argz.h: Likewise.
37847         * string/bits/string2.h: Likewise.
37848         * string/string.h: Likewise.
37849         * string/strings.h: Likewise.
37850         * sunrpc/rpc/auth.h: Likewise.
37851         * sunrpc/rpc/auth_des.h: Likewise.
37852         * sunrpc/rpc/clnt.h: Likewise.
37853         * sunrpc/rpc/netdb.h: Likewise.
37854         * sunrpc/rpc/pmap_clnt.h: Likewise.
37855         * sunrpc/rpc/xdr.h: Likewise.
37856         * sysdeps/generic/inttypes.h: Likewise.
37857         * sysdeps/generic/net/if.h: Likewise.
37858         * sysdeps/generic/sys/swap.h: Likewise.
37859         * sysdeps/gnu/net/if.h: Likewise.
37860         * sysdeps/gnu/utmpx.h: Likewise.
37861         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37862         * sysdeps/i386/i486/bits/string.h: Likewise.
37863         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37864         * sysdeps/s390/bits/string.h: Likewise.
37865         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37866         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37867         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37868         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37869         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37870         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37871         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37872         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37873         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37874         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37875         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37876         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37877         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37878         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37879         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37880         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37881         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37882         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37883         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37884         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37885         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37886         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37887         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37888         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37889         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37890         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37891         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37892         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37893         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37894         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37895         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37896         * sysvipc/sys/ipc.h: Likewise.
37897         * sysvipc/sys/msg.h: Likewise.
37898         * sysvipc/sys/sem.h: Likewise.
37899         * sysvipc/sys/shm.h: Likewise.
37900         * termios/termios.h: Likewise.
37901         * time/sys/time.h: Likewise.
37902         * time/time.h: Likewise.
37903         * wcsmbs/bits/wchar2.h: Likewise.
37904         * wcsmbs/uchar.h: Likewise.
37905         * wcsmbs/wchar.h: Likewise.
37906         * wctype/wctype.h: Likewise.
37907
37908         [BZ #13551]
37909         * Makeconfig: Remove all but ELF support including AIX support.
37910         * Makerules: Likewise.
37911         * config.h.in: Likewise.
37912         * config.make.in: Likewise.
37913         * configure: Likewise.
37914         * configure.in: Likewise.
37915         * csu/Makefile: Likewise.
37916         * csu/version.c: Likewise.
37917         * debug/Makefile: Likewise.
37918         * dlfcn/Makefile: Likewise.
37919         * elf/Makefile: Likewise.
37920         * extra-lib.mk: Likewise.
37921         * iconv/Makefile: Likewise.
37922         * include/libc-symbols.h: Likewise.
37923         * include/shlib-compat.h: Likewise.
37924         * resolv/Makefile: Likewise.
37925         * resolv/res_libc.c: Likewise.
37926         * rt/Makefile: Likewise.
37927         * sysdeps/i386/asm-syntax.h: Likewise.
37928         * sysdeps/i386/sysdep.h: Likewise.
37929         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37930         * sysdeps/mach/sysdep.h: Likewise.
37931         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37932         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37933         * sysdeps/s390/asm-syntax.h: Likewise.
37934         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37935         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37936         * sysdeps/sh/sysdep.h: Likewise.
37937         * sysdeps/unix/sparc/sysdep.h: Likewise.
37938         * sysdeps/wordsize-32/divdi3.c: Likewise.
37939         * sysdeps/x86_64/sysdep.h: Likewise.
37940
37941         * argp/Versions: Remove _argp_unlock_xxx.
37942
37943         [BZ #13559]
37944         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37945         * abilist/libBrokenLocale.abilist: Likewise.
37946         * abilist/libanl.abilist: Likewise.
37947         * abilist/libc.abilist: Likewise.
37948         * abilist/libcrypt.abilist: Likewise.
37949         * abilist/libdl.abilist: Likewise.
37950         * abilist/libm.abilist: Likewise.
37951         * abilist/libnsl.abilist: Likewise.
37952         * abilist/libpthread.abilist: Likewise.
37953         * abilist/libresolv.abilist: Likewise.
37954         * abilist/librt.abilist: Likewise.
37955         * abilist/libthread_db.abilist: Likewise.
37956         * abilist/libutil.abilist: Likewise.
37957         * abilist/libnss_db.abilist: New file.
37958
37959         * scripts/abilist.awk: Add support for indirect functions.
37960
37961         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37962
37963         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37964
37965         * shlib-versions: Remove entries for ports architectures.
37966
37967         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
37968         files in ports.
37969         * elf/stackguard-macros.h: Remove support for IA-64.
37970         * elf/tst-auditmod1.c: Likewise.
37971         * sysdeps/generic/ldsodefs.h: Likewise.
37972
37973         * sysdeps/unix/sysv/linux/configure.in: Ports should define
37974         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37975         configure files.
37976
37977         [BZ #13552]
37978         * configure.in: Remove --enable-omitfp support.
37979         * FAQ.in: Adjust.
37980         * config.make.in: Likewise.
37981         * Makeconfig: Likewise.
37982         * manual/install.texi: Likewise.
37983
37984         In case anyone cares, the IA-64 architecture could move to ports.
37985         * sysdeps/ia64/*: Removed.
37986         * sysdeps/unix/sysv/linux/ia64/*: Removed.
37987         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37988
37989         [BZ #13555]
37990         * configure.in: Remove entries for unsupported architectures.
37991
37992         [BZ #13533]
37993         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37994         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
37995         routines.
37996         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37997         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37998         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
37999         fall back to using wcrtomb.
38000         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38001         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
38002         renaming.
38003         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38004         * wcsmbs/tst-c16c32-1.c: New file.
38005
38006         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38007         local variable.
38008
38009         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38010
38011         * elf/tst-unique3.cc: Add explicit declaration of gets.
38012         * elf/tst-unique3lib.cc: Likewise.
38013         * elf/tst-unique3lib2.cc: Likewise.
38014         * elf/tst-unique4.cc: Likewise.
38015
38016         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38017
38018 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
38019
38020         [BZ #13566]
38021         * assert/assert.h (static_assert): Don't define for C++.
38022         * libio/stdio.h (gets): Do declare for C++ <= C++11.
38023         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38024
38025 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
38026
38027         * iconv/loop.c (single loop): Fix assertion in storing of
38028         remaining bytes.
38029
38030         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38031
38032 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
38033
38034         * posix/getconf.c: Update copyright year.
38035         * nss/getent.c: Likewise.
38036         * nss/makedb.c: Likewise.
38037         * iconv/iconvconfig.c: Likewise.
38038         * iconv/iconv_prog.c: Likewise.
38039         * elf/ldconfig.c: Likewise.
38040         * elf/pldd.c: Likewise.
38041         * elf/sotruss.ksh: Likewise.
38042         * catgets/gencat.c: Likewise.
38043         * csu/version.c: Likewise.
38044         * elf/ldd.bash.in: Likewise.
38045         * elf/sprof.c (print_version): Likewise.
38046         * locale/programs/locale.c: Likewise.
38047         * locale/programs/localedef.c: Likewise.
38048         * login/programs/pt_chown.c: Likewise.
38049         * nscd/nscd.c (print_version): Likewise.
38050         * debug/xtrace.sh: Likewise.
38051         * malloc/memusage.sh: Likewise.
38052         * malloc/mtrace.pl: Likewise.
38053         * debug/catchsegv.sh: Likewise.
38054
38055 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
38056
38057         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38058         pure attribute.
38059
38060 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
38061
38062         [BZ #13533]
38063         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38064         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38065         transformations.
38066         * iconv/gconv_int.h: Likewise.
38067         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38068         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38069         from libc for GLIBC_2.16.
38070         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38071         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38072         * wcsmbs/uchar.h: Really define mbstate_t.
38073         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38074         * wcsmbs/c16rtomb.c: New file.
38075         * wcsmbs/mbrtoc16.c: New file.
38076         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38077         for C/POSIX locale.
38078         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38079         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38080
38081         * wcsmbs/wchar.h: Add missing __restrict.
38082
38083 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38084
38085         [BZ #13532]
38086         * time/Makefile (routines): Add timespec_get.
38087         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38088         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
38089         timespec for ISO C11.
38090         * time/timespec_get.c: New file.
38091         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38092         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38093
38094         [BZ #13531]
38095         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38096         * stdlib/stdlib.h: Declare aligned_alloc.
38097         * Versions.def: Add GLIBC_2.16 for libc.
38098         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38099
38100         [BZ 13527]
38101         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38102         ISO C11.
38103
38104         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38105         code.
38106
38107         [BZ #13528]
38108         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38109
38110         [BZ #13529]
38111         * assert/assert.h (static_assert): Define.
38112
38113         * version.h: Update for 2.16 development version.
38114
38115         [BZ #13526]
38116         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38117         _ISOC11_SOURCE.
38118
38119         * version.h (RELEASE): Bump for 2.15 release.
38120         * include/features.h (__GLIBC_MINOR__): Bump to 15.
38121
38122         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38123         Patch by Marek Polacek <mpolacek@redhat.com>.
38124
38125         * bits/byteswap.h: Protect long long constants with __extension__.
38126         * sysdeps/i386/bits/byteswap.h: Likewise.
38127         * sysdeps/ia64/bits/byteswap.h: Likewise.
38128         * sysdeps/s390/bits/byteswap.h: Likewise.
38129         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38130
38131 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38132
38133         [BZ #13540]
38134         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38135         destination buffer.
38136         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38137
38138 2011-12-23  Marek Polacek  <polacek@redhat.com>
38139
38140         * elf/dl-addr.c (determine_info): Add inline keyword.
38141         * elf/tst-auditmod4b.c (check_avx): Likewise.
38142         * elf/tst-auditmod6b.c (check_avx): Likewise.
38143         * elf/tst-auditmod6c.c (check_avx): Likewise.
38144         * elf/tst-auditmod7b.c (check_avx): Likewise.
38145
38146 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38147
38148         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38149         !__SSE_MATH__.
38150
38151 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38152
38153         [BZ #13540]
38154         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38155         processing for last bytes.
38156
38157 2011-08-06  Bruno Haible  <bruno@clisp.org>
38158
38159         [BZ #13061]
38160         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38161         U+0385, not to U+1FEE.
38162
38163         [BZ #13062]
38164         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38165         entry for U+00A5 U+0301.
38166
38167 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38168
38169         [BZ #13166]
38170         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38171         buffer for the output is too small.
38172
38173         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38174         optimization.
38175
38176         [BZ #13185]
38177         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38178         SSE flags if possible.
38179
38180 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38181
38182         [BZ #13540]
38183         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38184         processing for last bytes.
38185
38186 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
38187
38188         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38189         (syscall-list-default-options, syscall-list-default-condition)
38190         (syscall-list-includes): Define.
38191         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38192         list of ABIs and options and #if conditions for each ABI.  Do not
38193         handle common syscalls between ABIs specially.
38194         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38195         Remove.
38196         (syscall-list-variants, syscall-list-32bit-options)
38197         (syscall-list-32bit-condition, syscall-list-64bit-options)
38198         (syscall-list-64bit-condition): Define.
38199         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38200         (syscall-list-variants, syscall-list-32bit-options)
38201         (syscall-list-32bit-condition, syscall-list-64bit-options)
38202         (syscall-list-64bit-condition): Define.
38203         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38204         Remove.
38205         (syscall-list-variants, syscall-list-32bit-options)
38206         (syscall-list-32bit-condition, syscall-list-64bit-options)
38207         (syscall-list-64bit-condition): Define.
38208         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38209         Remove.
38210         (syscall-list-variants, syscall-list-32bit-options)
38211         (syscall-list-32bit-condition, syscall-list-64bit-options)
38212         (syscall-list-64bit-condition): Define.
38213
38214 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38215
38216         * locale/iso-639.def: Add brx entry.
38217
38218         [BZ #13328]
38219         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38220         Proposed by Mariusz_Cukr <marcukr@op.pl>.
38221
38222         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38223         __feraiseexcept_renamed.
38224
38225 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38226
38227         [BZ #13538]
38228         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38229         EPOLLET with unsigned values.
38230         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38231         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38232
38233         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38234         to large cancellation.
38235         * math/s_cacoshf.c: Likewise.
38236         * math/s_cacoshl.c: Likewise.
38237
38238 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38239
38240         [BZ #13305]
38241         [BZ #12786]
38242         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38243         * math/s_cacoshf.c: Likewise.
38244         * math/s_cacoshl.c: Likewise.
38245
38246 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38247
38248         [BZ #13439]
38249         * iconv/gconv.h: Define __GCONV_SWAP.
38250         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38251         * iconvdata/utf-16.c: Likewise.
38252         * iconvdata/utf-32.c: Likewise.
38253
38254 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38255
38256         [BZ #13524]
38257         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38258         numerator after shifting it by one limb.
38259
38260 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38261
38262         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38263         under [__USE_EXTERN_INLINES].
38264
38265 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38266
38267         [BZ #13446]
38268         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38269
38270 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38271
38272         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38273         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38274         optimized code.
38275         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38276         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38277         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38278         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38279         for strncasecmp/strncasecmp_l compilation.
38280         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38281         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38282
38283 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38284
38285         [BZ #13484]
38286         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38287         of __asm__.
38288
38289 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38290
38291         [BZ #13506]
38292         * time/tzfile.c (__tzfile_read): Check values from file header.
38293
38294 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38295
38296         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38297         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38298         * powerpc/powerpc32/dl-start.S: Likewise.
38299         * powerpc/powerpc32/elf/start.S: Likewise.
38300         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38301         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38302         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38303         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38304         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38305         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38306         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38307         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38308         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38309         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38310         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38311         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38312         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38313         * powerpc/powerpc32/memset.S: Likewise.
38314         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38315         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38316         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38317         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38318         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38319         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38320         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38321         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38322         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38323         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38324         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38325         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38326         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38327
38328 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38329
38330         * math/libm-test.inc: Added more nearbyint tests.
38331         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38332         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38333         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38334         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38335
38336 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38337
38338         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38339         FD_CLOEXEC.
38340
38341 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38342
38343         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38344         Add wcscpy-ssse3 wcscpy-c.
38345         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38346         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38347         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38348         * sysdeps/x86_64/wcschr.S: New file.
38349         * sysdeps/x86_64/wcsrchr.S: New file.
38350         * string/test-strcmp.c: Remove checking of wcscmp function for
38351         wrong alignments.
38352         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38353         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38354         wcsrchr-sse2 wcsrchr-c.
38355         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38356         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38357         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38358         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38359         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38360         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38361         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38362         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38363         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38364         * wcsmbc/wcschr.c (WCSCHR): New macro.
38365
38366 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38367
38368         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38369         * wcsmbs/test-wcsrchr.c: New file.
38370         * string/test-strrchr.c: Add wcsrchr support.
38371         (WIDE): New macro.
38372         * wcsmbs/test-wcscpy.c: New file.
38373         * string/test-strcpy.c: Add wcscpy support.
38374         (WIDE): New macro.
38375
38376 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38377
38378         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38379         the inner loop.
38380
38381 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38382
38383         [BZ #13472]
38384         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38385
38386 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38387
38388         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38389         Minor optimizations.
38390
38391         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38392         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38393         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38394
38395 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38396
38397         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38398         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38399         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38400         for gcc to avoid warnings.
38401         * inet/Makefile (tests): Add tst-checks.
38402         * inet/tst-checks.c: New file.
38403
38404         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38405         warning.
38406
38407         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38408         __wmemcmp_sse2.
38409
38410         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38411         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38412
38413         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38414
38415 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38416
38417         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38418         problem.
38419
38420         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38421
38422 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38423
38424         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38425         conditional on GCC version.
38426         (__arch_compare_and_exchange_val_8_acq)
38427         (__arch_compare_and_exchange_val_16_acq)
38428         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38429         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38430         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38431
38432 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38433
38434         * sysdeps/sh/backtrace.c: New file.
38435
38436 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38437
38438         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38439         parenthesis.
38440
38441 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38442
38443         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38444         falling back to utime.
38445
38446 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38447
38448         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38449         expectations for float.
38450
38451 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38452
38453         * locale/weight.h (findidx): Add parameter len.
38454         * locale/weightwc.h (findidx): Likewise.
38455         * posix/fnmatch_loop.c (FCT): Adjust caller.
38456         * posix/regcomp.c (build_equiv_class): Likewise.
38457         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38458         * posix/regexec.c (check_node_accept_bytes): Likewise.
38459         * string/strcoll_l.c (STRCOLL): Likewise.
38460         * string/strxfrm_l.c (STRXFRM): Likewise.
38461
38462 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38463
38464         * Makefile.in: Remove CVSOPT handling.
38465         * configure.in: Remove use of AC_REVISION.
38466         * iconvdata/Makefile (distribute): No need to filter out CVS.
38467         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38468         handling.
38469
38470 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38471
38472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38473         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38474         [USE_AS_STRNCASECMP_L]: Likewise.
38475         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38476         NO_TLS_DIRECT_SEG_REFS.
38477         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38478         Fix argument offsets for non-PIC.
38479         [USE_AS_STRNCASECMP_L]: Likewise.
38480         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38481         NO_TLS_DIRECT_SEG_REFS.
38482
38483 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38484
38485         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38486         O_CLOEXEC.
38487         * locale/loadlocale.c (_nl_load_locale): Likewise.
38488
38489 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38490
38491         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38492         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38493         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38494         (SYSCALL_GETTIME): Set errno on error.
38495
38496         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38497         count references to noai6ai_cached.
38498
38499 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38500
38501         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38502
38503         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38504         FD_CLOEXEC for /proc/self/maps.
38505
38506         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38507         FD_CLOEXEC for /proc/meminfo.
38508
38509         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38510         gai.conf.
38511
38512         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38513         FD_CLOEXEC for given file.
38514
38515         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38516
38517         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38518         FD_CLOEXEC for /etc/hosts.
38519         (_gethtent): Likewise.
38520
38521         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38522
38523         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38524         cancellation and set FD_CLOEXEC for /etc/netgroup.
38525
38526         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38527         reading /etc/publickey.
38528
38529         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38530         allow cancellation when reading /etc/group.
38531
38532         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38533         cancellation.
38534         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38535
38536         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38537         when using data file.
38538
38539         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38540
38541         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38542         (write_nis_obj): Use "c" and "e" in fopen.
38543
38544         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38545
38546         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38547
38548         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38549
38550         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38551
38552         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38553         locale.alias.
38554
38555         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38556
38557         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38558
38559         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38560
38561         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38562         file parsing and set FD_CLOEXEC.
38563
38564 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38565
38566         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38567
38568 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38569
38570         * malloc/arena.c (arena_get2): Don't call reused_arena when
38571         _int_new_arena failed.
38572
38573 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38574
38575         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38576         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38577         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38578         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38579         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38580         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38581         to compile strcasecmp and strncasecmp.
38582         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38583         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38584
38585         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38586
38587 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38588
38589         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38590         locale-defines.sym to gen-as-const-headers.
38591         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38592         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38593         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38594         to compile strcasecmp and strncasecmp.
38595         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38596         strcasecmp_l and strncasecmp_l.
38597         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38598         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38599         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38600         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38601         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38602         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38603         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38604         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38605         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38606         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38607         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38608
38609 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38610
38611         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38612         result of SYSDEP_GETTIME_CPU to retval.
38613         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38614         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38615
38616         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38617         variable.
38618
38619         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38620         mantissa words.
38621         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38622
38623         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38624         from unused variable.
38625
38626         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38627         DWARF definitions.
38628         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38629         for assembling.
38630
38631         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38632         over namespaces.
38633
38634         * sunrpc/rpc_prot.c (rejected): Fix case value.
38635
38636         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38637         unsigned long long int to avoid warnings in shift.
38638
38639         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38640         of use of trans.
38641         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38642         variable tmp.
38643
38644         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38645         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38646         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38647
38648         * nis/nis_table.c (nis_list): Use variable of correct type for
38649         result of __follow_path call.
38650
38651 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38652
38653         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38654         of math functions ceil, trunc, floor, round, and sqrt, when
38655         avaliable on the platform.
38656         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38657         name clash.
38658         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38659         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38660         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38661
38662 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
38663
38664         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38665         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38666
38667 2011-11-11  Roland McGrath  <roland@hack.frob.com>
38668
38669         * include/unistd.h: Fix __readlink return type.
38670         Reported by Chris Metcalf <cmetcalf@tilera.com>.
38671
38672 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
38673
38674         * stdlib/ucontext.h: Undo last change for makecontext.
38675
38676 2011-11-11  Andreas Schwab  <schwab@redhat.com>
38677
38678         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38679
38680         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38681         * setjmp/setjmp.h: Mark functions as non-leaf.
38682         * setjmp/bits/setjmp2.h: Likewise.
38683         * stdlib/ucontext.h: Likewise.
38684
38685 2011-11-10  Andreas Schwab  <schwab@redhat.com>
38686
38687         * malloc/arena.c (_int_new_arena): Don't increment narenas.
38688         (reused_arena): Don't check arena limit.
38689         (arena_get2): Atomically check arena limit.
38690
38691 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
38692
38693         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38694         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38695
38696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38697         instructions.
38698
38699 2011-11-07  Andreas Schwab  <schwab@redhat.com>
38700
38701         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38702         handler when locking.
38703
38704         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38705         Fix size of allocated buffer.
38706
38707 2011-11-04  Andreas Schwab  <schwab@redhat.com>
38708
38709         [BZ #10103]
38710         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38711         declarations for long double functions.
38712         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38713
38714         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38715
38716 2011-11-03  Andreas Schwab  <schwab@redhat.com>
38717
38718         * nscd/nscd.c (main): Don't start AVC thread until credentials are
38719         installed.
38720
38721         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38722         is disabled.
38723
38724 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38725
38726         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38727
38728 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38729
38730         * include/alloca.h (stackinfo_alloca_round): Define.
38731         (extend_alloca): Use it.
38732         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38733         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38734         here.
38735
38736         * scripts/check-local-headers.sh: Ignore libaudit.h.
38737
38738         * nscd/Makefile (extra-objs): Make recursively expanded.
38739
38740 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
38741
38742         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38743         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38744
38745         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38746         * posix/tst-rfc3484-2.c: Likewise.
38747         * posix/tst-rfc3484-3.c: Likewise.
38748
38749         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38750         process_vm_writev.
38751         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38752         process_vm_writev.
38753         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38754         process_vm_writev from libc using GLIBC_2.15 version.
38755
38756         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38757
38758 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
38759
38760         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38761         stack usage.
38762
38763 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
38764
38765         [BZ #13367]
38766         * nss/getent.c (initgroups_keys): Show error message in case no group
38767         names are given.
38768
38769         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38770         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38771         __bump_nl_timestamp.
38772         * nscd/connections (nscd_init): When host database is served open
38773         netlink socket and request notification about configuration changes.
38774         (main_loop_poll): Track netlink file descriptor and bump timestamp
38775         in case data becomes available.
38776         (main_loop_epoll): Likewise.
38777         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38778         (database_pers_head): Add extra_data fileds.
38779         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38780         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38781         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38782         Adjust caller.
38783         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38784         in6ai data, call __free_in6ai.
38785         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38786         Add -DHAVE_NETLINK.
38787         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
38788         interface information.  Reuse previous data if netlink timestamp
38789         is not changed.
38790         (__bump_nl_timestamp): New function.
38791         (__free_in6ai): New function.
38792
38793 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
38794
38795         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38796         close_not_cancel_no_status here.
38797         (__check_pf): Reorganize code a bit to not call close twice if OOM.
38798
38799 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38800
38801         [BZ #13276]
38802         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38803         return value.
38804
38805         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38806         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38807         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38808
38809 2011-07-03  Andreas Jaeger  <aj@suse.de>
38810
38811         [BZ #10709]
38812         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38813         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38814         * math/libm-test.inc (sin_test): Add test case.
38815
38816 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38817
38818         [BZ #13337]
38819         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38820         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38821
38822         * elf/chroot_canon.c (chroot_canon): Cleanups.
38823
38824         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38825
38826         [BZ #13335]
38827         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38828         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38829
38830         * string/test-strchr.c: Make usable for strchrnul testing.
38831         * string/test-strchrnul.c: New file.
38832         * string/Makefile (strop-tests): Add strchrnul.
38833
38834         * po/it.po: Update from translation team.
38835         * po/es.po: Likewise.
38836
38837 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
38838
38839         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38840         the three constants needed as parameters.  Drop the others.
38841         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38842         __m128i_strloadu_tolower.
38843         Create and initialize variable zero and use it in all the places
38844         where _mm_setzero_si128 was used.
38845
38846         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38847         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38848         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38849         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38850         anymore.
38851         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38852         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38853         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38854         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38855         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38856         __mpranred, __mptan.
38857         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38858         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38859         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38860         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38861         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38862         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38863         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38864         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38865         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38866
38867 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38868
38869         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38870         redefine if SHARED.
38871         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38872
38873         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38874         wide char related routines to wcsmbs subdir.
38875
38876 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38877
38878         [BZ #13344]
38879         * misc/sys/cdefs.h (__THROWNL): Define.
38880         * posix/unistd.h: Use __THREADNL instead of __THREAD
38881         for memory synchronization functions.
38882
38883 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38884
38885         [BZ #13349]
38886         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38887         doesn't exist.
38888         * manual/stdio.texi (Obstack Streams): Node removed.
38889
38890 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38891
38892         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38893         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38894         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38895
38896         * math/math_private.h (math_force_eval): Allow non-addressable
38897         arguments.
38898         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38899
38900 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38901
38902         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38903         file is not needed.
38904
38905         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38906         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38907         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38908         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38909         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38910         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38911         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38912         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38913         Add AVX variants.
38914         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38915         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38916         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38917         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38918         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38919         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38920         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38921         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38922         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38923         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38924         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38925         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38926         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38927         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38928         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38929         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38930         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38931         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38932         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38933
38934         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38935         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38936
38937         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38938         place.  Use VEX encoding when compiling for AVX.
38939
38940 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38941
38942         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38943         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38944
38945         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38946
38947 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38948
38949         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38950         useless if() expression.
38951         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38952         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38953         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38954         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38955         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38956         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38957         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38958         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38959         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38960         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38961         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38962         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38963         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38964         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38965         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38966         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38967         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38968         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38969         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38970
38971         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38972
38973 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38974
38975         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38976         condition.
38977         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38978
38979 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38980
38981         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38982         .text section.  Avoid duplicate constants.
38983         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38984         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38985         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38986         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38987         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38988         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38989         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38990         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38991         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38992         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38993         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38994         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38995         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38996         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38997         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38998         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38999         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39000         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39001         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39002         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39003         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39004         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39005         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39006         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39007         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39008         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39009         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39010         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39011         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39012         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39013         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39014         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39015         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39016         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39017         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39018         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39019         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39020         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39021         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39022         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39023         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39024         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39025         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39026         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39027         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39028
39029 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
39030
39031         * sysdeps/x86_64/dla.h: Move to ...
39032         * sysdeps/x86_64/fpu/dla.h: ...here.
39033         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39034         situations.  Use __builtin_fma only for gcc 4.6 and up.
39035
39036         * config.make.in: Add have-mfma4 entry.
39037         * configure.in: Substitute libc_cv_cc_fma4.
39038         * math/Makefile (dbl-only-routines): Add sincostab.
39039         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39040         Use __sincostab not sincos.
39041         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39042         name is a macro.
39043         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39044         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39045         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39046         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
39047         using __copysign.
39048         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
39049         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
39050         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39051         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39052         and __inv.
39053         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39054         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39055         __copysign.
39056         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
39057         define aliases when function name is a macro.
39058         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39059         sysdeps/ieee754/dbl-64/sincos.tbl.
39060         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39061         fma4-enabled routines.
39062         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39063         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39064         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39065         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39066         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39067         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39068         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39069         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39070         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39071         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39072         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39073         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39074         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39075         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39076         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39077         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39078         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39079         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39080         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39081         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39082         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39083         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39084         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39085         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39086         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39087         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39088         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39089         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39090         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39091         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39092
39093         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39094         rename.
39095         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39096         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39097         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39098         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39100         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39101         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39102         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39103
39104 2011-10-24  Andreas Schwab  <schwab@redhat.com>
39105
39106         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39107
39108 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39109
39110         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39111
39112         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39113         prediction.
39114         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39115
39116         * string/strnlen.c: Don't define STRNLEN, reverse logic.
39117         Remove unused variable magic_bits.
39118         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39119
39120         * string/strnlen.c: Define and use STRNLEN macro.
39121         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39122         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39123         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39124         * wcsmbs/wcslen.c: Define and use WCSLEN.
39125         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39126         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39127         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39128         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39129         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39130         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39131         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39132
39133 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39134
39135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39136         strnlen-sse2-no-bsf.
39137         Rename strlen-no-bsf to strlen-sse2-no-bsf.
39138         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39139         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39140         Add strnlen support.
39141         (USE_AS_STRNLEN): New macro.
39142         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39143         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39144         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39145         * sysdeps/x86_64/wcslen.S: New file.
39146
39147 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
39148
39149         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39150         XMM-moves are used for copying on small sizes.
39151
39152 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39153
39154         * wcsmbs/Makefile (strop-tests): Add wcschr.
39155         * wcsmbs/test-wcschr.c: New file.
39156         * string/test-strchr.c: Update.
39157         Add wcschr support.
39158         (WIDE): New macro.
39159
39160 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39161
39162         * wcsmbs/Makefile (strop-tests): Add wcslen.
39163         * wcsmbs/test-wcslen.c: New file.
39164         * string/test-strlen.c: Update.
39165         Add wcslen support.
39166         (WIDE): New macro.
39167
39168 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39169
39170         * po/it.po: Update from translation team.
39171
39172 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39173
39174         * sysdeps/x86_64/wcscmp.S: Update.
39175         Fix wrong comparison semantics.
39176         wcscmp shall use signed comparison not unsigned.
39177         Don't use substraction to avoid overflow bug.
39178         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39179         * wcsmbc/wcscmp.c: Likewise.
39180         * string/test-strcmp.c: Likewise.
39181         Add new tests to check cases with negative values.
39182
39183 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39184
39185         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39186         * sysdeps/x86_64/dla.h: ...here.  New file.
39187         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39188         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39189         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39190         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39191         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39192         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39194         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39195         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39196
39197 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
39198
39199         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39200         __ynl_finite aliases.
39201
39202 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39203
39204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39205
39206         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39207         define DLA_FMA.
39208         [DLA_FMA] (EMULV): Use DLA_FMA.
39209         [DLA_FMA] (MUL12): Use EMULV.
39210         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39211         that are not needed.
39212         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39213         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39214         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39215         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39216         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39217         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39218         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39219
39220 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
39221
39222         * math/s_nan.c: Undef __nan.
39223         * math/s_nanf.c: Undef __nanf.
39224         * math/s_nanl.c: Undef __nanl.
39225         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39226         "math_private.h".
39227
39228 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39229
39230         * math/s_catan.c: Add branch predictions.
39231         * math/s_catanf.c: Likewise.
39232         * math/s_catanh.c: Likewise.
39233         * math/s_catanhf.c: Likewise.
39234         * math/s_catanhl.c: Likewise.
39235         * math/s_catanl.c: Likewise.
39236         * math/s_cexp.c: Likewise.
39237         * math/s_cexpf.c: Likewise.
39238         * math/s_cexpl.c: Likewise.
39239         * math/s_clog.c: Likewise.
39240         * math/s_clog10.c: Likewise.
39241         * math/s_clog10f.c: Likewise.
39242         * math/s_clog10l.c: Likewise.
39243         * math/s_clogf.c: Likewise.
39244         * math/s_clogl.c: Likewise.
39245         * math/s_csqrt.c: Likewise.
39246         * math/s_csqrtf.c: Likewise.
39247         * math/s_csqrtl.c: Likewise.
39248         * math/s_ctanf.c: Likewise.
39249         * math/s_ctanh.c: Likewise.
39250         * math/s_ctanhf.c: Likewise.
39251         * math/s_ctanhl.c: Likewise.
39252         * math/s_ctanl.c: Likewise.
39253
39254         * math/math_private.h: Define __nan, __nanf, __nanl.
39255         * math/s_cacosh.c: Include <math_private.h>.
39256         * math/s_cacoshl.c: Likewise.
39257         * math/s_casinh.c: Likewise.
39258         * math/s_casinhf.c: Likewise.
39259         * math/s_casinhl.c: Likewise.
39260         * math/s_ccos.c: Rely entire on ccosh.
39261         * math/s_ccosf.c: Rely entire on ccoshf.
39262         * math/s_ccosl.c: Rely entirely on ccoshl.
39263         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39264         Remove tests for FE_INVALID.
39265         * math/s_ccoshf.c: Likewise.
39266         * math/s_ccoshl.c: Likewise.
39267         * math/s_csin.c: Likewise.
39268         * math/s_csinf.c: Likewise.
39269         * math/s_csinh.c Likewise.
39270         * math/s_csinhf.c: Likewise.
39271         * math/s_csinhl.c: Likewise.
39272         * math/s_csinl.c: Likewise.
39273         * math/s_ctan.c: Likewise.
39274         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39275         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39276         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39277
39278 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39279
39280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39281         compilation problems.
39282
39283         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39284         __builtin_expect.
39285
39286 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39287
39288         * sysdeps/i386/configure.in: Test for -mfma4 option.
39289         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39290         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39291         COMMON_CPUID_INDEX_80000001.
39292         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39293         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39294         use it if FMA3 is not supported.
39295         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39296
39297         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39298         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39299
39300 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39301
39302         [BZ #12892]
39303         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39304         it would create a cycle with a link time dependency.
39305
39306 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39307
39308         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39309         instruction.
39310         * string/Makefile (strop-tests): Add rawmemchr.
39311         * string/test-rawmemchr.c: New file.
39312
39313         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39314         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39315         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39316         when compiling str{,n}casecmp and when AVX is available.  Hook up
39317         new optimized code in initializers.
39318
39319 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39320
39321         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39322         __feraiseexcept instead of feraiseexcept.
39323
39324 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39325
39326         * math/math_private.h: Define defaults for libc_fetestexcept and
39327         libc_feupdateenv.
39328         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39329         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39330         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39331         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39332         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39333         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39334         libc_fetestexcept and libc_feupdateenv.
39335
39336         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39337         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39338         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39339         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39340         libc_feholdexcept_setround.
39341
39342         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39343         Add s_nearbyint-c and s_nearbyintf-c.
39344         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39345         nearbyintf inlines.
39346         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39347         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39348         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39349         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39350
39351         * math/math_private.h: Define defaults for libc_fegetround,
39352         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39353         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39354         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39355         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39356         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39357         standard functions.
39358         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39359         Remove comments and hacks for old compiler versions.
39360         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39361         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39362         libc_feholdexceptl.
39363
39364 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39365
39366         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39367         (__feraiseexcept_renamed): Add __NTH.
39368         (feraiseexcept): Add __NTH.  Rename local variables to fix
39369         namespace violations.
39370
39371 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39372
39373         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39374
39375         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39376
39377         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39378         recently added interfaces.
39379         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39380
39381         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39382         about macro parameter expansion.
39383
39384         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39385         __NO_MATH_INLINES is defined.  Cleanups.
39386
39387         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39388         and __floorf is target has SSE4.1.
39389         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39390         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39391         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39392         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39393
39394         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39395         name.
39396         (floorf): Likewise.
39397
39398         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39399
39400 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39401
39402         * misc/sys/cdefs.h: Fix last change.
39403
39404         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39405         database lookup.
39406
39407 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39408
39409         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39410
39411         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39412         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39413         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39414         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39415         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39416         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39417         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39418         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39419         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39420         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39421         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39422         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39423         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39424         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39425         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39426         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39427         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39428         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39429         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39430         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39431         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39432         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39433
39434         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39435         ceil, ceilf, floor, floorf.
39436
39437         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39438         Perform IRELATIVE relocations last.
39439
39440         * elf/do-rel.h: Add another parameter nrelative, replacing the
39441         local variable with the same name.  Change name of the function
39442         to end in Rel or Rela (uppercase).
39443         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39444         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39445         elf_dynamic_do_##reloc function.
39446
39447 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39448
39449         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39450         is sufficient, at least on modern CPUs.
39451
39452         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39453
39454         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39455         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39456
39457         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39458         __expl_finite.
39459         * math/bits/math-finite.h: Add entries for exp.
39460         * math/e_expl.c: Add __*_finite alias.
39461         * sysdeps/i386/fpu/e_exp.S: Likewise.
39462         * sysdeps/i386/fpu/e_expf.S: Likewise.
39463         * sysdeps/i386/fpu/e_expl.c: Likewise.
39464         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39465         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39466         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39467         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39468         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39469         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39470         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39471
39472         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39473         is sufficient, at least on modern CPUs.
39474
39475         * ctype/ctype-info.c (__ctype_init): Define.
39476         * include/ctype.h (__ctype_init): Declare.
39477         (__ctype_b_loc): The variable is always initialized.
39478         (__ctype_toupper_loc): Likewise.
39479         (__ctype_tolower_loc): Likewise.
39480         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39481         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39482
39483 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39484
39485         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39486
39487         * configure.in: Also look in $cxxmachine/include for C++ system
39488         headers.
39489
39490 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39491
39492         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39493         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39494         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39495         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39496         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39497         (USE_AS_WMEMCMP): New macro.
39498         Fixing indents.
39499         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39500         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39501         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39502         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39504         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39505         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39506         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39507         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39508         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39509         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39510         (USE_AS_WMEMCMP): New macro.
39511         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39512         * sysdeps/string/test-memcmp.c: Update.
39513         Fix simple_wmemcmp.
39514         Add new tests.
39515         * wcsmbs/wmemcmp.c: Update.
39516         (WMEMCMP): New macro.
39517         Fix overflow bug.
39518
39519 2011-10-12  Andreas Jaeger  <aj@suse.de>
39520
39521         [BZ #13268]
39522         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39523
39524 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39525
39526         * libio/iofwide.c (do_length): Avoid warning.
39527
39528         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39529
39530 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39531
39532         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39533
39534         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39535         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39536         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39537         * sysdeps/i386/i686/fpu/e_log.S: New file.
39538         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39539         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39540
39541         * ctype/ctype.h: Add support for inlined isXXX functions when
39542         compiling C++ code.
39543
39544 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39545
39546         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39547
39548         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39549
39550 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39551
39552         [BZ #13291]
39553         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39554
39555 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39556
39557         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39558         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39559         feraiseexcept.
39560
39561         * sysdeps/x86_64/memrchr.S: Check for zero size.
39562
39563         * string/stratcliff.c: Add memrchr tests.
39564
39565 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39566
39567         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39568         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39569         rawmemchr-sse2 rawmemchr-sse2-bsf.
39570         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39571         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39572         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39573         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39574         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39575         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39576         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39577         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39578         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39579         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39580         * string/memrchr.c (MEMRCHR): New macro.
39581
39582 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39583
39584         Add integration with gcc's -ffinite-math-only and optimize wrapper
39585         functions in libm.
39586         * Versions.def: Define GLIBC_2.15 version for libm.
39587         * math/Makefile (headers): Add bits/math-finite.h.
39588         * math/bits/math-finite.h: New file.
39589         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39590         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39591         * math/e_acoshl.c: Add __*_finite alias.
39592         * math/e_acosl.c: Likewise.
39593         * math/e_asinl.c: Likewise.
39594         * math/e_atan2l.c: Likewise.
39595         * math/e_atanhl.c: Likewise.
39596         * math/e_coshl.c: Likewise.
39597         * math/e_exp10.c: Likewise.
39598         * math/e_exp10f.c: Likewise.
39599         * math/e_exp10l.c: Likewise.
39600         * math/e_exp2l.c: Likewise.
39601         * math/e_fmodl.c: Likewise.
39602         * math/e_gammal_r.c: Likewise.
39603         * math/e_hypotl.c: Likewise.
39604         * math/e_j0l.c: Likewise.
39605         * math/e_j1l.c: Likewise.
39606         * math/e_jnl.c: Likewise.
39607         * math/e_lgammal_r.c: Likewise.
39608         * math/e_log10l.c: Likewise.
39609         * math/e_log2l.c: Likewise.
39610         * math/e_logl.c: Likewise.
39611         * math/e_powl.c: Likewise.
39612         * math/e_sinhl.c: Likewise.
39613         * math/e_sqrtl.c: Likewise.
39614         * math/e_scalb.c: Completely rewritten and optimized.
39615         * math/e_scalbf.c: Likewise.
39616         * math/e_scalbl.c: Likewise.
39617         * math/w_acos.c: Likewise.
39618         * math/w_acosf.c: Likewise.
39619         * math/w_acosl.c: Likewise.
39620         * math/w_acosh.c: Likewise.
39621         * math/w_acoshf.c: Likewise.
39622         * math/w_acoshl.c: Likewise.
39623         * math/w_asin.c: Likewise.
39624         * math/w_asinf.c: Likewise.
39625         * math/w_asinl.c: Likewise.
39626         * math/w_atan2.c: Likewise.
39627         * math/w_atan2f.c: Likewise.
39628         * math/w_atan2l.c: Likewise.
39629         * math/w_atanh.c: Likewise.
39630         * math/w_atanhf.c: Likewise.
39631         * math/w_atanhl.c: Likewise.
39632         * math/w_exp10.c: Likewise.
39633         * math/w_exp10f.c: Likewise.
39634         * math/w_exp10l.c: Likewise.
39635         * math/w_fmod.c: Likewise.
39636         * math/w_fmodf.c: Likewise.
39637         * math/w_fmodl.c: Likewise.
39638         * math/w_j0.c: Likewise.
39639         * math/w_j0f.c: Likewise.
39640         * math/w_j0l.c: Likewise.
39641         * math/w_j1.c: Likewise.
39642         * math/w_j1f.c: Likewise.
39643         * math/w_j1l.c: Likewise.
39644         * math/w_jn.c: Likewise.
39645         * math/w_jnf.c: Likewise.
39646         * math/w_log.c: Likewise.
39647         * math/w_logf.c: Likewise.
39648         * math/w_logl.c: Likewise.
39649         * math/w_log10.c: Likewise.
39650         * math/w_log10f.c: Likewise.
39651         * math/w_log10l.c: Likewise.
39652         * math/w_log2.c: Likewise.
39653         * math/w_log2f.c: Likewise.
39654         * math/w_log2l.c: Likewise.
39655         * math/w_pow.c: Likewise.
39656         * math/w_powf.c: Likewise.
39657         * math/w_powl.c: Likewise.
39658         * math/w_remainder.c: Likewise.
39659         * math/w_remainderf.c: Likewise.
39660         * math/w_remainderl.c: Likewise.
39661         * math/w_scalb.c: Likewise.
39662         * math/w_scalbf.c: Likewise.
39663         * math/w_scalbl.c: Likewise.
39664         * math/w_sqrt.c: Likewise.
39665         * math/w_sqrtf.c: Likewise.
39666         * math/w_sqrtl.c: Likewise.
39667         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39668         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
39669         used.
39670         * math/math_private.h: Declare __kernel_standard_f.
39671         * math/w_cosh.c: Remove cruft and optimize a bit.
39672         * math/w_coshf.c: Likewise.
39673         * math/w_coshl.c: Likewise.
39674         * math/w_exp2.c: Likewise.
39675         * math/w_exp2f.c: Likewise.
39676         * math/w_exp2l.c: Likewise.
39677         * math/w_hypot.c: Likewise.
39678         * math/w_hypotf.c: Likewise.
39679         * math/w_hypotl.c: Likewise.
39680         * math/w_lgamma.c: Likewise.
39681         * math/w_lgamma_r.c: Likewise.
39682         * math/w_lgammaf.c: Likewise.
39683         * math/w_lgammaf_r.c: Likewise.
39684         * math/w_lgammal.c: Likewise.
39685         * math/w_lgammal_r.c: Likewise.
39686         * math/w_sinh.c: Likewise.
39687         * math/w_sinhf.c: Likewise.
39688         * math/w_sinhl.c: Likewise.
39689         * math/w_tgamma.c: Likewise.
39690         * math/w_tgammaf.c: Likewise.
39691         * math/w_tgammal.c: Likewise.
39692         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39693         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39694         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39695         Minor optimizations.  Pretty printing.  Remove cruft.
39696         * sysdeps/i386/fpu/e_acosf.S: Likewise.
39697         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39698         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39699         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39700         * sysdeps/i386/fpu/e_acosl.c: Likewise.
39701         * sysdeps/i386/fpu/e_asin.S: Likewise.
39702         * sysdeps/i386/fpu/e_asinf.S: Likewise.
39703         * sysdeps/i386/fpu/e_atan2.S: Likewise.
39704         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39705         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39706         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39707         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39708         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39709         * sysdeps/i386/fpu/e_exp10.S: Likewise.
39710         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39711         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39712         * sysdeps/i386/fpu/e_exp2.S: Likewise.
39713         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39714         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39715         * sysdeps/i386/fpu/e_fmod.S: Likewise.
39716         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39717         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39718         * sysdeps/i386/fpu/e_hypot.S: Likewise.
39719         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39720         * sysdeps/i386/fpu/e_log.S: Likewise.
39721         * sysdeps/i386/fpu/e_log10.S: Likewise.
39722         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39723         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39724         * sysdeps/i386/fpu/e_log2.S: Likewise.
39725         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39726         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39727         * sysdeps/i386/fpu/e_logf.S: Likewise.
39728         * sysdeps/i386/fpu/e_logl.S: Likewise.
39729         * sysdeps/i386/fpu/e_pow.S: Likewise.
39730         * sysdeps/i386/fpu/e_powf.S: Likewise.
39731         * sysdeps/i386/fpu/e_powl.S: Likewise.
39732         * sysdeps/i386/fpu/e_remainder.S: Likewise.
39733         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39734         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39735         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39736         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39737         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39738         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39739         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39740         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39741         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39742         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39743         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39744         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39745         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39746         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39747         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39748         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39749         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39750         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39751         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39752         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39753         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39754         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39755         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39756         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39757         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39758         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39759         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39760         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39761         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39762         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39763         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39764         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39765         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39766         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39767         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39768         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39769         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39770         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39771         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39772         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39773         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39774         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39775         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39776         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39777         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39778         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39779         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39780         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39781         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39782         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39783         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39784         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39785         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39786         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39787         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39788         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39789         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39790         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39791         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39792         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39793         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39794         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39795         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39796         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39797         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39798         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39799         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39800         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39801         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39802         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39803         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39804         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39805         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39806         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39807         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39808         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39809         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39810         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39811         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39812         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39813         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39814         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39815         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39816         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39817         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39818         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39819         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39820         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39821         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39822         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39823         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39824         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39825         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39826         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39827         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39828         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39829         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39830         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39831         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39832         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39833         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39834         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39835         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39836         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39837         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39838         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39839         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39840         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39841         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39842         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39843         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39844         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39845         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39846         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39847         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39848         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39849         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39850         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39851         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
39852         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39853         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39854         (__isnanf): Likewise.
39855         (__isinf_ns): Likewise.
39856         (__isinf_nsf): Likewise.
39857         (__finite): Likewise.
39858         (__finitef): Likewise.
39859         (__ieee754_sqrt): Define as macro.
39860         (__ieee754_sqrtf): Define as macro.
39861         (__ieee754_sqrtl): Define as macro.
39862         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39863         inlined copy.
39864         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39865         __FINITE_MATH_ONLY__ consistent.
39866         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39867
39868 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39869
39870         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39871         of rawmemchr.
39872
39873         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39874
39875 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39876
39877         * po/ja.po: Update from translation team.
39878
39879 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39880
39881         * locale/programs/locarchive.c (prepare_address_space): New function.
39882         (create_archive, enlarge_archive, open_archive): Use it.
39883
39884         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39885         inside [SHARED], where it is used.
39886
39887         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39888
39889         * nss/getent.c (netgroup_keys): Remove unused variable.
39890         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39891
39892 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39893
39894         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39895         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39896         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39897         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39898         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39899         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39900         * math/Makefile (libm-calls): Add s_isinf_ns.
39901         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39902         * math/multc3.c: Likewise.
39903         * math/s_casin.c: Likewise.
39904         * math/s_casinf.c: Likewise.
39905         * math/s_casinl.c: Likewise.
39906         * math/s_ccos.c: Likewise.
39907         * math/s_ccosf.c: Likewise.
39908         * math/s_ccosl.c: Likewise.
39909         * math/s_ctan.c: Likewise.
39910         * math/s_ctanf.c: Likewise.
39911         * math/s_ctanh.c: Likewise.
39912         * math/s_ctanhf.c: Likewise.
39913         * math/s_ctanhl.c: Likewise.
39914         * math/s_ctanl.c: Likewise.
39915         * math/w_fmod.c: Likewise.
39916         * math/w_fmodf.c: Likewise.
39917         * math/w_fmodl.c: Likewise.
39918         * math/w_remainder.c: Likewise.
39919         * math/w_remainderf.c: Likewise.
39920         * math/w_remainderl.c: Likewise.
39921         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39922         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39923         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39924         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39925         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39926         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39927         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39928         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39929
39930         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39931         of the number.
39932         * stdio-common/printf_fphex.c: Likewise.
39933         * stdio-common/printf_size.c: Likewise.
39934
39935         * math/e_exp10.c: Include math_private.h using <...> not "...".
39936         * math/e_exp10f.c: Likewise.
39937         * math/e_exp10l.c: Likewise.
39938         * math/e_exp2l.c: Likewise.
39939         * math/e_j0l.c: Likewise.
39940         * math/e_j1l.c: Likewise.
39941         * math/e_jnl.c: Likewise.
39942         * math/e_lgammal_r.c: Likewise.
39943         * math/e_rem_pio2l.c: Likewise.
39944         * math/e_scalb.c: Likewise.
39945         * math/e_scalbf.c: Likewise.
39946         * math/e_scalbl.c: Likewise.
39947         * math/k_cosl.c: Likewise.
39948         * math/k_sinl.c: Likewise.
39949         * math/k_tanl.c: Likewise.
39950         * math/s_cacoshf.c: Likewise.
39951         * math/s_catan.c: Likewise.
39952         * math/s_catanf.c: Likewise.
39953         * math/s_catanh.c: Likewise.
39954         * math/s_catanhf.c: Likewise.
39955         * math/s_catanhl.c: Likewise.
39956         * math/s_catanl.c: Likewise.
39957         * math/s_ccosh.c: Likewise.
39958         * math/s_ccoshf.c: Likewise.
39959         * math/s_ccoshl.c: Likewise.
39960         * math/s_cexp.c: Likewise.
39961         * math/s_cexpf.c: Likewise.
39962         * math/s_cexpl.c: Likewise.
39963         * math/s_clog.c: Likewise.
39964         * math/s_clog10.c: Likewise.
39965         * math/s_clog10f.c: Likewise.
39966         * math/s_clog10l.c: Likewise.
39967         * math/s_clogf.c: Likewise.
39968         * math/s_clogl.c: Likewise.
39969         * math/s_csin.c: Likewise.
39970         * math/s_csinf.c: Likewise.
39971         * math/s_csinh.c: Likewise.
39972         * math/s_csinhf.c: Likewise.
39973         * math/s_csinhl.c: Likewise.
39974         * math/s_csinl.c: Likewise.
39975         * math/s_csqrt.c: Likewise.
39976         * math/s_csqrtf.c: Likewise.
39977         * math/s_csqrtl.c: Likewise.
39978         * math/s_ctan.c: Likewise.
39979         * math/s_ctanf.c: Likewise.
39980         * math/s_ctanh.c: Likewise.
39981         * math/s_ctanhf.c: Likewise.
39982         * math/s_ctanhl.c: Likewise.
39983         * math/s_ctanl.c: Likewise.
39984         * math/s_ldexp.c: Likewise.
39985         * math/s_ldexpf.c: Likewise.
39986         * math/s_ldexpl.c: Likewise.
39987         * math/s_significand.c: Likewise.
39988         * math/s_significandf.c: Likewise.
39989         * math/s_significandl.c: Likewise.
39990         * math/w_acos.c: Likewise.
39991         * math/w_acosf.c: Likewise.
39992         * math/w_acosh.c: Likewise.
39993         * math/w_acoshf.c: Likewise.
39994         * math/w_acoshl.c: Likewise.
39995         * math/w_acosl.c: Likewise.
39996         * math/w_asin.c: Likewise.
39997         * math/w_asinf.c: Likewise.
39998         * math/w_asinl.c: Likewise.
39999         * math/w_atan2.c: Likewise.
40000         * math/w_atan2f.c: Likewise.
40001         * math/w_atan2l.c: Likewise.
40002         * math/w_atanh.c: Likewise.
40003         * math/w_atanhf.c: Likewise.
40004         * math/w_atanhl.c: Likewise.
40005         * math/w_cosh.c: Likewise.
40006         * math/w_coshf.c: Likewise.
40007         * math/w_coshl.c: Likewise.
40008         * math/w_dremf.c: Likewise.
40009         * math/w_exp10.c: Likewise.
40010         * math/w_exp10f.c: Likewise.
40011         * math/w_exp10l.c: Likewise.
40012         * math/w_exp2.c: Likewise.
40013         * math/w_exp2f.c: Likewise.
40014         * math/w_fmod.c: Likewise.
40015         * math/w_fmodf.c: Likewise.
40016         * math/w_fmodl.c: Likewise.
40017         * math/w_hypot.c: Likewise.
40018         * math/w_hypotf.c: Likewise.
40019         * math/w_hypotl.c: Likewise.
40020         * math/w_j0.c: Likewise.
40021         * math/w_j0f.c: Likewise.
40022         * math/w_j0l.c: Likewise.
40023         * math/w_j1.c: Likewise.
40024         * math/w_j1f.c: Likewise.
40025         * math/w_j1l.c: Likewise.
40026         * math/w_jn.c: Likewise.
40027         * math/w_jnf.c: Likewise.
40028         * math/w_jnl.c: Likewise.
40029         * math/w_lgamma.c: Likewise.
40030         * math/w_lgamma_r.c: Likewise.
40031         * math/w_lgammaf.c: Likewise.
40032         * math/w_lgammaf_r.c: Likewise.
40033         * math/w_lgammal.c: Likewise.
40034         * math/w_lgammal_r.c: Likewise.
40035         * math/w_log.c: Likewise.
40036         * math/w_log10.c: Likewise.
40037         * math/w_log10f.c: Likewise.
40038         * math/w_log10l.c: Likewise.
40039         * math/w_log2.c: Likewise.
40040         * math/w_log2f.c: Likewise.
40041         * math/w_log2l.c: Likewise.
40042         * math/w_logf.c: Likewise.
40043         * math/w_logl.c: Likewise.
40044         * math/w_pow.c: Likewise.
40045         * math/w_powf.c: Likewise.
40046         * math/w_powl.c: Likewise.
40047         * math/w_remainder.c: Likewise.
40048         * math/w_remainderf.c: Likewise.
40049         * math/w_remainderl.c: Likewise.
40050         * math/w_scalb.c: Likewise.
40051         * math/w_scalbf.c: Likewise.
40052         * math/w_scalbl.c: Likewise.
40053         * math/w_sinh.c: Likewise.
40054         * math/w_sinhf.c: Likewise.
40055         * math/w_sinhl.c: Likewise.
40056         * math/w_sqrt.c: Likewise.
40057         * math/w_sqrtf.c: Likewise.
40058         * math/w_sqrtl.c: Likewise.
40059         * math/w_tgamma.c: Likewise.
40060         * math/w_tgammaf.c: Likewise.
40061         * math/w_tgammal.c: Likewise.
40062
40063         * po/ja.po: Update from translation team.
40064
40065 2011-09-29  Andreas Jaeger  <aj@suse.de>
40066
40067         [BZ #13179]
40068         * sunrpc/netname.c (netname2host): Fix logic.
40069
40070         [BZ #6779]
40071         [BZ #6783]
40072         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40073         correctly.
40074         * math/w_remainder.c (__remainder): Likewise.
40075         * math/w_remainderf.c (__remainderf): Likewise.
40076         * math/libm-test.inc (remainder_test): Add test cases.
40077
40078 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40079
40080         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
40081         sdiv_qrnnd.
40082
40083 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40084
40085         * string/test-memcmp.c: Avoid unncessary #defines.
40086         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40087
40088 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40089
40090         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40091         Use new sse2 version for core i3 - i7 as it's faster
40092         than sse42 version.
40093         (bit_Prefer_PMINUB_for_stringop): New.
40094         * sysdeps/x86_64/rawmemchr.S: Update.
40095         Replace with faster SSE2 version.
40096         * sysdeps/x86_64/memrchr.S: New file.
40097         * sysdeps/x86_64/memchr.S: Update.
40098         Replace with faster SSE2 version.
40099
40100 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
40101
40102         * elf/dl-load.c (lose): Add cast to avoid warning.
40103
40104 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40105
40106         * po/ca.po: Update from translation team.
40107
40108         * inet/getnetgrent_r.c: Hook up nscd.
40109         * nscd/Makefile (routines): Add nscd_netgroup.
40110         (nscd-modules): Add netgroupcache.
40111         (CFLAGS-netgroupcache.c): Define.
40112         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40113         (cache_search): Add const to second parameter.
40114         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40115         INNETGR.
40116         (dbs): Add netgrdb entry.
40117         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40118         (verify_persistent_db): Handle netgrdb.
40119         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40120         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40121         GETFDNETGR.
40122         (netgroup_response_header): Define.
40123         (innetgroup_response_header): Define.
40124         (datahead): Add netgroup_response_header and innetgroup_response_header
40125         elements.
40126         * nscd/nscd.conf: Add entries for netgroup cache.
40127         * nscd/nscd.h (dbtype): Add netgrdb.
40128         (_PATH_NSCD_NETGROUP_DB): Define.
40129         (netgroup_iov_disabled): Declare.
40130         (xmalloc, xcalloc, xrealloc): Move declarations here.
40131         (cache_search): Adjust prototype.
40132         Add netgroup-related prototypes.
40133         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40134         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40135         (__nscd_innetgr): Declare.
40136         * nscd/selinux.c (perms): Use access_vector_t as element type and
40137         add netgroup-related initializers.
40138         * nscd/netgroupcache.c: New file.
40139         * nscd/nscd_netgroup.c: New file.
40140         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40141         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40142         For four parameters use innetgr.
40143         * nss/nss_files/files-init.c: Add definition and callback for netgr.
40144         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40145         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40146         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40147
40148         * nscd/connections.c (register_traced_file): Don't register file
40149         for disabled databases.
40150
40151 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
40152
40153         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40154
40155         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40156         from tree and freeing node.
40157
40158 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
40159
40160         * nss/nsswitch.c (__nss_database_lookup): Handle
40161         nss_parse_service_list out of memory case.
40162
40163 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
40164
40165         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40166         out of memory case.
40167
40168 2011-10-04  Andreas Schwab  <schwab@redhat.com>
40169
40170         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40171         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40172         pass it down.
40173         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40174         elf_machine_rela, elf_machine_lazy_rel.
40175         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40176         (ELF_DYNAMIC_DO_REL): Likewise.
40177         (ELF_DYNAMIC_DO_RELA): Likewise.
40178         (ELF_DYNAMIC_RELOCATE): Likewise.
40179         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40180         to ELF_DYNAMIC_DO_REL.
40181         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40182         (dl_main): In trace mode always set __RTLD_NOIFUNC.
40183         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40184         elf_machine_rela.
40185         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40186         skip_ifunc, don't call ifunc function if non-zero.
40187         (elf_machine_rela): Likewise.
40188         (elf_machine_lazy_rel): Likewise.
40189         (elf_machine_lazy_rela): Likewise.
40190         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40191         (elf_machine_lazy_rel): Likewise.
40192         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40193         Likewise.
40194         (elf_machine_lazy_rel): Likewise.
40195         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40196         Likewise.
40197         (elf_machine_lazy_rel): Likewise.
40198         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40199         (elf_machine_lazy_rel): Likewise.
40200         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40201         (elf_machine_lazy_rel): Likewise.
40202         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40203         (elf_machine_lazy_rel): Likewise.
40204         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40205         (elf_machine_lazy_rel): Likewise.
40206         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40207         (elf_machine_lazy_rel): Likewise.
40208         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40209         (elf_machine_lazy_rel): Likewise.
40210
40211 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
40212
40213         * nss/nss_files/files-init.c (_nss_files_init): Use static
40214         initialization for all the *_traced_file variables.
40215
40216 2011-09-28  Andreas Schwab  <schwab@redhat.com>
40217
40218         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40219
40220 2011-09-27  Roland McGrath  <roland@hack.frob.com>
40221
40222         [BZ #13226]
40223         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40224
40225 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40226
40227         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40228         Reread the line before reparsing it.
40229
40230 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40231
40232         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40233
40234 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40235             Maxim Kuvyrkov  <maxim@codesourcery.com>
40236             Joseph Myers  <joseph@codesourcery.com>
40237
40238         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40239         if needed for __stack_chk_guard.
40240
40241 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40242
40243         * sysdeps/posix/spawni.c (script_execute): Always define it.
40244         It will be optimized away if unused.
40245         (maybe_script_execute): New function.
40246         (__spawni): Call it.
40247
40248         * Makerules: Don't include tls.make.
40249         (config-tls): Always set to thread.
40250         * tls.make.c: File removed.
40251
40252 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40253
40254         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40255         * config.make.in (CPPFLAGS-config): New substituted variable.
40256
40257 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40258
40259         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40260
40261         [BZ #13192]
40262         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40263         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40264
40265 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40266
40267         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40268         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40269         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40270         (CALL_FAIL): Likewise.
40271         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40272         (CALL_FAIL): Macro removed.
40273         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40274
40275 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40276
40277         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40278         for __FINITE_MATH_ONLY__ == 1.
40279
40280 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40281
40282         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40283         __ieee754_sqrt instead of sqrt.
40284         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40285         __ieee754_sqrtf instead of sqrtf.
40286         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40287         __floorf instead of floorf.
40288         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40289         __floorf, __truncf instead of floorf, truncf.
40290
40291 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40292
40293         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40294
40295         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40296         __extern_always_inline.
40297         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40298         32-bit.
40299
40300 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40301
40302         * elf/rtld.c (dl_main): Also relocate in dependency order when
40303         doing symbol dependency testing.
40304
40305 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40306
40307         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40308         Always define `refsym'.
40309
40310 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40311
40312         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40313         (__FD_ELT): Renamed from __FDELT.
40314         * misc/bits/select2.h (__FD_ELT): Likewise.
40315         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40316         __FD_MASK instead of __FDELT, __FDMASK.
40317         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40318         Likewise.
40319         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40320         Likewise.
40321
40322         * elf/Makefile (gen-ldd): Fix pattern.
40323
40324         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40325         (init_tls): Likewise.
40326
40327 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40328
40329         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40330
40331 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40332
40333         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40334         `struct cmsghdr *' instead of `void *'.
40335         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40336         Likewise.
40337
40338 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40339
40340         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40341         if non-absolute.
40342         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40343         ldd_rewrite_script.
40344
40345 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40346
40347         * configure.in: Remove --with-tls option.
40348         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40349         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40350         out in case it is missing.
40351         * sysdeps/ia64/elf/configure.in: Likewise.
40352         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40353         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40354         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40355         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40356         * sysdeps/sh/elf/configure.in: Likewise.
40357         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40358         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40359         * sysdeps/x86_64/elf/configure.in: Likewise.
40360         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40361         * sysdeps/mach/hurd/tls.h: Likewise.
40362
40363         [BZ #13067]
40364         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40365
40366         [BZ #13090]
40367         * configure.in: Fix use of AC_INIT.
40368
40369         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40370
40371 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40372
40373         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40374         __set_errno.
40375         * malloc/hooks.c: Likewise.
40376
40377         [BZ #11929]
40378         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40379         variables statically.
40380         (narenas): Initialize.
40381         (list_lock): Initialize.
40382         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40383         initializtion of main_arena and list_lock.  Small cleanups.
40384         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40385         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40386         Add initializers to main_arena and mp_.
40387         (malloc_state): Remove pagesize member.  Change all users to use
40388         GLRO(dl_pagesize).
40389
40390         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40391         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40392         is always initialized.
40393
40394         * malloc/malloc.c: Removed unused configurations and dead code.
40395         * malloc/arena.c: Likewise.
40396         * malloc/hooks.c: Likewise.
40397         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40398
40399         * include/tls.h: Removed.  USE___THREAD must always be defined.
40400         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40401         * elf/dl-libc.c: Likewise.
40402         * elf/dl-tsd.c: Likewise.
40403         * include/errno.h: Likewise.
40404         * include/netdb.h: Likewise.
40405         * include/resolv.h: Likewise.
40406         * inet/herrno-loc.c: Likewise.
40407         * inet/herrno.c: Likewise.
40408         * malloc/arena.c: Likewise.
40409         * malloc/hooks.c: Likewise.
40410         * malloc/malloc.c: Likewise.
40411         * resolv/res-state.c: Likewise.
40412         * resolv/res_libc.c: Likewise.
40413         * sysdeps/i386/dl-machine.h: Likewise.
40414         * sysdeps/ia64/dl-machine.h: Likewise.
40415         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40416         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40417         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40418         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40419         * sysdeps/sh/dl-machine.h: Likewise.
40420         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40421         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40422         * sysdeps/unix/i386/sysdep.S: Likewise.
40423         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40424         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40426         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40428         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40429         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40430         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40431         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40432         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40433         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40434         * sysdeps/x86_64/dl-machine.h: Likewise.
40435         * tls.make.c: Likewise.
40436
40437         * configure.in: Remove --with-__thread option.  Make tests for
40438         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40439         tls_model attribute fail if no support is available.  Remove
40440         USE_IN_LIBIO.
40441         * Makeconfig: Adjust for dropped configure option.  All features are
40442         now mandatory.
40443         * Makerules: Likewise.
40444         * Versions.def: Likewise.
40445         * argp/argp-fmtstream.c: Likewise.
40446         * argp/argp-fmtstream.h: Likewise.
40447         * argp/argp-help.c: Likewise.
40448         * assert/assert.c: Likewise.
40449         * config.h.in: Likewise.
40450         * config.make.in: Likewise.
40451         * configure: Likewise.
40452         * configure.in: Likewise.
40453         * csu/Versions: Likewise.
40454         * csu/init.c: Likewise.
40455         * elf/tst-audit2.c: Likewise.
40456         * elf/tst-tls10.c: Likewise.
40457         * elf/tst-tls10.h: Likewise.
40458         * elf/tst-tls11.c: Likewise.
40459         * elf/tst-tls12.c: Likewise.
40460         * elf/tst-tls14.c: Likewise.
40461         * elf/tst-tlsmod11.c: Likewise.
40462         * elf/tst-tlsmod12.c: Likewise.
40463         * elf/tst-tlsmod13.c: Likewise.
40464         * elf/tst-tlsmod13a.c: Likewise.
40465         * elf/tst-tlsmod14a.c: Likewise.
40466         * elf/tst-tlsmod15b.c: Likewise.
40467         * elf/tst-tlsmod16a.c: Likewise.
40468         * elf/tst-tlsmod16b.c: Likewise.
40469         * elf/tst-tlsmod7.c: Likewise.
40470         * elf/tst-tlsmod8.c: Likewise.
40471         * elf/tst-tlsmod9.c: Likewise.
40472         * gmon/gmon.c: Likewise.
40473         * grp/fgetgrent_r.c: Likewise.
40474         * grp/putgrent.c: Likewise.
40475         * hurd/fopenport.c: Likewise.
40476         * include/libc-symbols.h: Likewise.
40477         * include/tls.h: Likewise.
40478         * intl/gettextP.h: Likewise.
40479         * intl/loadinfo.h: Likewise.
40480         * locale/global-locale.c: Likewise.
40481         * locale/localeinfo.h: Likewise.
40482         * mach/devstream.c: Likewise.
40483         * malloc/arena.c: Likewise.
40484         * malloc/set-freeres.c: Likewise.
40485         * misc/err.c: Likewise.
40486         * misc/getttyent.c: Likewise.
40487         * misc/mntent_r.c: Likewise.
40488         * posix/getopt.c: Likewise.
40489         * posix/wordexp.c: Likewise.
40490         * pwd/fgetpwent_r.c: Likewise.
40491         * resolv/Versions: Likewise.
40492         * resolv/res_hconf.c: Likewise.
40493         * shadow/fgetspent_r.c: Likewise.
40494         * shadow/putspent.c: Likewise.
40495         * stdio-common/printf_fphex.c: Likewise.
40496         * stdio-common/tmpfile.c: Likewise.
40497         * stdlib/abort.c: Likewise.
40498         * stdlib/fmtmsg.c: Likewise.
40499         * sunrpc/auth_unix.c: Likewise.
40500         * sunrpc/clnt_perr.c: Likewise.
40501         * sunrpc/clnt_tcp.c: Likewise.
40502         * sunrpc/clnt_udp.c: Likewise.
40503         * sunrpc/clnt_unix.c: Likewise.
40504         * sunrpc/openchild.c: Likewise.
40505         * sunrpc/svc_simple.c: Likewise.
40506         * sunrpc/svc_tcp.c: Likewise.
40507         * sunrpc/svc_udp.c: Likewise.
40508         * sunrpc/svc_unix.c: Likewise.
40509         * sunrpc/xdr.c: Likewise.
40510         * sunrpc/xdr_array.c: Likewise.
40511         * sunrpc/xdr_rec.c: Likewise.
40512         * sunrpc/xdr_ref.c: Likewise.
40513         * sunrpc/xdr_stdio.c: Likewise.
40514
40515 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40516
40517         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40518
40519 2011-07-03  Andreas Jaeger  <aj@suse.de>
40520
40521         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40522         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40523         regenerate with gen-libm-tests.pl.
40524
40525 2010-05-12  Petr Baudis  <pasky@suse.cz>
40526
40527         [BZ #11589]
40528         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40529         around j0() zero points by switching to j1().
40530         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40531         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40532         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40533         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40534
40535 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40536
40537         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40538         instead of 0.
40539         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40540         instead of 0.
40541         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40542         Patch in part by Pavel Roskin <proski@gnu.org>.
40543
40544         [BZ #13138]
40545         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40546         realloc.
40547         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40548         Free memory block if necessary.
40549
40550         [BZ #12847]
40551         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40552         be NULL.  Don't lock in this case.
40553
40554 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40555
40556         * elf/elf.h (ELFOSABI_GNU): New macro.
40557         (ELFOSABI_LINUX): Define to that.
40558
40559 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40560
40561         * string/strncat.c (strncat): Undef the symbol in case it has been
40562         defined in bits/string.h.
40563
40564 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40565
40566         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40567
40568         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40569         link map.
40570
40571 2011-08-17  Andreas Jaeger  <aj@suse.de>
40572
40573         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40574
40575 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40576             Ian Lance Taylor  <iant@google.com>
40577
40578         * math/libm-test.inc (lround_test): New testcase.
40579         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40580
40581 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40582
40583         * Makefile: Remove support for automatic cvs check-ins.
40584         * Makerules: Likewise.
40585         * config.make.in: Likewise.
40586         * configure.in: Likewise.
40587         * intl/Makefile: Likewise.
40588         * locale/Makefile: Likewise.
40589         * po/Makefile: Likewise.
40590         * posix/Makefile: Likewise.
40591         * sysdeps/gnu/Makefile: Likewise.
40592         * sysdeps/mach/hurd/Makefile: Likewise.
40593         * sysdeps/sparc/sparc32/Makefile: Likewise.
40594
40595         [BZ #13118]
40596         * posix/Makefile (bug-regex32-ENV): Define.
40597         Patch by John Stanley <jpsinthemix@verizon.net>.
40598
40599         * misc/Makefile (headers): Add bits/select2.h.
40600         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40601         * misc/bits/select2.h: New file.
40602         * include/bits/select2.h: New file.
40603         * debug/Makefile (routines): Add fdelt_chk.
40604         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40605         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40606         FD_ISSET.
40607         * debug/fdelt_chk.c: New file.
40608
40609         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40610         * wcsmbs/test-wmemcmp.c: Likewise.
40611         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40612         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40613
40614 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40615
40616         * string/Makefile (strop-tests): Add memcmp.
40617         * string/test-wmemcmp.c: New file.
40618         * string/test-memcmp.c: Add wmemcmp support.
40619
40620 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40621
40622         [BZ #13153]
40623         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40624         2011-07-19 change.
40625
40626         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40627         garbage value in a __mach_port_mod_refs call in the cases of the
40628         task-self and thread-self ports.
40629
40630 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40631
40632         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40633
40634 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40635
40636         * elf/dl-load.c (lose): Check for non-null L.
40637
40638 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40639
40640         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40641
40642         * elf/dl-libc.c (dlerror_run): Pass back error code from
40643         dl_catch_error.
40644
40645         [BZ #13123]
40646         * elf/dl-load.c (lose): Free l_origin if it is valid.
40647
40648         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40649         names.
40650         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40651         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40652         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40653         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40654         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40655         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40656
40657 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40658
40659         * sysdeps/powerpc/fpu/e_hypot.c: New file.
40660         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40661         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40662         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40663         * sysdeps/powerpc/fpu/k_cosf.c: New file.
40664         * sysdeps/powerpc/fpu/k_sinf.c: New file.
40665         * sysdeps/powerpc/fpu/s_cosf.c: New file.
40666         * sysdeps/powerpc/fpu/s_sinf.c: New file.
40667         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40668         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40669
40670 2011-08-15  Alan Modra  <amodra@gmail.com>
40671
40672         [BZ #13092]
40673         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40674         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40675         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
40676         ppc_mcount to static-only-routines.
40677         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40678         __mcount_internal.
40679         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40680         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
40681
40682 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
40683
40684         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40685         for finite and infinity parameters.
40686
40687 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40688
40689         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40690         and add nop instructions for throughput optimization.
40691         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40692
40693 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
40694
40695         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40696         aligned copy for power7 with vector-scalar instructions.
40697         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40698
40699 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
40700
40701         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40702         AVX check.
40703
40704 2011-09-07  Andreas Schwab  <schwab@redhat.com>
40705
40706         [BZ #13144]
40707         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40708         last change.
40709
40710 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40711
40712         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40713         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40714         syscall wrapper around clock_gettime in __vdso_clock_gettime.
40715         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40716         clock_gettime.
40717
40718 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40719
40720         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40721         Forgot to demangle the pointer.
40722
40723         * sysdeps/i386/sysdep.h: Define atom_text_section.
40724         * sysdeps/x86_64/sysdep.h: Likewise.
40725         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40726         section with atom_text_section.
40727         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40728         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40729         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40730         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40731         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40732
40733         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40734         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40735         already be defined.  Change to take two parameters and don't assign
40736         result to variable.  Adjust all users.
40737         Define INTERNAL_GETTIME if not already defined.
40738         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40739         call.
40740         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40741         HAVE_CLOCK_GETTIME_VSYSCALL.
40742         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40743
40744         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40745         gettimeofday vsyscall, just use time.
40746
40747 2011-09-06  Andreas Schwab  <schwab@redhat.com>
40748
40749         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40750         <errno.h>.
40751
40752 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40753
40754         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40755         syscall on x86-64.
40756         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40757         syscall.
40758         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40759         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40760         syscall if possible.
40761
40762 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40763
40764         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40765         e_ident.  Don't pass to find_mapsXX.
40766         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40767
40768 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40769
40770         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40771         strchr-sse2-no-bsf strrchr-sse2-no-bsf
40772         * sysdeps/x86_64/multiarch/strchr.S: Update.
40773         Check bit_slow_BSF bit.
40774         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40775         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40776         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40777
40778 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40779
40780         [BZ #13134]
40781         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40782         before glibc 2.15.
40783         (tryshell): Define.
40784         (__spawni): Change last parameter to be flag.  Test
40785         SPAWN_XFLAGS_USE_PATH flag to use path or not.
40786         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40787         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40788         * posix/spawni.c: Likewise.
40789         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40790         * posix/spawnp.c: Likewise.  Change normal version to use
40791         SPAWN_XFLAGS_USE_PATH.
40792         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40793         SPAWN_XFLAGS_TRY_SHELL.
40794
40795         [BZ #13150]
40796         * posix/glob.h: Remove gcc 1.x support.
40797
40798         [BZ #13068]
40799         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40800
40801 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40802
40803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40804         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40805         strrchr-sse2-bsf
40806         * sysdeps/i386/i686/multiarch/strchr.S: New file.
40807         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40808         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40809         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40810         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40811         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40812
40813 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40814
40815         * sysdeps/x86_64/wcscmp.S: New file.
40816
40817         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40818         wcscmp-c wcscmp-sse2
40819         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40820         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40821         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40822         * wcsmbs/wcscmp.c: Allow renaming.
40823
40824 2011-09-05  David S. Miller  <davem@davemloft.net>
40825
40826         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40827         stack slot, rather than the struct return pointer slot.
40828         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40829         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40831         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40832
40833 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40834
40835         * po/ja.po: Update from translation team.
40836
40837         [BZ #13144]
40838         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40839         kernel in 64-bit binaries.
40840
40841 2011-09-01  David S. Miller  <davem@davemloft.net>
40842
40843         * elf/elf.h (HWCAP_SPARC_*): Move to..
40844         * sysdeps/sparc/sysdep.h: this new file and add new values.
40845         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40846         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40847         _DL_HWCAP_COUNT to 24.
40848         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40849         entries.
40850         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40851         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40852         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40854         instead of magic constants.
40855         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40856
40857 2011-08-31  David S. Miller  <davem@davemloft.net>
40858
40859         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40860         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40861         Reimplement to do errno handling inline.
40862         (SYSCALL_ERROR_HANDLER): New macro.
40863         (__SYSCALL_STRING): Do not do errno handling in asm.
40864         (__CLONE_SYSCALL_STRING): Delete.
40865         (__INTERNAL_SYSCALL_STRING): Delete.
40866         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40867         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40868         (PSEUDO): Reimplement to do errno handling inline.
40869         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40870         (SYSCALL_ERROR_HANDLER): New macro.
40871         (__SYSCALL_STRING): Do not do errno handling in asm.
40872         (__CLONE_SYSCALL_STRING): Delete.
40873         (__INTERNAL_SYSCALL_STRING): Delete.
40874         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40875         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40876         i386.
40877         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40878         (inline_syscall*): Add 'err' argument.
40879         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40880         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40881         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40882         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40883
40884         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40885         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40886
40887 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40888
40889         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40890
40891 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40892
40893         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40894         directive.
40895
40896 2011-08-24  David S. Miller  <davem@davemloft.net>
40897
40898         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40899
40900 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40901
40902         * elf/Makefile: Add rules to build and run unload8 test.
40903         * elf/unload8.c: New file.
40904         * elf/unload8mod1.c: New file.
40905         * elf/unload8mod1x.c: New file.
40906         * elf/unload8mod2.c: New file.
40907         * elf/unload8mod3.c: New file.
40908
40909         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40910         it wasn't used.
40911
40912 2011-08-23  David S. Miller  <davem@davemloft.net>
40913
40914         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40915         subtract stack bias.
40916         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40917         %sp not %fp in calculations.
40918         (_JMPBUF_UNWINDS_ADJ): Likewise.
40919
40920         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40921         (aio_suspend): Call it to force an exception region around the
40922         AIO_MISC_WAIT() invocation.
40923
40924 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40925
40926         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40927         backslash.
40928
40929 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40930
40931         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40932         protection macro.
40933         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40934         and <dl-machine.h>.
40935         (Elf64_FuncDesc): Remove.
40936
40937 2011-08-22  David S. Miller  <davem@davemloft.net>
40938
40939         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40940         sigaltstack check, add missing cfi directives.
40941         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40942         missing cfi directives, and sigaltstack handling.
40943
40944 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40945
40946         [BZ #11724]
40947         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40948         object is seen twice.
40949         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40950
40951         * elf/Makefile (distribute): Add tst-initorder2.c.
40952         (tests): Add tst-initorder2.
40953         (modules-names): Add tst-initorder2a tst-initorder2b
40954         tst-initorder2c tst-initorder2d.  Add rules to build them.
40955         ($(objpfx)tst-initorder2.out): New rule.
40956         * elf/tst-initorder2.c: New file.
40957         * elf/tst-initorder2.exp: New file.
40958
40959 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40960
40961         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40962
40963         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40964         dependencies back to end of function.
40965
40966         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40967         $(elfobjdir)/ld.so.
40968
40969 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
40970
40971         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40972         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40973         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40974         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40975         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40976         of __vdso_gettimeofday.
40977         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40978         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
40979         attribute_hidden.
40980         (_libc_vdso_platform_setup): Remove initialization of
40981         __vdso_gettimeofday and __vdso_time.
40982
40983 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40984
40985         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40986         and fgetc_unlocked.
40987         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40988         getc_unlocked.
40989
40990         * elf/dl-open.c (add_to_global): Report additions to the global scope
40991         for LD_DEBUG=scopes.
40992         (dl_open_worker): Also print scope of newly loaded dependencies.
40993         (_dl_show_scope): Indicate if there is no scope.
40994
40995         [BZ #13114]
40996         * stdio-common/Makefile (tests): Add bug24.
40997         * stdio-common/bug24.c: New file.
40998
40999 2011-08-19  Andreas Jaeger  <aj@suse.de>
41000
41001         [BZ #13114]
41002         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41003         non-existant file when using close-on-exec mode.
41004
41005 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41006
41007         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41008         the very first instruction.
41009
41010         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41011         the CFI state in the end.
41012         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41013         inclusion of dl-trampoline.h.
41014         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41015
41016 2011-08-19  Andreas Schwab  <schwab@redhat.com>
41017
41018         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41019         expectations for long double.
41020
41021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41022         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41023
41024 2011-08-14  David S. Miller  <davem@davemloft.net>
41025
41026         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41027         artificual limit depends upon the system page size.
41028
41029 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41030
41031         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41032         * resolv/Makefile: Define CFLAGS-libresolv.
41033
41034 2011-08-17  Andreas Schwab  <schwab@redhat.com>
41035
41036         * nss/makedb.c (compute_tables): Make variables used in nested
41037         function static.
41038
41039 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41040
41041         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41042         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41043         if buffer was too small.
41044
41045         * elf/pldd.c (main): Attach to all threads in the process.
41046         Rewrite /proc handling to use *at functions.
41047
41048 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
41049
41050         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41051         specifies first scope to show.
41052         (dl_open_worker): Update callers.  Move printing scope of new
41053         object to before the relocation.
41054         * elf/rtld.c (dl_main): Update _dl_show_scope call.
41055         * sysdeps/generic/ldsodefs.h: Update declaration.
41056
41057         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41058         string for the scope number.
41059
41060 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
41061
41062         * nscd/servicescache.c (cache_addserv): Make sure written is always
41063         initialized.
41064
41065 2011-08-14  Roland McGrath  <roland@hack.frob.com>
41066
41067         * sysdeps/i386/i486/bits/atomic.h
41068         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41069         statement expression, so as to suppress "set but not used" warning.
41070         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41071
41072         * string/strncat.c (STRNCAT): Use prototype definition.
41073
41074         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41075         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41076         -Iprograms here.
41077         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41078         (localedef-modules): Add localedef.
41079         (locale-modules): Add locale.
41080
41081         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41082         * elf/rtld.c (dl_main): Invert order of assignment in last change,
41083         to avoid a warning.
41084
41085 2011-08-14  David S. Miller  <davem@davemloft.net>
41086
41087         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41088         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41089
41090 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
41091
41092         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41093         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41094         * elf/rtld.c (dl_main): Set l_name of vDSO.
41095         Call _dl_show_scope when DL_DEBUG_SCOPES.
41096         (process_dl_debug): Recognize scopes flag and also set it for all.
41097         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41098         Declare _dl_show_scope.
41099
41100         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41101         (do_dlopen): Pass caller_dlopen to dl_open.
41102         (__libc_dlopen_mode): Initialize caller_dlopen.
41103
41104         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41105         of libc.  Make tolower call locale-independent.  Optimize a bit by
41106         using isdigit instead of isalnum.
41107         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41108
41109 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
41110
41111         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41112         was a dependency or dynamically loaded.
41113
41114 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
41115
41116         * intl/l10nflist.c: Allow architecture-specific pop function.
41117         * sysdeps/x86_64/l10nflist.c: New file.
41118
41119         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41120         classification.
41121
41122 2011-08-10  Andreas Schwab  <schwab@redhat.com>
41123
41124         * include/dirent.h: Add libc_hidden_proto for scandirat and
41125         scandirat64.  Don't declare __scandirat64.
41126         * dirent/scandirat.c: Add libc_hidden_def.
41127         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41128         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41129
41130 2011-08-10  David S. Miller  <davem@davemloft.net>
41131
41132         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41133         enum.
41134         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41135         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41136         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41137
41138 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
41139
41140         * Versions.def [libc]: Add GLIBC_2.15.
41141         * dirent/Makefile (routines): Add scandirat and scandirat64.
41142         * dirent/Versions [libc]: Export scandirat and scandirat64 for
41143         GLIBC_2.15.
41144         * dirent/dirent.h: Declare scandirat and scandirat64.
41145         * dirent/scandirat.c: New file.
41146         * dirent/scandirat64.c: New file.
41147         * sysdeps/wordsize-64/scandirat.c: New file.
41148         * sysdeps/wordsize-64/scandirat64.c: New file.
41149         * dirent/opendir.c: Define opendirat.
41150         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
41151         using scandirat.
41152         * dirent/scandir64.c: Adjust for scandir.c change.
41153         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
41154         __scandirat64, and __scandir_cancel_handler.
41155         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
41156         additional parameter and use openat instead of open (outside of ld.so).
41157         Add new __opendir as wrapper around __opendirat.
41158         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41159         here without requiring old scandirat implementation.
41160
41161 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
41162
41163         * dirent/scandir.c (cancel_handler): Renamed to
41164         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
41165         defined.  Adjust users.
41166         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41167         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41168
41169 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
41170
41171         * string/test-string.h (IMPL): Use __STRING to expand name and then
41172         stringify it.
41173
41174         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
41175         of cleanups.
41176
41177 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41178
41179         * string/Makefile: Update.
41180         (strop-tests): Append strncat.
41181         * string/test-wcscmp.c: New file.
41182         New comprehensive test for wcscmp.
41183         * string/test-strcmp.c: Update.
41184         (WIDE): New define.
41185
41186 2011-07-22  Andreas Schwab  <schwab@redhat.com>
41187
41188         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41189         line.
41190
41191 2011-07-26  Andreas Schwab  <schwab@redhat.com>
41192
41193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41194         encoding to ACE if AI_IDN.
41195
41196 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
41197
41198         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41199         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41200
41201 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41202
41203         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41204         Fix overflow bug in strncat.
41205         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41206
41207         * string/test-strncat.c: Update.
41208         Add new tests for checking overflow bugs.
41209
41210 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41211
41212         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41213         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41214         * sysdeps/i386/i686/multiarch/strcat.S: New file.
41215         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41216         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41217         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41218         * sysdeps/i386/i686/multiarch/strncat.S: New file.
41219         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41220         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41221
41222         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41223         (USE_AS_STRCAT): Define.
41224         Add strcat and strncat support.
41225         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41226
41227 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41228
41229         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41230         __n bigger than INT_MAX+1.
41231         (__strncmp_g): Likewise.
41232
41233 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41234
41235         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41236         * libio/stido.h: Likewise.
41237
41238         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41239         (AF_NFC): Define.
41240         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41241         (AF_NFC): Define.
41242
41243         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41244         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41245         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41246         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41247         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41248
41249         [BZ #13021]
41250         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41251         installed.
41252
41253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41254         typo.
41255         (_dl_x86_64_save_sse): Likewise.
41256
41257 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41258
41259         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41260         OSXSAVE.
41261         (_dl_x86_64_save_sse): Likewise.
41262
41263         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41264
41265         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41266
41267 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41268
41269         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41270         change.
41271         (_dl_x86_64_save_sse): Use correct AVX check.
41272
41273 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41274
41275         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41276         bug in strncpy/strncat.
41277         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41278
41279 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41280
41281         * string/tester.c (test_strcat): Add tests for different alignments
41282         of source and destination.
41283         (test_strncat): Likewise.
41284
41285 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41286
41287         [BZ #12852]
41288         * posix/glob.c (glob): Check passed in values before using them in
41289         expressions to avoid some overflows.
41290         (glob_in_dir): Likewise.
41291
41292         [BZ #13007]
41293         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41294         check for AVX enablement so that we don't crash with old kernels and
41295         new hardware.
41296         * elf/tst-audit4.c: Add same checks here.
41297         * elf/tst-audit6.c: Likewise.
41298
41299         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41300
41301 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41302
41303         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41304
41305 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41306
41307         * po/cs.po: Update from translation team.
41308         * po/bg.po: Likewise.
41309
41310 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41311
41312         * misc/sys/cdefs.h: Add support for const attribute.
41313         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41314         to gnu_dev_{major,minor,makedev} functions.
41315
41316 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41317
41318         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41319
41320 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41321
41322         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41323         strlen results.
41324
41325 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41326
41327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41328         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41329         register in order to avoid conflicts with the soft frame pointer
41330         being held in r11 when necessary.
41331         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41332         (INTERNAL_VSYSCALL_NCS): Likewise.
41333
41334 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41335
41336         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41337         * elf/dl-fini.c (_dl_fini): Adjust caller.
41338         * elf/dl-close.c (_dl_close_worker): Likewise.
41339         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41340
41341 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41342
41343         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41344         "aux_cache->nlibs < 0".
41345
41346         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41347         in the reload-count case.
41348
41349 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41350
41351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41352         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41353         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41354         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41355         * sysdeps/x86_64/multiarch/strcat.S: New file.
41356         * sysdeps/x86_64/multiarch/strncat.S: New file.
41357         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41358         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41359         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41360         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41361         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41362         (USE_AS_STRCAT): Define.
41363         Add strcat and strncat support.
41364         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41365         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41366         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41367         * string/strncat.c: Update.
41368         (USE_AS_STRNCAT): Define.
41369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41370         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41371         and i7.
41372         * sysdeps/x86_64/multiarch/init-arch.h
41373         (bit_Prefer_PMINUB_for_stringop): New.
41374         (index_Prefer_PMINUB_for_stringop): Likewise.
41375         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41376         bit_Prefer_PMINUB_for_stringop.
41377
41378 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41379
41380         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41381         buffer64.
41382         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41383         of casting of buffer.
41384         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41385         buffer32 and buffer64.
41386         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41387         writes instead of casting of buffer.
41388         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41389         buffer32.
41390         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41391         casting of buffer.
41392
41393 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41394
41395         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41396
41397 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41398
41399         * nscd/nscd.c (termination_handler): Don't do anything for a database
41400         if it has not yet been initialized.
41401
41402 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41403
41404         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41405
41406 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41407
41408         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41409
41410 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41411
41412         * po/nl.po: Update from translation team.
41413         * po/sv.po: Likewise.
41414
41415 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41416
41417         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41418         now disallowed by GCC.
41419
41420         * configure.in (use-default-link): Default to yes if a test -shared
41421         link meets our qualifications.
41422         * configure: Regenerated.
41423
41424         * config.make.in (output-format): New variable.
41425         * configure.in: Check for ld --print-output-format support.
41426         * configure: Regenerated.
41427         * Makerules ($(common-objpfx)format.lds)
41428         [$(output-format) != unknown]: Just use $(output-format),
41429         instead of the linker-script munging.
41430
41431 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41432
41433         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41434         of $(common-objpfx)shlib.lds.
41435         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41436
41437         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41438         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41439
41440         * configure.in (-z relro check): Adjust test code to add a large
41441         writable data section after it.
41442         * configure: Regenerated.
41443
41444 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41445
41446         * configure.in (-z relro check): Fix test code to make the variable
41447         truly const.
41448         * configure: Regenerated.
41449
41450 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41451
41452         * nscd/nscd.h (struct traced_file): Define.
41453         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41454         elements.  Add traced_files.
41455         (inotify_fd): Declare.
41456         (register_traced_file): Declare.
41457         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41458         (inotify_fd): Export.
41459         (resolv_conf_descr): Remove.
41460         (nscd_init): Move inotify descriptor creation to main.
41461         Don't register files for notification here.
41462         (register_traced_file): New function.
41463         (invalidate_cache): Don't use reset_res to determine whether to call
41464         res_init, go through the list of registered files.
41465         (main_loop_poll): The inotify descriptors are now stored in the
41466         structures for the traced files.
41467         (main_loop_epoll): Likewise
41468         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41469         to __nss_disable_nscd.
41470         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41471         for a database anymore.  Check the records for all the registered
41472         files instead.
41473         * nss/Makefile (libnss_files-routines): Add files-init.
41474         (libnss_db-routines): Add db-init.
41475         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41476         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41477         * nss/nss_db/db-init.c: New file.
41478         * nss/nss_files/files-init.c: New file.
41479         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41480         __nss_lookup_function.
41481         (__nss_lookup_function): Call nss_load_library.
41482         (nss_load_all_libraries): New function.
41483         (__nss_disable_nscd): Take parameter with callback function for files
41484         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41485         used for the cached services.
41486         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41487         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41488         options for features to all the files in nscd.
41489
41490         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41491
41492 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41493
41494         * csu/elf-init.c (__libc_csu_init): Comment typo.
41495
41496 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41497
41498         * po/pl.po: Update from translation team.
41499         * po/ja.po: Likewise.
41500         * po/ru.po: Likewise.
41501         * po/ko.po: Likewise.
41502         * po/fr.po: Likewise.
41503
41504 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41505
41506         * configure.in (.ctors/.dtors header and trailer check):
41507         Use an empirical test on a built program.
41508         * configure: Regenerated.
41509
41510         * configure.in (-z relro check): Use an empirical test on a built DSO.
41511         Detect, but do not require, on ia64.
41512         * configure: Regenerated.
41513
41514         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41515         Update tests that use readelf to use $READELF instead.
41516         * configure: Regenerated.
41517
41518 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41519
41520         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41521         if the result is not used.
41522
41523 2011-07-05  Andreas Jaeger  <aj@suse.de>
41524
41525         [BZ#9696]
41526         * stdlib/tst-strtod.c: Add testcase.
41527
41528 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41529
41530         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41531         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41532         The latter has a higher limit.  Take additional parameter to pass to
41533         the new function.
41534         (__pathconf): Pass file to __statfs_link_max.
41535         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41536         __statfs_link_max.
41537         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41538         __statfs_link_max.
41539
41540         [BZ #12868]
41541         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41542         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41543         Handle Lustre.
41544         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41545         (__statfs_filesize_max): Likewise.
41546         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41547
41548 2011-07-05  Andreas Jaeger  <aj@suse.de>
41549
41550         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41551
41552 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41553
41554         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41555         `status' variable.
41556         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41557         Likewise.
41558
41559 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41560
41561         * Makefile (strop-tests): Add strncat.
41562         * string/test-strncat.c: New file.
41563
41564 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41565
41566         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41567
41568 2011-06-21  Andreas Jaeger  <aj@suse.de>
41569
41570         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41571         Copy rule from iconvdata/Makefile.
41572
41573 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41574
41575         [BZ #12922]
41576         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41577         but no long options are defined, just return 'W'.
41578
41579 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41580
41581         [BZ #9696]
41582         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41583
41584 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41585
41586         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41587         netgroups to read.
41588         (innetgr): Likewise.
41589
41590 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41591
41592         * config.make.in (install_root): Default to $(DESTDIR).
41593
41594 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41595
41596         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41597
41598 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41599
41600         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41601
41602         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41603         containing directory rather than embedding absolute directory names.
41604
41605         * scripts/check-local-headers.sh: Rewritten using awk.
41606         Match by word, not by line.  Print error messages for matches.
41607         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41608
41609         * Makerules [shlib-lds-flags empty]:
41610         ($(common-objpfx)libc_pic.opts): New target.
41611         ($(common-objpfx)libc_pic.os.clean): New target.
41612         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41613
41614         * config.make.in (OBJCOPY): New variable.
41615         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41616         * configure: Regenerated.
41617
41618         * config.make.in (use-default-link): New variable.
41619         * configure.in (use_default_link): Grok --with-default-link to set it.
41620         * configure: Regenerated.
41621         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41622         (shlib-lds, shlib-lds-flags): Define to empty.
41623
41624         * Makerules (shlib-lds): New variable.
41625         (shlib-lds-flags): New variable.
41626         (build-shlib, build-moduile, build-module-asneeded): Use it.
41627         ($(common-objpfx)libc.so): Use $(shlib-lds).
41628         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41629         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41630
41631         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41632         DT_FLAGS/DT_FLAGS_1 with zero flags.
41633
41634         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41635         linker script munging.
41636
41637 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41638
41639         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41640         as 128-bit value.
41641         * crypt/sha512.c (sha512_process_block): Perform total addition using
41642         128-bit if possible.
41643         (__sha512_finish_ctx): Likewise.
41644         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41645         as 64-bit value.
41646         * crypt/sha256.c (SWAP64): Define.
41647         (sha256_process_block): Perform total addition using 64-bit if
41648         possible.
41649         (__sha256_finish_ctx): Likewise.
41650
41651 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
41652
41653         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
41654         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41655         * nscd/hstcache.c (cache_addhst): Likewise.
41656         * nscd/grpcache.c (cache_addgr): Likewise.
41657         * nscd/aicache.c (addhstaiX): Likewise
41658         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41659
41660 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
41661
41662         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41663         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41664         * nscd/hstcache.c (cache_addhst): Likewise.
41665         * nscd/grpcache.c (cache_addgr): Likewise.
41666         * nscd/aicache.c (addhstaiX): Likewise
41667
41668 2011-07-01  Andreas Schwab  <schwab@redhat.com>
41669
41670         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41671         domain only when needed.
41672
41673 2011-06-30  Andreas Schwab  <schwab@redhat.com>
41674
41675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41676         is always restored.
41677
41678 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
41679
41680         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41681         are re-adding the entry.
41682         * nscd/servicescache.c (cache_addserv): Likewise.
41683
41684 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
41685
41686         * sysdeps/generic/dl-irel.h: fix protection against multiple
41687         inclusions.
41688         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41689
41690 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
41691
41692         [BZ #12935]
41693         * malloc/memusage.sh: Fix quoting in message.
41694         * debug/xtrace.sh: Likewise.
41695
41696         * configure.in: Remove support for --experimental-malloc option, make
41697         it the default.
41698         * config.make.in: Likewise.
41699         * malloc/Makefile: Likewise.
41700
41701 2011-06-27  Andreas Schwab  <schwab@redhat.com>
41702
41703         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41704         two-byte characters.
41705
41706 2011-06-27  Roland McGrath  <roland@hack.frob.com>
41707
41708         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41709         AC_CACHE_CHECK invocation.
41710         * configure: Regenerated.
41711
41712         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41713
41714 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
41715
41716         [BZ #12350]
41717         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
41718         bit from old_res_options.
41719
41720         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41721
41722         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41723         value type for setfct.
41724
41725 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
41726
41727         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41728         __gettimeofday instead of gettimeofday.
41729
41730 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
41731
41732         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41733
41734 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
41735
41736         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41737
41738         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41739         info.
41740
41741 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41742
41743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41744         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41745         strcpy-sse2-unaligned strncpy-sse2-unaligned
41746         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41747         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41748         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41749         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41750         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41751         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41752         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41753         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41754         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41755         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41756         (STRCPY): Support SSE2 and SSSE3 versions.
41757
41758 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
41759
41760         [BZ #12874]
41761         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41762         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41763         kernels which artificially limit size of requests.
41764
41765 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41766
41767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41768         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41769         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41770         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41771         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41772         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41773         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41774         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41775         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41776         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41777         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41778         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41779         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41780         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41781         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41783         Enable unaligned load optimization for Intel Core i3, i5 and i7
41784         processors.
41785         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41786         Define.
41787         (index_Fast_Unaligned_Load): Define.
41788         (HAS_FAST_UNALIGNED_LOAD): Define.
41789
41790 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
41791
41792         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41793
41794 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41795
41796         [BZ #12907]
41797         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41798         until it is clear that the information is realy needed.
41799         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41800
41801 2011-06-22  Andreas Schwab  <schwab@redhat.com>
41802
41803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41804
41805 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41806
41807         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41808         /sys/devices/system/cpu/online if it is usable.
41809
41810         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41811         reading the information from the /proc filesystem to once a second.
41812
41813 2011-06-21  Andreas Jaeger  <aj@suse.de>
41814
41815         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41816         NULL after inclusion of kernel headers.
41817
41818 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
41819
41820         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41821         calls to internal_setent.
41822
41823         [BZ #12885]
41824         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41825         addresses using gethostbyname4_r ignore IPv4 addresses.
41826
41827         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41828         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
41829
41830         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41831
41832 2011-06-20  David S. Miller  <davem@davemloft.net>
41833
41834         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41835         inclusions.
41836         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41837
41838         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41839         (elf_irel): Use it.
41840         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41841         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41842         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41843         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41844         * sysdeps/x86_64/dl-irel.h: Likewise.
41845
41846         * elf/dl-runtime.c: Use elf_ifunc_invoke.
41847         * elf/dl-sym.c: Likewise.
41848
41849 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41850
41851         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
41852         need to dereference resplen2.
41853
41854 2011-06-14  Andreas Schwab  <schwab@redhat.com>
41855
41856         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41857
41858 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41859
41860         * Makeconfig: Define vardbdir and inst_vardbdir.
41861         * nss/Makefile: Add rules to install db-Makefile.
41862
41863         * nss/nss_db/db-XXX.c: Cleanup.
41864
41865         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41866         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41867         GLIBC_PRIVATE.
41868         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41869         * nss/makedb.c: Implement -g option to specify that value strings
41870         are generated and should not be added to table iterated over for
41871         get*ent calls.
41872         * nss/nss_db/db-initgroups.c: New file.
41873
41874         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41875         interface.
41876
41877         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41878         (internal_getgrouplist): Adjust to name change.
41879         Update use_initgroups_entry if this is not the first call.
41880         * nss/databases.def: Add initgroups entry.
41881
41882         * nss/makedb.c (compute_tables): Check result of multiple hash table
41883         sizes to minimize maximum chain length.
41884
41885 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41886
41887         * Versions.def: Add entry for libnss_db.
41888         * shlib-versions: Likewise.
41889         * nss/Makefile: Add rules to build libnss_db.
41890         * nss/Versions: Add libnss_db information.  Organize libnss_files
41891         entries better.
41892         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41893         makedb progra.  Some minor improvements to generate smaller files.
41894         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41895         here from...
41896         * nss/makedb.c: ...here.
41897         Improve database format to be smaller and require less memory at
41898         runtime.
41899         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41900         db anymore.
41901         * nss/nss_db/db-netgrp.c: Likewise.
41902         * nss/nss_db/db-open.c: Likewise.
41903         * nss/nss_files/flies-XXX.x: Adjust comments.
41904         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41905         * nss/nss_files/files-grp.c: Likewise.
41906         * nss/nss_files/files-hosts.c: Likewise.
41907         * nss/nss_files/files-network.c: Likewise.
41908         * nss/nss_files/files-proto.c: Likewise.
41909         * nss/nss_files/files-pwd.c: Likewise.
41910         * nss/nss_files/files-rpc.c: Likewise.
41911         * nss/nss_files/files-service.c: Likewise.
41912         * nss/nss_files/files-sgrp.c: Likewise.
41913         * nss/nss_files/files-spwd.c: Likewise.
41914         * nss/nss_db/db-alias.c: Removed.
41915         * nss/nss_db/dummy-db.h: Removed.
41916
41917 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41918
41919         * nss/makedb.c: Rewritten to not use database library.
41920         * nss/Makefile: Update to build new makedb program.
41921
41922 2011-06-14  Andreas Jaeger  <aj@suse.de>
41923
41924         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41925         memset declaration.
41926
41927 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41928
41929         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41930         tmpbuf.
41931
41932 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41933
41934         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41935         * elf/Makefile ($(objpfx)ld.so): Likewise.
41936
41937         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41938         Don't list ld.so twice in dependencies.
41939
41940         * posix/bug-regex31.c: Include <stdlib.h>.
41941
41942         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41943
41944         * nis/nss_compat/compat-spwd.c
41945         (getspent_next_nss_netgr): Remove unused variable.
41946         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41947
41948         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41949         nonmembers" output to use the right array.
41950
41951         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41952
41953         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41954
41955         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41956         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41957         * catgets/gencat.c (read_input_file): Likewise.
41958         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41959
41960         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41961         variable definition inside #if's controlling its use.
41962
41963         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41964
41965         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41966
41967         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41968
41969         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41970         unreachable code.
41971
41972         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41973
41974         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41975         * configure: Regenerated.
41976
41977         * Makerules: Revert last change.
41978         * elf/Makefile: Likewise.
41979
41980 2011-06-09  Roland McGrath  <roland@hack.frob.com>
41981
41982         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41983         * elf/Makefile ($(objpfx)librtld.os): Likewise.
41984         (reloc-link): Likewise.
41985
41986 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
41987
41988         * elf/Makefile: Add rules to build pldd.
41989         * elf/pldd.c: New file.
41990         * elf/pldd-xx.c: New file.
41991
41992 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
41993
41994         * version.h: Update for 2.15 development version.
41995
41996 2011-06-07  David S. Miller  <davem@davemloft.net>
41997
41998         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41999         ifuncs.
42000         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42001         elf_machine_lazy_rel): Likewise.
42002         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42003         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42004         elf_machine_lazy_rel): Likewise.
42005         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42006         dl_hwcap via passed in argument.
42007         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42008         Likewise.
42009
42010 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42011
42012         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
42013
42014 2011-06-06  Roland McGrath  <roland@hack.frob.com>
42015
42016         [BZ #12849]
42017         * manual/fdl-1.1.texi: New file, verbatim from:
42018         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42019         * manual/lgpl-2.1.texi: New file, verbatim from:
42020         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42021         * manual/Makefile (licenses): New variable, list those new file names.
42022         (texis): Use it.
42023         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42024
42025         * manual/fdl.texi: File removed.
42026         * manual/lesser.texi: File removed.
42027         * manual/libc.texinfo (Copying, Documentation License):
42028         Use new @include file names, put @appendix directive before @include.
42029
42030 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
42031
42032         [BZ #12841]
42033         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42034         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42035         (mq_open): Add __NTH.
42036
42037 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
42038
42039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42040         Assume Intel Core i3/i5/i7 processor if AVX is available.
42041
42042 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42043
42044         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42045         typo.
42046
42047 2011-05-31  Andreas Schwab  <schwab@redhat.com>
42048
42049         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42050         memory.  Use alloca_account.  Fix memory leak when retrying.
42051
42052 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42053
42054         * version.h (RELEASE): Bump for 2.14 release.
42055         * include/features.h (__GLIBC_MINOR__): Bump to 14.
42056
42057         * config.make.in (RANLIB): Remove entry.
42058
42059 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
42060
42061         * po/Makefile (po-sed-cmd): Add ksh to extensions.
42062         (libc.pot): Work around missing support for .ksh extension in xgettext.
42063
42064         [BZ #12684]
42065         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42066         if both request failed.
42067         (send_dg): In case of server errors clear resplen or *resplen2.
42068
42069         [BZ #12454]
42070         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42071         when there are multiple maps.
42072         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42073         (_dl_fini): Remove test here.
42074
42075         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42076
42077 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
42078
42079         [BZ #12350]
42080         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42081         bit from old_res_options.
42082         (gaih_inet): Likewise.
42083
42084         [BZ #11099]
42085         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42086         as signed.
42087
42088         * resolv/res_init.c (res_setoptions): Make the code more compact.
42089
42090         [BZ #11558]
42091         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42092         set RES_USEVC.
42093
42094         [BZ #11634]
42095         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42096
42097         * malloc/malloc.h: Mark malloc hook variables as deprecated.
42098
42099         [BZ #11781]
42100         * malloc/malloc.h: Declare malloc hook variables as volatile.
42101
42102         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42103         in last patch.
42104
42105         [BZ #11799]
42106         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42107         raise in the comment.
42108         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42109         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42110         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42111
42112 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
42113
42114         [BZ #12811]
42115         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42116         grow the buffers more if it already has to be sufficient.
42117         (build_wcs_upper_buffer): Likewise.
42118         * posix/regexec.c (check_matching): Likewise.
42119         (clean_state_log_if_needed): Likewise.
42120         (extend_buffers): Don't enlarge buffers beyond size of the input
42121         buffer.
42122         Patches mostly by Emil Wojak <emil@wojak.eu>.
42123         * posix/bug-regex32.c: New file.
42124         * posix/Makefile (tests): Add bug-regex32.
42125
42126         * locale/findlocale.c (_nl_find_locale): Return right away if
42127         _nl_explode_name failed.
42128         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42129
42130         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42131
42132         * debug/xtrace.sh: Unify messages.
42133         * malloc/memusage.sh: Likewise.
42134
42135         [BZ #12813]
42136         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42137         time symbol from vDSO.  Substitute with vsyscall if not available.
42138         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42139         __vdso_time.
42140
42141         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42142         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42143         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42144         Add sendmmsg and internal_sendmmsg.
42145         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42146         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42147         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42148
42149         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42150         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42151         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42152
42153 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
42154
42155         [BZ #12813]
42156         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42157         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
42158         available.
42159         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42160         __vdso_getcpu.
42161
42162         [BZ #12814]
42163         * iconvdata/Makefile (tests): Add bug-iconv9.
42164         * iconvdata/bug-iconv9.c: New file.
42165
42166 2011-05-27  Andreas Schwab  <schwab@redhat.com>
42167
42168         [BZ #12814]
42169         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42170
42171 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
42172
42173         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42174         (struct user_regs_struct): Change intcs field back to cs.
42175
42176 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
42177
42178         * po/ja.po: Update from translation team.
42179
42180 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
42181
42182         [BZ #12795]
42183         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42184         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42185
42186 2011-05-20  Andreas Schwab  <schwab@redhat.com>
42187
42188         * stdlib/longlong.h: Update from GCC.
42189
42190 2011-05-23  Andreas Schwab  <schwab@redhat.com>
42191
42192         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42193         parameter name.
42194         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42195         Add parameter name.
42196         (__sysconf): Pass it down.
42197
42198 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
42199
42200         [BZ #12671]
42201         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42202         some situations.
42203         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42204         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42205         add in in __libc_use_alloca calls.  Adjust callers.
42206         (glob): Use malloc in some situations.
42207
42208         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42209         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42210         pltexit.
42211
42212 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
42213
42214         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42215         and CLOCK_BOOTTIME_ALARM.
42216
42217         [BZ #12782]
42218         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42219         is returned.
42220
42221         * string/_strerror.c (__strerror_r): Print negative errors as signed
42222         numbers.
42223
42224         [BZ #12777]
42225         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42226         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42227         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42228
42229         * configure.in: Fix typo in redirection and correct removal of test
42230         files in two cases.
42231
42232         [BZ #12788]
42233         * locale/setlocale.c (new_composite_name): Fix test to check for
42234         identical name of all categories.
42235
42236         [BZ #12792]
42237         * libio/filedoalloc.c (local_isatty): New function.
42238         (_IO_file_doallocate): Use local_isatty.
42239         * stdio-common/perror.c (perror): In case a new stream is used
42240         forward the stream error.
42241         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42242         error flag.
42243
42244 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42245
42246         [BZ #11869]
42247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42248         alloca.
42249         * include/alloca.h (extend_alloca_account): Define.
42250
42251         [BZ #11857]
42252         * posix/regex.h: Fix comments with documentation of user-accessible
42253         fields after compilation and describe correct free'ing of pattern
42254         after re_compile_pattern.
42255         Patch by Reuben Thomas <rrt@sc3d.org>.
42256
42257 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42258
42259         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42260         and -mno-altivec to prevent the compiler from using Altivec and/or
42261         VSX instructions when the corresponding registers are not available.
42262
42263 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42264
42265         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42266
42267 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42268
42269         * libio/freopen.c (freopen): Use __dup2, not dup2.
42270         * libio/freopen64.c (freopen64): Likewise.
42271
42272 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42273
42274         [BZ #12775]
42275         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42276         * math/Makefile (tests): Add test-powl.
42277         (CFLAGS-test-powl.c): Define.
42278         * math/test-powl.c: New file.
42279
42280 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42281
42282         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42283
42284 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42285
42286         [BZ #11837]
42287         * iconvdata/gb18030.c: Update to GB18020-2005.
42288
42289 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42290
42291         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42292         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42293         Patch by Aharon Robbins <arnold@skeeve.com>.
42294
42295         [BZ #11892]
42296         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42297         on the stack.
42298
42299         [BZ #11895]
42300         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42301         through underflows.
42302
42303         [BZ #12766]
42304         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42305         point to strings before performing equality test for error_one_per_line
42306         mode.
42307
42308         [BZ #11697]
42309         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42310
42311         [BZ #11820]
42312         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42313         (struct user_fpregs_struct): Avoid __uint*_t types.
42314
42315         [BZ #6420]
42316         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42317         symbol info.  Use it instead of calling _dl_addr locally.
42318         (lock_and_info): New function.
42319         (tr_freehook): Call lock_and_info and pass symbol info as additional
42320         parameter to tr_where.
42321         (tr_mallochook): Likewise.
42322         (tr_reallochook): Likewise.
42323         (tr_memalignhook): Likewise.
42324
42325         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42326         used and couldn't be at all thread-safe.
42327
42328 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42329
42330         * libio/freopen.c (freopen): Don't close old file descriptor
42331         before the new one is opened.  Instead dup the new file descriptor
42332         to the old one after the new stream is created.
42333         * libio/freopen64.c (freopen64): Likewise.
42334         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42335         * libio/fileops.c (_IO_new_file_close_it): Handle new
42336         _IO_FLAGS2_NOCLOSE flag.
42337         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42338         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42339         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42340         _IO_FLAGS2_NOCLOSE flag.
42341         * include/unistd.h: Add hidden_proto for dup3.
42342         Define __have_dup3.
42343         * io/dup3.c: Define hidden symbol.
42344         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42345
42346         [BZ #7101]
42347         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42348         when an incomplete long option is used.
42349         * posix/tst-getopt_long1.c: New file.
42350         * posix/Makefile (tests): Add tst-getopt_long1.
42351
42352         [BZ #10138]
42353         * scripts/config.guess: Update from autoconf-2.68.
42354         * scripts/config.sub: Likewise.
42355
42356         [BZ #10157]
42357         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42358         tests into ...
42359         (has_cpuclock): ...this.  New function.
42360         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42361         macro here based on has_cpuclock code.
42362
42363         [BZ #10149]
42364         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42365         First byte (not low byte) is now always NUL.
42366         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42367
42368         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42369         Use non-cancelable interfaces.
42370
42371         [BZ #9809]
42372         * locale/iso-639.def: Add entry for Sorani.
42373
42374         [BZ #11901]
42375         * include/stdlib.h: Move include protection to the right place.
42376         Define abort_msg_s.  Declare __abort_msg with it.
42377         * stdlib/abort.c (__abort_msg): Adjust type.
42378         * assert/assert.c (__assert_fail_base): New function.  Majority
42379         of code from __assert_fail.  Allocate memory for __abort_msg with
42380         mmap.
42381         (__assert_fail): Now call __assert_fail_base.
42382         * assert/assert-perr.c: Remove bulk of implementation.  Use
42383         __assert_fail_base.
42384         * include/assert.hL Declare __assert_fail_base.
42385         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42386         mmap.
42387         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42388
42389 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42390
42391         [BZ #11952]
42392         [BZ #12453]
42393         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42394         until all modules are registered in the DTV.
42395         * elf/Makefile: Add rules to build and run tst-tls19.
42396         * elf/tst-tls19.c: New file.
42397         * elf/tst-tls19mod1.c: New file.
42398         * elf/tst-tls19mod2.c: New file.
42399         * elf/tst-tls19mod3.c: New file.
42400         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42401
42402         [BZ #12083]
42403         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42404         correctly.
42405
42406         [BZ #12601]
42407         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42408         two-byte sequence errors.
42409         * iconvdata/Makefile (tests): Add bug-iconv8.
42410         * iconvdata/bug-iconv8.c: New file.
42411
42412         [BZ #12626]
42413         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42414         buf2 definition.
42415
42416         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42417
42418         [BZ #12432]
42419         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42420         (dummy_getcfa): New function.
42421         (init): Get _Unwind_GetCFA address, use dummy if not found.
42422         (backtrace_helper): In recursion check, also check whether CFA changes.
42423         (__backtrace): Completely initialize arg.
42424
42425         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42426         storing incomplete byte sequence in state object.  Avoid testing for
42427         guaranteed too small input if we know there is enough data available.
42428
42429 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42430
42431         * Makeconfig (+link-pie): Indent.
42432         * Rules (binaries-pie): Define if $(have-fpie) and
42433         $(build-shared).
42434         (binaries-shared): Also filter out $(binaries-pie).
42435         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42436         * nscd/Makefile (others-pie): Add nscd.
42437         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42438         ($(objpfx)nscd): Remove command override.
42439         * login/Makefile (others-pie): Add pt_chown.
42440         ($(objpfx)pt_chown): Remove command override.
42441         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42442         remove command overrides.
42443
42444 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42445
42446         * libio/tst_putwc.c: Fix error messages.
42447
42448         [BZ #12724]
42449         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42450         currently writing and seek to current position when not.
42451         * libio/Makefile (tests): Add bug-fclose1.
42452         * libio/bug-fclose1.c: New file.
42453
42454 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42455
42456         [BZ #12511]
42457         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42458         don't set DF_1_NODELETE here.
42459         (do_lookup_x): When entering new entry test for copy relocation
42460         and if necessary set DF_1_NODELETE flag.
42461         * elf/tst-unique4.cc: New file.
42462         * elf/tst-unique4.h: New file.
42463         * elf/tst-unique4lib.cc: New file.
42464         * elf/Makefile: Add rules to build and run tst-unique4.
42465         Patch by Piotr Bury <pbury@goahead.com>.
42466
42467 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42468
42469         [BZ #12052]
42470         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42471
42472         [BZ #12625]
42473         * misc/mntent_r.c (addmntent): Flush the stream after the output
42474
42475         [BZ #12393]
42476         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42477         (is_trusted_path_normalize): Skip initial colon.  Append slash
42478         to empty buffer.  Duplicate is_trusted_path code but allow
42479         constructed patch to be prefix.
42480         (is_dst): Allow $ORIGIN followed by /.
42481         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42482         Correct testing of result of is_trusted_path_normalize
42483         (decompose_rpath): Fix warning.
42484
42485 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42486
42487         [BZ #11257]
42488         * grp/initgroups.c (internal_getgrouplist): When we found the service
42489         list through the initgroups entry in nsswitch.conf do not always
42490         continue on a successful lookup.  Don't always use the
42491         __nss_group_database value if it is set.
42492         * nss/nsswitch.conf (initgroups): Change action for successful db
42493         lookup to continue for compatibility.
42494
42495 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42496
42497         [BZ #11532]
42498         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42499         and CP774 modules.
42500         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42501         and CP774 modules.
42502         * iconvdata/tst-tables.sh: Likewise.
42503         * iconvdata/cp770.c: New file.
42504         * iconvdata/cp771.c: New file.
42505         * iconvdata/cp772.c: New file.
42506         * iconvdata/cp773.c: New file.
42507         * iconvdata/cp774.c: New file.
42508         * iconvdata/testdata/CP770: New file.
42509         * iconvdata/testdata/CP770..UTF8: New file.
42510         * iconvdata/testdata/CP771: New file.
42511         * iconvdata/testdata/CP771..UTF8: New file.
42512         * iconvdata/testdata/CP772: New file.
42513         * iconvdata/testdata/CP772..UTF8: New file.
42514         * iconvdata/testdata/CP773: New file.
42515         * iconvdata/testdata/CP773..UTF8: New file.
42516         * iconvdata/testdata/CP774: New file.
42517         * iconvdata/testdata/CP774..UTF8: New file.
42518
42519         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42520         END CHARMAP line.
42521         * iconvdata/gen-8bit-gap.sh: Likewise.
42522         * iconvdata/gen-8bit.sh: Likewise.
42523
42524         * locale/iso-639.def: Add ary entry.
42525
42526         [BZ #11258]
42527         * locale/C-translit.h.in: Add U20A1 transliteration.
42528
42529         [BZ #12178]
42530         * locale/iso-639.def: Add wae entry.
42531         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42532
42533         [BZ #12545]
42534         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42535         for n.
42536
42537         [BZ #12711]
42538         * locale/C-translit.h.in: Add entry for U20B9.
42539         Patch by pravin.d.s@gmail.com.
42540
42541 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42542
42543         [BZ #12713]
42544         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42545         ENAMETOOLONG use generic getcwd.
42546         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42547         in rtld.  Use *stat64.
42548         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42549         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42550         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42551         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42552         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42553         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42554         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42555         __fstatat64 macros.
42556         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42557         * dirent/rewinddir.c: Add libc_hidden_def.
42558         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42559         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42560
42561         * include/dirent.h (__alloc_dir): Add flags parameter.
42562         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42563         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42564         __alloc_dir.
42565         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42566         from fdopendir if O_CLOEXEC is already set.
42567
42568 2011-03-15  Alan Modra  <amodra@gmail.com>
42569
42570         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42571         l_tls_firstbyte_offset non-zero.  Save padding offset in
42572         l_tls_firstbyte_offset for later use.
42573         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42574         freeing static tls block.
42575
42576 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42577
42578         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42579         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42580         being defined by the kernel headers.
42581
42582 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42583
42584         [BZ #12734]
42585         * resolv/resolv.h: Define RES_NOTLDQUERY.
42586         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42587         no-tld-query and set RES_NOTLDQUERY.
42588         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42589         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42590         modern BIND to search name as TLD unless forbidden.
42591
42592 2011-05-07  Petr Baudis  <pasky@suse.cz>
42593             Ulrich Drepper  <drepper@gmail.com>
42594
42595         [BZ #12393]
42596         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42597         (is_trusted_path): ...to here.
42598         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42599         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42600         using is_trusted_path_normalize() in setuid scripts.
42601
42602 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42603
42604         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42605         __BEGIN/__END_DECLS.
42606
42607 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42608
42609         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42610         NSS_STATUS_NOTFOUND if no record was found.
42611
42612 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42613
42614         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42615         (headers-not-in-tirpc): Remove rpc/netdb.h
42616         * resolv/netdb.h: Revert last change.
42617
42618 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42619
42620         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42621         circular dependency between libgcc.a and libc.a.
42622
42623 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42624
42625         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42626         * nis/Makefile: Don't install rpcsvc/*.
42627         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42628         instead of <rpc/types.h>.
42629         (MAXHOSTNAMELEN): Define.
42630
42631 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42632
42633         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42634
42635 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42636
42637         [BZ #12714]
42638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42639         gethostbyname4_r when IPv6 results are possible.
42640
42641 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
42642
42643         [BZ #12723]
42644         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42645         _PC_PIPE_BUF handling.
42646
42647 2011-04-30  Bruno Haible  <bruno@clisp.org>
42648
42649         [BZ #12717]
42650         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42651         * resolv/netdb.h (getnameinfo): Change type of flags parameter
42652         to 'int'.
42653         * inet/getnameinfo.c (getnameinfo): Likewise.
42654
42655 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
42656
42657         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42658         to groups setting in database lookup.
42659         * nss/nsswitch.conf: Add initgroups entry.
42660
42661 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
42662
42663         [BZ #12685]
42664         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42665         mode string.
42666         Patch by Eric Blake <eblake@redhat.com>.
42667
42668 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
42669
42670         * sunrpc/Makefile (need-export-routines): Add svc_run.
42671         (routines): Remove svc_run.
42672         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42673         * sunrpc/clnt_perr.c (clnt_perrno): Export.
42674         * sunrpc/svc_run.c (svc_run): Likewise.
42675         * sunrpc/svc_udp.c (svcudp_create): Likewise.
42676
42677 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
42678
42679         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42680         problem in reallocation in last patch.
42681
42682 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
42683
42684         * sunrpc/Makefile: Move inclusion of Rules.
42685
42686 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42687
42688         * nss/nss_files/files-initgroups.c: New file.
42689         * nss/Makefile (libnss_files-routines): Add files-initgroups.
42690         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42691         _nss_files_initgroups_dyn.
42692
42693 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
42694
42695         * elf/elf.h (R_ARM_IRELATIVE): Define.
42696
42697 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42698
42699         * po/ru.po: Update from translation team.
42700
42701 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42702
42703         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42704         dependencies.
42705
42706 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
42707
42708         [BZ #12653]
42709         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42710         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42711         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42712         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42713         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42714
42715 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
42716
42717         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42718         differing bytes.
42719         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42720         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42721         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42722
42723 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42724
42725         [BZ #12420]
42726         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42727         storing it.
42728         * stdlib/bug-getcontext.c: New file.
42729         * stdlib/Makefile: Add rules to build and run bug-getcontext.
42730
42731 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42732
42733         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42734         instructions into .machine "z9-109".
42735         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42736         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42737
42738 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42739
42740         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42741         between environment variables and auxiliary vector.
42742
42743 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
42744
42745         * Makefile: Add rules to build linkobj/libc.so.
42746         * include/libc-symbols.h: Define libc_hidden_nolink.
42747         * include/rpc/auth.h: Mark functions which are to be hidden.
42748         * include/rpc/auth_des.h: Likewise.
42749         * include/rpc/auth_unix.h: Likewise.
42750         * include/rpc/clnt.h: Likewise.
42751         * include/rpc/des_crypt.h: Likewise.
42752         * include/rpc/key_prot.h: Likewise.
42753         * include/rpc/pmap_clnt.h: Likewise.
42754         * include/rpc/pmap_prot.h: Likewise.
42755         * include/rpc/pmap_rmt.h: Likewise.
42756         * include/rpc/rpc_msg.h: Likewise.
42757         * include/rpc/svc.h: Likewise.
42758         * include/rpc/svc_auth.h: Likewise.
42759         * include/rpc/xdr.h: Likewise.
42760         * nis/Makefile: Link all DSOs against linkobj/libc.so.
42761         * nss/Makefile: Likewise.
42762         * sunrpc/Makefile: Don't install headers.  Build library with normal
42763         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
42764         * sunrpc/auth_des.c: Hide exported symbols by default, export some
42765         for the compat linking library.  Remove use of INTDEF/INTUSE.
42766         * sunrpc/auth_none.c: Likewise.
42767         * sunrpc/auth_unix.c: Likewise.
42768         * sunrpc/authdes_prot.c: Likewise.
42769         * sunrpc/authuxprot.c: Likewise.
42770         * sunrpc/clnt_gen.c: Likewise.
42771         * sunrpc/clnt_perr.c: Likewise.
42772         * sunrpc/clnt_raw.c: Likewise.
42773         * sunrpc/clnt_simp.c: Likewise.
42774         * sunrpc/clnt_tcp.c: Likewise.
42775         * sunrpc/clnt_udp.c: Likewise.
42776         * sunrpc/clnt_unix.c: Likewise.
42777         * sunrpc/des_crypt.c: Likewise.
42778         * sunrpc/des_soft.c: Likewise.
42779         * sunrpc/get_myaddr.c: Likewise.
42780         * sunrpc/key_call.c: Likewise.
42781         * sunrpc/key_prot.c: Likewise.
42782         * sunrpc/netname.c: Likewise.
42783         * sunrpc/pm_getmaps.c: Likewise.
42784         * sunrpc/pm_getport.c: Likewise.
42785         * sunrpc/pmap_clnt.c: Likewise.
42786         * sunrpc/pmap_prot.c: Likewise.
42787         * sunrpc/pmap_prot2.c: Likewise.
42788         * sunrpc/pmap_rmt.c: Likewise.
42789         * sunrpc/publickey.c: Likewise.
42790         * sunrpc/rpc_cmsg.c: Likewise.
42791         * sunrpc/rpc_common.c: Likewise.
42792         * sunrpc/rpc_dtable.c: Likewise.
42793         * sunrpc/rpc_prot.c: Likewise.
42794         * sunrpc/rpc_thread.c: Likewise.
42795         * sunrpc/rtime.c: Likewise.
42796         * sunrpc/svc.c: Likewise.
42797         * sunrpc/svc_auth.c: Likewise.
42798         * sunrpc/svc_authux.c: Likewise.
42799         * sunrpc/svc_raw.c: Likewise.
42800         * sunrpc/svc_run.c: Likewise.
42801         * sunrpc/svc_simple.c: Likewise.
42802         * sunrpc/svc_tcp.c: Likewise.
42803         * sunrpc/svc_udp.c: Likewise.
42804         * sunrpc/svc_unix.c: Likewise.
42805         * sunrpc/svcauth_des.c: Likewise.
42806         * sunrpc/xcrypt.c: Likewise.
42807         * sunrpc/xdr.c: Likewise.
42808         * sunrpc/xdr_array.c: Likewise.
42809         * sunrpc/xdr_float.c: Likewise.
42810         * sunrpc/xdr_intXX_t.c: Likewise.
42811         * sunrpc/xdr_mem.c: Likewise.
42812         * sunrpc/xdr_rec.c: Likewise.
42813         * sunrpc/xdr_ref.c: Likewise.
42814         * sunrpc/xdr_sizeof.c: Likewise.
42815         * sunrpc/xdr_stdio.c: Likewise.
42816
42817 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
42818
42819         [BZ #12650]
42820         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42821         * sysdeps/ia64/dl-tls.h: Likewise.
42822         * sysdeps/powerpc/dl-tls.h: Likewise.
42823         * sysdeps/s390/dl-tls.h: Likewise.
42824         * sysdeps/sh/dl-tls.h: Likewise.
42825         * sysdeps/sparc/dl-tls.h: Likewise.
42826         * sysdeps/x86_64/dl-tls.h: Likewise.
42827         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42828
42829 2011-03-14  Andreas Schwab  <schwab@redhat.com>
42830
42831         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42832         rpath element also skip the following colon.
42833         (expand_dynamic_string_token): Add is_path parameter and pass
42834         down to DL_DST_REQUIRED and _dl_dst_substitute.
42835         (decompose_rpath): Call expand_dynamic_string_token with
42836         non-zero is_path.  Ignore empty rpaths.
42837         (_dl_map_object_from_fd): Call expand_dynamic_string_token
42838         with zero is_path.
42839
42840 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
42841
42842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42843         Make cancelable.
42844
42845 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
42846
42847         [BZ #12655]
42848         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42849         Patch by Filipe David Manana <fdmanana@apache.org>.
42850
42851 2011-04-07  Andreas Schwab  <schwab@redhat.com>
42852
42853         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42854         Maintain aligned stack.
42855         (CHECK_RSP): Remove unused macro.
42856
42857 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
42858
42859         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42860         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42861
42862 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42863
42864         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42865
42866         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42867
42868 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42869
42870         [BZ #12518]
42871         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42872         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42873         * sysdeps/x86_64/memmove.c: New file.
42874         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42875         (memcpy): Renamed to ...
42876         (__new_memcpy): This.
42877         (memcpy): Provide GLIBC_2_14 memcpy.
42878         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42879         (memcpy): Provide GLIBC_2_2_5 memcpy.
42880
42881 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42882
42883         [BZ #12631]
42884         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42885
42886 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42887
42888         * misc/syncfs.c: New file.
42889         * misc/Makefile (routines): Add syncfs.
42890         * posix/unistd.h: Declare syncfs.
42891         * sysdeps/unix/syscalls.list: Add syncfs.
42892
42893 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42894
42895         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42896         open_by_handle_at.
42897         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42898         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42899         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42900         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42901         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42902         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42903         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42904
42905 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42906
42907         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42908         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42909         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42910         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42911         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42912         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42913         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42914
42915         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42916         sync_file_range.c with -fexceptions.
42917         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42918         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42919         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42920         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42921         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42922         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42923         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42924         sync_file_range as cancellation point
42925         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42926         now a wrapper around __call_sync_file_range with cancellation handling.
42927         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42928         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42929         function name to __call_sync_file_range.
42930         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42931         Add call_sync_file_range.
42932
42933 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42934
42935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42936         bits/timex.h.
42937
42938 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42939
42940         * iconv/iconv.h: Fix typo in comment.
42941         * io/fcntl.h: Likewise.
42942         * libio/stdio.h: Likewise.
42943         * posix/spawn.h: Likewise.
42944         * posix/unistd.h: Likewise.
42945         * stdlib/stdlib.h: Likewise.
42946         * time/time.h: Likewise.
42947         * wcsmbs/wchar.h: Likewise.
42948
42949         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42950         open_by_handle): Add.
42951         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42952         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42953         Augment a few comments.
42954         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42956         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42958         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42959         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42960         open_by_handle.
42961
42962         * io/fcntl.h (AT_EMPTY_PATH): Define.
42963
42964 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42965
42966         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42967         * sysdeps/unix/sysv/linux/bits/time.h: New file.
42968         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42969         to...
42970         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
42971         * Versions.def: Add GLIBC_2.14.
42972         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42973         Export.
42974
42975 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
42976
42977         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42978         round counter.
42979         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42980
42981 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42982
42983         [BZ #12597]
42984         * string/test-strncmp.c (do_page_test): New function.
42985         (check2): Likewise.
42986         (test_main): Call check2.
42987         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42988
42989 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
42990
42991         [BZ #12587]
42992         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42993         Handle cache information in CPU leaf 4.
42994         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42995
42996 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
42997
42998         [BZ #12583]
42999         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43000         character representation.
43001         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43002
43003 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
43004
43005         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43006         END(__isnan) to END(__isnanf) to match function entry point/label
43007         EALIGN(__isnanf,...).
43008
43009 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
43010
43011         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43012
43013 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
43014
43015         [BZ #12510]
43016         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43017         copy from the symbol referenced in the relocation to initialize the
43018         used variable.
43019         Patch by Piotr Bury <pbury@goahead.com>.
43020         * elf/Makefile: Add rules to build and tst-unique3.
43021         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43022         * elf/tst-unique3.cc: New file.
43023         * elf/tst-unique3.h: New file.
43024         * elf/tst-unique3lib.cc: New file.
43025         * elf/tst-unique3lib2.cc: New file.
43026
43027         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43028
43029 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
43030
43031         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43032         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
43033         to _start.
43034
43035 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
43036
43037         * elf/dl-load.c (_dl_map_object): If we are looking for the first
43038         to-be-loaded object along a path to loader is ld.so.
43039
43040 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43041             Ulrich Drepper  <drepper@gmail.com>
43042
43043         * sysdeps/x86_64/memset.S: After aligning destination, code
43044         branches to different locations depending on the value of
43045         misalignment, when multiarch is enabled. Fix this.
43046
43047 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43048
43049         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43050         Set _x86_64_preferred_memory_instruction for AMD processsors.
43051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43052         Set bit_Prefer_SSE_for_memop for AMD processors.
43053
43054 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
43055
43056         * libio/fmemopen.c (fmemopen): Optimize a bit.
43057
43058 2011-03-03  Andreas Schwab  <schwab@redhat.com>
43059
43060         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43061
43062 2011-03-03  Roland McGrath  <roland@redhat.com>
43063
43064         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43065
43066 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
43067
43068         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43069         __bzero_ultra1 instead of __memset_ultra1.
43070
43071 2011-02-23  Andreas Schwab  <schwab@redhat.com>
43072             Ulrich Drepper  <drepper@gmail.com>
43073
43074         [BZ #12509]
43075         * include/link.h (struct link_map): Add l_orig_initfini.
43076         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43077         returning unsuccessfully.
43078         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43079         close of a file loaded at startup, restore the original l_initfini
43080         list.
43081         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43082         list, store the pointer.
43083         * elf/Makefile ($(objpfx)noload-mem): New rule.
43084         (noload-ENV): Define.
43085         (tests): Add $(objpfx)noload-mem.
43086         * elf/noload.c: Include <memcheck.h>.
43087         (main): Call mtrace.  Close all opened handles.
43088
43089 2011-02-17  Andreas Schwab  <schwab@redhat.com>
43090
43091         [BZ #12454]
43092         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43093         dependencies are missing.
43094
43095 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43096
43097         Fix __if_freereq crash: Unlike the generic version which uses free,
43098         Hurd needs munmap.
43099         * sysdeps/mach/hurd/ifreq.h: New file.
43100
43101 2011-01-27  Petr Baudis  <pasky@suse.cz>
43102             Ulrich Drepper  <drepper@gmail.com>
43103
43104         [BZ 12445]#
43105         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43106         to extend_alloca().
43107         * stdio-common/bug23.c: New file.
43108         * stdio-common/Makefile (tests): Add bug23.
43109
43110 2010-09-28  Andreas Schwab  <schwab@redhat.com>
43111             Ulrich Drepper  <drepper@gmail.com>
43112
43113         [BZ #12489]
43114         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43115         before performing relro protection.  At old place add assertion
43116         to make sure nothing changed.
43117
43118 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
43119             Glauber de Oliveira Costa  <glommer@gmail.com>
43120
43121         * elf/elf.h: Add new ARM TLS relocs.
43122
43123 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
43124
43125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43126         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43127         cast from r3.
43128         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
43129         'tests' variable.
43130         * sysdeps/wordsize-64/tst-writev.c: New file.
43131
43132 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
43133
43134         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43135         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43136         insns in _dl_start to prevent a TOC reference before relocs are
43137         resolved.
43138
43139 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
43140
43141         [BZ #12469]
43142         * Makeconfig: Remove RANLIB definition.
43143         * Makerules: Don't use RANLIB.
43144         * aclocal.m4: Remove ranlib test.
43145         * configure.in: No need to check for ranlib.
43146         * elf/rtld-Rules: Don't use RANLIB.
43147
43148 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43149
43150         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43151         protection macro.
43152         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43153         inclusion protection macro.
43154
43155         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43156         SIGRTMIN and SIGRTMAX and print information in that case only when
43157         SIGRTMIN is defined.
43158
43159 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
43160
43161         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43162         arginfo fn returning -1.
43163
43164         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43165         and thousands string is zero terminated.
43166
43167 2011-02-03  Andreas Schwab  <schwab@redhat.com>
43168
43169         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43170         sysdeps/unix/sysv/linux/bits/socket.h.
43171
43172 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43173
43174         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43175         (__CPU_COUNT): Remove old macros.
43176         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43177         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43178         (__CPU_ALLOC, __CPU_FREE): Add macros.
43179         (__sched_cpualloc, __sched_cpufree): Add declarations.
43180
43181 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
43182
43183         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43184         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43185         * nscd/aicache.c (addhstaiX): Return timeout of added value.
43186         (readdhstai): Return value of addhstaiX call.
43187         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43188         (addgrbyX): Return value returned by cache_addgr.
43189         (readdgrbyname): Return value returned by addgrbyX.
43190         (readdgrbygid): Likewise.
43191         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43192         (addpwbyX): Return value returned by cache_addpw.
43193         (readdpwbyname): Return value returned by addhstbyX.
43194         (readdpwbyuid): Likewise.
43195         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43196         (addservbyX): Return value returned by cache_addserv.
43197         (readdservbyname): Return value returned by addservbyX:
43198         (readdservbyport): Likewise.
43199         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43200         (addhstbyX): Return value returned by cache_addhst.
43201         (readdhstbyname): Return value returned by addhstbyX.
43202         (readdhstbyaddr): Likewise.
43203         (readdhstbynamev6): Likewise.
43204         (readdhstbyaddrv6): Likewise.
43205         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43206         (readdinitgroups): Return value returned by addinitgroupsX.
43207         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43208         (prune_cache): Keep track of timeout value of re-added entries.
43209         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43210         * nscd/nscd.h: Adjust prototypes of readd* functions.
43211
43212 2011-02-04  Roland McGrath  <roland@redhat.com>
43213
43214         * nis/nis_server.c (nis_servstate): Use the right name for 0.
43215         (nis_stats): Likewise.
43216         * nis/nis_modify.c (nis_modify): Likewise.
43217         * nis/nis_remove.c (nis_remove): Likewise.
43218         * nis/nis_add.c (nis_add): Likewise.
43219
43220         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43221
43222         * posix/fnmatch_loop.c: Add some consts.
43223
43224         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43225
43226 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43227
43228         [BZ #12460]
43229         * config.make.in (config-cflags-novzeroupper): Define.
43230         * configure.in: Substitute libc_cv_cc_novzeroupper.
43231         * elf/Makefile (AVX-CFLAGS): Define.
43232         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43233         (CFLAGS-tst-auditmod4a.c): Likewise.
43234         (CFLAGS-tst-auditmod4b.c): Likewise.
43235         (CFLAGS-tst-auditmod6b.c): Likewise.
43236         (CFLAGS-tst-auditmod6c.c): Likewise.
43237         (CFLAGS-tst-auditmod7b.c): Likewise.
43238         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43239
43240 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43241
43242         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43243         function to the callback.
43244         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43245
43246 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43247
43248         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43249         of errno.
43250
43251 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43252
43253         [BZ #11724]
43254         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43255         of constructors.
43256         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43257         of destructors.
43258         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43259
43260         [BZ #11724]
43261         * elf/Makefile: Add rules to build and run new test.
43262         * elf/tst-initorder.c: New file.
43263         * elf/tst-initorder.exp: New file.
43264         * elf/tst-initordera1.c: New file.
43265         * elf/tst-initordera2.c: New file.
43266         * elf/tst-initordera3.c: New file.
43267         * elf/tst-initordera4.c: New file.
43268         * elf/tst-initorderb1.c: New file.
43269         * elf/tst-initorderb2.c: New file.
43270         * elf/tst-order-a1.c: New file.
43271         * elf/tst-order-a2.c: New file.
43272         * elf/tst-order-a3.c: New file.
43273         * elf/tst-order-a4.c: New file.
43274         * elf/tst-order-b1.c: New file.
43275         * elf/tst-order-b2.c: New file.
43276         * elf/tst-order-main.c: New file.
43277         New test case by George Gensure <werkt0@gmail.com>.
43278
43279 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43280
43281         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43282         decoding ACE if AI_CANONIDN.
43283
43284 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43285
43286         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43287
43288 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43289
43290         * version.h (RELEASE): Bump for 2.13 release.
43291         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43292
43293         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43294
43295         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43296         MADV_NOHUGEPAGE.
43297         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43298         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43299         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43300         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43301         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43302         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43303
43304         * posix/getconf.c: Update copyright year.
43305         * catgets/gencat.c: Likewise.
43306         * csu/version.c: Likewise.
43307         * debug/catchsegv.sh: Likewise.
43308         * debug/xtrace.sh: Likewise.
43309         * elf/ldconfig.c: Likewise.
43310         * elf/ldd.bash.in: Likewise.
43311         * elf/sprof.c (print_version): Likewise.
43312         * iconv/iconv_prog.c: Likewise.
43313         * iconv/iconvconfig.c: Likewise.
43314         * locale/programs/locale.c: Likewise.
43315         * locale/programs/localedef.c: Likewise.
43316         * malloc/memusage.sh: Likewise.
43317         * malloc/mtrace.pl: Likewise.
43318         * nscd/nscd.c (print_version): Likewise.
43319         * nss/getent.c: Likewise.
43320
43321         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43322         PF_CAIF, and PF_ALG.
43323         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43324
43325 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43326
43327         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43328         (modules-names): Use them.
43329         (ifunc-test-modules, ifunc-pie-tests): Define.
43330         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43331         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43332         (test-extras): Likewise.
43333         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43334         $(compile-command.c).
43335         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43336         (all-built-dso): Define.
43337         (check-textrel.out, check-execstack.out): Depend on it.
43338
43339         * configure.in: Don't override --enable-multi-arch.
43340
43341 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43342
43343         [BZ #6812]
43344         * nscd/hstcache.c (tryagain): Define.
43345         (cache_addhst): Return tryagain not notfound for temporary errors.
43346         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43347         failed.
43348
43349 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43350
43351         [BZ #10563]
43352         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43353         to make the syscall.
43354         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43355
43356         [BZ #12378]
43357         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43358         and fall back to matching as normal character if the string ends before
43359         the matching ']' is found.  This is what POSIX requires.
43360         * posix/testfnm.c: Adjust test result.
43361         * posix/globtest.sh: Adjust test result.  Add new test.
43362         * posix/tst-fnmatch.input: Likewise.
43363         * posix/tst-fnmatch2.c: Add new test.
43364
43365 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43366
43367         * elf/Makefile (check-execstack): Revert last change.  Depend on
43368         check-execstack.h.
43369         (check-execstack.h): New target.
43370         (generated): Add check-execstack.h.
43371         * elf/check-execstack.c: Include "check-execstack.h".
43372         (main): Revert last change.
43373         (handle_file): Return zero if GNU_STACK is absent and
43374         DEFAULT_STACK_PERMS doesn't include PF_X.
43375
43376 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43377
43378         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43379         in child fails because the descriptor is already closed.
43380         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43381         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43382         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43383
43384         [BZ #12397]
43385         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43386         syscall.
43387
43388         [BZ #10484]
43389         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43390         temporary buffer used to handle multi lookups locally.
43391         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43392
43393 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43394
43395         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43396         loader is ld.so.
43397
43398 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43399
43400         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43401         alignment for SSE2.
43402
43403 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43404
43405         [BZ #12394]
43406         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43407         characters.  When rounding increased number of integer digits recompute
43408         number of groups.
43409         * stdio-common/tst-grouping.c: New file.
43410         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43411
43412 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43413
43414         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43415         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43416
43417         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43418         void.
43419         * bits/select.h: Likewise.
43420
43421 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43422
43423         * po/ja.po: Update from translation team.
43424
43425 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43426
43427         [BZ #11155]
43428         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43429         implementation just like for lxstat, fxstatat, et al.
43430
43431 2010-12-27  Jim Meyering  <meyering@redhat.com>
43432
43433         [BZ #12348]
43434         * posix/regexec.c (build_trtable): Return failure indication upon
43435         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43436
43437 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43438
43439         [BZ #12201]
43440         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43441         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43442         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43443         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43444
43445         [BZ #12207]
43446         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43447
43448         [BZ #12204]
43449         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43450         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43451
43452 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43453
43454         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43455         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43456         script has SORT_BY_INIT_PRIORITY.
43457         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43458         NO_CTORS_DTORS_SECTIONS is defined.
43459         * elf/soinit.c: Likewise.
43460         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43461         NO_CTORS_DTORS_SECTIONS is defined.
43462         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43463         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43464         * sysdeps/sh/init-first.c: Likewise.
43465         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43466
43467 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43468
43469         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43470         always use the slow path.
43471
43472 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43473
43474         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43475         similar rule which adds the sysdep directories to the header search in
43476         order to pick up the correct platform stackinfo.h.
43477         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43478         perform test if it is, otherwise return successfully without testing.
43479         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43480         DEFAULT_STACK_PERMS define in stackinfo.h.
43481         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43482         defined in stackinfo.h.
43483         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43484         DEFAULT_STACK_PERMS defined in stackinfo.h.
43485         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43486         * sysdeps/ia64/stackinfo.h: Likewise.
43487         * sysdeps/s390/stackinfo.h: Likewise.
43488         * sysdeps/sh/stackinfo.h: Likewise.
43489         * sysdeps/sparc/stackinfo.h: Likewise.
43490         * sysdeps/x86_64/stackinfo.h: Likewise.
43491         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43492         PF_X for powerpc64.  Retain PF_X for powerpc32.
43493
43494 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43495
43496         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43497         accurately.
43498         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43499         GETDENTS_64BIT_ALIGNED.
43500
43501 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43502
43503         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43504
43505 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43506
43507         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43508         _GNU_SOURCE.
43509
43510         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43511         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43512         Remove __restrict.
43513         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43514         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43515
43516 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43517
43518         [BZ #11655]
43519         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43520         are initialized.
43521
43522 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43523
43524         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43525
43526 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43527
43528         * po/it.po: Update from translation team.
43529
43530 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43531
43532         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43533         unused codes.
43534
43535 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43536
43537         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43538
43539 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43540
43541         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43542         specially.
43543         (gaih_getanswer_slice): Likewise.
43544
43545 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43546
43547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43548
43549 2010-05-31  Petr Baudis  <pasky@suse.cz>
43550
43551         [BZ #11149]
43552         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43553         silently even in the chroot mode.
43554
43555 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43556
43557         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43558         last patch a bit.  Pretty printing
43559
43560 2010-05-31  Petr Baudis <pasky@suse.cz>
43561
43562         [BZ #10085]
43563         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43564         initialization of skip_initgroups_dyn.
43565
43566 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43567
43568         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43569         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43570
43571 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43572
43573         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43574
43575 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43576
43577         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43578         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43579         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43580         ($(objpfx)tst-fnmatch-mem): New rule.
43581         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43582         * posix/tst-fnmatch.c (main): Call mtrace.
43583
43584 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43585
43586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43587         Support Intel processor model 6 and model 0x2c.
43588
43589 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43590
43591         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43592           signed comparison.
43593
43594 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43595
43596         [BZ #12205]
43597         * string/test-strncasecmp.c (check_result): New function.
43598         (do_one_test): Use it.
43599         (check1): New function.
43600         (test_main): Use it.
43601         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43602         Support strcasecmp and strncasecmp.
43603
43604 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43605
43606         [BZ #12194]
43607         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43608         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43609
43610 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43611
43612         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43613         IFUNC support.
43614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43615         memset-x86-64.
43616         * sysdeps/x86_64/multiarch/bzero.S: New file.
43617         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43618         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43619         * sysdeps/x86_64/multiarch/memset.S: New file.
43620         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43622         Set bit_Prefer_SSE_for_memop for Intel processors.
43623         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43624         Define.
43625         (index_Prefer_SSE_for_memop): Define.
43626         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43627
43628 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43629
43630         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43631         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43632
43633 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43634
43635         [BZ #12191]
43636         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43637         (__x86_64_raw_data_cache_size_half): Likewise.
43638         (__x86_64_raw_shared_cache_size): Likewise.
43639         (__x86_64_raw_shared_cache_size_half): Likewise.
43640
43641         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43642         (__x86_64_raw_data_cache_size_half): Likewise.
43643         (__x86_64_raw_shared_cache_size): Likewise.
43644         (__x86_64_raw_shared_cache_size_half): Likewise.
43645         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43646         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43647         and __x86_64_raw_shared_cache_size_half.  Round
43648         __x86_64_data_cache_size_half, __x86_64_data_cache_size
43649         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43650         to multiple of 256 bytes.
43651
43652 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
43653
43654         [BZ #12167]
43655         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43656         of inacessible symlinks.  Verify result of symlink before returning it.
43657         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43658         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43659
43660 2010-10-28  Erich Ritz  <erichritz@gmail.com>
43661
43662         * math/math.h (isinf): Fix typo in comment.
43663
43664 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
43665
43666         * po/da.po: Update from translation team.
43667
43668 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
43669
43670         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43671         is added to the list.
43672
43673 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43674             Ulrich Drepper  <drepper@gmail.com>
43675
43676         * elf/dl-object.c (_dl_new_object): Don't append the new object to
43677         the global list here.  Move code to...
43678         (_dl_add_to_namespace_list): ...here.  New function.
43679         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43680         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43681         * elf/dl-load.c (lose): Don't remove the element from the list.
43682         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43683         (_dl_map_object): Likewise.
43684
43685 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
43686
43687         [BZ #12159]
43688         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43689         into all bytes of SSE register.
43690         Patch by Richard Li <richardpku@gmail.com>.
43691
43692 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
43693
43694         [BZ #12140]
43695         * malloc/malloc.c (_int_free): Fill correct number of bytes when
43696         perturbing.
43697
43698 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
43699
43700         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43701         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43702         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43703         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43705         submachine.
43706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43707
43708 2010-10-22  Andreas Schwab  <schwab@redhat.com>
43709
43710         * include/dlfcn.h (__RTLD_SECURE): Define.
43711         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
43712         mode & __RTLD_SECURE instead.
43713         (open_path): Rename preloaded parameter to secure.
43714         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43715         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43716         * elf/dl-deps.c (openaux): Likewise.
43717         * elf/rtld.c (struct map_args): Remove is_preloaded.
43718         (map_doit): Don't use it.
43719         (dl_main): Likewise.
43720         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43721         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43722
43723 2010-09-09  Andreas Schwab  <schwab@redhat.com>
43724
43725         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43726         (sysd-rules-targets): Remove duplicates.
43727         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43728         rtld-%.$o dependency.
43729
43730 2010-10-18  Andreas Schwab  <schwab@redhat.com>
43731
43732         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43733         _dl_map_object do it.
43734
43735 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
43736
43737         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43738         fast fma builtins, define the macros in the C99 standard.
43739         (FP_FAST_FMAF): Likewise.
43740         (FP_FAST_FMAL): Likewise.
43741         * sysdeps/x86_64/bits/mathdef.h: Likewise.
43742
43743         * bits/mathdef.h: Update copyright year.
43744         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43745
43746 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
43747
43748         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43749         builtins, define the macros in the C99 standard.
43750         (FP_FAST_FMAF): Likewise.
43751         (FP_FAST_FMAL): Likewise.
43752         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43753         multiply/add.
43754         (FP_FAST_FMAF): Likewise.
43755
43756 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
43757
43758         [BZ #3268]
43759         * math/libm-test.inc (fma_test): Some new testcases.
43760         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43761         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43762         y and infinite z.  Do multiplication by C already in long double.
43763         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43765         y and infinite z.  Do bitwise or of inexact bit into u.d.
43766         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43767         * sysdeps/i386/fpu/s_fmaf.S: Removed.
43768         * sysdeps/i386/fpu/s_fma.S: Removed.
43769         * sysdeps/i386/fpu/s_fmal.S: Removed.
43770
43771 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
43772
43773         [BZ #3268]
43774         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43776         computation is not scheduled after fetestexcept.  Fix value
43777         of minimum denormal long double.
43778
43779 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
43780
43781         [BZ #3268]
43782         * math/libm-test.inc (fma_test): Add some more tests.
43783         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43784         correctly.
43785
43786 2010-10-15  Andreas Schwab  <schwab@redhat.com>
43787
43788         * scripts/data/localplt-s390-linux-gnu.data: New file.
43789         * scripts/data/localplt-s390x-linux-gnu.data: New file.
43790
43791 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
43792
43793         [BZ #3268]
43794         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43795         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43796         instead of dbl-64.
43797         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43798         inlines.
43799         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43800         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43801         if one of x and y is very large and the other is subnormal.
43802         * sysdeps/s390/fpu/s_fmaf.c: New file.
43803         * sysdeps/s390/fpu/s_fma.c: New file.
43804         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43805         * sysdeps/powerpc/fpu/s_fma.S: New file.
43806         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43807         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43808         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43809
43810 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
43811
43812         [BZ #3268]
43813         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43814         fma tests.
43815         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43816         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43817         * sysdeps/i386/i686/multiarch/s_fma.c: Include
43818         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43819         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43820         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43821         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43822
43823 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
43824
43825         [BZ #12078]
43826         * posix/regcomp.c (parse_branch): One more memory leak plugged.
43827         * posix/bug-regex31.input: Add test case.
43828
43829 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43830
43831         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43832         * posix/bug-regex31.input: New file.
43833
43834         [BZ #12078]
43835         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43836         (parse_sub_exp): Fix last change, use postorder.
43837
43838         * posix/bug-regex31.c: New file.
43839         * posix/Makefile: Add rules to build and run bug-regex31.
43840
43841         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43842
43843         [BZ #12078]
43844         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43845
43846         [BZ #12108]
43847         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43848         to have entries in sys_siglist.
43849
43850         [BZ #12093]
43851         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43852         be NULL.
43853
43854 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
43855
43856         [BZ #3268]
43857         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43858         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43859         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43860         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43861         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43862         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43863         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43864         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43865         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43866         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43867         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43868         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43869         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43870         * math/ftestexcept.c (fetestexcept): Likewise.
43871         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43872         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43873         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43874         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43875         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43876         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43877         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43878
43879 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43880
43881         [BZ #12107]
43882         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43883         newline.
43884
43885 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43886
43887         * string/bug-strstr1.c: New file.
43888         * string/Makefile: Add rules to build and run bug-strstr1.
43889
43890 2010-10-05  Eric Blake  <eblake@redhat.com>
43891
43892         [BZ #12092]
43893         * string/str-two-way.h (two_way_long_needle): Always clear memory
43894         when skipping input due to the shift table.
43895
43896 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43897
43898         [BZ #12005]
43899         * malloc/mcheck.c: Handle large requests.
43900
43901         [BZ #12077]
43902         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43903         for strncmp and strncasecmp.
43904         * string/stratcliff.c: Add tests for strcmp and strncmp.
43905         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43906
43907 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43908
43909         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43910         __set_fpscr.
43911
43912 2010-09-30  Andreas Jaeger  <aj@suse.de>
43913
43914         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43915         (CGROUP_SUPER_MAGIC): Define.
43916         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43917         Handle btrfs and cgroup file systems.
43918         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43919         Likewise.
43920
43921 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43922
43923         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43924         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43925
43926 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43927
43928         [BZ #12067]
43929         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43930         trying to locate the ELF header.
43931
43932 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43933
43934         [BZ #11611]
43935         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43936         Mask out sign-bit copies when constructing f_fsid.
43937
43938 2010-09-24  Petr Baudis <pasky@suse.cz>
43939
43940         * debug/stack_chk_fail_local.c: Add missing licence exception.
43941         * debug/warning-nop.c: Likewise.
43942
43943 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43944
43945         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43946         implementing getdents64 using getdents syscall, set d_type if
43947         __ASSUME_GETDENTS32_D_TYPE.
43948
43949 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43950
43951         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43952         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43953
43954 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43955
43956         [BZ #12037]
43957         * posix/unistd.h: Undo change of feature selection for ftruncate from
43958         2010-01-11.
43959
43960 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43961
43962         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43963         detection.
43964
43965 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43966
43967         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43968         fanotify_mark.
43969         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43970
43971 2010-09-14  Andreas Schwab  <schwab@redhat.com>
43972
43973         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43974         variables after CHECK_SP call.
43975         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43976
43977 2010-09-13  Andreas Schwab  <schwab@redhat.com>
43978             Ulrich Drepper  <drepper@redhat.com>
43979
43980         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43981         re-relocationg ld.so.
43982         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43983         _dl_init_paths call.
43984         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
43985         here anymore.
43986
43987 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
43988
43989         * resolv/res_init.c (__res_vinit): Count the default server we added.
43990
43991 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
43992             Ulrich Drepper  <drepper@redhat.com>
43993
43994         [BZ #11968]
43995         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43996         (____longjmp_chk): Use %ebx for saving value across system call.
43997         Add unwind info.
43998
43999 2010-09-06  Andreas Schwab  <schwab@redhat.com>
44000
44001         * manual/Makefile: Don't mix pattern rules with normal rules.
44002
44003 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44004
44005         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44006         operation.
44007         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44008         * libio/iofopncook.c (_IO_cookie_init): Likewise.
44009         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44010         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44011         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44012         Likewise.
44013
44014 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
44015
44016         [BZ #11979]
44017         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44018         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44019
44020 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
44021
44022         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44023         * sysdeps/x86_64/addmul_1.S: Likewise.
44024         * sysdeps/x86_64/lshift.S: Likewise.
44025         * sysdeps/x86_64/mul_1.S: Likewise.
44026         * sysdeps/x86_64/rshift.S: Likewise.
44027         * sysdeps/x86_64/sub_n.S: Likewise.
44028         * sysdeps/x86_64/submul_1.S: Likewise.
44029
44030 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44031
44032         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44033         Define __sched_param instead of SCHED_* and sched_param when
44034         <bits/sched.h> is included with __need_schedparam defined.
44035         * bits/sched.h [__need_schedparam]
44036         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44037         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44038         (__defined_schedparam): Define to 1.
44039         (__sched_param): New structure, identical to sched_param.
44040         (__need_schedparam): Undefine.
44041
44042 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
44043
44044         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44045         (epoll_create1): Declare.
44046
44047         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44048
44049 2010-08-31  Andreas Schwab  <schwab@redhat.com>
44050
44051         [BZ #7066]
44052         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44053         shifting retval into place.
44054
44055 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44056
44057         * nis/rpcsvc/nis.h: Update copyright notice.
44058         * nis/rpcsvc/nis.x: Likewise.
44059         * nis/rpcsvc/nis_callback.h: Likewise.
44060         * nis/rpcsvc/nis_callback.x: Likewise.
44061         * nis/rpcsvc/nis_object.x: Likewise.
44062         * nis/rpcsvc/nis_tags.h: Likewise.
44063         * nis/rpcsvc/yp.h: Likewise.
44064         * nis/rpcsvc/yp.x: Likewise.
44065         * nis/rpcsvc/ypupd.h: Likewise.
44066         * nis/yp_xdr.c: Likewise.
44067         * nis/ypupdate_xdr.c: Likewise.
44068
44069         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
44070         mainly the body of pmap_getport.  Add parameters to specify timeouts.
44071         (pmap_getport): Use __libc_rpc_getport.
44072         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44073         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44074         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44075
44076 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
44077
44078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44079         fanotify_mark.
44080
44081 2010-08-27  Roland McGrath  <roland@redhat.com>
44082
44083         * sysdeps/i386/i686/multiarch/Makefile
44084         (CFLAGS-varshift.c): New variable.
44085
44086 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
44087
44088         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44089         * sysdeps/i386/i686/multiarch/varshift.c: New file.
44090
44091         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44092
44093         * sysdeps/x86_64/strlen.S: Minimal code improvement.
44094
44095 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
44096
44097         * sysdeps/x86_64/strlen.S: Unroll the loop.
44098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44099         strlen-sse2 strlen-sse2-bsf.
44100         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44101         __strlen_no_bsf if bit_Slow_BSF is set.
44102         (__strlen_sse42): Removed.
44103         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44104         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44105
44106 2010-08-25  Roland McGrath  <roland@redhat.com>
44107
44108         * sysdeps/x86_64/multiarch/varshift.S: File removed.
44109         * sysdeps/x86_64/multiarch/varshift.c: New file.
44110         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44111         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44112         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44113         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44114
44115 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
44116
44117         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44118         strlen-sse2 strlen-sse2-bsf.
44119         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44120         __strlen_sse2_bsf if bit_Slow_BSF is unset.
44121         (__strlen_sse2): Removed.
44122         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44123         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44125         bit_Slow_BSF for Atom.
44126         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44127         (index_Slow_BSF): Define.
44128         (HAS_SLOW_BSF): Define.
44129
44130 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
44131
44132         [BZ #10851]
44133         * resolv/res_init.c (__res_vinit): When no server address at all
44134         is given default to loopback.
44135
44136 2010-08-24  Roland McGrath  <roland@redhat.com>
44137
44138         * configure.in: Remove config-name.h generation.
44139         * configure: Regenerated.
44140         * config-name.in: File removed.
44141         * scripts/config-uname.sh: New file.
44142         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44143         ($(objdir)config-name.h): New target.
44144
44145         * sunrpc/rpc_parse.h: Avoid nested comment.
44146
44147 2010-08-24  Richard Henderson  <rth@redhat.com>
44148             Ulrich Drepper  <drepper@redhat.com>
44149             H.J. Lu  <hongjiu.lu@intel.com>
44150
44151         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44153         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44154         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
44155         _mm_alignr_epi8 with _mm_loadu_si128.
44156         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44157         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44158         (__m128i_shift_right): Removed.
44159         * sysdeps/i386/i686/multiarch/varshift.h: New file.
44160         * sysdeps/i386/i686/multiarch/varshift.S: New file.
44161         * sysdeps/x86_64/multiarch/varshift.h: New file.
44162         * sysdeps/x86_64/multiarch/varshift.S: New file.
44163
44164 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
44165
44166         * configure.in: Move assembler checks to before sysdep dir checking.
44167
44168 2010-08-20  Petr Baudis  <pasky@suse.cz>
44169
44170         * LICENSES: Sync the sunrpc license.
44171
44172 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
44173
44174         * sunrpc/auth_des.c: Update copyright notice once again.
44175         * sunrpc/auth_none.c: Likewise.
44176         * sunrpc/auth_unix.c: Likewise.
44177         * sunrpc/authdes_prot.c: Likewise.
44178         * sunrpc/authuxprot.c: Likewise.
44179         * sunrpc/bindrsvprt.c: Likewise.
44180         * sunrpc/clnt_gen.c: Likewise.
44181         * sunrpc/clnt_perr.c: Likewise.
44182         * sunrpc/clnt_raw.c: Likewise.
44183         * sunrpc/clnt_simp.c: Likewise.
44184         * sunrpc/clnt_tcp.c: Likewise.
44185         * sunrpc/clnt_udp.c: Likewise.
44186         * sunrpc/clnt_unix.c: Likewise.
44187         * sunrpc/des_crypt.c: Likewise.
44188         * sunrpc/des_soft.c: Likewise.
44189         * sunrpc/get_myaddr.c: Likewise.
44190         * sunrpc/getrpcport.c: Likewise.
44191         * sunrpc/key_call.c: Likewise.
44192         * sunrpc/key_prot.c: Likewise.
44193         * sunrpc/openchild.c: Likewise.
44194         * sunrpc/pm_getmaps.c: Likewise.
44195         * sunrpc/pm_getport.c: Likewise.
44196         * sunrpc/pmap_clnt.c: Likewise.
44197         * sunrpc/pmap_prot.c: Likewise.
44198         * sunrpc/pmap_prot2.c: Likewise.
44199         * sunrpc/pmap_rmt.c: Likewise.
44200         * sunrpc/rpc/auth.h: Likewise.
44201         * sunrpc/rpc/auth_unix.h: Likewise.
44202         * sunrpc/rpc/clnt.h: Likewise.
44203         * sunrpc/rpc/des_crypt.h: Likewise.
44204         * sunrpc/rpc/key_prot.h: Likewise.
44205         * sunrpc/rpc/netdb.h: Likewise.
44206         * sunrpc/rpc/pmap_clnt.h: Likewise.
44207         * sunrpc/rpc/pmap_prot.h: Likewise.
44208         * sunrpc/rpc/pmap_rmt.h: Likewise.
44209         * sunrpc/rpc/rpc.h: Likewise.
44210         * sunrpc/rpc/rpc_des.h: Likewise.
44211         * sunrpc/rpc/rpc_msg.h: Likewise.
44212         * sunrpc/rpc/svc.h: Likewise.
44213         * sunrpc/rpc/svc_auth.h: Likewise.
44214         * sunrpc/rpc/types.h: Likewise.
44215         * sunrpc/rpc/xdr.h: Likewise.
44216         * sunrpc/rpc_clntout.c: Likewise.
44217         * sunrpc/rpc_cmsg.c: Likewise.
44218         * sunrpc/rpc_common.c: Likewise.
44219         * sunrpc/rpc_cout.c: Likewise.
44220         * sunrpc/rpc_dtable.c: Likewise.
44221         * sunrpc/rpc_hout.c: Likewise.
44222         * sunrpc/rpc_main.c: Likewise.
44223         * sunrpc/rpc_parse.c: Likewise.
44224         * sunrpc/rpc_parse.h: Likewise.
44225         * sunrpc/rpc_prot.c: Likewise.
44226         * sunrpc/rpc_sample.c: Likewise.
44227         * sunrpc/rpc_scan.c: Likewise.
44228         * sunrpc/rpc_scan.h: Likewise.
44229         * sunrpc/rpc_svcout.c: Likewise.
44230         * sunrpc/rpc_tblout.c: Likewise.
44231         * sunrpc/rpc_util.c: Likewise.
44232         * sunrpc/rpc_util.h: Likewise.
44233         * sunrpc/rpcinfo.c: Likewise.
44234         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44235         * sunrpc/rpcsvc/key_prot.x: Likewise.
44236         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44237         * sunrpc/rpcsvc/mount.x: Likewise.
44238         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44239         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44240         * sunrpc/rpcsvc/rex.x: Likewise.
44241         * sunrpc/rpcsvc/rstat.x: Likewise.
44242         * sunrpc/rpcsvc/rusers.x: Likewise.
44243         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44244         * sunrpc/rpcsvc/spray.x: Likewise.
44245         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44246         * sunrpc/rtime.c: Likewise.
44247         * sunrpc/svc.c: Likewise.
44248         * sunrpc/svc_auth.c: Likewise.
44249         * sunrpc/svc_authux.c: Likewise.
44250         * sunrpc/svc_raw.c: Likewise.
44251         * sunrpc/svc_run.c: Likewise.
44252         * sunrpc/svc_simple.c: Likewise.
44253         * sunrpc/svc_tcp.c: Likewise.
44254         * sunrpc/svc_udp.c: Likewise.
44255         * sunrpc/svc_unix.c: Likewise.
44256         * sunrpc/svcauth_des.c: Likewise.
44257         * sunrpc/xcrypt.c: Likewise.
44258         * sunrpc/xdr.c: Likewise.
44259         * sunrpc/xdr_array.c: Likewise.
44260         * sunrpc/xdr_float.c: Likewise.
44261         * sunrpc/xdr_mem.c: Likewise.
44262         * sunrpc/xdr_rec.c: Likewise.
44263         * sunrpc/xdr_ref.c: Likewise.
44264         * sunrpc/xdr_sizeof.c: Likewise.
44265         * sunrpc/xdr_stdio.c: Likewise.
44266
44267         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44268         handling.
44269
44270 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44271
44272         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44273
44274 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44275
44276         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44277         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44278         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44279         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44280         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44281         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44282         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44283         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44284         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44285         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44286         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44287         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44288         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44289         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44290
44291 2010-07-26  Anton Blanchard  <anton@samba.org>
44292
44293         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44294         * malloc/arena.c (heap_trim): Likewise.
44295
44296 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44297
44298         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44299         here.  Not...
44300         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44301         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44302
44303 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44304
44305         * sysdeps/i386/elf/Makefile: New file.
44306
44307 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44308
44309         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44310         from fanotify_init.
44311         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44312         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44313
44314 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44315
44316         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44317         of strncasecmp_l.
44318         * sysdeps/multiarch/strcmp.S: Likewise.
44319
44320 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44321
44322         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44323         strncase_l-nonascii.
44324         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44325         Add strncase_l-ssse3.
44326         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44327         * sysdeps/x86_64/strcmp.S: Likewise.
44328         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44329         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44330         * sysdeps/x86_64/strncase.S: New file.
44331         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44332         * sysdeps/x86_64/strncase_l.S: New file.
44333         * string/Makefile (strop-tests): Add strncasecmp.
44334         * string/test-strncasecmp.c: New file.
44335
44336         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44337         warning.
44338
44339         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44340         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44341
44342 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44343
44344         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44345
44346 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44347
44348         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44349         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44350         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44351
44352 2010-05-01  Alan Modra  <amodra@gmail.com>
44353
44354         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44355         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44356         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44357         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44358         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44359         tidying.  Don't tail-call __sigjmp_save for static lib.
44360         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44361         save location.
44362         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44363         (CALL_MCOUNT): Add eh info, and nop after bl.
44364         (TAIL_CALL_SYSCALL_ERROR): New macro.
44365         (PSEUDO_RET): Use it.
44366         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44367         Correct save location of integer regs and cr.
44368         (_dl_profile_resolve): Correct cr save location.  Delete nops
44369         after bl when SHARED.  Reduce cfi size a little by better
44370         placement of cfi directives.
44371         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44372         make a stack frame.  Instead use parm save area as a temp.
44373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44374         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44376         Don't make a stack frame for parent, use parm save area.
44377         Increase child stack frame to 112 bytes.  Don't save unused reg,
44378         and adjust reg usage.  Set up cfi on error recovery and
44379         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44381         (__makecontext): Add dummy nop after jump to exit.
44382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44383         Use correct parm save area and cr save, reduce stack frame.
44384         Correct cfi for possible PSEUDO_RET frame setup.
44385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44386         Branch to local label emitted by PSEUDO_RET rather than
44387         __syscall_error.
44388
44389 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44390
44391         [BZ #11904]
44392         * locale/programs/locale.c (print_assignment): New function.
44393         (show_locale_vars): Use it.
44394
44395 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44396
44397         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44398         field.
44399         (struct statfs64): Likewise.
44400         (_STATFS_F_FLAGS): Define.
44401         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44402         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44403         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44404         (ST_VALID): Define locally.
44405         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44406         __statvfs_getflags, use the provided value.
44407         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44408         __ASSUME_STATFS_F_FLAGS.
44409
44410         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44411
44412         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44413         Add sys/fanotify.h.
44414         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44415         fanotify_mask for GLIBC_2.13.
44416         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44417         fanotify_init and fanotify_mark.
44418         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44419         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44420
44421         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44422         Add prlimit.
44423         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44424         prlimit64 for GLIBC_2.13.
44425         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44426         prlimit64.
44427         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44428         syscall.
44429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44430         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44431         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44432         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44433         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44434         add prlimit alias.
44435         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44436
44437         [BZ #11903]
44438         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44439         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44440
44441         * nss/Makefile: Add rules to build and run tst-nss-test1.
44442         * shlib-versions: Add entry for libnss_test1.
44443         * nss/nss_test1.c: New file.
44444         * nss/tst-nss-test1.c: New file.
44445
44446         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44447         (__nss_configure_lookup): Set appropriate entry in
44448         __nss_configure_lookup to true.
44449         * nss/nsswitch.h: Define enum with indeces of databases in
44450         databases and __nss_database_custom arrays.  Declare
44451         __nss_database_custom.
44452         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44453         to avoid using nscd when custom rules are installed.
44454         * nss/getXXbyYY_r.c: Likewise.
44455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44456
44457         * nss/nss_files/files-parse.c: Whitespace fixes.
44458
44459 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44460
44461         [BZ #11883]
44462         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44463         * posix/fnmatch_loop.c: Likewise.
44464
44465 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44466
44467         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44468         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44469         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44470         * Versions.def [GLIBC_2.13]: Add.
44471
44472 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44473
44474         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44475         Also fail if tpwd after pwuid call is NULL.
44476
44477 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44478
44479         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44480         when converting to ms.
44481
44482 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44483
44484         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44485         EOPNOTSUPP errors with ENOTTY.
44486         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44487         EOPNOTSUPP errors with ENOTTY.
44488
44489 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44490
44491         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44492         Add strcasecmp_l-ssse3.
44493         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44494         strcasecmp.
44495         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44496         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44497         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44498
44499 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44500
44501         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44502
44503         * string/Makefile (strop-tests): Add strcasecmp.
44504         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44505         strcasecmp_l-nonascii.
44506         (gen-as-const-headers): Add locale-defines.sym.
44507         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44508         * sysdeps/x86_64/strcasecmp.S: New file.
44509         * sysdeps/x86_64/strcasecmp_l.S: New file.
44510         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44511         * sysdeps/x86_64/locale-defines.sym: New file.
44512         * string/test-strcasecmp.c: New file.
44513
44514         * string/test-strcasestr.c: Test both ends of the range of characters.
44515         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44516
44517 2010-07-29  Roland McGrath  <roland@redhat.com>
44518
44519         [BZ #11856]
44520         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44521
44522 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44523
44524         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44525         for ld.so.
44526
44527 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44528
44529         * manual/memory.texi (Malloc Tunable Parameters): Document
44530         M_PERTURB.
44531
44532 2010-07-26  Roland McGrath  <roland@redhat.com>
44533
44534         [BZ #11840]
44535         * configure.in (-fgnu89-inline check): Set and substitute
44536         gnu89_inline, not libc_cv_gnu89_inline.
44537         * configure: Regenerated.
44538         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44539
44540 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44541
44542         * string/test-strnlen.c: New file.
44543         * string/Makefile (strop-tests): Add strnlen.
44544         * string/tester.c (test_strnlen): Add a few more test cases.
44545         * string/tst-strlen.c: Better error reporting.
44546
44547         * sysdeps/x86_64/strnlen.S: New file.
44548
44549 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44550
44551         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44552         lower-latency instructions.
44553
44554 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44555
44556         * string/test-strcasestr.c: New file.
44557         * string/test-strstr.c: New file.
44558         * string/Makefile (strop-tests): Add strstr and strcasestr.
44559         * string/str-two-way.h: Don't undefine MAX.
44560         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44561
44562 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44563
44564         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44565         strcasestr-nonascii.
44566         (CFLAGS-strcasestr-nonascii.c): Define.
44567         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44568         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44569         Remove unused attribute.
44570
44571 2010-07-20  Roland McGrath  <roland@redhat.com>
44572
44573         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44574         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44575         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44576         like LD_HWCAP_MASK can disable hwcaps.
44577
44578 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44579
44580         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44581
44582 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44583
44584         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44585         call in strcasestr.
44586         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44587         __strcasestr_sse42_nonascii.
44588         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44589         strcasestr-nonascii.c.
44590         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44591
44592 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44593
44594         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44595         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44596         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44597         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44598
44599 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44600
44601         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44602         fcntl.
44603
44604 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44605
44606         [BZ #11577]
44607         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44608         dl_signal_cerror.
44609
44610 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44611
44612         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44613         _PC_PIPE_BUF using F_GETPIPE_SZ.
44614
44615 2010-07-05  Roland McGrath  <roland@redhat.com>
44616
44617         * manual/arith.texi (Rounding Functions): Fix rint description
44618         implicit in round description.
44619
44620 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44621
44622         * elf/Makefile: Fix linking for a few tests to make recent linker
44623         happy.
44624
44625 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44626
44627         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44628         $(common-objpfx)libc_nonshared.a.
44629
44630 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44631
44632         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44633         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44634         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44635         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44636         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44637         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44638         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44639         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44654         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44655         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44656         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44657         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44658         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44659         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44660         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44661         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44662         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44663         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44664         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44665         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44680
44681 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
44682
44683         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44684         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
44685         * string/memmove.c (memmove): Renamed to ...
44686         (MEMMOVE): ...this.  Default to memmove.
44687         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44688         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44689         (END_CHK): Define.
44690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44691         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44692         mempcpy-ssse3-back memmove-ssse3-back.
44693         * sysdeps/x86_64/multiarch/bcopy.S: New file .
44694         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44695         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44696         * sysdeps/x86_64/multiarch/memcpy.S: New file.
44697         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44698         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44699         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44700         * sysdeps/x86_64/multiarch/memmove.c: New file.
44701         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44702         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44703         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44704         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44705         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44706         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44707         Define.
44708         (index_Fast_Copy_Backward): Define.
44709         (HAS_ARCH_FEATURE): Define.
44710         (HAS_FAST_REP_STRING): Define.
44711         (HAS_FAST_COPY_BACKWARD): Define.
44712
44713 2010-06-21  Andreas Schwab  <schwab@redhat.com>
44714
44715         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44716         Restore proper fallback handling.
44717
44718 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
44719
44720         [BZ #11701]
44721         * posix/group_member.c (__group_member): Correct checking loop.
44722
44723         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44724         OOM in getpwuid_r correctly.  Return error number when the caller
44725         should return, otherwise -1.
44726         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44727         call returning > 0 value.
44728         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44729
44730 2010-06-07  Andreas Schwab  <schwab@redhat.com>
44731
44732         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44733         libc_nonshared.a from targets in modules-names.
44734
44735 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
44736
44737         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44738         requires it.
44739
44740 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
44741
44742         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44743         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44744         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44745         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44746
44747 2010-06-02  Andreas Schwab  <schwab@redhat.com>
44748
44749         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44750
44751 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
44752
44753         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44754         and F_GETPIPE_SZ.
44755         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44756         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44757         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44758         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44759         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44760         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44761
44762 2010-06-14  Roland McGrath  <roland@redhat.com>
44763
44764         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44765
44766 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
44767
44768         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44769         __REDIRECT followed by __THROW.
44770         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44771         * posix/getopt.h (getopt): Likewise.
44772
44773 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44774
44775         * hurd/lookup-at.c (__file_name_lookup_at): Accept
44776         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
44777         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44778         in AT_FLAGS.
44779         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44780         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44781
44782 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
44783
44784         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44785
44786 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
44787
44788         [BZ #11640]
44789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44790         Properly check family and model.
44791
44792 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
44793
44794         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44795
44796 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
44797
44798         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44799
44800 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
44801
44802         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44803         symbol reference.
44804
44805 2010-05-19  Andreas Schwab  <schwab@redhat.com>
44806
44807         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44808         symbol reference.
44809
44810 2010-05-21  Andreas Schwab  <schwab@redhat.com>
44811
44812         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44813         and internal_recvmmsg.
44814         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44815         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44816         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44817         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44818
44819         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44820         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44821         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44822
44823 2010-05-20  Andreas Schwab  <schwab@redhat.com>
44824
44825         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44826
44827 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
44828
44829         POWER7 optimizations.
44830         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44831         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44832
44833 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
44834
44835         * version.h: Update for 2.13 development version.
44836
44837 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
44838
44839         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44840         exceptions.  Return 0.
44841
44842 2010-05-07  Roland McGrath  <roland@redhat.com>
44843
44844         * elf/ldconfig.c (main): Add a const.
44845
44846 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
44847
44848         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44849         (args_options): Add no-idn option.
44850         (ahosts_keys_int): Add idn_flags to ai_flags.
44851         (parse_option): Handle 'i' option to clear idn_flags.
44852
44853         * malloc/malloc.c (_int_free): Possible race in the most recently
44854         added check.  Only act on the data if no current modification
44855         happened.
44856
44857 See ChangeLog.17 for earlier changes.