Support expected failures in .test-result files.
[glibc.git] / ChangeLog
blob7a64c5e6af5eddd3eeb02f1f0e4523efa20693ef
1 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
3         * scripts/evaluate-test.sh: Take new argument indicating whether
4         failure is expected.
5         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6         indicating whether failure is expected.
7         * conform/Makefile (test-xfail-run-conformtest): New variable.
8         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9         level.
10         * posix/Makefile (test-xfail-annexc): New variable.
11         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15         * argp/Makefile: Include Makeconfig immediately after defining
16         subdir.
17         * assert/Makefile: Likewise.
18         * benchtests/Makefile: Likewise.
19         * catgets/Makefile: Likewise.
20         * conform/Makefile: Likewise.
21         * crypt/Makefile: Likewise.
22         * csu/Makefile: Likewise.
23         (all): Remove target.
24         * ctype/Makefile: Include Makeconfig immediately after defining
25         subdir.
26         * debug/Makefile: Likewise.
27         * dirent/Makefile: Likewise.
28         * dlfcn/Makefile: Likewise.
29         * gmon/Makefile: Likewise.
30         * gnulib/Makefile: Likewise.
31         * grp/Makefile: Likewise.
32         * gshadow/Makefile: Likewise.
33         * hesiod/Makefile: Likewise.
34         * hurd/Makefile: Likewise.
35         (all): Remove target.
36         * iconvdata/Makefile: Include Makeconfig immediately after
37         defining subdir.
38         * inet/Makefile: Likewise.
39         * intl/Makefile: Likewise.
40         * io/Makefile: Likewise.
41         * libio/Makefile: Likewise.
42         (all): Remove target.
43         * locale/Makefile: Include Makeconfig immediately after defining
44         subdir.
45         * login/Makefile: Likewise.
46         * mach/Makefile: Likewise.
47         (all): Remove target.
48         * malloc/Makefile: Include Makeconfig immediately after defining
49         subdir.
50         (all): Remove target.
51         * manual/Makefile: Include Makeconfig immediately after defining
52         subdir.
53         * math/Makefile: Likewise.
54         * misc/Makefile: Likewise.
55         * nis/Makefile: Likewise.
56         * nss/Makefile: Likewise.
57         * po/Makefile: Likewise.
58         (all): Remove target.
59         * posix/Makefile: Include Makeconfig immediately after defining
60         subdir.
61         * pwd/Makefile: Likewise.
62         * resolv/Makefile: Likewise.
63         * resource/Makefile: Likewise.
64         * rt/Makefile: Likewise.
65         * setjmp/Makefile: Likewise.
66         * shadow/Makefile: Likewise.
67         * signal/Makefile: Likewise.
68         * socket/Makefile: Likewise.
69         * soft-fp/Makefile: Likewise.
70         * stdio-common/Makefile: Likewise.
71         * stdlib/Makefile: Likewise.
72         * streams/Makefile: Likewise.
73         * string/Makefile: Likewise.
74         * sunrpc/Makefile: Likewise.
75         (all): Remove target.
76         * sysvipc/Makefile: Include Makeconfig immediately after defining
77         subdir.
78         * termios/Makefile: Likewise.
79         * time/Makefile: Likewise.
80         * timezone/Makefile: Likewise.
81         (all): Remove target.
82         * wcsmbs/Makefile: Include Makeconfig immediately after defining
83         subdir.
84         * wctype/Makefile: Likewise.
86 2014-02-26  Steve Ellcey  <sellcey@mips.com>
88         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
89         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
90         (libc_feholdexcept_setround_mips): Ditto.
91         (libc_feholdsetround): New.
92         (libc_feholdsetroundf): New.
93         (libc_feholdsetroundl): New.
94         (libc_feupdateenv_test_mips): New.
95         (libc_feupdateenv_test): New.
96         (libc_feupdateenv_testf): New.
97         (libc_feupdateenv_testl): New.
98         (libc_feresetround): New.
99         (libc_feresetroundf): New.
100         (libc_feresetroundl): New.
101         (libc_fetestexcept_mips): New.
102         (libc_fetestexcept): New.
103         (libc_fetestexceptf): New.
104         (libc_fetestexceptl): New.
105         (HAVE_RM_CTX): New.
106         (libc_feholdexcept_setround_mips_ctx): New.
107         (libc_feholdexcept_setround_ctx): New.
108         (libc_feholdexcept_setroundf_ctx): New.
109         (libc_feholdexcept_setroundl_ctx): New.
110         (libc_fesetenv_mips_ctx): New.
111         (libc_fesetenv_ctx): New.
112         (libc_fesetenv_ctxf): New.
113         (libc_fesetenv_ctxl): New.
114         (libc_feupdateenv_mips_ctx): New.
115         (libc_feupdateenv_ctx): New.
116         (libc_feupdateenvf_ctx): New.
117         (libc_feupdateenvl_ctx): New.
118         (libc_feholdsetround_mips_ctx): New.
119         (libc_feholdsetround_ctx): New.
120         (libc_feholdsetroundf_ctx): New.
121         (libc_feholdsetroundl_ctx): New.
122         (libc_feresetround_mips_ctx): New.
123         (libc_feresetround_ctx): New.
124         (libc_feresetroundf_ctx): New.
125         (libc_feresetroundl_ctx): New.
127 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
129         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
131         * manual/ipc.texi: New file.
132         * manual/Makefile (chapters): Add ipc.
133         * manual/job.texi: Add "Inter-Process Communication" to next.
134         * manual/process.texi: Add "Inter-Process Communication" to prev.
136 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
140 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
142         * malloc/malloc.c (__libc_calloc): Simplify implementation.
144         * manual/arith.texi: Fix spaces after sentences.
145         * manual/charset.texi: Likewise.
146         * manual/errno.texi: Likewise.
147         * manual/install.texi: Likewise.
148         * manual/llio.texi: Likewise.
149         * manual/locale.texi: Likewise.
150         * manual/maint.texi: Likewise.
151         * manual/math.texi: Likewise.
152         * manual/memory.texi: Likewise.
153         * manual/message.texi: Likewise.
154         * manual/probes.texi: Likewise.
155         * manual/resource.texi: Likewise.
156         * manual/signal.texi: Likewise.
157         * manual/socket.texi: Likewise.
158         * manual/stdio.texi: Likewise.
159         * manual/string.texi: Likewise.
160         * manual/time.texi: Likewise.
161         * manual/users.texi: Likewise.
163 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
165         [BZ #16632]
166         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
167         _DEFAULT_SOURCE is defined.
169 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
170             Carlos O'Donell  <carlos@redhat.com>
172         [BZ #16613]
173         * elf/dl-tls.c (_dl_count_modids): New function.
174         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
175         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
176         audit library and increment generation counter.
177         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
178         * elf/tst-audit9.c: New file.
179         * elf/tst-auditmod9a.c: New file.
180         * elf/tst-auditmod9b.c: New file.
181         * elf/Makefile: Add rules to build and run tst-audit9.
183 2014-02-25  Florian Weimer  <fweimer@redhat.com>
185         [BZ #15347]
186         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
188 2014-02-25  Will Newton  <will.newton@linaro.org>
190         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
191         (__longjmp): Restore sp and lr before restoring callee
192         saved registers.  Add longjmp and longjmp_target
193         SystemTap probe point.
194         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
195         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
196         Define to zero to match jmpbuf layout.
197         * sysdeps/arm/setjmp.S: Include stap-probe.h.
198         (__sigsetjmp): Save sp and lr before saving callee
199         saved registers.  Add setjmp SystemTap probe point.
201 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
203         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
205 2014-02-24  Andreas Schwab  <schwab@suse.de>
207         [BZ #15804]
208         * elf/pldd.c (wait_for_ptrace_stop): New function.
209         (main): Call it after attaching.
211 2014-02-22  Roland McGrath  <roland@hack.frob.com>
213         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
214         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
215         Versions files is now verboten.
216         * hurd/Versions (libc: GLIBC_2.0):
217         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
218         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
219         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
220         * mach/Versions: Likewise.
222         * csu/Versions: Remove unused %include.
223         * resolv/Versions: Likewise.
225 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
227         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
228         ($(objpfx)check-local-headers.out): Likewise.
229         ($(objpfx)begin-end-check.out): Likewise.
230         * Makerules (check-abi-%.out): Likewise.
231         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
232         ($(objpfx)test2.cat): Likewise.
233         ($(objpfx)de/libc.cat): Likewise.
234         ($(objpfx)test-gencat.out): Likewise.
235         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
236         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
237         ($(objpfx)noload-mem): Likewise.
238         ($(objpfx)tst-pathopt.out): Likewise.
239         ($(objpfx)tst-rtld-load-self.out): Likewise.
240         ($(objpfx)tst-array1-cmp.out): Likewise.
241         ($(objpfx)tst-array1-static-cmp.out): Likewise.
242         ($(objpfx)tst-array2-cmp.out): Likewise.
243         ($(objpfx)tst-array3-cmp.out): Likewise.
244         ($(objpfx)tst-array4-cmp.out): Likewise.
245         ($(objpfx)tst-array5-cmp.out): Likewise.
246         ($(objpfx)tst-array5-static-cmp.out): Likewise.
247         ($(objpfx)check-textrel.out): Likewise.
248         ($(objpfx)check-execstack.out): Likewise.
249         ($(objpfx)check-localplt.out): Likewise.
250         ($(objpfx)order2-cmp.out): Likewise.
251         ($(objpfx)tst-leaks1-mem): Likewise.
252         ($(objpfx)tst-leaks1-static-mem): Likewise.
253         ($(objpfx)tst-initorder-cmp.out): Likewise.
254         ($(objpfx)tst-initorder2-cmp.out): Likewise.
255         ($(objpfx)tst-unused-dep.out): Likewise.
256         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
257         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
258         * iconv/Makefile (test-iconvconfig): Likewise.
259         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
260         ($(objpfx)iconv-test.out): Likewise.
261         ($(objpfx)tst-tables.out): Likewise.
262         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
263         ($(objpfx)tst-gettext.out): Likewise.
264         ($(objpfx)tst-translit.out): Likewise.
265         ($(objpfx)tst-gettext2.out): Likewise.
266         ($(objpfx)tst-gettext4.out): Likewise.
267         ($(objpfx)tst-gettext6.out): Likewise.
268         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
269         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
270         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
271         ($(objpfx)tst-fopenloc-mem.out): Likewise.
272         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
273         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
274         * posix/Makefile ($(objpfx)globtest.out): Likewise.
275         ($(objpfx)wordexp-tst.out): Likewise.
276         ($(objpfx)annexc.out): Likewise.
277         ($(objpfx)tst-fnmatch-mem): Likewise.
278         ($(objpfx)bug-regex2-mem): Likewise.
279         ($(objpfx)bug-regex14-mem): Likewise.
280         ($(objpfx)bug-regex21-mem): Likewise.
281         ($(objpfx)bug-regex31-mem): Likewise.
282         ($(objpfx)tst-vfork3-mem): Likewise.
283         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
284         ($(objpfx)tst-pcre-mem): Likewise.
285         ($(objpfx)tst-boost-mem): Likewise.
286         ($(objpfx)tst-getconf.out): Likewise.
287         ($(objpfx)bug-ga2-mem): Likewise.
288         ($(objpfx)bug-glob2-mem): Likewise.
289         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
290         ($(objpfx)mtrace-tst-leaks2): Likewise.
291         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
292         ($(objpfx)tst-printf.out): Likewise.
293         ($(objpfx)tst-setvbuf1.out): Likewise.
294         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
295         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
296         ($(objpfx)tst-fmtmsg.out): Likewise.
297         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
298         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
300         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
301         * bits/sigaction.h [__USE_MISC]: Likewise.
302         * bits/waitstatus.h: Update #endif comments.
303         * ctype/ctype.h: Likewise.
304         * dirent/dirent.h: Likewise.
305         [__USE_MISC]: Remove redundant conditionals.
306         * grp/grp.h: Update #endif comments.
307         [__USE_GNU]: Remove redundant conditionals.
308         [__USE_MISC]: Likewise.
309         * inet/netinet/in.h [__USE_GNU]: Likewise.
310         * io/sys/stat.h [__USE_MISC]: Likewise.
311         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
312         * libio/bits/stdio.h: Update #endif comments.
313         [__USE_MISC]: Remove redundant conditionals.
314         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
315         * libio/stdio.h: Update #endif comments.
316         [__USE_MISC]: Remove redundant conditionals.
317         * math/bits/math-finite.h [__USE_MISC]: Likewise.
318         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
319         * math/math.h: Update #else and #endif comments.
320         [__USE_MISC]: Remove redundant conditionals.
321         * misc/sys/uio.h: Update #endif comments.
322         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
323         * posix/glob.h [__USE_MISC]: Likewise.
324         * posix/sys/types.h: Update #endif comments.
325         [__USE_MISC]: Remove redundant conditionals.
326         * posix/sys/wait.h: Update #endif comments.
327         [__USE_MISC]: Remove redundant conditionals.
328         * posix/unistd.h: Update #endif comments.
329         [__USE_MISC]: Remove redundant conditionals.
330         * pwd/pwd.h [__USE_GNU]: Likewise.
331         [__USE_MISC]: Likewise.
332         * resolv/netdb.h [__USE_GNU]: Likewise.
333         * signal/signal.h: Update #endif comments.
334         [__USE_MISC]: Remove redundant conditionals.
335         * stdlib/stdlib.h: Update #else and #endif comments.
336         [__USE_MISC]: Remove redundant conditionals.
337         [__USE_GNU]: Likewise.
338         * string/bits/string2.h [__USE_MISC]: Likewise.
339         * string/string.h: Update #endif comments.
340         [__USE_MISC]: Remove redundant conditionals.
341         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
342         Likewise.
343         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
344         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
345         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
346         Likewise.
347         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
348         Likewise.
349         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
350         comments.
351         [__USE_MISC]: Remove redundant conditionals.
352         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
353         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
354         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
355         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
356         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
357         Likewise.
358         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
359         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
360         Likewise.
361         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
362         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
363         Likewise.
364         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
365         Likewise.
366         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
367         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
368         Likewise.
369         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
370         Likewise.
371         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
372         * sysdeps/x86/bits/string.h: Update #endif comments.
373         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
374         conditionals.
375         * time/sys/time.h: Update #endif comments.
376         * time/time.h: Likewise.
377         [__USE_MISC]: Remove redundant conditionals.
379 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
381         [BZ #16600]
382         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
384 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
386         * Versions.def (librt): Add GLIBC_2.17.
388 2014-02-21  Adam Conrad  <adconrad@0c3.net>
390         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
391         synonym for _SYS_AUXV_H to allow direct inclusion.
392         * sysdeps/sparc/bits/hwcap.h: Likewise.
393         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
394         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
395         * sysdeps/sparc/sysdep.h: Likewise.
397 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
399         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
401 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
403         * benchtests/bench-strrchr.c: Print length instead of position.
405 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
407         [BZ #16611]
408         * sysdeps/unix/sysv/linux/kernel-features.h
409         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
410         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
411         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
412         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
413         Likewise.
414         [__i386__ || __powerpc__ || __sh__ || __sparc__]
415         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
416         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
417         (__ASSUME_SENDMMSG): Define instead of using previous
418         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
419         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
420         (__ASSUME_SENDMMSG_SYSCALL): Define.
421         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
422         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
423         Likewise.
424         * sysdeps/unix/sysv/linux/arm/kernel-features.h
425         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
426         Likewise.
427         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
428         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
429         Likewise.
430         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
431         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
432         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
433         [__ASSUME_SENDMMSG]: Change conditionals to
434         [__ASSUME_SENDMMSG_SOCKETCALL].
435         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
436         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
437         Define.
438         * sysdeps/unix/sysv/linux/mips/kernel-features.h
439         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
440         Likewise.
441         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
442         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
443         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
444         [!__ASSUME_SENDMMSG]: Change conditional to
445         [!__ASSUME_SENDMMSG_SOCKETCALL].
446         * sysdeps/unix/sysv/linux/tile/kernel-features.h
447         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
448         Define.
450         [BZ #16610]
451         * sysdeps/unix/sysv/linux/kernel-features.h
452         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
453         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
454         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
455         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
456         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
457         [__i386__ || __sparc__]
458         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
459         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
460         (__ASSUME_RECVMMSG): Define instead of using previous
461         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
462         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
463         (__ASSUME_RECVMMSG_SYSCALL): Define.
464         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
465         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
466         Likewise.
467         * sysdeps/unix/sysv/linux/arm/kernel-features.h
468         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
469         Likewise.
470         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
471         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
472         Likewise.
473         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
474         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
475         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
476         [__ASSUME_RECVMMSG]: Change condition to
477         [__ASSUME_RECVMMSG_SOCKETCALL].
478         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
479         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
480         Define.
481         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
482         * sysdeps/unix/sysv/linux/mips/kernel-features.h
483         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
484         Likewise.
485         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
486         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
487         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
488         [!__ASSUME_RECVMMSG]: Change condition to
489         [!__ASSUME_RECVMMSG_SOCKETCALL].
490         * sysdeps/unix/sysv/linux/tile/kernel-features.h
491         (__ASSUME_RECVMMSG_SYSCALL): Define.
493         [BZ #16609]
494         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
495         __powerpc__ || __s390__ || __sh__ || __sparc__]
496         (__ASSUME_SOCKETCALL): Define.
497         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
498         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
499         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
500         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
501         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
502         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
503         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
504         (__ASSUME_ACCEPT4): Define instead of using previous
505         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
506         __powerpc__ || __sparc__ || __s390__)] condition.
507         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
508         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
509         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
510         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
511         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
512         [!__ASSUME_ACCEPT4]: Change condition to
513         [!__ASSUME_ACCEPT4_SOCKETCALL].
514         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
515         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
516         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
517         * sysdeps/unix/sysv/linux/arm/kernel-features.h
518         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
519         __ASSUME_ACCEPT4_SYSCALL.
520         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
521         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
522         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
523         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
524         __ASSUME_ACCEPT4_SYSCALL.
525         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
526         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
527         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
528         [__ASSUME_ACCEPT4]: Change condition to
529         [__ASSUME_ACCEPT4_SOCKETCALL].
530         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
531         (__ASSUME_SOCKETCALL): Define.
532         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
533         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
534         (__ASSUME_SOCKETCALL): Define.
535         (__ASSUME_ACCEPT4): Remove.
536         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
537         Define.
538         * sysdeps/unix/sysv/linux/mips/kernel-features.h
539         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
540         Likewise.
541         * sysdeps/unix/sysv/linux/tile/kernel-features.h
542         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
544         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
545         macro.
546         (HWCAP_ARM_LPAE): Likewise.
547         (HWCAP_ARM_EVTSTRM): Likewise.
548         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
549         Add vpfd32, lpae and evtstrm.
550         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
551         Increase to 22.
553 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
555         * math/auto-libm-test-in: Add tests of clog10.
556         * math/auto-libm-test-out: Regenerated.
557         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
558         * sysdeps/i386/fpu/libm-test-ulps: Update.
559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
561 2014-02-18  Andreas Schwab  <schwab@suse.de>
563         [BZ #16574]
564         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
565         Store non-zero if the second buffer was newly allocated.
566         (send_dg): Likewise.
567         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
568         to send_vc and send_dg.
569         (res_nsend): Pass NULL for ansp2_malloced.
570         * resolv/res_query.c (__libc_res_nquery): Add parameter
571         answerp2_malloced and pass it down to __libc_res_nsend.
572         (res_nquery): Pass additional NULL to __libc_res_nquery.
573         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
574         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
575         second answer buffer if answerp2_malloced was set.
576         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
577         (__libc_res_nquerydomain): Add parameter
578         answerp2_malloced and pass it down to __libc_res_nquery.
579         (res_nquerydomain): Pass additional NULL to
580         __libc_res_nquerydomain.
581         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
582         additional NULL to __libc_res_nsend and __libc_res_nquery.
583         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
584         additional NULL to __libc_res_nsearch.
585         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
586         parameter of __libc_res_nsearch to check for separately allocated
587         second buffer.
588         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
589         __libc_res_nquery.
590         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
591         additional NULL to __libc_res_nquery.
592         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
593         __libc_res_nsearch.
594         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
595         * include/resolv.h: Update prototypes of __libc_res_nquery,
596         __libc_res_nsearch, __libc_res_nsend.
598 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
600         * math/auto-libm-test-in: Add tests of fma.
601         * math/auto-libm-test-out: Regenerated.
602         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
603         (fma_towardzero_test_data): Likewise.
604         (fma_downward_test_data): Likewise.
605         (fma_upward_test_data): Likewise.
606         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
607         mpc_mode.
608         (rounding_modes): Add values for new field.
609         (func_calc_method): Add value mpfr_fff_f.
610         (func_calc_desc): Add mpfr_fff_f union field.
611         (test_function): Add field exact_args.
612         (FUNC): Add macro argument EXACT_ARGS.
613         (FUNC_mpfr_f_f): Update call to FUNC.
614         (FUNC_mpfr_f_f): Likewise.
615         (FUNC_mpfr_ff_f): Likewise.
616         (FUNC_mpfr_if_f): Likewise.
617         (FUNC_mpc_c_f): Likewise.
618         (FUNC_mpc_c_c): Likewise.
619         (test_functions): Add fma.  Update calls to FUNC.
620         (handle_input_arg): Add argument exact_args.
621         (add_test): Update call to handle_input_arg.
622         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
623         (output_for_one_input_case): Update call to calc_generic_results.
624         Recalculate exact zero results in each rounding mode.
626         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
627         non-negative before setting low bit.
628         * math/auto-libm-test-in: Mark one asin test possibly having
629         spurious underflow.
630         * math/auto-libm-test-out: Regenerated.
631         * sysdeps/i386/fpu/libm-test-ulps: Update.
632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
634 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
636         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
637         * sysdeps/unix/sysv/linux/microblaze: Move directory from
638           ports/sysdeps/unix/sysv/linux/microblaze.
639         * README: Add missing listing for microblaze*-*-linux-gnu.
641 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
643         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
644         * sysdeps/unix/sysv/linux/ia64: Move directory from
645         ports/sysdeps/unix/sysv/linux/ia64.
646         * README: Update listing for ia64-*-linux-gnu.
648 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
649             Joseph Myers  <joseph@codesourcery.com>
651         * Makeconfig (test-name): New variable.
652         (evaluate-test): Likewise.
653         * Makerules (do-test-clean): Remove .test-result files.
654         (common-mostlyclean): Likewise.
655         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
656         * scripts/evaluate-test.sh: New file.
658 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
660         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
661         separate $(objpfx)tst-fopenloc-cmp.out and
662         $(objpfx)tst-fopenloc-mem.out targets.
663         (tests): Update dependencies.
664         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
665         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
666         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
667         (tst-rxspencer-no-utf8-ARGS): New variable.
668         (tst-rxspencer-no-utf8-ENV): Likewise.
669         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
670         instead of $(objpfx)tst-rxspencer-mem.
671         ($(objpfx)tst-rxspencer-mem): Change target to
672         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
673         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
674         * posix/tst-rxspencer-no-utf8.c: New file.
676         * elf/Makefile ($(objpfx)order.out): Remove rule.
677         [$(run-built-tests) = yes] (tests): Depend on
678         $(objpfx)order-cmp.out.
679         ($(objpfx)order-cmp.out): New rule.
680         [$(run-built-tests) = yes] (tests): Depend on
681         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
682         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
683         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
684         $(objpfx)tst-array5-static-cmp.out.
685         ($(objpfx)tst-array1.out): Remove rule.
686         ($(objpfx)tst-array1-cmp.out): New rule.
687         ($(objpfx)tst-array1-static.out): Remove rule.
688         ($(objpfx)tst-array1-static-cmp.out): New rule.
689         ($(objpfx)tst-array2.out): Remove rule.
690         ($(objpfx)tst-array2-cmp.out): New rule.
691         ($(objpfx)tst-array3.out): Remove rule.
692         ($(objpfx)tst-array3-cmp.out): New rule.
693         ($(objpfx)tst-array4.out): Remove rule.
694         ($(objpfx)tst-array4-cmp.out): New rule.
695         ($(objpfx)tst-array5.out): Remove rule.
696         ($(objpfx)tst-array5-cmp.out): New rule.
697         ($(objpfx)tst-array5-static.out): Remove rule.
698         ($(objpfx)tst-array5-static-cmp.out): New rule.
699         [$(run-built-tests) = yes] (tests): Depend on
700         $(objpfx)order2-cmp.out.
701         ($(objpfx)order2.out): Remove rule.
702         ($(objpfx)order2-cmp.out): New rule.
703         ($(objpfx)tst-initorder.out): Remove rule.
704         [$(run-built-tests) = yes] (tests): Depend on
705         $(objpfx)tst-initorder-cmp.out.
706         ($(objpfx)tst-initorder-cmp.out): New rule.
707         ($(objpfx)tst-initorder2.out): Remove rule.
708         [$(run-built-tests) = yes] (tests): Depend on
709         $(objpfx)tst-initorder2-cmp.out.
710         ($(objpfx)tst-initorder2-cmp.out): New rule.
711         [$(run-built-tests) = yes] (tests): Depend on
712         $(objpfx)tst-unused-dep-cmp.out.
713         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
714         ($(objpfx)tst-unused-dep-cmp.out): New rule.
715         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
716         on $(objpfx)tst-setvbuf1-cmp.out.
717         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
718         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
719         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
720         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
721         ($(objpfx)tst-svc.out): Remove rule.
722         ($(objpfx)tst-svc-cmp.out): New rule.
724 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
726         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
727         * ctype/ctype.h [__USE_MISC]: Likewise.
728         * dirent/dirent.h [__USE_MISC]: Likewise.
729         * grp/grp.h [__USE_MISC]: Likewise.
730         * io/fcntl.h [__USE_MISC]: Likewise.
731         * io/sys/stat.h [__USE_MISC]: Likewise.
732         * libio/stdio.h [__USE_MISC]: Likewise.
733         * posix/unistd.h [__USE_MISC]: Likewise.
734         * pwd/pwd.h [__USE_MISC]: Likewise.
735         * stdlib.h [__USE_MISC]: Likewise.
736         * string/bits/string2.h [__USE_MISC]: Likewise.
737         * string/string.h [__USE_MISC]: Likewise.
738         * time/time.h [__USE_MISC]: Likewise.
740 2014-02-13  Andreas Schwab  <schwab@suse.de>
742         [BZ #16574]
743         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
744         second answer buffer if it was separately allocated.
746 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
748         * sysdeps/mips/math-tests.h: Include <features.h>.
749         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
750         (ROUNDING_TESTS_long_double): Do not define.
751         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
752         (EXCEPTION_TESTS_long_double): Likewise.
753         * sysdeps/mips/mips64/libm-test-ulps: Update.
755         * include/features.h (__USE_BSD): Remove macro definitions.
756         (__USE_SVID): Likewise.
757         (_BSD_SOURCE): Likewise.
758         (_SVID_SOURCE): Likewise.
759         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
760         from definition of _DEFAULT_SOURCE.
761         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
762         [_DEFAULT_SOURCE].
763         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
764         * bits/mman.h [__USE_BSD]: Likewise.
765         * bits/termios.h [__USE_BSD]: Likewise.
766         * bits/waitstatus.h [__USE_BSD]: Likewise.
767         * ctype/ctype.h [__USE_SVID]: Likewise.
768         * dirent/dirent.h [__USE_BSD]: Likewise.
769         * grp/grp.h [__USE_SVID]: Likewise.
770         [__USE_BSD]: Likewise.
771         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
772         * io/fcntl.h [__USE_BSD]: Likewise.
773         * io/ftw.h [__USE_BSD]: Likewise.
774         * io/sys/stat.h [__USE_BSD]: Likewise.
775         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
776         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
777         * libio/stdio.h [__USE_SVID]: Likewise.
778         [__USE_BSD]: Likewise.
779         * math/math.h [__USE_SVID]: Likewise.
780         [__USE_BSD]: Likewise.
781         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
782         * misc/bits/syslog.h [__USE_BSD]: Likewise.
783         * misc/search.h [__USE_SVID]: Likewise.
784         * misc/sys/mman.h [__USE_BSD]: Likewise.
785         * misc/sys/syslog.h [__USE_BSD]: Likewise.
786         * misc/sys/uio.h [__USE_BSD]: Likewise.
787         * posix/bits/unistd.h [__USE_BSD]: Likewise.
788         * posix/glob.h [__USE_BSD]: Likewise.
789         * posix/regex.h [__USE_BSD]: Likewise.
790         * posix/sys/types.h [__USE_BSD]: Likewise.
791         [__USE_SVID]: Likewise.
792         * posix/sys/utsname.h [__USE_SVID]: Likewise.
793         * posix/sys/wait.h [__USE_BSD]: Likewise.
794         [__USE_SVID]: Likewise.
795         * posix/unistd.h [__USE_BSD]: Likewise.
796         [__USE_SVID]: Likewise.
797         * pwd/pwd.h [__USE_SVID]: Likewise.
798         * resolv/netdb.h [__USE_BSD]: Likewise.
799         * setjmp/setjmp.h [__USE_BSD]: Likewise.
800         * signal/signal.h [__USE_BSD]: Likewise.
801         [__USE_SVID]: Likewise.
802         * socket/sys/socket.h [__USE_BSD]: Likewise.
803         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
804         * stdlib/stdlib.h [__USE_BSD]: Likewise.
805         [__USE_SVID]: Likewise.
806         * string/bits/string2.h [__USE_BSD]: Likewise.
807         [__USE_SVID]: Likewise.
808         * string/bits/string3.h [__USE_BSD]: Likewise.
809         * string/endian.h [__USE_BSD]: Likewise.
810         * string/string.h [__USE_SVID]: Likewise.
811         [__USE_BSD]: Likewise.
812         * string/strings.h [__USE_BSD]: Likewise.
813         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
814         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
815         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
816         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
817         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
818         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
819         Likewise.
820         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
821         Likewise.
822         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
823         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
824         Likewise.
825         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
826         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
827         Likewise.
828         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
829         Likewise.
830         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
831         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
832         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
833         Likewise.
834         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
835         Likewise.
836         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
837         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
838         * termios/termios.h [__USE_BSD]: Likewise.
839         * time/sys/time.h [__USE_BSD]: Likewise.
840         * time/time.h [__USE_BSD]: Likewise.
841         [__USE_SVID]: Likewise.
843         * Makefile (subdir_targets): Remove subdir_lint.out.
845         * stdio-common/Makefile (do-tst-unbputc): Remove target.
846         (do-tst-printf): Likewise.
847         (tests): Depend directly on $(objpfx)tst-unbputc.out and
848         $(objpfx)tst-printf.out.
850         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
852         * Makerules (check-abi-%): Change target to
853         $(objpfx)check-abi-%.out.
854         (check-abi target): Update dependencies.
855         (check-abi-pattern variable): Redirect output of diff to $@.
856         (check-abi variable): Likewise.
857         * elf/Makefile (check-abi): Update dependencies.
859         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
860         unused.
861         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
862         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
863         subnormal range.
864         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
865         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
866         value has largest subnormal exponent.
867         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
868         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
869         * sysdeps/aarch64/soft-fp/sfp-machine.h
870         (_FP_TININESS_AFTER_ROUNDING): New macro.
871         * sysdeps/alpha/soft-fp/sfp-machine.h
872         (_FP_TININESS_AFTER_ROUNDING): Likewise.
873         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
874         Likewise.
875         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
876         (_FP_TININESS_AFTER_ROUNDING): Likewise.
877         * sysdeps/mips/soft-fp/sfp-machine.h
878         (_FP_TININESS_AFTER_ROUNDING): Likewise.
879         * sysdeps/powerpc/soft-fp/sfp-machine.h
880         (_FP_TININESS_AFTER_ROUNDING): Likewise.
881         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
882         Likewise.
883         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
884         (_FP_TININESS_AFTER_ROUNDING): Likewise.
885         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
886         (_FP_TININESS_AFTER_ROUNDING): Likewise.
887         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
888         Likewise.
890 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
892         [BZ #16545]
893         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
894         model 1.
896 2014-02-12  Richard Henderson  <rth@redhat.com>
898         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
899         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
900         * sysdeps/unix/sysv/linux/alpha: Move directory from
901         ports/sysdeps/unix/sysv/linux/alpha.
902         * README: Update listing for alpha-*-linux-gnu.
904 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
906         * include/features.h: Update comment documenting feature test
907         macros.
908         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
909         _DEFAULT_SOURCE.
910         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
911         (_SVID_SOURCE): Likewise.
912         (_DEFAULT_SOURCE): Update description of default features.
913         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
914         with _GNU_SOURCE.
915         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
916         (S_ISVTX): Likewise.
917         * manual/math.texi (Mathematical Constants): Likewise.
918         * manual/signal.texi (Interrupted Primitives): Likewise.
919         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
920         * math/test-matherr.c (_SVID_SOURCE): Do not define.
921         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
922         Don't refer to _SVID_SOURCE in warning text.
924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
926         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
927         already defined.
928         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
929         * sysdeps/mips/dl-lookup.c: Remove.
930         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
932 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
934         [BZ #16447]
935         * math/auto-libm-test-in: Add testcase for expl.
936         * math/auto-libm-test-out: Regenerate.
937         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
938         calculation of unsafe.
939         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
941 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
943         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
944         * sysdeps/unix/sysv/linux/aarch64: Move directory from
945         ports/sysdeps/unix/sysv/linux/aarch64.
946         * README: Update listing for aarch64*-*-linux-gnu.
948 2014-02-11  Will Newton  <will.newton@linaro.org>
950         * manual/probes.texi (Mathematical Function Probes): Use
951         "triggered" instead of "hit".
953 2014-02-11  Will Newton  <will.newton@linaro.org>
955         * manual/probes.texi (Internal Probes): Add documentation
956         of setjmp, longjmp and longjmp_target probes.
958 2014-02-11  Will Newton  <will.newton@linaro.org>
960         * include/stap-probe.h: Add comment about probe argument
961         format.
963 2014-02-11  Will Newton  <will.newton@linaro.org>
965         * malloc/mtrace.c (attribute_hidden): Remove unused macro
966         definition.  (tr_where, tr_freehook, tr_mallochook,
967         tr_reallochook, tr_memalignhook): Use ANSI protoype.
969 2014-02-11  David S. Miller  <davem@davemloft.net>
971         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
972         processing int_tests.
974 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
976         * sysdeps/mips: Move directory from ports/sysdeps/mips.
977         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
978         * sysdeps/unix/sysv/linux/mips: Move directory from
979         ports/sysdeps/unix/sysv/linux/mips.
980         * README: Update listing for mips-*-linux-gnu and
981         mips64-*-linux-gnu.
983 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
985         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
986         * sysdeps/unix/sysv/linux/m68k: Move directory from
987         ports/sysdeps/unix/sysv/linux/m68k.
988         * README: Update listing for m68k-*-linux-gnu.
990 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
992         * sysdeps/tile: Move directory from ports/sysdeps/tile.
993         * sysdeps/unix/sysv/linux/generic: Move directory from
994         ports/sysdeps/unix/sysv/linux/generic.
995         * sysdeps/unix/sysv/linux/tile: Move directory from
996         ports/sysdeps/unix/sysv/linux/tile.
997         * README: Update listing for tile*-*-linux-gnu.
999 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1001         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1002         * benchtests/bench-memmem.c (simple_memmem): Likewise.
1003         * catgets/open_catalog.c (__open_catalog): Likewise.
1004         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1005         * debug/confstr_chk.c: Likewise.
1006         * debug/fread_chk.c (__fread_chk): Likewise.
1007         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1008         * debug/getgroups_chk.c: Likewise.
1009         * debug/mbsnrtowcs_chk.c: Likewise.
1010         * debug/mbsrtowcs_chk.c: Likewise.
1011         * debug/mbstowcs_chk.c: Likewise.
1012         * debug/memcpy_chk.c: Likewise.
1013         * debug/memmove_chk.c: Likewise.
1014         * debug/mempcpy_chk.c: Likewise.
1015         * debug/memset_chk.c: Likewise.
1016         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1017         * debug/strcat_chk.c (__strcat_chk): Likewise.
1018         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1019         * debug/strncat_chk.c (__strncat_chk): Likewise.
1020         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1021         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1022         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1023         * debug/wcpncpy_chk.c: Likewise.
1024         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1025         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1026         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1027         * debug/wcsncpy_chk.c: Likewise.
1028         * debug/wcsnrtombs_chk.c: Likewise.
1029         * debug/wcsrtombs_chk.c: Likewise.
1030         * debug/wcstombs_chk.c: Likewise.
1031         * debug/wmemcpy_chk.c: Likewise.
1032         * debug/wmemmove_chk.c: Likewise.
1033         * debug/wmempcpy_chk.c: Likewise.
1034         * debug/wmemset_chk.c: Likewise.
1035         * dirent/scandirat.c (SCANDIRAT): Likewise.
1036         * dlfcn/dladdr1.c (dladdr1): Likewise.
1037         * dlfcn/dladdr.c (dladdr): Likewise.
1038         * dlfcn/dlclose.c (dlclose_doit): Likewise.
1039         * dlfcn/dlerror.c (__dlerror): Likewise.
1040         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1041         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1042         * dlfcn/dlopen.c (dlopen_doit): Likewise.
1043         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1044         * dlfcn/dlsym.c (dlsym_doit): Likewise.
1045         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1046         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1047         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1048         Likewise.
1049         * elf/dl-conflict.c: Likewise.
1050         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1051         * elf/dl-dst.h: Likewise.
1052         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1053         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1054         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1055         * elf/dl-init.c (call_init, _dl_init): Likewise.
1056         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1057         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1058         _dl_map_object_from_fd, open_verify, open_path,
1059         _dl_map_object): Likewise.
1060         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1061         Likewise.
1062         * elf/dl-minimal.c (__libc_memalign): Likewise.
1063         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1064         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1065         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1066         * elf/dl-sym.c (do_sym): Likewise.
1067         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1068         _dl_tls_get_addr_soft): Likewise.
1069         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1070         * elf/dl-writev.h (_dl_writev): Likewise.
1071         * elf/ldconfig.c (search_dir): Likewise.
1072         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1073         dl_main): Likewise.
1074         * elf/setup-vdso.h (setup_vdso): Likewise.
1075         * grp/compat-initgroups.c (compat_call): Likewise.
1076         * grp/fgetgrent.c (fgetgrent): Likewise.
1077         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1078         * grp/putgrent.c (putgrent): Likewise.
1079         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1080         Likewise.
1081         * hurd/hurdinit.c: Likewise.
1082         * iconvdata/8bit-gap.c (struct): Likewise.
1083         * iconvdata/ansi_x3.110.c : Likewise.
1084         * iconvdata/big5.c : Likewise.
1085         * iconvdata/big5hkscs.c : Likewise.
1086         * iconvdata/cp1255.c: Likewise.
1087         * iconvdata/cp1258.c : Likewise.
1088         * iconvdata/cp932.c : Likewise.
1089         * iconvdata/euc-cn.c: Likewise.
1090         * iconvdata/euc-jisx0213.c : Likewise.
1091         * iconvdata/euc-jp.c: Likewise.
1092         * iconvdata/euc-jp-ms.c : Likewise.
1093         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1094         * iconvdata/gb18030.c : Likewise.
1095         * iconvdata/gbbig5.c (const): Likewise.
1096         * iconvdata/gbgbk.c: Likewise.
1097         * iconvdata/gbk.c : Likewise.
1098         * iconvdata/ibm1364.c : Likewise.
1099         * iconvdata/ibm930.c : Likewise.
1100         * iconvdata/ibm932.c: Likewise.
1101         * iconvdata/ibm933.c : Likewise.
1102         * iconvdata/ibm935.c : Likewise.
1103         * iconvdata/ibm937.c : Likewise.
1104         * iconvdata/ibm939.c : Likewise.
1105         * iconvdata/ibm943.c: Likewise.
1106         * iconvdata/iso_11548-1.c: Likewise.
1107         * iconvdata/iso-2022-cn.c : Likewise.
1108         * iconvdata/iso-2022-cn-ext.c : Likewise.
1109         * iconvdata/iso-2022-jp-3.c: Likewise.
1110         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1111         * iconvdata/iso-2022-kr.c : Likewise.
1112         * iconvdata/iso646.c (gconv_end): Likewise.
1113         * iconvdata/iso_6937-2.c : Likewise.
1114         * iconvdata/iso_6937.c : Likewise.
1115         * iconvdata/iso8859-1.c: Likewise.
1116         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1117         * iconvdata/shift_jisx0213.c : Likewise.
1118         * iconvdata/sjis.c : Likewise.
1119         * iconvdata/t.61.c : Likewise.
1120         * iconvdata/tcvn5712-1.c : Likewise.
1121         * iconvdata/tscii.c: Likewise.
1122         * iconvdata/uhc.c : Likewise.
1123         * iconvdata/unicode.c (gconv_end): Likewise.
1124         * iconvdata/utf-16.c (gconv_end): Likewise.
1125         * iconvdata/utf-32.c (gconv_end): Likewise.
1126         * iconvdata/utf-7.c (base64): Likewise.
1127         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1128         * iconv/gconv_close.c (__gconv_close): Likewise.
1129         * iconv/gconv_open.c (__gconv_open): Likewise.
1130         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1131         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1132         internal_ucs4le_loop_single, ucs4le_internal_loop,
1133         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1134         * iconv/iconv.c (iconv): Likewise.
1135         * iconv/iconv_close.c: Likewise.
1136         * iconv/loop.c (SINGLE): Likewise.
1137         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1138         * include/atomic.h: Likewise.
1139         * inet/inet6_option.c (option_alloc): Likewise.
1140         * intl/bindtextdom.c (set_binding_values): Likewise.
1141         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1142         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1143         * intl/localealias.c (read_alias_file): Likewise.
1144         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1145         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1146         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1147         * libio/fmemopen.c (fmemopen): Likewise.
1148         * libio/iofgets.c (_IO_fgets): Likewise.
1149         * libio/iofgets_u.c (fgets_unlocked): Likewise.
1150         * libio/iofgetws.c (fgetws): Likewise.
1151         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1152         * libio/iogetdelim.c (_IO_getdelim): Likewise.
1153         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1154         adjust_wide_data, _IO_wfile_seekoff): Likewise.
1155         * locale/findlocale.c (_nl_find_locale): Likewise.
1156         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1157         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1158         Likewise.
1159         * locale/setlocale.c (setlocale): Likewise.
1160         * login/programs/pt_chown.c (main): Likewise.
1161         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1162         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1163         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1164         mmap, mmap64, mremap, munmap): Likewise.
1165         * math/e_exp2l.c: Likewise.
1166         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1167         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1168         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1169         * math/s_catan.c (__catan): Likewise.
1170         * math/s_catanf.c (__catanf): Likewise.
1171         * math/s_catanh.c (__catanh): Likewise.
1172         * math/s_catanhf.c (__catanhf): Likewise.
1173         * math/s_catanhl.c (__catanhl): Likewise.
1174         * math/s_catanl.c (__catanl): Likewise.
1175         * math/s_ccosh.c (__ccosh): Likewise.
1176         * math/s_ccoshf.c (__ccoshf): Likewise.
1177         * math/s_ccoshl.c (__ccoshl): Likewise.
1178         * math/s_cexp.c (__cexp): Likewise.
1179         * math/s_cexpf.c (__cexpf): Likewise.
1180         * math/s_cexpl.c (__cexpl): Likewise.
1181         * math/s_clog10.c (__clog10): Likewise.
1182         * math/s_clog10f.c (__clog10f): Likewise.
1183         * math/s_clog10l.c (__clog10l): Likewise.
1184         * math/s_clog.c (__clog): Likewise.
1185         * math/s_clogf.c (__clogf): Likewise.
1186         * math/s_clogl.c (__clogl): Likewise.
1187         * math/s_csin.c (__csin): Likewise.
1188         * math/s_csinf.c (__csinf): Likewise.
1189         * math/s_csinh.c (__csinh): Likewise.
1190         * math/s_csinhf.c (__csinhf): Likewise.
1191         * math/s_csinhl.c (__csinhl): Likewise.
1192         * math/s_csinl.c (__csinl): Likewise.
1193         * math/s_csqrt.c (__csqrt): Likewise.
1194         * math/s_csqrtf.c (__csqrtf): Likewise.
1195         * math/s_csqrtl.c (__csqrtl): Likewise.
1196         * math/s_ctan.c (__ctan): Likewise.
1197         * math/s_ctanf.c (__ctanf): Likewise.
1198         * math/s_ctanh.c (__ctanh): Likewise.
1199         * math/s_ctanhf.c (__ctanhf): Likewise.
1200         * math/s_ctanhl.c (__ctanhl): Likewise.
1201         * math/s_ctanl.c (__ctanl): Likewise.
1202         * math/w_pow.c: Likewise.
1203         * math/w_powf.c: Likewise.
1204         * math/w_powl.c: Likewise.
1205         * math/w_scalb.c (sysv_scalb): Likewise.
1206         * math/w_scalbf.c (sysv_scalbf): Likewise.
1207         * math/w_scalbl.c (sysv_scalbl): Likewise.
1208         * misc/error.c (error_tail): Likewise.
1209         * misc/pselect.c (__pselect): Likewise.
1210         * nis/nis_callback.c (__nis_create_callback): Likewise.
1211         * nis/nis_call.c (__nisfind_server): Likewise.
1212         * nis/nis_creategroup.c (nis_creategroup): Likewise.
1213         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1214         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1215         * nis/nis_getservlist.c (nis_getservlist): Likewise.
1216         * nis/nis_lookup.c (nis_lookup): Likewise.
1217         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1218         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1219         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1220         * nis/nis_xdr.c (xdr_endpoint): Likewise.
1221         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1222         internal_getgrgid_r): Likewise.
1223         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1224         Likewise.
1225         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1226         internal_getpwuid_r): Likewise.
1227         * nis/nss_compat/compat-spwd.c (getspent_next_file,
1228         internal_getspnam_r): Likewise.
1229         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1230         _nss_nis_getaliasbyname_r): Likewise.
1231         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1232         _nss_nis_getntohost_r): Likewise.
1233         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1234         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1235         Likewise.
1236         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1237         internal_nis_gethostent_r, internal_gethostbyname2_r,
1238         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1239         _nss_nis_gethostbyname4_r): Likewise.
1240         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1241         initgroups_netid): Likewise.
1242         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1243         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1244         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1245         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1246         _nss_nis_getprotobynumber_r): Likewise.
1247         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1248         _nss_nis_getsecretkey): Likewise.
1249         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1250         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1251         Likewise.
1252         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1253         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1254         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1255         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1256         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1257         _nss_nis_getspnam_r): Likewise.
1258         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1259         Likewise.
1260         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1261         _nss_nisplus_getntohost_r): Likewise.
1262         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1263         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1264         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1265         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1266         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1267         Likewise.
1268         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1269         _nss_nisplus_getnetbyaddr_r): Likewise.
1270         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1271         _nss_nisplus_getprotobynumber_r): Likewise.
1272         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1273         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1274         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1275         Likewise.
1276         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1277         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1278         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1279         _nss_nisplus_getspnam_r): Likewise.
1280         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1281         * nscd/aicache.c (addhstaiX): Likewise.
1282         * nscd/cache.c (cache_search, prune_cache): Likewise.
1283         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1284         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1285         * nscd/grpcache.c (addgrbyX): Likewise.
1286         * nscd/hstcache.c (addhstbyX): Likewise.
1287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1288         * nscd/mem.c (gc, mempool_alloc): Likewise.
1289         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1290         Likewise.
1291         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1292         Likewise.
1293         * nscd/nscd_getai.c (__nscd_getai): Likewise.
1294         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1295         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1296         Likewise.
1297         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1298         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1299         * nscd/nscd_helper.c (__readvall, open_socket,
1300         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1301         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1302         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1303         * nscd/pwdcache.c (addpwbyX): Likewise.
1304         * nscd/selinux.c (preserve_capabilities): Likewise.
1305         * nscd/servicescache.c (addservbyX): Likewise.
1306         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1307         * posix/fnmatch.c (fnmatch): Likewise.
1308         * posix/getopt.c (_getopt_internal_r): Likewise.
1309         * posix/glob.c (glob, glob_in_dir): Likewise.
1310         * posix/wordexp.c (exec_comm_child): Likewise.
1311         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1312         gaih_getanswer_slice): Likewise.
1313         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1314         * resolv/res_init.c: Likewise.
1315         * resolv/res_mkquery.c (res_nmkquery): Likewise.
1316         * resolv/res_query.c (__libc_res_nquery): Likewise.
1317         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1318         Likewise.
1319         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1320         * stdio-common/perror.c (perror): Likewise.
1321         * stdio-common/printf_fp.c (___printf_fp): Likewise.
1322         * stdio-common/tmpnam.c (tmpnam): Likewise.
1323         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1324         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1325         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1326         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1327         * stdlib/putenv.c (putenv): Likewise.
1328         * stdlib/setenv.c (__add_to_environ): Likewise.
1329         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1330         * stdlib/strtol_l.c (INTERNAL): Likewise.
1331         * string/memmem.c (memmem): Likewise.
1332         * string/strerror.c (strerror): Likewise.
1333         * string/strnlen.c (__strnlen): Likewise.
1334         * string/test-memmem.c (simple_memmem): Likewise.
1335         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1336         * sunrpc/pm_getport.c (__get_socket): Likewise.
1337         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1338         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1339         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1340         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1341         Likewise.
1342         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1343         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1344         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1345         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1346         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1347         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1348         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1349         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1350         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1351         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1352         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1353         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1355         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1356         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1357         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1358         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1359         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1360         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1361         Likewise.
1362         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1363         Likewise.
1364         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1365         Likewise.
1366         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1367         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1368         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1369         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1370         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1371         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1372         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1373         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1374         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1375         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1376         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1377         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1378         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1379         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1381         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1382         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1383         Likewise.
1384         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1385         Likewise.
1386         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1387         Likewise.
1388         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1389         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1390         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1391         Likewise.
1392         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1393         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1394         * sysdeps/posix/opendir.c (__opendirat): Likewise.
1395         * sysdeps/posix/sleep.c: Likewise.
1396         * sysdeps/posix/tempname.c: Likewise.
1397         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1398         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1399         Likewise.
1400         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1401         elf_machine_rela): Likewise.
1402         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1404         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1405         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1406         Likewise.
1407         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1408         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1409         elf_machine_rela, elf_machine_lazy_rel): Likewise.
1410         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1411         elf_machine_rela, elf_machine_lazy_rel): Likewise.
1412         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1413         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1414         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1415         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1416         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1417         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1418         elf_machine_lazy_rel): Likewise.
1419         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1420         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1421         elf_machine_lazy_rel): Likewise.
1422         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1423         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1424         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1425         * sysdeps/unix/grantpt.c (grantpt): Likewise.
1426         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1427         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1428         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1429         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1430         Likewise.
1431         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1432         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1433         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1434         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1435         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1436         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1437         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1438         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1439         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1440         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1441         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1442         Likewise.
1443         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1444         (__posix_fallocate64_l64): Likewise.
1445         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1446         (posix_fallocate): Likewise.
1447         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1448         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1449         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1450         getifaddrs_internal): Likewise.
1451         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1452         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1453         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1454         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1455         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1456         (__posix_fallocate64_l64): Likewise.
1457         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1458         Likewise.
1459         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1460         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1461         Likewise.
1462         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1463         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1464         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1466         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1467         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1468         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1469         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1470         Likewise.
1471         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1472         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1473         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1474         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1475         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1476         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1477         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1478         Likewise.
1479         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1480         (posix_fallocate): Likewise.
1481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1482         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1483         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1484         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1485         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1486         Likewise.
1487         * time/asctime.c (asctime_internal): Likewise.
1488         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1489         * time/tzset.c (__tzset_parse_tz): Likewise.
1490         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1491         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1492         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1493         * wcsmbs/wcsmbsload.h: Likewise.
1495 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1497         [BZ #15894]
1498         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1500 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
1502         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1503         arena_get2): Remove THREAD_STATS conditionals.
1504         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1505         __malloc_stats, int): Likewise.
1507 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1509         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1510         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
1512 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1514         * manual/setjmp.texi: Fix typos/grammar errors.
1516 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1518         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1519         Only return early when n is <= 0.  Delete unused return statement.
1521 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1523         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1524         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1525         * debug/tst-longjmp_chk3.c: New file.
1527 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1529         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1530         (test_main): Replace code with set_fortify_handler call.
1531         * debug/test-strcpy_chk.c: Likewise.
1532         * debug/tst-chk1.c: Likewise.
1533         * debug/tst-longjmp_chk.c: Likewise.
1534         * test-skeleton.c: Include fcntl.h & paths.h
1535         (set_fortify_handler): Define.
1537 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1539         * debug/tst-longjmp_chk.c: Add header comment and include
1540         ../test-skeleton.c.
1541         (do_test): Mark static.
1542         (TEST_FUNCTION): Define.
1544 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1546         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1547         (IP_PMTUDISC_INTERFACE): Likewise.
1548         (IP_MULTICAST_IF): Likewise.
1549         (IP_MULTICAST_TTL): Likewise.
1550         (IP_MULTICAST_LOOP): Likewise.
1551         (IP_ADD_MEMBERSHIP): Likewise.
1552         (IP_DROP_MEMBERSHIP): Likewise.
1553         (IP_UNBLOCK_SOURCE): Likewise.
1554         (IP_BLOCK_SOURCE): Likewise.
1555         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1556         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1557         (IP_MSFILTER): Likewise.
1558         (MCAST_JOIN_GROUP): Likewise.
1559         (MCAST_BLOCK_SOURCE): Likewise.
1560         (MCAST_UNBLOCK_SOURCE): Likewise.
1561         (MCAST_LEAVE_GROUP): Likewise.
1562         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1563         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1564         (MCAST_MSFILTER): Likewise.
1565         (IP_MULTICAST_ALL): Likewise.
1566         (IP_UNICAST_IF): Likewise.
1568 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1570         * timezone/Makefile: Delete $(have-ksh) check.
1571         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1572         * timezone/tzselect.ksh: Add +x mode bits.
1574 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
1576         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1577         (ANON_INODE_FS_MAGIC): Likewise.
1578         (BDEVFS_MAGIC): Likewise.
1579         (BINFMTFS_MAGIC): Likewise.
1580         (BTRFS_TEST_MAGIC): Likewise.
1581         (CRAMFS_MAGIC_WEND): Likewise.
1582         (DEBUGFS_MAGIC): Likewise.
1583         (ECRYPTFS_SUPER_MAGIC): Likewise.
1584         (EXT3_SUPER_MAGIC): Likewise.
1585         (EXT4_SUPER_MAGIC): Likewise.
1586         (FUTEXFS_SUPER_MAGIC): Likewise.
1587         (HOSTFS_SUPER_MAGIC): Likewise.
1588         (HUGETLBFS_MAGIC): Likewise.
1589         (MINIX3_SUPER_MAGIC): Likewise.
1590         (MTD_INODE_FS_MAGIC): Likewise.
1591         (NILFS_SUPER_MAGIC): Likewise.
1592         (OPENPROM_SUPER_MAGIC): Likewise.
1593         (PIPEFS_MAGIC): Likewise.
1594         (PSTOREFS_MAGIC): Likewise.
1595         (QNX6_SUPER_MAGIC): Likewise.
1596         (RAMFS_MAGIC): Likewise.
1597         (REISERFS_SUPER_MAGIC_STRING): Likewise.
1598         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1599         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1600         (SECURITYFS_MAGIC): Likewise.
1601         (SELINUX_MAGIC): Likewise.
1602         (SMACK_MAGIC): Likewise.
1603         (SOCKFS_MAGIC): Likewise.
1604         (SQUASHFS_MAGIC): Likewise.
1605         (STACK_END_MAGIC): Likewise.
1606         (TMPFS_MAGIC): Likewise.
1607         (USBDEVICE_SUPER_MAGIC): Likewise.
1608         (V9FS_MAGIC): Likewise.
1609         (XENFS_SUPER_MAGIC): Likewise.
1610         (CRAMFS_MAGIC): Fix typo in comment.
1611         (EXT2_SUPER_MAGIC): Update comment.
1612         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1614 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
1616         * sysdeps/arm: Move directory from ports/sysdeps/arm.
1617         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1618         * sysdeps/unix/sysv/linux/arm: Move directory from
1619         ports/sysdeps/unix/sysv/linux/arm.
1620         * README: Update listing for arm-*-linux-gnueabi.
1622         * README: Remove mention of am33.
1624 2014-02-07  Roland McGrath  <roland@hack.frob.com>
1626         * bits/sigset.h (__sigemptyset): Use a statement expression rather
1627         than the comma operator, to avoid "rhs of comma has no effect"
1628         compiler warnings.
1629         (__sigfillset, __sigandset, __sigorset): Likewise.
1630         * include/signal.h (__sigemptyset): Likewise.
1631         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1633 2014-02-07  Allan McRae  <allan@archlinux.org>
1635         * version.h (RELEASE): Set to "development".
1636         (VERSION): Set to "2.19.90"
1637         * NEWS: Add 2.20 section.
1639 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
1641         [BZ #16529]
1642         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1644 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1646         * manual/contrib.texi: Update entry for Carlos O'Donell,
1647         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1649 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
1651         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1653         * sysdeps/unix/sysv/linux/kernel-features.h
1654         [__LINUX_KERNEL_VERSION >= 0x020621]
1655         (__ASSUME_PROC_PID_TASK_COMM): Define.
1657 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1659         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1660         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
1661         Leonard and Allan McRae.
1663 2014-02-04  David S. Miller  <davem@davemloft.net>
1665         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1666         32-bit.
1668 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1671         file
1672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1673         New file
1674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1675         file.
1676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1677         file.
1678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1679         New file.
1680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1681         file.
1682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1683         file.
1684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1685         New file.
1686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1687         New file.
1688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1689         New file.
1690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1691         New file.
1692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1693         New file.
1694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1695         New file.
1697 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1699         * nptl/shlib-versions: Change powerpc*le start to 2.17.
1700         * shlib-versions: Likewise.
1702 2014-02-04  Roland McGrath  <roland@hack.frob.com>
1703             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1705         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1706         (abilist-pattern): New variable, set to %-le.abilist.
1708         * Makerules (abilist-pattern): New variable.
1709         (vpath): Use $(abilist-pattern) in place of %.abilist.
1710         (check-abi-% pattern rule): Likewise.
1711         (check-abi, update-abi): Likewise.
1713 2014-02-04  Eric Wong  <normalperson@yhbt.net>
1715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1717 2014-02-04  Eric Wong  <normalperson@yhbt.net>
1719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1721 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
1723         * manual/startup.texi: Add next, previous, and top entries for
1724         the `Program Arguments' and `Environment Variables' nodes.
1726 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
1728         * manual/macros.texi: Add comments before MTASC-safety macros.
1730         * manual/users.texi: Document MTASC-safety properties.
1732         * manual/threads.texi (pthread_key_create, pthread_key_delete,
1733         pthread_getspecific, pthread_setspecific): Format with
1734         @deftypefun, and add @safety note.
1735         * manual/signal.texi: Move comments that analyze the above
1736         functions to their home place.
1738 2014-02-03  Allan McRae  <allan@archlinux.org>
1740         * po/sl.po: Update Slovenian translation from translation project.
1742 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
1744         * manual/time.texi (timegm): Add missing blank after @c.
1745         Reported by Joseph Myers <joseph@codesourcery.com>.
1747 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
1749         * manual/check-safety.sh: New.
1750         * manual/Makefile ($(objpfx)stamp-summary): Run it.
1752         * manual/terminal.texi: Document MTASC-safety properties.
1754         * manual/filesys.texi: Document MTASC-safety properties.
1756         * manual/errno.texi: Document MTASC-safety properties.
1758         * manual/intro.texi: Document safety identifiers and
1759         conditionals.
1761         * manual/string.texi (wcstok): Fix prototype.
1762         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1764         * manual/time.texi: Document MTASC-safety properties.
1766         * manual/string.texi: Document MTASC-safety properties.
1768         * manual/threads.texi: Document MTASC-safety properties.
1770         * manual/stdio.texi: Document MTASC-safety properties.
1772         * manual/syslog.texi: Document MTASC-safety properties.
1774         * manual/sysinfo.texi: Document MTASC-safety properties.
1776         * manual/startup.texi: Document MTASC-safety properties.
1778         * manual/socket.texi: Document MTASC-safety properties.
1780         * manual/signal.texi: Document MTASC-safety properties.
1782 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
1784         * manual/setjmp.texi: Document MTASC-safety properties.
1786         * manual/search.texi: Document MTASC-safety properties.
1788         * manual/resource.texi: Document MTASC-safety properties.
1790         * manual/process.texi: Document MTASC-safety properties.
1792         * manual/platform.texi: Document MTASC-safety properties.
1794         * manual/pipe.texi: Document MTASC-safety properties.
1796         * manual/pattern.texi: Document MTASC-safety properties.
1798         * manual/message.texi: Document MTASC-safety properties.
1800         [BZ #12751]
1801         * manual/memory.texi: Document MTASC-safety properties.
1803         * manual/math.texi: Document MTASC-safety properties.
1805         * manual/locale.texi: Document MTASC-safety properties.
1807         * manual/llio.texi: Document MTASC-safety properties.
1809         * manual/libdl.texi: New.
1811         * manual/lang.texi: Document MTASC-safety properties.
1813         * manual/job.texi: Document MTASC-safety properties.
1815         * manual/getopt.texi: Document MTASC-safety properties.
1817         * manual/ctype.texi: Document MTASC-safety properties.
1819 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
1821         [BZ #16046]
1822         * csu/libc-tls.c (static_map): Remove variable.
1823         (__libc_setup_tls): Use main executable's link map for TLS data.
1824         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1825         casing for LM_ID_BASE and GL(dl_nns).
1826         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1827         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
1828         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1829         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1830         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1831         member.
1832         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1833         l_phnum members.
1835 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
1837         * manual/debug.texi: Document MTASC-safety properties.
1839 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
1841         [BZ #16510]
1842         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1843         of __x86_64__ when disabling x87 inline functions.
1845 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
1847         * manual/charset.texi: Document MTASC-safety properties.
1849         * manual/crypt.texi: Document MTASC-safety properties.
1851         * manual/conf.texi: Document MTASC-safety properties.
1853         * manual/arith.texi: Document MTASC-safety properties.
1855         * manual/argp.texi: Document MTASC-safety properties.
1857         * manual/macros.texi: Introduce macros to document multi
1858         thread, asynchronous signal and asynchronous cancellation
1859         safety properties.
1860         * manual/intro.texi: Introduce the properties themselves.
1862 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1864         * sysdeps/sh/sh4/Makefile: New file.
1866 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
1868         * math/gen-libm-test.pl ($srcdir): New variable.
1869         ($auto_input): Use it.
1871 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1873         [BZ #16506]
1874         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1875         access beyond array bounds when parsing netgroups file.
1877         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1878         the old buffer before realloc.
1880 2014-01-27  Allan McRae  <allan@archlinux.org>
1882         * po/fr.po: Update French translation from translation project.
1884 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1886         * sysdeps/sh/libm-test-ulps: Regenerate.
1888 2014-01-24  David S. Miller  <davem@davemloft.net>
1890         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1892 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1894         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1895         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1897 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1899         [BZ #16474]
1900         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1901         string pointers after reallocation.
1903 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1905         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1906         __SH4A__ instead of __SH_FPU_ANY__.
1908 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1910         * sysdeps/sh/fpu_control.h: New file.
1911         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1912         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1913         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1914         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1915         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1916         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1917         * sysdeps/sh/sys/ucontext.h: Remove.
1918         * sysdeps/sh/sys: Remove directory.
1920 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1922         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1923         s390/sys/ucontext.h.
1924         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1925         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1927 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
1929         [BZ #15605]
1930         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1932 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1934         [BZ#16431]
1935         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1936         Adjust the vDSO correctly for internal calls.
1937         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1939 2014-01-20  Allan McRae  <allan@archlinux.org>
1941         * po/ca.po: Update Catalan translation from translation project.
1943 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
1945         * sysdeps/s390/sotruss-lib.c: New file.
1947 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1949         [BZ#16430]
1950         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1951         (__GI___gettimeofday): Alias for a different internal symbol to avoid
1952         local calls issues by not having a PLT stub required for IFUNC calls.
1953         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1955 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
1957         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1958         * math/test-fpucw-static.c: Likewise.
1960 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1962         [BZ #16453]
1963         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1965 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1967         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1968         implementation for powerpc.
1970 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
1972         [BZ #14782]
1973         * sysdeps/posix/system.c (__libc_system): Do not enable
1974         asynchronous cancellation.
1976 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1978         [BZ #16427]
1979         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1980         handling only for numbers special also in the IEEE case.
1982 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1984         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1986 2014-01-11  Allan McRae  <allan@archlinux.org>
1988         * po/bg.po: Update Bulgarian translation from translation project.
1990         * po/de.po: Update German translation from translation project.
1992 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1994         * sysdeps/generic/gcc-compat.h: New file.
1996 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1998         * benchtests/asin-inputs: Correct slow inputs.
1999         * benchtests/acos-inputs: Likewise.
2001 2014-01-10  Allan McRae  <allan@archlinux.org>
2003         * po:sv.po: Update Swedish translation from translation project.
2005         * po/vi.po: Update Vietnamese translation from translation project.
2007         * po/eo.po: Update Esperanto translation from translation project.
2009         * po/cs.po: Update Czech translation from translation project.
2011         * po/nl.po: Update Dutch translation from translation project.
2013         * po/pl.po: Update Polish translation from translation project.
2015         * po/ru.po: Update Russian translation from translation project.
2017         * po/uk.po: Update Ukrainian translation from translation project.
2019 2014-01-08  Brooks Moses  <bmoses@google.com>
2021         * elf/dl-load.c: Fix comment typo.
2023 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
2025         * po/header.pot: Rename to...
2026         * po/pot.header: ... this.
2027         * po/Makefile: Use pot.header.
2029 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
2030             Maxim Kuvyrkov  <maxim@kugelworks.com>
2032         [BZ #16394]
2033         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2034         SRC and DEST against LEN.
2036 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2038         [BZ #16414]
2039         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2040         implementation.
2041         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2043 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2047 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
2049         [BZ #16408]
2050         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2051         for large positive arguments.
2053 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
2055         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2057         * math/auto-libm-test-in: Mark various tests with
2058         xfail-rounding:ldbl-128ibm.
2059         * math/auto-libm-test-out: Regenerated.
2061         [BZ #16407]
2062         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2063         Increase overflow threshold.
2065 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
2067         [BZ #14286]
2068         * stdio-common/vfprintf.c: Check for integer overflow.
2070 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2072         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2073         the first argument and return value of __tls_get_addr_internal.
2075 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2077         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2078         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2080 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2082         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2083         * sysdeps/s390/rtld-global-offsets.sym: New file.
2084         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2085         GLIBC_2.19 symbol.
2086         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2087         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2088         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2089         ... this.
2090         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2091         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2092         ... this.
2093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2094         Regenerate.
2095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2096         Regenerate.
2097         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2098         halfs of GPRs for high_gprs contexts.
2099         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2100         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
2101         field.
2102         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2103         uc_flags field.
2104         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2105         64 bit versions:
2106         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2107         for high GPRs (uc_high_gprs) and for future extensions
2108         (__reserved).
2109         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2110         for future extensions (__reserved).
2111         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2112         64 bit versions:
2113         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2114         SC_HIGHGPRS offset definition.
2115         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2116         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2118 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2120         * Versions.def: Add GLIBC_2.19 for libpthread.
2121         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2122         siglongjmp for libpthread with GLIBC_2.19 symver.
2123         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2124         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2125         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2126         * sysdeps/s390/__longjmp.c: New file.
2127         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2128         * sysdeps/s390/longjmp.c: New file.
2129         * sysdeps/s390/setjmp.S: New file.
2130         * sysdeps/s390/sigjmp.S: New file.
2131         * sysdeps/s390/v1-longjmp.c: New file.
2132         * sysdeps/s390/v1-setjmp.h: New file.
2133         * sysdeps/s390/v1-sigjmp.c: New file.
2134         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2135         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2136         GLIBC_2.19 version.
2137         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2138         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2139         versioned symbols for ____longjmp_chk.
2140         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2141         Likewise.
2142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2143         Regenerate.
2144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2145         Regenerate.
2146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2147         Regenerate.
2148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2149         Regenerate.
2150         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2151         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2152         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2153         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2154         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2155         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2156         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2157         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2158         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2159         * sysdeps/s390/rtld-__longjmp.c: New file.
2160         * sysdeps/s390/rtld-setjmp.S: New file.
2162 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
2164         [BZ #16400]
2165         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2166         Return -__logl (x) for small positive arguments without evaluating
2167         a polynomial.
2169 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
2171         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2172         Rename to ...
2173         (__ptrace_peeksiginfo_args): ... this.
2174         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2175         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2176         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2178 2014-01-06  Allan McRae  <allan@archlinux.org>
2180         * inet/netinet/in.h: Fix typo in comment.
2182 2014-01-05  Andreas Jaeger  <aj@suse.de>
2184         * sysdeps/i386/fpu/libm-test-ulps: Update.
2186 2014-01-05  Allan McRae  <allan@archlinux.org>
2188         * po/libc.pot: Regenerated.
2190         * malloc/memusagestat.c: Fix gettext call formatting.
2192 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
2194         * nscd/nscd.c: Improve usage() output.
2196 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
2198         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2199         * sysdeps/unix/sysv/linux/configure: Regenerated.
2200         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2201         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2203 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
2205         [BZ #16390]
2206         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2207         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2209 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2211         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2212         extra tokens at end of #undef directive.
2213         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2214         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2215         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2217 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
2219         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2221         * math/auto-libm-test-in: Mark various tests with
2222         xfail-rounding:ldbl-128ibm.
2223         * math/auto-libm-test-out: Regenerated.
2225 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
2227         [BZ #16386]
2228         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2229         numbers with subnormal high part when calculating exponent.
2231         [BZ #16385]
2232         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2233         fabs.
2235         [BZ #16384]
2236         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2237         M_LN2l.
2238         (__ieee754_acoshl): Use __log1pl not __log1p.
2240 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
2242         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2243         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2244         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2245         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2246         Convert to GNU style.
2247         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2248         mem2mem_check, mem2chunk_check, top_check, realloc_check,
2249         memalign_check, __malloc_set_state): Likewise.
2250         * malloc/mallocbug.c (main): Likewise.
2251         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2252         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2253         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2254         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2255         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2256         * malloc/malloc.h: Likewise.
2257         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2258         memalignhook, reallochook, mabort): Likewise.
2259         * malloc/mcheck.h: Likewise.
2260         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2261         mmap64, mremap, munmap, dest): Likewise.
2262         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2263         * malloc/morecore.c (__default_morecore): Likewise.
2264         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2265         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2266         _obstack_allocated_p, obstack_free, _obstack_memory_used,
2267         print_and_abort): Likewise.
2268         * malloc/obstack.h: Likewise.
2269         * malloc/set-freeres.c (__libc_freeres): Likewise.
2270         * malloc/tst-mallocstate.c (main): Likewise.
2271         * malloc/tst-mtrace.c (main): Likewise.
2272         * malloc/tst-realloc.c (do_test): Likewise.
2274 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2276         [BZ #16366]
2277         * nscd/netgroupcache.c (do_notfound): New function.
2278         (addgetnetgrentX): Use it.
2280         [BZ # 16365]
2281         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2282         NSS_STATUS_NOTFOUND.
2284 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
2286         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2289 2014-01-01  Allan McRae  <allan@archlinux.org>
2291         * scripts/update-copyrights: Update configure input file suffix.
2293         * NEWS: Update copyright year.
2294         * catgets/gencat.c: Likewise.
2295         * csu/version.c: Likewise.
2296         * debug/catchsegv.sh: Likewise.
2297         * debug/pcprofiledump.c: Likewise.
2298         * debug/xtrace.sh: Likewise.
2299         * elf/ldconfig.c: Likewise.
2300         * elf/ldd.bash.in: Likewise.
2301         * elf/pldd.c: Likewise.
2302         * elf/sotruss.ksh: Likewise.
2303         * elf/sprof.c: Likewise.
2304         * iconv/iconv_prog.c: Likewise.
2305         * iconv/iconvconfig.c: Likewise.
2306         * locale/programs/locale.c: Likewise.
2307         * locale/programs/localedef.c: Likewise.
2308         * login/programs/pt_chown.c: Likewise.
2309         * malloc/memusage.sh: Likewise.
2310         * malloc/memusagestat.c: Likewise.
2311         * malloc/mtrace.pl: Likewise.
2312         * manual/libc.texinfo: Likewise.
2313         * nscd/nscd.c: Likewise.
2314         * nss/getent.c: Likewise.
2315         * nss/makedb.c: Likewise.
2316         * posix/getconf.c: Likewise.
2317         * scripts/test-installation.pl: Likewise.
2319         * All files with FSF copyright notices: Update copyright dates
2320         using scripts/update-copyrights.
2321         * intl/plural.c: Regenerated.
2322         * locale/programs/charmap-kw.h: Likewise.
2323         * locale/programs/locfile-kw.h: Likewise.
2325 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
2327         * sysdeps/unix/sysv/linux/configure: Regenerated.
2328         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2329         the linux/fanotify.h header.
2330         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2331         HAVE_LINUX_FANOTIFY_H is defined.
2333 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2335         * benchtests/cos-inputs: New inputs.
2336         * benchtests/sin-inputs: Likewise.
2338         * benchtests/atan-inputs: New inputs. Fix name of multiple
2339         precision fallback inputs.
2341         * benchtests/atanh-inputs: New inputs.
2342         * benchtests/tanh-inputs: Likewise.
2344         * benchtests/acosh-inputs: New inputs.
2345         * benchtests/asinh-inputs: Likewise.
2347         * benchtests/cosh-inputs: New inputs.
2348         * benchtests/sinh-inputs: Likewise.
2350         * benchtests/acos-inputs: Add more inputs.
2351         * benchtests/asin-inputs: Likewise.
2353 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
2355         [BZ #16375]
2356         * manual/arith.texi: Fix spelling.
2357         * manual/charset.texi: Likewise.
2358         * manual/errno.texi: Likewise.
2359         * manual/filesys.texi: Likewise.
2360         * manual/lang.texi: Likewise.
2361         * manual/llio.texi: Likewise.
2362         * manual/locale.texi: Likewise.
2363         * manual/message.texi: Likewise.
2364         * manual/resource.texi: Likewise.
2365         * manual/search.texi: Likewise.
2366         * manual/setjmp.texi: Likewise.
2367         * manual/stdio.texi: Likewise.
2368         * manual/string.texi: Likewise.
2369         * manual/sysinfo.texi: Likewise.
2370         * manual/time.texi: Likewise.
2372 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
2374         * po/sl.po: New file.
2376 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
2378         * .gitignore: Add core/.gdbinit/.gdb_history.
2380 2013-12-27  Allan McRae  <allan@archlinux.org>
2382         [BZ #16369]
2383         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2384         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2386 2013-12-24  Brooks Moses  <bmoses@google.com>
2388         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2389         all compilers that claim C++98 compliance, not just GCC.
2390         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2391         Likewise.
2393 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
2395         * NEWS: Restore accidentally deleted bug-fix entries.
2397 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
2398             Ondřej Bílka  <neleai@seznam.cz>
2400         [BZ #15073]
2401         * malloc/malloc.c (_int_free): Perform sanity check only if we
2402         have_lock.
2404 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
2406         [BZ #12986]
2407         * manual/stdio.texi (String Input Conversions): Clarify that character
2408         classes are not supported.
2410 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2414 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
2416         [BZ #16337]
2417         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2418         Calculate results for small negative arguments directly rather
2419         than using reflection formula with special underflow handling.
2421         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2422         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2423         sysdeps/unix/bsd/bsd4.4/syscalls.list.
2424         (fchflags): Likewise.
2425         (revoke): Likewise.
2426         (setlogin): Likewise.
2427         (sigaltstack): Likewise.
2428         (wait4): Likewise.
2429         (sigblock): Remove.
2430         (sigsetmask): Likewise.
2431         (wait3): Likewise.
2432         (waitpid): Likewise.
2433         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2434         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2435         file.
2436         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2437         * sysdeps/unix/bsd/Makefile: ... here.
2438         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2439         * sysdeps/unix/bsd/Versions: ... here.
2440         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2441         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2442         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2443         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2444         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2445         * sysdeps/unix/bsd/sigblock.c: ... here.
2446         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2447         * sysdeps/unix/bsd/sigsetmask.c: ... here.
2448         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2449         * sysdeps/unix/bsd/sigvec.c: ... here.
2450         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2451         * sysdeps/unix/bsd/tcdrain.c: ... here.
2452         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2453         * sysdeps/unix/bsd/tcgetattr.c: ... here.
2454         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2455         * sysdeps/unix/bsd/tcsetattr.c: ... here.
2456         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2457         * sysdeps/unix/bsd/wait.c: ... here.
2458         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2459         * sysdeps/unix/bsd/wait3.c: ... here.
2460         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2461         * sysdeps/unix/bsd/waitpid.c: ... here.
2463 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
2465         [BZ #16356]
2466         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2467         round-to-nearest for [!USE_AS_EXPM1L].
2468         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2469         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
2470         more tests of exp and exp10.  Expect some exp10 tests to miss
2471         exceptions or fail in directed rounding modes.
2472         * math/auto-libm-test-out: Regenerated.
2473         * math/libm-test.inc (exp10_tonearest_test_data): New array.
2474         (exp10_test_tonearest): New function.
2475         (exp10_towardzero_test_data): New array.
2476         (exp10_test_towardzero): New function.
2477         (exp10_downward_test_data): New array.
2478         (exp10_test_downward): New function.
2479         (exp10_upward_test_data): New array.
2480         (exp10_test_upward): New function.
2481         (main): Call the new functions.
2482         * sysdeps/i386/fpu/libm-test-ulps: Update.
2483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2485 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
2487         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2488         asinh, atan, atan2, atanh, cbrt, cos and cosh.
2489         * math/auto-libm-test-out: Regenerated.
2490         * math/libm-test.inc (acosh_test_data): Add more tests.
2491         (atanh_test_data): Likewise.
2492         (ceil_test_data): Likewise.
2493         (copysign_test_data): Likewise.
2494         * sysdeps/i386/fpu/libm-test-ulps: Update.
2495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2497         * timezone/checktab.awk: Update from tzcode 2013i.
2498         * timezone/private.h: Likewise.
2499         * timezone/scheck.c: Likewise.
2500         * timezone/tzfile.h: Likewise.
2501         * timezone/tzselect.ksh: Likewise.
2502         * timezone/zdump.c: Likewise.
2503         * timezone/zic.c: Likewise.
2505         * math/auto-libm-test-in: Add tests of cpow.
2506         * math/auto-libm-test-out: Regenerated.
2507         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2508         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2509         mpc_cc_c.
2510         (func_calc_desc): Add mpc_cc_c union field.
2511         (test_functions): Add cpow.
2512         (special_fill_2pi): New function.
2513         (special_real_inputs): Add 2pi.
2514         (calc_generic_results): Handle mpc_cc_c.
2515         * sysdeps/i386/fpu/libm-test-ulps: Update.
2516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2518         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2519         csqrt, ctan and ctanh.
2520         * math/auto-libm-test-out: Regenerated.
2521         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2522         (TEST_COND_x86): Likewise.
2523         (ccos_test_data): Use AUTO_TESTS_c_c.
2524         (ccosh_test_data): Likewise.
2525         (cexp_test_data): Likewise.
2526         (clog_test_data): Likewise.
2527         (csqrt_test_data): Likewise.
2528         (ctan_test_data): Likewise.
2529         (ctan_tonearest_test_data): Likewise.
2530         (ctan_towardzero_test_data): Likewise.
2531         (ctan_downward_test_data): Likewise.
2532         (ctan_upward_test_data): Likewise.
2533         (ctanh_test_data): Likewise.
2534         (ctanh_tonearest_test_data): Likewise.
2535         (ctanh_towardzero_test_data): Likewise.
2536         (ctanh_downward_test_data): Likewise.
2537         (ctanh_upward_test_data): Likewise.
2538         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2539         mpc_c_c.
2540         (func_calc_desc): Add mpc_c_c union field.
2541         (FUNC_mpc_c_c): New macro.
2542         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2543         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2544         ctanh.
2545         (special_fill_min_subnorm_p120): New function.
2546         (special_real_inputs): Add min_subnorm_p120.
2547         (calc_generic_results): Handle mpc_c_c.
2548         * sysdeps/i386/fpu/libm-test-ulps: Update.
2549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2551 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2553         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2554         do_sin_slow): New functions.
2555         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2556         cslow2, csloww1, csloww2): Use the new functions.
2558         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2559         Use M to change sign of result instead of X.  Assume X is
2560         positive.
2561         (csloww1): Likewise.
2562         (__sin): Adjust.
2563         (__cos): Adjust.
2565         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2566         arguments A and DA.
2567         (__sin): Adjust.
2568         (__cos): Likewise.
2570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2571         (__cos): Likewise.
2572         (sloww1): Don't adjust sign of DX.
2573         (csloww1): Likewise.
2574         (sloww2): Use X directly and don't adjust sign of DX.
2575         (csloww2): Likewise.
2577 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
2579         * math/auto-libm-test-in: Add tests of cabs and carg.
2580         * math/auto-libm-test-out: Regenerated.
2581         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2582         (carg_test_data): Likewise.
2583         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2584         mpc_c_f.
2585         (func_calc_desc): Add mpc_c_f union field.
2586         (test_functions): Add cabs and carg.
2587         (calc_generic_results): Handle mpc_c_f.
2589         * sysdeps/powerpc/powerpc32/libgcc-compat.S
2590         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2591         as a macro and a compat symbol.
2592         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2593         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2594         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2595         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2596         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2597         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2598         not use .hidden.
2599         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2600         Likewise.
2601         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2602         Likewise.
2603         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2604         Likewise.
2605         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2606         Likewise.
2607         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2608         Likewise.
2609         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2610         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2611         from GLIBC_2.3.2.
2613 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2617 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
2619         * manual/texinfo.tex: Update to version 2013-11-26.10 with
2620         trailing whitespace removed.
2621         * scripts/config.guess: Update to version 2013-11-29.
2622         * scripts/config.sub: Update to version 2013-10-01.
2624         * math/auto-libm-test-in: Add tests of sincos.
2625         * math/auto-libm-test-out: Regenerated.
2626         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2627         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2628         mpfr_f_11.
2629         (func_calc_desc): Add mpfr_f_11 union field.
2630         (test_functions): Add sincos.
2631         (calc_generic_results): Handle mpfr_f_11.
2632         * sysdeps/i386/fpu/libm-test-ulps: Update.
2633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2635 2013-12-19  Andreas Schwab  <schwab@suse.de>
2637         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2638         CALL_MCOUNT.
2639         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2640         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2641         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2643 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
2645         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2646         * sysdeps/i386/fpu/libm-test-ulps: Update.
2647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2649         [BZ #16293]
2650         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2651         round-to-nearest mode when using frndint.
2652         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2653         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2654         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2655         Likewise.
2656         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
2657         sinh test to fail.
2658         * math/auto-libm-test-out: Regenerated.
2659         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2660         (TEST_COND_x86): Likewise.
2661         (expm1_tonearest_test_data): New array.
2662         (expm1_test_tonearest): New function.
2663         (expm1_towardzero_test_data): New array.
2664         (expm1_test_towardzero): New function.
2665         (expm1_downward_test_data): New array.
2666         (expm1_test_downward): New function.
2667         (expm1_upward_test_data): New array.
2668         (expm1_test_upward): New function.
2669         (main): Run the new test functions.
2670         * sysdeps/i386/fpu/libm-test-ulps: Update.
2671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2673         * include/features.h: Update comment documenting feature test
2674         macros.  Mention _DEFAULT_SOURCE in comment.
2675         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2676         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2677         _BSD_SOURCE and _SVID_SOURCE.
2678         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2679         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2680         !_SVID_SOURCE]: Likewise.
2681         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2682         (__USE_POSIX_IMPLICITLY): Define.
2683         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2684         (_POSIX_SOURCE): Undefine and redefine.
2685         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2686         (_POSIX_C_SOURCE): Likewise.
2687         * manual/creature.texi (_DEFAULT_SOURCE): Document.
2688         (Feature Test Macros): Update documentation of default features.
2690 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2692         * benchtests/Makefile: Add bench-strtok.
2693         * benchtests/bench-strtok.c: New file: strtok benchtest.
2695 2013-12-19  Allan McRae  <allan@archlinux.org>
2697         * manual/install.texi: Suppress menu for plain text output.
2698         * INSTALL: Regenerated.
2700 2013-12-18  Brooks Moses  <bmoses@google.com>
2702         [BZ #15846]
2703         * misc/getauxval.c: Include errno.h.
2704         (__getauxval): Set errno to ENOENT if the requested type is not
2705         found.
2706         * misc/sys/auxv.h (getauxval): Document that it may set errno;
2707         don't declare with __attribute_const__.
2708         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2709         * manual/startup.texi: Document that getauxval sets errno.
2711 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
2713         * math/auto-libm-test-in: Add tests of jn and yn.
2714         * math/auto-libm-test-out: Regenerated.
2715         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2716         (yn_test_data): Likewise.
2717         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2718         mpfr_if_f.
2719         (func_calc_desc): Add mpfr_if_f union field.
2720         (FUNC_mpfr_if_f): New macro.
2721         (test_functions): Add jn and yn.
2722         (calc_generic_results): Assert type of second input for
2723         mpfr_ff_f.  Handle mpfr_if_f.
2724         (output_for_one_input_case): Disable all checking for arguments
2725         fitting floating-point types in case of an integer argument.
2726         * sysdeps/i386/fpu/libm-test-ulps: Update.
2727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2730         Don't expect fegetround reference in libm.so.
2732 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2734         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2735         $(config-cflags-nofma).
2737 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
2739         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2740         * math/auto-libm-test-out: Regenerated.
2742         [BZ #16338]
2743         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2744         to determine exponent and adjust argument to have exponent of -1.
2745         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2746         log2.
2747         * math/auto-libm-test-out: Regenerated.
2748         * sysdeps/i386/fpu/libm-test-ulps: Update.
2749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2751 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
2753         * manual/probes.texi: Remove cases when per-thread arenas are
2754         disabled.
2756 2013-12-18  Andreas Schwab  <schwab@suse.de>
2758         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2759         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2760         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2761         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2762         * sysdeps/i386/i686/multiarch/Makefile: Update.
2763         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2765 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2767         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2768         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2770 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
2772         [BZ #15968]
2773         Support TZ transition times < 00:00:00.
2774         This is needed for version-3 tz-format files; it supports time
2775         stamps past 2037 for America/Godthab (the only entry in the tz
2776         database for which this change is relevant).
2777         * manual/time.texi (TZ Variable): Document transition times
2778         from -167:59:59 through -00:00:01.
2779         * time/tzset.c (tz_rule): Time of day is now signed.
2780         (__tzset_parse_tz): Parse negative time of day.
2782         Document TZ transition times >= 25:00:00.
2783         * manual/time.texi (TZ Variable): Document transition times from
2784         25:00:00 through 167:59:59.  These are already supported, and this
2785         support will help with version-3 tz-format files.
2787         * manual/time.texi (TZ Variable): Modernize North America example
2788         to reflect current (i.e., 2007-and-later) daylight saving rules.
2790         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2792 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2794         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2795         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2798         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2799         * sysdeps/unix/bsd/bsdstat.h: Likewise.
2800         * sysdeps/unix/bsd/clock.c: Likewise.
2801         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2802         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2803         * sysdeps/unix/bsd/init-posix.c: Likewise.
2804         * sysdeps/unix/bsd/poll.c: Likewise.
2805         * sysdeps/unix/bsd/ptsname.c: Likewise.
2806         * sysdeps/unix/bsd/seekdir.c: Likewise.
2807         * sysdeps/unix/bsd/setegid.c: Likewise.
2808         * sysdeps/unix/bsd/seteuid.c: Likewise.
2809         * sysdeps/unix/bsd/setgid.c: Likewise.
2810         * sysdeps/unix/bsd/setrgid.c: Likewise.
2811         * sysdeps/unix/bsd/setruid.c: Likewise.
2812         * sysdeps/unix/bsd/setsid.c: Likewise.
2813         * sysdeps/unix/bsd/setuid.c: Likewise.
2814         * sysdeps/unix/bsd/sigaction.c: Likewise.
2815         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2816         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2817         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2818         * sysdeps/unix/bsd/telldir.c: Likewise.
2819         * sysdeps/unix/bsd/times.c: Likewise.
2820         * sysdeps/unix/bsd/usleep.c: Likewise.
2822         * misc/Makefile (install-lib): Remove libbsd-compat.a.
2823         ($(objpfx)libbsd-compat.a): Remove rule.
2825         * include/features.h (__FAVOR_BSD): Do not define.
2826         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2827         features conflicting with POSIX.
2828         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2829         (_BSD_SOURCE): Remove description of not being a subset of other
2830         feature test macros.
2831         * manual/job.texi (getpgrp): Do not document BSD version.
2832         (getpgid): Do not document by reference to BSD getpgrp.
2833         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2834         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2835         * signal/signal.h [__FAVOR_BSD]: Likewise.
2836         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2837         instead of making contents conditional on [__FAVOR_BSD].
2838         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2840 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2844 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2846         [BZ #16314]
2847         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2848         values below 2**-450, not 2**-500.
2849         * math/auto-libm-test-in: Don't allow spurious underflow from
2850         hypot.
2851         * math/auto-libm-test-out: Regenerated.
2853         [BZ #16316]
2854         [BZ #16330]
2855         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2856         values of ha and hb and sort them after adjusting subnormal
2857         arguments.
2858         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2859         Likewise.
2860         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2861         values of ea and eb and sort them after adjusting subnormal
2862         arguments.
2863         * math/auto-libm-test-in: Do not expect some hypot tests of
2864         subnormals to fail.  Add more hypot tests.
2865         * math/auto-libm-test-out: Regenerated.
2867 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2869         [BZ #13304]
2870         * sysdeps/sh/s_fma.c: New file.
2871         * sysdeps/sh/s_fmaf.c: New file.
2872         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
2873         version.
2874         * sysdeps/sh/Implies: Add sh/soft-fp.
2876 2013-12-16  Roland McGrath  <roland@hack.frob.com>
2878         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
2879         level of indirection to members `objname', `errstring', `malloced'.
2880         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2881         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
2882         it as the __longjmp argument (just pass 1 instead).
2883         (_dl_catch_error): Initialize C with argument pointers and address of
2884         volatile local ERRCODE rather than copying values out of C at return.
2886 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
2888         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2889         * math/auto-libm-test-out: Regenerated.
2890         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2891         (hypot_test_data): Likewise.
2892         (pow_test_data): Likewise.
2893         (pow_tonearest_test_data): Likewise.
2894         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2895         mpfr_ff_f.
2896         (func_calc_desc): Add mpfr_ff_f union field.
2897         (FUNC_mpfr_ff_f): New macro.
2898         (test_functions): Add atan2, hypot and pow.
2899         (special_fill_min): New function.
2900         (special_fill_minus_min): Likewise.
2901         (special_fill_min_subnorm): Likewise.
2902         (special_fill_minus_min_subnorm): Likewise.
2903         (special_real_inputs): Add min, -min, min_subnorm and
2904         -min_subnorm.
2905         (calc_generic_results): Handle mpfr_ff_f.
2906         * sysdeps/i386/fpu/libm-test-ulps: Update.
2907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2909 2013-12-16  Will Newton  <will.newton@linaro.org>
2911         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2912         (Aligned Memory Blocks): Add documentation for aligned_alloc
2913         and suggest it as an alternative to posix_memalign.
2914         (Hooks for Malloc): Document __memalign_hook is also called
2915         for aligned_alloc.  (Summary of Malloc): Add summary for
2916         aligned alloc.  Document __memalign_hook is also called
2917         for aligned_alloc.
2919 2013-12-16  Will Newton  <will.newton@linaro.org>
2921         * manual/memory.texi (Malloc Examples): Clarify default
2922         alignment documentation.  Suggest posix_memalign rather
2923         than memalign or valloc.
2924         (Aligned Memory Blocks): Remove suggestion to use memalign
2925         or valloc.  Remove obsolete comment about BSD.
2926         Document memalign errno values and mark the function obsolete.
2927         Document posix_memalign returned error codes.  Mark valloc
2928         as obsolete.  (Hooks for Malloc): __memalign_hook is also
2929         called for posix_memalign and valloc.
2930         (Summary of Malloc): Add posix_memalign to function summary.
2931         __memalign_hook is also called for posix_memalign and valloc.
2933 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2935         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2936         TAYLOR_SIN.
2937         (__sin): Adjust.
2938         (__cos): Likewise.
2939         (sloww): Use mynumber union.  Expand ternary operator into
2940         if-else statements.
2941         (cslow): use mynumber union.
2943 2013-12-16  Allan McRae  <allan@archlinux.org>
2945         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2946         * configure: Regenerated.
2948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2950         [BZ #14120]
2951         * configure.ac: Added --enable-maintainer-mode. Check for
2952         autoconf when enabled.
2953         * configure: Regenerated.
2955         * nscd/nscd.service: New file.
2956         * nscd/nscd.tmpfiles: New file.
2958 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
2960         [BZ #12100]
2961         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2962         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2963         * sysdeps/x86_64/multiarch/strstr.c: ... here.
2964         (strstr): Add __strstr_sse2_unaligned ifunc.
2965         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2966         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2967         (strcasestr): Remove __strcasestr_sse42 ifunc.
2968         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2972 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2974         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2975         * sysdeps/sh/bits/fenv.h: ... here.
2976         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2978 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2980         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2982 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2985         hypotf multiarch implementations.
2986         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2987         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2988         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2989         multiarch hypot for PPC64.
2990         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2991         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2992         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2993         multiarch hypotf for PPC64.
2995 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2998         modff multiarch implementations.
2999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3002         multiarch modf for PPC64.
3003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3006         multiarch modff for PPC64.
3008 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3011         and logl multiarch implementations.
3012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3015         multiarch logb for PPC64.
3016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3019         multiarch logb for PPC64.
3020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3023         multiarch logb for PPC64.
3025 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3028         isinff multiarch implementation.
3029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3030         file.
3031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3033         multiarch isinf for PPC64.
3034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3035         file.
3036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3037         multiarch isinff for PPC64.
3039 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3042         finitef multiarch implementation.
3043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3044         file.
3045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3047         multiarch finite for PPC64.
3048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3049         file.
3050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3051         multiarch finitef for PPC64.
3053 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3056         lrint multiarch implementation.
3057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3058         file.
3059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3061         multiarch llrint for PPC64.
3062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3063         multiarch lrint for PPC64.
3065 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3067         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3068         copysignf multiarch implementation.
3069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3070         file.
3071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3072         file.
3073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3074         multiarch copysign for PPC64.
3075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3076         multiarch copysignf for PPC64.
3078 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3081         multiarch implementation.
3082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3083         file.
3084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3085         file.
3086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3087         file.
3088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3089         file.
3090         multiarch llround for PPC64.
3091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3092         multiarch trunc for PPC64.
3093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3094         multiarch truncf for PPC64.
3096 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3099         multiarch implementation.
3100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3101         file.
3102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3103         file.
3104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3105         file.
3106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3107         file.
3108         multiarch llround for PPC64.
3109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3110         multiarch round for PPC64.
3111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3112         multiarch roundf for PPC64.
3114 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3117         multiarch implementation.
3118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3119         file.
3120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3121         file.
3122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3123         file.
3124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3125         file.
3126         multiarch llround for PPC64.
3127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3128         multiarch floor for PPC64.
3129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3130         multiarch floorf for PPC64.
3132 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3135         multiarch implementation.
3136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3137         file.
3138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3139         file.
3140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3141         file.
3142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3143         file.
3144         multiarch llround for PPC64.
3145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3146         multiarch ceil for PPC64.
3147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3148         multiarch ceilf for PPC64.
3150 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3153         multiarch implementation.
3154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3155         file.
3156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3157         file.
3158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3159         file.
3160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3161         multiarch llround for PPC64.
3162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3163         multiarch lround for PPC64.
3165 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3168         multiarch implementation.
3169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3172         file.
3173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3176         multiarch isnan for PPC64.
3177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3178         multiarch isnanf for PPC64.
3180 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3182         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3183         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3184         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3185         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3186         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3189 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3191         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3192         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3193         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3194         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3196 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3199         multiarch implementations.
3200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3201         (__libc_ifunc_impl_list): Likewise.
3202         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3203         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3205         multiarch stpcpy for PPC64.
3207 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3210         multiarch implementations.
3211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3212         (__libc_ifunc_impl_list): Likewise.
3213         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3214         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3215         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3216         multiarch strcpy for PPC64.
3218 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3220         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3221         redefine function name.
3222         (_wordcopy_fwd_dest_aligned): Likewise.
3223         (_wordcopy_bwd_aligned): Likewise.
3224         (_wordcopy_bwd_dest_aligned): Likewise.
3225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3226         multiarch implementations.
3227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3228         (__libc_ifunc_impl_list): Likewise.
3229         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3230         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3231         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3232         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3233         multiarch wcscpy for PPC64.
3235 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3238         multiarch implementations.
3239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3240         (__libc_ifunc_impl_list): Likewise.
3241         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3242         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3243         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3244         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3245         multiarch wcscpy for PPC64.
3247 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3250         multiarch implementations.
3251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3252         (__libc_ifunc_impl_list): Likewise.
3253         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3254         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3255         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3256         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3257         multiarch wcsrchr for PPC64.
3259 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3262         multiarch implementations.
3263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3264         (__libc_ifunc_impl_list): Likewise.
3265         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3266         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3267         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3268         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3269         multiarch wcschr for PPC64.
3271 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3274         multiarch implementations.
3275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3276         (__libc_ifunc_impl_list): Likewise.
3277         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3278         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3279         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3280         multiarch strchrnul for PPC64.
3282 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3285         implementations.
3286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3287         (__libc_ifunc_impl_list): Likewise.
3288         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3289         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3290         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3291         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3292         strchr for PPC64.
3294 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3297         implementations.
3298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3299         (__libc_ifunc_impl_list): Likewise.
3300         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3301         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3302         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3303         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3304         strncmp for PPC64.
3306 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3309         multiarch implementations.
3310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3311         (__libc_ifunc_impl_list): Likewise.
3312         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3313         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3314         strncasecmp for PPC64.
3315         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3316         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3317         multiarch strncasecmp_l for PPC64.
3319 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3322         multiarch implementations.
3323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3324         (__libc_ifunc_impl_list): Likewise.
3325         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3326         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3327         multiarch strcasecmp for PPC64.
3328         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3329         file.
3330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3331         multiarch strcasecmp_l for PPC64.
3333 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3336         implementations.
3337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3338         (__libc_ifunc_impl_list): Likewise.
3339         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3340         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3341         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3342         strnlen for PPC64.
3344 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3347         implementations.
3348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3349         (__libc_ifunc_impl_list): Likewise.
3350         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3351         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3352         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3353         strlen for PPC64.
3355 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3358         implementations.
3359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3360         (__libc_ifunc_impl_list): Likewise.
3361         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3362         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3363         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3364         rawmemrchr for PPC64.
3366 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3369         implementation.
3370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3371         (__libc_ifunc_impl_list): Likewise.
3372         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3373         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3374         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3375         memrchr for PPC64.
3377 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3380         implementation.
3381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3382         (__libc_ifunc_impl_list): Likewise.
3383         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3384         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3385         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3386         memchr for PPC64.
3388 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3391         implementation.
3392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3393         (__libc_ifunc_impl_list): Likewise.
3394         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3395         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3396         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3397         mempcpy for PPC64.
3399 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3401         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3402         avoid cretion of __bzero symbol.
3403         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3404         Likewise.
3405         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3406         Likewise.
3407         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3408         Likewise.
3409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3410         multiarch implementations.
3411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3412         (__libc_ifunc_impl_list): Likewise.
3413         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3414         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3415         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3416         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3417         bzero for PPC32.
3418         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3419         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3420         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3421         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3422         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3423         memset for PPC64.
3424         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3426 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3428         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3430         implementations.
3431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3432         (__libc_ifunc_impl_list): Likewise.
3433         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3434         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3435         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3436         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3437         memcmp for PPC64.
3439 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3442         multiarch for POWER/PPC64.
3443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3444         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3445         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3448         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3449         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3450         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3451         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3452         memcpy for PPC64.
3454 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3456         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3457         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3458         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3459         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3460         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3461         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3462         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3463         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3464         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3465         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3466         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3467         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3468         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3469         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3470         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3479 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3481         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3483 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3485         * benchtests/Makefile (bench): Add exp2 and log2.
3486         (LDLIBS-bench-exp2): Add -lm.
3487         (LDLIBS-bench-log2): Likewise.
3488         * benchtests/exp2-inputs: New inputs file.
3489         * benchtests/log2-inputs: New inputs file.
3490         * benchtests/log-inputs: Add new inputs.
3491         * benchtests/tan-inputs: Likewise.
3493 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3495         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3496         definition...
3497         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3498         csloww1, csloww2): ... from here.
3500         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3501         instead of structures.
3502         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3503         (POLYNOMIAL): Likewise.
3504         (TAYLOR_SLOW): Likewise.
3505         (__sin): Likewise.
3506         (__cos): Likewise.
3507         (slow1): Likewise.
3508         (slow2): Likewise.
3509         (sloww): Likewise.
3510         (sloww1); Likewise.
3511         (sloww2): Likewise.
3512         (bsloww1): Likewise.
3513         (bsloww2): Likewise.
3514         (cslow2): Likewise.
3515         (csloww): Likewise.
3516         (csloww1): Likewise.
3517         (csloww2): Likewise.
3519 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
3521         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3522         (__malloc_assert, __libc_realloc, __libc_calloc,
3523         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3524         memcpy and memset.
3525         * malloc/hooks.c (realloc_check): Likewise.
3527 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
3529         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3530         * malloc/arena.c: Remove PER_THREAD conditional.
3531         [!PER_THREAD]: Remove code.
3532         (ptmalloc_unlock_all2): Likewise.
3533         (ptmalloc_init): Likewise.
3534         (_int_new_arena): Likewise.
3535         (arena_get2): Likewise.
3536         * malloc/hooks.c (__malloc_get_state): Likewise.
3537         (__malloc_set_state): Likewise.
3538         * malloc/malloc.c: Likewise.
3539         (struct malloc_state): Likewise.
3540         (struct malloc_par): Likewise.
3541         (__libc_realloc): Likewise.
3542         (__libc_mallopt): Likewise.
3544 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3546         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3548 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
3550         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3551         macro to a function.  Check for zero perturb_byte.
3552         (_int_malloc, _int_free): Remove zero perturb_byte checks.
3554 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
3556         * malloc/malloc.c: (force_reg): Remove.
3557         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3558         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3559         force_reg by atomic_forced_read.
3560         * malloc/arena.c (ptmalloc_init): Likewise.
3561         * malloc/hooks.c (top_check): Likewise.
3563 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3567 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
3569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3571 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
3573         * math/auto-libm-test-in: Add tests of lgamma.
3574         * math/auto-libm-test-out: Regenerated.
3575         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3576         (M_LOG_2_SQRT_PIl): Likewise.
3577         (lgamma_test_data): Use AUTO_TESTS_f_f1.
3578         * math/gen-auto-libm-tests.c (func_calc_method): Add value
3579         mpfr_f_f1.
3580         (func_calc_desc): Add mpfr_f_f1 union field.
3581         (ARGS1): New macro.
3582         (ARGS2): Likewise.
3583         (ARGS3): Likewise.
3584         (ARGS4): Likewise.
3585         (RET1): Likewise.
3586         (RET2): Likewise.
3587         (CALC): Likewise.
3588         (FUNC): Likewise.
3589         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3590         (test_functions): Add lgamma.
3591         (calc_generic_results): Handle mpfr_f_f1.
3592         * sysdeps/i386/fpu/libm-test-ulps: Update.
3593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3595 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3597         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3598         __mpn_add_n for PowerPC64/POWER7.
3599         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3600         __mpn_sub_n for PowerPC64/POWER7.
3602 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3604         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3605         __mpn_addmul_1 for PowerPC64.
3606         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3607         __mpn_submul_1 for PowerPC64.
3608         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3609         for PowerPC64.
3610         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3611         for PowerPC64.
3613 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
3615         [BZ #15089]
3616         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3618 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3620         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3622 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3624         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3625         add multiarch folders.
3626         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3627         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3628         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3629         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3630         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3631         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3632         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3633         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3634         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3635         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3636         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3644 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3647         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3649         New file.
3650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3651         New file.
3652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3653         multiarch __ieee754_hypot for PowerPC32.
3654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3655         New file.
3656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3657         New file.
3658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3659         multiarch __ieee754_hypotf for PowerPC32.
3661 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3663         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3664         long_double_symbol only if __logbl is defined.
3665         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3666         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3667         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3668         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3669         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3670         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3671         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3672         path for implementation.
3673         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3674         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3676         logb, and logbl multiarch implementations for PowerPC32.
3677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3678         file.
3679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3680         file.
3681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3682         multiarch logb for PowerPC32.
3683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3684         file.
3685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3686         file.
3687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3688         multiarch logbf for PowerPC32.
3689         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3691         file.
3692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3693         multiarch logbl implementation for PowerPC32.
3695 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3698         and modff multiarch implementations.
3699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3700         New file.
3701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3702         New file.
3703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3704         multiarch modf for PowerPC32.
3705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3706         New file.
3707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3708         New file.
3709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3710         multiarch modff for PowerPC32.
3712 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3715         and lrintf multiarch implementations.
3716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3717         New file.
3718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3719         New file.
3720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3721         multiarch lrint for PowerPC32.
3722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3723         file: multiarch lrintf for PowerPC32.
3725 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3728         and lroundf multiarch implementations.
3729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3730         New file.
3731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3732         New file.
3733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3734         New file.
3735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3736         multiarch lround for PowerPC32.
3737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3738         file: multiarch lroundf for PowerPC32.
3740 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3743         copysign and copysignf multiarch implementations.
3744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3745         New file.
3746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3747         New file.
3748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3749         file: multiarch copysign for PowerPC32.
3750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3751         file: multiarch copysignf for PowerPC32.
3753 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3756         and truncf multiarch implementations.
3757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3758         New file.
3759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3760         file.
3761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3762         multiarch trunc for PowerPC32.
3763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3764         New file.
3765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3766         New file.
3767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3768         multiarch truncf for PowerPC32.
3770 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3773         and roundf multiarch implementations.
3774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3775         New file.
3776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3777         file.
3778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3779         multiarch round for PowerPC32.
3780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3781         New file.
3782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3783         New file.
3784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3785         multiarch roundf for PowerPC32.
3787 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3790         and floorf multiarch implementations.
3791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3792         New file.
3793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3794         file.
3795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3796         multiarch floor for PowerPC32.
3797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3798         New file.
3799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3800         New file.
3801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3802         multiarch floorf for PowerPC32.
3804 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3807         and ceilf multiarch implementations.
3808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3809         New file.
3810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3811         file.
3812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3813         multiarch ceil for PowerPC32.
3814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3815         New file.
3816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3817         file.
3818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3819         multiarch ceilf for PowerPC32.
3821 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3823         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3824         is defined.
3825         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3826         FINITEF is defined.
3827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3828         and finitef multiarch implementations.
3829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3830         New file.
3831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3832         file.
3833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3834         multiarch finite for PowerPC32.
3835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3836         New file.
3837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3838         file: multiarch finitef for PowerPC32.
3840 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3843         and isinff multiarch implementations.
3844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3845         file.
3846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3847         file.
3848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3849         multiarch isinf for PowerPC32.
3850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3851         New file.
3852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3853         multiarch isinff for PowerPC32.
3855 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3857         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3858         alias when __isnan is defined.
3859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3860         and isnanf multiarch implementations.
3861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3862         file.
3863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3864         file.
3865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3866         file.
3867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3868         file.
3869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3870         multiarch isnan for PowerPC32.
3871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3872         New file.
3873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3874         New file.
3875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3876         multiarch isnanf for PowerPC32.
3878 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3881         and sqrtf multiarch implementations.
3882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3883         file.
3884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3885         file.
3886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3887         multiarch sqrt for PowerPC32.
3888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3889         file.
3890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3891         file.
3892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3893         multiarch sqrtf for PowerPC32.
3895 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3898         and llroundf multiarch implementations.
3899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3900         New file.
3901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3902         New file.
3903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3904         New file.
3905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3906         file: multiarch llround for PowerPC32.
3907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3908         file: multiarch llroundf for PowerPC32.
3910 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3913         multiarch PowerPC32 fpu implementations.
3914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3915         New file.
3916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3917         New file.
3918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3919         multiarch llrint for PowerPC32.
3920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3921         New file.
3922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3923         New file.
3924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3925         file.
3927 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3931 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3933         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3934         file.
3935         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3936         file.
3937         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3938         file.
3939         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3940         multiarch wordcopy for PPC32.
3941         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3942         wordcopy objects.
3943         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3944         (__libc_ifunc_impl_list): Likewise.
3945         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3946         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3947         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3948         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3949         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3950         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3952 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3954         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3956         file.
3957         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3958         file.
3959         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3960         file.
3961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3962         multiarch wcscpy for PPC32.
3963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3964         multiarch objects.
3965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3966         (__libc_ifunc_impl_list): Likewise.
3967         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3968         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3969         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3970         sysdeps/powerpc/power6/wcscpy.c.
3972 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3974         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3975         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3976         file.
3977         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3978         file.
3979         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3980         file.
3981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3982         multiarch wcsrchr for PPC32.
3983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3984         multiarch objects.
3985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3986         (__libc_ifunc_impl_list): Likewise.
3987         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3988         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3989         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3990         sysdeps/powerpc/power6/wcsrchr.c.
3992 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3994         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3995         file.
3996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3997         file.
3998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4000         multiarch wcschr for PPc32.
4001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4002         multiarch objects.
4003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4004         (__libc_ifunc_impl_list): Likewise.
4005         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4006         * sysdeps/powerpc/power6/wcschr.c: ... to here.
4007         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4008         sysdeps/powerpc/power6/wcschr.c.
4010 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4012         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4013         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4014         file.
4015         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4016         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4017         file: multiarch strchr for PPC32.
4018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4019         multiarch objects.
4020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4021         (__libc_ifunc_impl_list): Likewise.
4023 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4025         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4026         name.
4027         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4028         file.
4029         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4030         file.
4031         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4032         multiarch strchrnul for PPC32.
4033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4034         multiarch objects.
4035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4036         (__libc_ifunc_impl_list): Likewise.
4038 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4040         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4041         file.
4042         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4043         multiarch strncasecmp for PPC32.
4044         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4045         file.
4046         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4047         multiarch strncasecmp_l for PPC32.
4048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4049         strncasecmp multiarch objects.
4050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4051         (__libc_ifunc_impl_list): Likewise.
4053 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4055         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4056         file.
4057         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4058         multiarch strncasecmp for PPC32.
4059         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4060         New file.
4061         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4062         multiarch strcasecmp_l for PPC32.
4063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4064         multiarch objects.
4065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4066         (__libc_ifunc_impl_list): Likewise.
4068 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4071         file.
4072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4073         file.
4074         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4075         multiarch strncmp for PPC32.
4076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4077         multiarch objects.
4078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4079         (__libc_ifunc_impl_list): Likewise.
4081 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4083         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4084         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4085         file.
4086         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4087         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4089         multiarch objects.
4090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4091         (__libc_ifunc_impl_list): Likewise.
4093 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4095         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4096         file.
4097         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4098         file.
4099         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4100         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4101         multiarch objects.
4102         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4103         (__libc_ifunc_impl_list): Likewise.
4105 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4107         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4108         file.
4109         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4110         file.
4111         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4112         multiarch rawmemchr for PPC32.
4113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4114         multiarch objects.
4115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4116         (__libc_ifunc_impl_list): Likewise.
4118 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4120         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4121         file.
4122         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4123         file.
4124         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4125         file: memrchr multiarch for PPC32.
4126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4127         multiarch objects.
4128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4129         (__libc_ifunc_impl_list): Likewise.
4131 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4133         * string/memchr.c (__memchr): Using macro to redefine symbol name.
4134         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4135         file.
4136         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4137         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4138         multiarch memchr for PPC32.
4139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4140         multiarch objects.
4141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4142         (__libc_ifunc_impl_list): Likewise.
4144 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4146         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4147         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4148         file.
4149         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4150         file.
4151         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4152         file: multiarch mempcpy for PPC32.
4153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4154         multiarch objects.
4155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4156         (__libc_ifunc_impl_list): Likewise.
4158 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4160         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4161         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4162         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4163         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4164         multiarch bzero for PPC32.
4165         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4166         file.
4167         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4168         file.
4169         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4170         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4171         file: multiarch memset for PPC32.
4172         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4174         memset multiarch objects.
4175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4176         (__libc_ifunc_impl_list): Likewise.
4178 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4180         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4181         file.
4182         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4184         memcmp for PPC32.
4185         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4187         multiarch objects.
4188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4189         (__libc_ifunc_impl_list): Likewise.
4191 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4193         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4195         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4196         file.
4197         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4198         file.
4199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4200         file.
4201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4202         multiarch memcpy for PPC32.
4203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4204         multiarch objects.
4205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4206         (__libc_ifunc_impl_list): Likewise.
4208 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4211         support multiarch for POWER/PPC32.
4212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4213         Likewise.
4214         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4216         Implies file to make multiarch folder appers before the fpu and
4217         default folder for power4 configuration.
4219 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4221         * scripts/bench.pl: Append volatile keyword to type.
4223 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4225         * sysdeps/sh/sotruss-lib.c: New file.
4226         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4228 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4232 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
4234         [BZ #6810]
4235         * math/w_tgamma.c: Include <errno.h>.
4236         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
4237         * math/w_tgammaf.c: Include <errno.h>.
4238         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
4239         * math/w_tgammal.c: Include <errno.h>.
4240         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
4241         * math/auto-libm-test-in: Do not allow missing errno on tgamma
4242         underflow.  Add more tgamma tests.
4243         * math/auto-libm-test-out: Regenerated.
4244         * sysdeps/i386/fpu/libm-test-ulps: Update.
4245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4247         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4248         sin, sinh, tan, tanh, tgamma, y0 and y1.
4249         * math/auto-libm-test-out: Regenerated.
4250         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4251         (TEST_COND_x86): Likewise.
4252         (M_E2l): Remove macro.
4253         (M_E3l): Likewise.
4254         (M_2_SQRT_PIl): Likewise.
4255         (M_SQRT_PIl): Likewise.
4256         (M_1_DIV_El): Likewise.
4257         (log_test_data): Use AUTO_TESTS_f_f.
4258         (log10_test_data): Likewise.
4259         (log1p_test_data): Likewise.
4260         (log2_test_data): Likewise.
4261         (sin_test_data): Likewise.
4262         (sin_tonearest_test_data): Likewise.
4263         (sin_towardzero_test_data): Likewise.
4264         (sin_downward_test_data): Likewise.
4265         (sin_upward_test_data): Likewise.
4266         (sinh_test_data): Likewise.
4267         (sinh_tonearest_test_data): Likewise.
4268         (sinh_towardzero_test_data): Likewise.
4269         (sinh_downward_test_data): Likewise.
4270         (sinh_upward_test_data): Likewise.
4271         (tan_test_data): Likewise.
4272         (tan_tonearest_test_data): Likewise.
4273         (tan_towardzero_test_data): Likewise.
4274         (tan_downward_test_data): Likewise.
4275         (tan_upward_test_data): Likewise.
4276         (tanh_test_data): Likewise.
4277         (tgamma_test_data): Likewise.
4278         (y0_test_data): Likewise.
4279         (y1_test_data): Likewise.
4280         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4281         (special_real_inputs): Add pi/4.
4282         * sysdeps/i386/fpu/libm-test-ulps: Update.
4283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4285 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4287         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4288         "longjmp_target" static probes.
4289         (__longjmp): Rename to __longjmp_symbol.
4290         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4291         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4292         on which longjmp to generate.
4293         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4294         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4295         probe.
4296         (__sigsetjmp): Rename to __sigsetjmp_symbol.
4297         (__sigjmp_save): Rename to __sigjmp_save_symbol.
4298         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4299         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4300         and __sigjmp_save_symbol based on which sigsetjmp to generated.
4301         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4303         __longjmp_symbol based on which __longjmp to generate.
4304         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4305         probe.
4306         (setjmp): Rename to setjmp_symbol.
4307         (__sigsetjmp): Rename to __sigsetjmp_symbol.
4308         (_setjmp): Rename to _setjmp_symbol.
4309         (__sigsetjmp): Rename to __sigsetjmp_symbol.
4310         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4311         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4312         which setjmp to generate.
4313         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4314         "longjmp_target" static probes.
4316 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4318         * benchtests/README: Add note about output arguments.
4319         * benchtests/bench-sincos.c: Remove file.
4320         * benchtests/sincos-inputs: New file.
4321         * scripts/bench.pl: Identify output arguments and define
4322         static variables for them.
4324         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4326         [BZ #15941]
4327         * Makefile (INSTALL): Add install-plain.texi as the primary
4328         dependency.
4329         * manual/install-plain.texi: New file.
4330         * manual/install.texi: Include node directive only for
4331         non-plaintext output.
4333 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
4335         * stdlib/longlong.h: Update from GCC.
4337         [BZ #6807]
4338         [BZ #15901]
4339         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4340         * math/w_j0f.c (y0f): Likewise.
4341         * math/w_j0l.c (__y0l): Likewise.
4342         * math/w_j1.c (y1): Likewise.
4343         * math/w_j1f.c (y1f): Likewise.
4344         * math/w_j1l.c (__y1l): Likewise
4345         * math/w_jn.c (yn): Likewise.
4346         * math/w_jnf.c (ynf): Likewise.
4347         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4348         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
4349         value for Bessel function domain errors outside _SVID_ mode.
4350         Adjust sign of return value for yn (negative integer, 0).
4351         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4352         by zero in return for negative x and set sign appropriately for
4353         negative n.
4354         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4355         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4356         * math/libm-test.inc (y0_test_data): Add more tests and adjust
4357         expectations in error cases.
4358         (y1_test_data): Likewise.
4359         (yn_test_data): Likewise.
4360         * sysdeps/i386/fpu/libm-test-ulps: Update.
4361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4363 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4365         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4366         "64" to "64-v1".  Add "64-v2".
4367         (abi-64-options): Rename to ...
4368         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
4369         (abi-64-condition): Rename to ...
4370         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
4371         (abi-64-ld-soname): Rename to ...
4372         (abi-64-v1-ld-soname): ... this.
4373         (abi-64-v2-options): Define.
4374         (abi-64-v2-condition): Likewise.
4375         (abi-64-v2-ld-soname): Likewise.
4376         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4377         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4382 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4383             Alan Modra  <amodra@gmail.com>
4385         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4386         New versions for use with the ELFv2 ABI.
4387         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4388         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4389         declaration.
4390         (struct La_ppc64v2_retval): Likewise.
4391         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4392         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4393         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4394         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4395         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4396         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4397         Do not save or restore CR.
4398         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4399         (_dl_profile_resolve): Do no save or restore CR.  Support extended
4400         return values for ELFv2 ABI.  Fix location of FPR return registers.
4401         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4402         updated values for _CALL_ELF == 2.
4403         (La_regs, La_retval, int_retval): Likewise.
4405 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4407         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4408         (FRAME_MIN_SIZE_PARM): Likewise.
4409         (FRAME_BACKCHAIN): Likewise.
4410         (FRAME_CR_SAVE): Likewise.
4411         (FRAME_LR_SAVE): Likewise.
4412         (FRAME_TOC_SAVE): Likewise.
4413         (FRAME_PARM_SAVE): Likewise.
4414         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4415         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4416         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4417         (call_mcount_parm_offset): New macro.
4418         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4419         (PROF): Use symbolic stack frame offsets.
4420         (TAIL_CALL_SYSCALL_ERROR): Likewise.
4421         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4422         Redefine in terms of FRAME_MIN_SIZE.
4423         (_dl_runtime_resolve): Use symbolic stack frame offsets.
4424         (_dl_profile_resolve): Likewise.  Update comment.
4425         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4426         symbols stack frame offsets.
4427         (__sigsetjmp): Likewise.
4428         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4429         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4430         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4431         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4434         (FRAME_BACKCHAIN): Remove.
4435         (FRAME_CR_SAVE): Likewise.
4436         (FRAME_LR_SAVE): Likewise.
4437         (FRAME_COMPILER_DW): Likewise.
4438         (FRAME_LINKER_DW): Likewise.
4439         (FRAME_TOC_SAVE): Likewise.
4440         (FRAME_PARM_SAVE): Likewise.
4441         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4442         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4443         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4445         (CHECK_SP): Use symbolic stack frame offsets.
4446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4447         zone" instead of caller's parameter save area for temp storage.
4448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4449         Likewise.  Also, use symbolic stack frame offsets.
4450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4451         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4452         our own stack frame instead of the caller's.
4453         (__socket): Use symbolic stack frame offsets.
4455 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4456             Alan Modra  <amodra@gmail.com>
4458         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4459         Define.
4460         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4461         PPC64_LOCAL_ENTRY_OFFSET): Define.
4462         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4463         New function.
4464         (elf_machine_fixup_plt): Call it.
4465         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
4466         reloc arguments.
4467         (elf_machine_rela): Update call to elf_machine_plt_conflict.
4468         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4469         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4470         r2 before calling target.
4472 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4473             Alan Modra  <amodra@gmail.com>
4475         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4476         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4477         versions of macros to support ELFv2 ABI.
4478         (LOCALENTRY): New macro.
4479         (ENTRY, EALIGN): Use it.
4480         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4481         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4482         fall through into ENTRY entry point.
4483         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4484         Only define if _CALL_ELF != 2.
4486         (elf_machine_matches_host): Verify ABI version matches.
4487         (RTLD_START): Use LOCALENTRY.
4488         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4489         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4490         (PLT_ENTRY_WORDS): New macro.
4491         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4492         (elf_machine_runtime_setup): Support ELFv2 ABI.
4493         (elf_machine_fixup_plt): Likewise.
4494         (elf_machine_plt_conflict): Likewise.
4495         (resolve_ifunc): Likewise.
4496         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4497         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4498         Likewise.
4499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4500         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4502         (makecontext): Support ELFv2 ABI.
4503         * elf/elf.h (EF_PPC64_ABI): Define.
4505 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4507         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4508         New assembler macro.
4509         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4510         [ASSEMBLER] (ENTRY): ... but instead here ...
4511         [ASSEMBLER] (EALIGN): ... and here.
4512         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4513         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4514         [!ASSEMBLER] (ENTRY_2): Use it.
4515         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4516         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
4517         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4518         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4519         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4521         Use PPC64_LOAD_FUNCPTR.
4523 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4525         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4527 2013-12-04  Alan Modra  <amodra@gmail.com>
4529         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4530         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4531         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4532         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4534         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4535         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4536         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4537         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4538         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4539         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4541 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4544         (__makecontext): Fix incorrect CFI when backtracing out of
4545         context created via makecontext.
4546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4547         (__setcontext): Fix incorrect CFI during switch to new context.
4548         (__novec_setcontext): Likewise.
4550 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
4552         [BZ #4772]
4553         * time/strptime_l.c (__strptime_internal): Allow modifiers
4554         in strptime.
4555         * time/tst-strptime.c (day_tests): Add testcase.
4558 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4560         * scripts/bench.pl: Skip over blank lines.
4562 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4564         [BZ #926]
4565         * manual/time.texi (Calendar Time): Clarify what timezone functions
4566         use.
4568 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4572 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
4574         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4575         implementation.
4576         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4577         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4578         * debug/memset_chk.c (__memset_chk): Likewise.
4579         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4580         * debug/strncpy_chk.c: Likewise.
4582 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
4584         [BZ #15268]
4585         [BZ #15425]
4586         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4587         (__ieee754_exp): For possibly underflowing results, check size of
4588         result and force underflow exception if required.
4589         * math/auto-libm-test-in: Add more tests of exp.
4590         * math/auto-libm-test-out: Regenerated.
4591         * sysdeps/i386/fpu/libm-test-ulps: Update.
4592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4594         [BZ #16283]
4595         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4596         * math/w_exp2f.c (__exp2f): Likewise.
4597         * math/w_exp2l.c (__exp2l): Likewise.
4598         * math/auto-libm-test-in: Do not allow missing errno on exp2
4599         underflow.
4600         * math/auto-libm-test-out: Regenerated.
4602 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
4604         [BZ #16274]
4605         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4606         handle filename validation.
4607         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4608         (do_open): Delete.
4610 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
4612         [BZ #6786]
4613         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4614         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4615         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4616         <float.h>.
4617         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4618         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4619         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4620         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4621         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4622         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4623         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4624         * math/auto-libm-test-in: Don't allow missing errno from erfc.
4625         Add more erfc tests.
4626         * math/auto-libm-test-out: Regenerated.
4627         * sysdeps/i386/fpu/libm-test-ulps: Update.
4628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4630         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4631         exp2, expm1, j0 and j1.
4632         * math/auto-libm-test-out: Regenerated.
4633         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4634         (erfc_test_data): Likewise.
4635         (exp_test_data): Likewise.
4636         (exp_tonearest_test_data): Likewise.
4637         (exp_towardzero_test_data): Likewise.
4638         (exp_downward_test_data): Likewise.
4639         (exp_upward_test_data): Likewise.
4640         (exp10_test_data): Likewise.
4641         (exp2_test_data): Likewise.
4642         (expm1_test_data): Likewise.
4643         (j0_test_data): Likewise.
4644         (j1_test_data): Likewise.
4645         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4646         (input_flag_type): Add flag_xfail_rounding.
4647         (input_flags): Add xfail-rounding.
4648         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4649         (output_for_one_input_case): Handle flag_xfail_rounding.
4650         * sysdeps/i386/fpu/libm-test-ulps: Update.
4651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4653 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
4655         [BZ #16289]
4656         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4657         division by 0.
4659 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4661         [BZ #16195]
4662         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4663         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4664         (STAP_PROBE0): New macro.
4665         (STAP_PROBE1): Likewise.
4666         (STAP_PROBE2): Likewise.
4667         (STAP_PROBE3): Likewise.
4668         (STAP_PROBE4): Likewise.
4670 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
4672         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4674 2013-12-02  Steve Ellcey  <sellcey@mips.com>
4676         * benchtests/Makefile (bench): Add sqrt.
4677         (LDLIBS-bench-sqrt): New.
4678         * benchtests/sqrt-input: New.
4680 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
4682         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4683         (GAIH_EAI): Likewise.
4684         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4685         (gaih_inet): Likewise.
4686         (getaddrinfo): Don't use GAIH_EAI.
4688         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4689         (struct gaih): Remove definition.
4691 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4693         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4694         Use HERRNOP directly.
4696 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4700 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
4702         * math/gen-auto-libm-tests.c (test_functions): Add more
4703         single-argument functions.
4704         (special_fill_pi_2): New function.
4705         (special_fill_minus_pi_2): Likewise.
4706         (special_fill_pi_6): Likewise.
4707         (special_fill_minus_pi_6): Likewise.
4708         (special_fill_pi_3): Likewise.
4709         (special_fill_2pi_3): Likewise.
4710         (special_fill_e): Likewise.
4711         (special_fill_1_e): Likewise.
4712         (special_fill_e_minus_1): Likewise.
4713         (special_real_inputs): Add more special inputs.
4714         (output_for_one_input_case): Do not require ERANGE on underflow to
4715         zero if round-to-nearest result does not underflow to zero, unless
4716         exact results required.
4717         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4718         atan, atanh, cbrt, cos and cosh.
4719         * math/auto-libm-test-out: Regenerated.
4720         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4721         (acos_tonearest_test_data): Likewise.
4722         (acos_towardzero_test_data): Likewise.
4723         (acos_downward_test_data): Likewise.
4724         (acos_upward_test_data): Likewise.
4725         (acosh_test_data): Likewise.
4726         (asin_test_data): Likewise.
4727         (asin_tonearest_test_data): Likewise.
4728         (asin_towardzero_test_data): Likewise.
4729         (asin_upward_test_data): Likewise.
4730         (asinh_test_data): Likewise.
4731         (atan_test_data): Likewise.
4732         (atanh_test_data): Likewise.
4733         (cbrt_test_data): Likewise.
4734         (cos_test_data): Likewise.
4735         (cos_tonearest_test_data): Likewise.
4736         (cos_towardzero_test_data): Likewise.
4737         (cos_downward_test_data): Likewise.
4738         (cos_upward_test_data): Likewise.
4739         (cosh_test_data): Likewise.
4740         (cosh_tonearest_test_data): Likewise.
4741         (cosh_towardzero_test_data): Likewise.
4742         (cosh_downward_test_data): Likewise.
4743         (cosh_upward_test_data): Likewise.
4744         * sysdeps/i386/fpu/libm-test-ulps: Update.
4745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4747 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
4749         [BZ #6787]
4750         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4751         * math/w_exp10f.c (__exp10f): Likewise.
4752         * math/w_exp10l.c (__exp10l): Likewise.
4753         * math/libm-test.inc (exp10_test_data): Add more tests and expect
4754         errno settings in existing tests.
4756         [BZ #14032]
4757         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4758         precision control set to double precision.
4759         * sysdeps/i386/fpu/w_sqrt.c: New file.
4760         * math/auto-libm-test-in: Add more tests.
4761         * math/auto-libm-test-out: Update.
4763         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4764         (sqrt_test_tonearest): New function.
4765         (sqrt_towardzero_test_data): New variable.
4766         (sqrt_test_towardzero): New function.
4767         (sqrt_downward_test_data): New variable.
4768         (sqrt_test_downward): New function.
4769         (sqrt_upward_test_data): New variable.
4770         (sqrt_test_upward): New function.
4771         (main): Call the new functions.
4773         * math/gen-auto-libm-tests.c: New file.
4774         * math/auto-libm-test-in: Likewise.
4775         * math/auto-libm-test-out: New generated file.
4776         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4777         variables.
4778         (%beautify): Add generated representations of zero.
4779         (top level): Set $auto_input and call parse_auto_input.
4780         (beautify): Remove trailing "f" from hex float constants.
4781         (parse_args): Handle XFAIL_TEST.
4782         (convert_condition): New function.
4783         (or_value): Likewise.
4784         (or_cond_value): Likewise.
4785         (generate_testfile): Handle AUTO_TESTS_* lines.
4786         (parse_auto_input): New function.
4787         * math/libm-test.inc (XFAIL_TEST): New macro.
4788         (ERRNO_UNCHANGED): Update value.
4789         (ERRNO_EDOM): Likewise.
4790         (ERRNO_ERANGE): Likewise.
4791         (IGNORE_RESULT): Likewise.
4792         (TEST_COND_flt_32): New macro.
4793         (TEST_COND_dbl_64): Likewise.
4794         (TEST_COND_ldbl_96_intel): Likewise.
4795         (TEST_COND_ldbl_96_m68k): Likewise.
4796         (TEST_COND_ldbl_128): Likewise.
4797         (TEST_COND_ldbl_128ibm): Likewise.
4798         (TEST_COND_long32): Likewise.
4799         (TEST_COND_long64): Likewise.
4800         (TEST_COND_before_rounding): Likewise.
4801         (TEST_COND_after_rounding): Likewise.
4802         (enable_test): Handle XFAIL_TEST flag.
4803         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4804         with finite results.
4805         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4806         auto-libm-test-out.
4808 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4809             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4811         [BZ #16214]
4812         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4813         __tls_get_addr_internal instead of __tls_get_offset in order to
4814         avoid GOT pointer dependency.  Make rtld export
4815         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4816         __tls_get_addr since we are a __tls_get_offset platform.
4817         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4818         GOT pointer being set up before.
4819         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4821 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
4823         * manual/math.texi (Errors in Math Functions): Document accuracy
4824         goals.
4826         [BZ #15004]
4827         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4828         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4829         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4830         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4831         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4832         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4833         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4834         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4835         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4836         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4837         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4838         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4839         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4840         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4841         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4842         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4844         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4845         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4846         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4847         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4848         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4849         Likewise.
4850         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4851         Likewise.
4852         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4853         Likewise.
4854         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4855         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4856         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4857         atomic-feupdateenv and flt-rounds.
4858         * sysdeps/powerpc/nofpu/Versions (libc): Add
4859         __atomic_feholdexcept, __atomic_feclearexcept,
4860         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4861         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4862         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4863         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4864         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4865         here.
4866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4867         Update.
4869         * manual/arith.texi (FP Exceptions): Document that exceptions may
4870         not be raised when matherr is used.
4871         (Math Error Reporting): Document overflow in directed rounding
4872         modes.  Document that errno may not be set when finite values are
4873         returned on overflow.  Document intent to set errno on underflow
4874         only for underflow to zero.
4876         [BZ #16271]
4877         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4878         round-to-nearest then adjust result for other rounding modes.
4879         * include/fenv.h (fegetround): Use libm_hidden_proto.
4880         * math/fegetround.c (fegetround): Use libm_hidden_def.
4881         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4882         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4883         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4884         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4885         Likewise.
4886         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4887         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4888         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4889         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4891 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4893         [BZ #16077]
4894         * nss/Versions (libnss_files): Add
4895         _nss_files_gethostbyname3_r.
4896         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4897         New function.
4898         (HOST_DB_LOOKUP): Remove macro.
4899         (_nss_files_gethostbyname_r): Implement function without the
4900         HOST_DB_LOOKUP macro.
4901         (_nss_files_gethostbyname2_r): Likewise.
4903 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
4905         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4907 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
4909         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4910         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4911         warning.
4913 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4915         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4916         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4917         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4918         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4919         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4920         __fe_nomask_env_priv and attribute_hidden.
4921         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4922         (libc_feupdateenv_test_ppc): Likewise.
4923         (libc_feresetround_ppc): Likewise.
4924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4925         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4926         compat_symbol macro.
4927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4928         (__fe_nomask_env): Likewise.
4929         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4931 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4933         * string/Makefile: Remove ifunc tests.
4934         * string/test-string.h: Define TEST_IFUNC.
4935         * string/test-bcopy-ifunc.c: Remove.
4936         * string/test-bzero-ifunc.c: Likewise.
4937         * string/test-memccpy-ifunc.c: Likewise.
4938         * string/test-memchr-ifunc.c: Likewise.
4939         * string/test-memcmp-ifunc.c: Likewise.
4940         * string/test-memcpy-ifunc.c: Likewise.
4941         * string/test-memmem-ifunc.c: Likewise.
4942         * string/test-memmove-ifunc.c: Likewise.
4943         * string/test-mempcpy-ifunc.c: Likewise.
4944         * string/test-memrchr-ifunc.c: Likewise.
4945         * string/test-memset-ifunc.c: Likewise.
4946         * string/test-rawmemchr-ifunc.c: Likewise.
4947         * string/test-stpcpy-ifunc.c: Likewise.
4948         * string/test-stpncpy-ifunc.c: Likewise.
4949         * string/test-strcasecmp-ifunc.c: Likewise.
4950         * string/test-strcasestr-ifunc.c: Likewise.
4951         * string/test-strcat-ifunc.c: Likewise.
4952         * string/test-strchr-ifunc.c: Likewise.
4953         * string/test-strchrnul-ifunc.c: Likewise.
4954         * string/test-strcmp-ifunc.c: Likewise.
4955         * string/test-strcpy-ifunc.c: Likewise.
4956         * string/test-strcspn-ifunc.c: Likewise.
4957         * string/test-strlen-ifunc.c: Likewise.
4958         * string/test-strncasecmp-ifunc.c: Likewise.
4959         * string/test-strncat-ifunc.c: Likewise.
4960         * string/test-strncmp-ifunc.c: Likewise.
4961         * string/test-strncpy-ifunc.c: Likewise.
4962         * string/test-strnlen-ifunc.c: Likewise.
4963         * string/test-strpbrk-ifunc.c: Likewise.
4964         * string/test-strrchr-ifunc.c: Likewise.
4965         * string/test-strspn-ifunc.c: Likewise.
4966         * string/test-strstr-ifunc.c: Likewise.
4968 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4970         * benchtests/Makefile: Remove ifunc tests.
4971         * benchtests/bench-string.h: Define TEST_IFUNC.
4972         * benchtests/bench-bcopy-ifunc.c: Remove.
4973         * benchtests/bench-bzero-ifunc.c: Likewise.
4974         * benchtests/bench-memccpy-ifunc.c: Likewise.
4975         * benchtests/bench-memchr-ifunc.c: Likewise.
4976         * benchtests/bench-memcmp-ifunc.c: Likewise.
4977         * benchtests/bench-memcpy-ifunc.c: Likewise.
4978         * benchtests/bench-memmem-ifunc.c: Likewise.
4979         * benchtests/bench-memmove-ifunc.c: Likewise.
4980         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4981         * benchtests/bench-memrchr-ifunc.c: Likewise.
4982         * benchtests/bench-memset-ifunc.c: Likewise.
4983         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4984         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4985         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4986         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4987         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4988         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4989         * benchtests/bench-strcat-ifunc.c: Likewise.
4990         * benchtests/bench-strchr-ifunc.c: Likewise.
4991         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4992         * benchtests/bench-strcmp-ifunc.c: Likewise.
4993         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4994         * benchtests/bench-strcpy-ifunc.c: Likewise.
4995         * benchtests/bench-strcspn-ifunc.c: Likewise.
4996         * benchtests/bench-strlen-ifunc.c: Likewise.
4997         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4998         * benchtests/bench-strncat-ifunc.c: Likewise.
4999         * benchtests/bench-strncmp-ifunc.c: Likewise.
5000         * benchtests/bench-strncpy-ifunc.c: Likewise.
5001         * benchtests/bench-strnlen-ifunc.c: Likewise.
5002         * benchtests/bench-strpbrk-ifunc.c: Likewise.
5003         * benchtests/bench-strrchr-ifunc.c: Likewise.
5004         * benchtests/bench-strsep-ifunc.c: Likewise.
5005         * benchtests/bench-strspn-ifunc.c: Likewise.
5006         * benchtests/bench-strstr-ifunc.c: Likewise.
5008 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5010         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5012 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
5014         * resolv/netdb.h: Use __glibc_reserved instead __unused.
5015         * rt/aio.h: Likewise.
5016         * sysdeps/gnu/bits/utmp.h: Likewise.
5017         * sysdeps/gnu/bits/utmpx.h: Likewise.
5018         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5019         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5020         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5021         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5022         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5023         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5024         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5025         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5026         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5027         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5028         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5029         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5030         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5032         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5033         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5034         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5035         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5036         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5037         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5038         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5039         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5040         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5041         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5042         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5043         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5044         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5045         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5046         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5047         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5048         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5049         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5050         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5051         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5052         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5053         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5054         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5055         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5056         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5057         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5058         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5059         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5061 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
5063         [BZ #16245]
5064         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5065         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5067 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
5069         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5070         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5071         Likewise.
5073 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5075         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5076         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5077         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5078         (__fesetround): Remove define.
5079         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5080         rounding and exceptions handling.
5081         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5082         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5083         (__fe_nomask_env): Likewise.
5084         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5085         __fegetround instead of fegetround.
5086         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5087         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5089 2013-11-21  Roland McGrath  <roland@hack.frob.com>
5091         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5092         it's there.
5094         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5096 2013-11-21  Meador Inge  <meadori@codesourcery.com>
5098         [BZ #11157]
5099         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5100         (encrypt_r): Likewise.
5101         * malloc/obstack.h (obstack_free): Likewise.
5102         * posix/unistd.h (encrypt): Likewise.
5104 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5106         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5107         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5108         DL_CALL_DT_FINI() that call the functions directly.
5109         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5110         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5111         * elf/dl-fini.c: Likewise.
5113 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
5115         * malloc/hooks.c (memalign_check): Add alignment rounding.
5116         * malloc/malloc.c (_mid_memalign): New function.
5117         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5118         Implement by calling _mid_memalign.
5119         * manual/probes.texi (Memory Allocation Probes): Remove
5120         memory_valloc_retry and memory_pvalloc_retry.
5122 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5124         * locale/programs/locarchive.c (open_archive): Add const
5125         qualifier to ARCHIVEFNAME and copy default fname to
5126         DEFAULT_FNAME.
5128         [BZ #15601]
5129         * libio/tst-widetext.input: Rename Oriya to Odia.
5130         * locale/iso-639.def: Likewise.
5132         * manual/probes.texi (Mathematical Function Probes): Add
5133         documentation for sin, cos, asin and acos probes.
5134         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5135         (__sin32): Add slowasin probe.
5136         (__cos32): Add slowacos probe.
5137         (__mpsin): Add slowsin probe.
5138         (__mpcos): Add slowcos probe.
5140 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
5142         [BZ #15483]
5143         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5144         thread-local __sim_exceptions_thread and global
5145         __sim_exceptions_global.
5146         (__sim_disabled_exceptions): Change to thread-local
5147         __sim_disabled_exceptions_thread and global
5148         __sim_disabled_exceptions_global.
5149         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5150         and global __sim_round_mode_global.
5151         (__simulate_exceptions): Use thread-local floating-point state and
5152         set global state from it as needed.
5153         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5154         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5155         __sim_round_mode_thread.
5156         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5157         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5158         and global __sim_exceptions_global.
5159         (__sim_disabled_exceptions): Change to thread-local
5160         __sim_disabled_exceptions_thread and global
5161         __sim_disabled_exceptions_global.
5162         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5163         and global __sim_round_mode_global.
5164         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5165         (SIM_SET_GLOBAL): Likewise.
5166         * sysdeps/powerpc/soft-fp/sfp-machine.h
5167         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5168         __sim_round_mode_thread.
5169         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5170         __sim_disabled_exceptions_thread.
5171         (__sim_exceptions): Change to __sim_exceptions_thread.
5172         (__sim_disabled_exceptions): Change to
5173         __sim_disabled_exceptions_thread.
5174         (__sim_round_mode): Change to __sim_round_mode_thread.
5175         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5176         thread-local floating-point state and set global state from it as
5177         needed.
5178         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5179         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5180         (__sim_disabled_exceptions): Remove extern declaration.
5181         (feenableexcept): Use thread-local floating-point state and set
5182         global state from it as needed.
5183         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5184         extern declaration.
5185         (__sim_disabled_exceptions): Likewise.
5186         (__sim_round_mode): Likewise.
5187         (__fegetenv): Use thread-local floating-point state.
5188         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5189         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5190         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5191         floating-point state and set global state from it as needed.
5192         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5193         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5194         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5195         Likewise.
5196         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5197         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5198         Likewise.
5199         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5200         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5201         Use __sim_round_mode_thread.
5202         * math/test-fenv-tls.c: New file.
5203         * math/Makefile (tests): Add test-fenv-tls.
5204         ($(objpfx)test-fenv-tls): Depend on
5205         $(common-objpfx)nptl/libpthread.so.
5207 2013-11-19  Andreas Schwab  <schwab@suse.de>
5209         * locale/programs/locale.c (show_info): Decode wordarray elements.
5210         * locale/categories.def (LC_MONETARY): Add element for
5211         _NL_MONETARY_CRNCYSTR.
5212         * locale/C-monetary.c (conversion_rate): New variable.
5213         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5214         element.
5216 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
5218         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5219         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5221 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5223         * elf/Makefile (tst-auxv): New test.
5224         * elf/tst-auxv.c: New
5225         * elf/rtld.c (dl_main): Adjust AT_EXECFN
5227 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
5229         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5230         (hidden_proto): Caller changed.
5231         (hidden_tls_proto): New macro.
5232         (libc_hidden_tls_proto): Likewise.
5233         (rtld_hidden_tls_proto): Likewise.
5234         (libm_hidden_tls_proto): Likewise.
5235         (libresolv_hidden_tls_proto): Likewise.
5236         (librt_hidden_tls_proto): Likewise.
5237         (libdl_hidden_tls_proto): Likewise.
5238         (libnss_files_hidden_tls_proto): Likewise.
5239         (libnsl_hidden_tls_proto): Likewise.
5240         (libnss_nisplus_hidden_tls_proto): Likewise.
5241         (libutil_hidden_tls_proto): Likewise.
5243 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
5245         [BZ #10253]
5246         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5247         (decompose_rpath): Defer expansion to fillin_rpath.
5248         (_dl_init_paths): Pass linkmap to fillin_rpath.
5250 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5252         * benchtests/Makefile: Add strsep.
5253         * benchtests/bench-strsep.c: New file: strsep benchtest.
5254         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5256 2013-11-18  Andreas Schwab  <schwab@suse.de>
5258         * locale/programs/locale.c (show_info) [case byte]: Check for
5259         '\377' instead of '\177'.
5260         * locale/C-monetary.c (not_available): Always use "\377".
5261         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5262         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
5263         detect unavailable sign_posn locale elements.
5264         * locale/localeconv.c (__localeconv): For grouping and
5265         mon_grouping handle "\177" and "\377" like no grouping.
5266         (INT_ELEM): New macro.  Use it to set all numeric members.
5267         * locale/programs/ld-monetary.c (monetary_read)
5268         <tok_mon_grouping>: Normalize single -1 to the empty string.
5269         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5270         Likewise.
5272 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
5274         [BZ #16055]
5275         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5276         when we match (nil).
5277         * stdio-common/tst-sscanf.c (struct test): Add testcase.
5279 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
5281         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5282         (NO_TEST_INLINE): Update value.
5283         (ERRNO_UNCHANGED): Likewise.
5284         (ERRNO_EDOM): Likewise.
5285         (ERRNO_ERANGE): Likewise.
5286         (IGNORE_RESULT): Likewise.
5287         (check_float_internal): Check signs of NaN results if
5288         TEST_NAN_SIGN used.
5289         (check_complex): Pass TEST_NAN_SIGN flag through to second
5290         check_float_internal call.
5291         (copysign_test_data): Add tests with quiet NaNs as second
5292         argument.  Use TEST_NAN_SIGN.
5293         (fabs_test_data): Add test of negative quiet NaN argument.  Use
5294         TEST_NAN_SIGN.
5295         (signbit_test_data): Add tests of quiet NaN argument.
5296         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5298         * math/gen-libm-test.pl (show_exceptions): Take extra argument
5299         $ignore_result.
5300         (parse_args): Handle function results specified as IGNORE.
5301         * math/libm-test.inc (IGNORE_RESULT): New macro.
5302         (check_float_internal): Do not check numerical result if flag
5303         IGNORE_RESULT set.
5304         (check_complex): Pass through IGNORE_RESULT to second
5305         check_float_internal call.
5306         (check_int): Do not check numerical result if flag IGNORE_RESULT
5307         set.
5308         (check_long): Likewise.
5309         (check_bool): Likewise.
5310         (check_longlong): Likewise.
5311         (lrint_test_data): Add tests of infinite and NaN arguments.
5312         (lrint_tonearest_test_data): Likewise.
5313         (lrint_towardzero_test_data): Likewise.
5314         (lrint_downward_test_data): Likewise.
5315         (lrint_upward_test_data): Likewise.
5316         (llrint_test_data): Likewise.
5317         (llrint_tonearest_test_data): Likewise.
5318         (llrint_towardzero_test_data): Likewise.
5319         (llrint_downward_test_data): Likewise.
5320         (llrint_upward_test_data): Likewise.
5321         (lround_test_data): Likewise.
5322         (llround_test_data): Likewise.
5324         * math/libm-test.inc (NO_TEST_INLINE): New macro.
5325         (ERRNO_UNCHANGED): Update value.
5326         (ERRNO_EDOM): Likewise.
5327         (ERRNO_ERANGE): Likewise.
5328         (NO_TEST_INLINE_FLOAT): New macro.
5329         (NO_TEST_INLINE_DOUBLE): Likewise.
5330         (enable_test): New function.
5331         (RUN_TEST_f_f): Check enable_test before running test.
5332         (RUN_TEST_2_f): Likewise.
5333         (RUN_TEST_fff_f): Likewise.
5334         (RUN_TEST_c_f): Likewise.
5335         (RUN_TEST_f_f1): Likewise.
5336         (RUN_TEST_fF_f1): Likewise.
5337         (RUN_TEST_fI_f1): Likewise.
5338         (RUN_TEST_ffI_f1): Likewise.
5339         (RUN_TEST_c_c): Likewise.
5340         (RUN_TEST_cc_c): Likewise.
5341         (RUN_TEST_f_i): Likewise.
5342         (RUN_TEST_f_i_tg): Likewise.
5343         (RUN_TEST_ff_i_tg): Likewise.
5344         (RUN_TEST_f_b): Likewise.
5345         (RUN_TEST_f_b_tg): Likewise.
5346         (RUN_TEST_f_l): Likewise.
5347         (RUN_TEST_f_L): Likewise.
5348         (RUN_TEST_fFF_11): Likewise.
5349         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5350         conditionals.
5351         (cosh_test_data): Likewise.
5352         (exp_test_data): Likewise.
5353         (expm1_test_data): Likewise.
5354         (hypot_test_data): Likewise.
5355         (pow_test_data): Likewise.
5356         (sinh_test_data): Likewise.
5357         (tanh_test_data): Likewise.
5358         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5359         flags argument.
5361         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5362         tests with quiet NaN input and output.
5363         (acosh_test_data): Likewise.
5364         (asin_test_data): Likewise.
5365         (asinh_test_data): Likewise.
5366         (atan_test_data): Likewise.
5367         (atanh_test_data): Likewise.
5368         (atan2_test_data): Likewise.
5369         (cbrt_test_data): Likewise.
5370         (cos_test_data): Likewise.
5371         (cosh_test_data): Likewise.
5372         (erf_test_data): Likewise.
5373         (erfc_test_data): Likewise.
5374         (exp_test_data): Likewise.
5375         (exp10_test_data): Likewise.
5376         (exp2_test_data): Likewise.
5377         (expm1_test_data): Likewise.
5378         (hypot_test_data): Likewise.
5379         (j0_test_data): Likewise.
5380         (j1_test_data): Likewise.
5381         (jn_test_data): Likewise.
5382         (lgamma_test_data): Likewise.
5383         (log_test_data): Likewise.
5384         (log10_test_data): Likewise.
5385         (log1p_test_data): Likewise.
5386         (log2_test_data): Likewise.
5387         (pow_test_data): Likewise.
5388         (scalb_test_data): Likewise.
5389         (sin_test_data): Likewise.
5390         (sincos_test_data): Likewise.
5391         (sinh_test_data): Likewise.
5392         (tan_test_data): Likewise.
5393         (tanh_test_data): Likewise.
5394         (tgamma_test_data): Likewise.
5395         (y0_test_data): Likewise.
5396         (y1_test_data): Likewise.
5397         (yn_test_data): Likewise.
5399         [BZ #16167]
5400         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5401         argument being NaN and avoid computations with second argument in
5402         that case.
5403         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5404         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5405         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5407 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
5409         * locale/iso-639.def: Add Chitwani Tharu (the).
5411 2013-11-14  Andreas Schwab  <schwab@suse.de>
5413         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5414         word instead of empty string.
5416 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5419         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5421         (__fe_nomask_env): Likewise.
5423 2013-11-13  Steve Ellcey  <sellcey@mips.com>
5425         * benchtests/bench-timing.h: Include time.h.
5427 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
5429         [BZ #15997]
5430         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5431         to 3.4.0 for x32.
5432         * sysdeps/unix/sysv/linux/configure: Regenerated.
5434 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
5436         [BZ #16151]
5437         * stdlib/strtod_l.c (round_and_return): Do not consider
5438         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5439         exponent one less than half the least subnormal exponent.
5440         * stdlib/test-strtod-round-data: Add more tests.
5441         * stdlib/tst-strtod-round.c (tests): Regenerated.
5443 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5445         [BZ #14143]
5446         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5447         (__fe_mask_env): Likewise.
5448         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5449         libm_hidden_proto and add function prototype.
5450         (__fe_mask_env): Add function prototype.
5451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5452         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5454         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5456         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5458 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5460         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5461         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5463 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5465         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5466         of htab_find_slot().
5468 2013-11-11  David S. Miller  <davem@davemloft.net>
5470         [BZ #16150]
5471         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5472         symbol in the non-vis3 case in static builds.
5473         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5474         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5475         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5476         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5478 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5480         [BZ #387]
5481         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5482         it is empty.
5484 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5486         * benchtests/Makefile: Add bench-strtod.
5487         * benchtests/bench-strtod.c: New file: strtod benchtest
5489 2013-11-11  Andreas Schwab  <schwab@suse.de>
5491         [BZ #16153]
5492         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5493         terminating NUL in key length.
5495 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5497         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5498         Add artificial ODP entry for vDSO symbol for PPC64.
5499         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5500         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5502 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
5504         [BZ #15374]
5505         * nss/getent.c (services_keys): Recognize services starting with digit.
5507 2013-11-06  David S. Miller  <davem@davemloft.net>
5509         [BZ #15985]
5510         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5511         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5513 2013-11-06  Will Newton  <will.newton@linaro.org>
5515         * manual/memory.texi (Malloc Examples): Remove register
5516         keyword from examples.
5518 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
5520         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5522 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
5524         [BZ #6981]
5525         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5526         depending on [__GCC_IEC_559 > 0].
5527         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5528         depending on [__GCC_IEC_559_COMPLEX > 0].
5530 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
5532         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5533         to iso-639.def.
5535 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
5537         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5539 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
5541         [BZ #16112]
5542         * malloc/malloc (malloc_info): Do not handle first bin as
5543         special case.
5545 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
5547         * locale/iso-639.def: Add Central Nahuatl (nhn).
5549 2013-11-01  Bruno Haible  <bruno@clisp.org>
5551         [BZ #7003]
5552         * manual/math.texi (BSD Random): Specify range upper bound as
5553         in POSIX.
5555 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
5557         * locale/iso-639.def: Add Meadow Mari (mhr).
5559 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
5561         [BZ #14752], [BZ #15763]
5562         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5563         Validate name.
5564         * rt/tst_shm.c: Add test for escaping directory.
5566 2013-10-31  Andreas Schwab  <schwab@suse.de>
5568         [BZ #15917]
5569         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5570         followed by 'x' as part of digit sequence.
5571         * stdio-common/tst-sscanf.c (double_tests2): New tests.
5573 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5575         [BZ #16037]
5576         * configure.ac: allow GNU Make 4.0 and greater.
5577         * configure: Regenerated.
5579 2013-10-30  Will Newton  <will.newton@linaro.org>
5581         [BZ #16038]
5582         * malloc/hooks.c (memalign_check): Limit alignment to the
5583         maximum representable power of two.
5584         * malloc/malloc.c (__libc_memalign): Likewise.
5585         * malloc/tst-memalign.c (do_test): Add test for very
5586         large alignment values.
5587         * malloc/tst-posix_memalign.c (do_test): Likewise.
5589 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
5591         [BZ #11087]
5592         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5593         (munmap_chunk): Likewise.
5594         (mremap_chunk): Likewise.
5596 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
5598         [BZ #15799]
5599         * stdlib/div.c (div): Remove obsolete code.
5600         * stdlib/ldiv.c (ldiv): Likewise.
5601         * stdlib/lldiv.c (lldiv): Likewise.
5603 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5605         [BZ #16071]
5606         * nss/nss_files/files-XXX.c (get_contents_ret): New
5607         enumerator.
5608         (get_contents): New function.
5609         (internal_getent): Use it.  Expand size of LINEBUFLEN.
5611 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
5613         * configure.in: Moved to ...
5614         * configure.ac: ... here. Change reference to configure.in
5615         to configure.ac.
5616         * sysdeps/arm/preconfigure.ac: ... here.
5617         configure.in to configure.ac.
5618         * sysdeps/gnu/configure.in: Moved to ...
5619         * sysdeps/gnu/configure.ac: ... here.
5620         * sysdeps/i386/configure.in: Moved to ...
5621         * sysdeps/i386/configure.ac: ... here.
5622         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5623         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5624         * sysdeps/mach/configure.in: Moved to ...
5625         * sysdeps/mach/configure.ac: ... here.
5626         * sysdeps/mach/hurd/configure.in: Moved to ...
5627         * sysdeps/mach/hurd/configure.ac: ... here.
5628         * sysdeps/powerpc/configure.in: Moved to ...
5629         * sysdeps/powerpc/configure.ac: ... here.
5630         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5631         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5632         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5633         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5634         * sysdeps/s390/s390-32/configure.in: Moved to ...
5635         * sysdeps/s390/s390-32/configure.ac: ... here.
5636         * sysdeps/s390/s390-64/configure.in: Moved to ...
5637         * sysdeps/s390/s390-64/configure.ac: ... here.
5638         * sysdeps/sh/configure.in: Moved to ...
5639         * sysdeps/sh/configure.ac: ... here.
5640         * sysdeps/sparc/configure.in: Moved to ...
5641         * sysdeps/sparc/configure.ac: ... here.
5642         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5643         * sysdeps/unix/sysv/linux/configure.ac: ... here.
5644         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5645         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5646         * sysdeps/x86_64/configure.in: Moved to ...
5647         * sysdeps/x86_64/configure.ac: ... here.
5648         * sysdeps/x86_64/preconfigure.in: Moved to ...
5649         * sysdeps/x86_64/preconfigure.ac: ... here.
5650         * aclocal.m4: Change reference to configure.in to configure.ac.
5651         * config.h.in: Likewise.
5652         * manual/install.texi: Likewise.
5653         * manual/maint.texi: Likewise.
5654         * Makefile: Likewise.
5655         * malloc/Makefile: Likewise.
5656         * nscd/Makefile: Likewise.
5657         * Makeconfig: Change reference to configure.in and
5658         preconfigure.in to configure.ac and preconfigure.ac
5659         respectively.
5660         * INSTALL: Regenerated.
5661         * configure: Likewise.
5662         * sysdeps/gnu/configure: Likewise.
5663         * sysdeps/i386/configure: Likewise.
5664         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5665         * sysdeps/mach/configure: Likewise.
5666         * sysdeps/mach/hurd/configure: Likewise.
5667         * sysdeps/powerpc/configure: Likewise.
5668         * sysdeps/powerpc/powerpc32/configure: Likewise.
5669         * sysdeps/powerpc/powerpc64/configure: Likewise.
5670         * sysdeps/s390/s390-32/configure: Likewise.
5671         * sysdeps/s390/s390-64/configure: Likewise.
5672         * sysdeps/sh/configure: Likewise.
5673         * sysdeps/sparc/configure: Likewise.
5674         * sysdeps/unix/sysv/linux/configure: Likewise.
5675         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5676         * sysdeps/x86_64/configure: Likewise.
5677         * sysdeps/x86_64/preconfigure: Likewise.
5679 2013-10-29  Andreas Schwab  <schwab@suse.de>
5681         * stdio-common/Makefile (tst-swscanf-ENV): Define.
5683 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5685         * benchtests/pow-inputs: Add new inputs.
5687         * benchtests/exp-inputs: Add new inputs.
5689         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5690         conditional check for return value.
5691         (__cos32): Likewise.
5693 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5695         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5696         to provide a boost for large inputs with word alignment.
5697         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5698         implementation based on optimized PPC64 strcpy.
5699         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5700         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5701         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5702         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5704 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
5706         [BZ #2801]
5707         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5709 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
5711         [BZ #14876]
5712         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5713         * time/tst-strptime.c (day_tests): Add testcase.
5715 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
5717         [BZ #14029]
5718         * manual/pattern.texi: Acknowledge that fnmatch can fail.
5720 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
5722         [BZ #16074]
5723         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5724         MAP_FAILED on error.
5726 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5728         [BZ #16072]
5729         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5730         heap for large requests.
5732 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
5734         [BZ #9954]
5735         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5736         result if the result has no associated interface.
5737         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5738         interface for all 127.X.Y.Z addresses.
5740 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
5742         * locale/iso-639.def: Add Ligurian (lij)
5744 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
5746         [BZ #15825]
5747         * sunrpc/rpc_main.c: Document rpcgen -5.
5749 2013-10-19  Michael Stahl  <mstahl@redhat.com>
5751         * elf/rtld.c (do_preload): Print the reason why preloading failed.
5753 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
5755         [BZ #10278]
5756         * posix/glob.c: Match only directories when trailing slash is present.
5757         * posix/tst-gnuglob.c (my_opendir): Do not open files.
5758         (main): Add testcase.
5760 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
5762         [BZ #15670]
5763         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5765 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
5767         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5768         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5769         AUTH_DES and cindex for FIPS 140-2.
5770         (DES Encryption): Add cindex FIPS 46-3.
5772         * locale/locarchive.h (struct locarhandle): Add fname.
5773         * locale/programs/localedef.c (main): Pass ARGV[remaining]
5774         if an optional argument was specified to --list-archive,
5775         otherwise NULL.
5776         * locale/programs/locarchive.c (show_archive_content): Take new
5777         argument fname and pass it via ah.fname to open_archive.
5778         * locale/programs/localedef.h: Update decl.
5779         (open_archive): If AH->fname is non-null, open that file
5780         rather than the default file name, and don't ignore ENOENT.
5781         (create_archive): Set AH.fname to NULL.
5782         (delete_locales_from_archive): Likewise.
5783         (add_locales_to_archive): Likewise.
5784         * locale/programs/locfile.c (write_all_categories): Likewise.
5786 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
5787             Aldy Hernandez  <aldyh@redhat.com>
5789         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5790         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5791         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5792         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5793         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5794         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5796         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5797         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5798         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5799         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5800         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5801         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5802         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5803         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5804         Likewise.
5805         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5806         Likewise.
5807         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5808         Likewise.
5809         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5810         Likewise.
5811         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5812         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5813         Likewise.
5814         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5815         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5816         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5817         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5818         Likewise.
5819         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5820         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5821         * sysdeps/powerpc/preconfigure: Likewise.
5822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5823         Likewise.
5824         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5825         Replace contents of file by #include of <fenv_libc.h>.
5826         * sysdeps/powerpc/soft-fp/sfp-machine.h
5827         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5828         and <sys/prctl.h>.
5829         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5830         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5842         Allow copysignl PLT reference to be missing.
5844 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
5845             Joseph Myers  <joseph@codesourcery.com
5847         [BZ #15948]
5848         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5849         single character.
5850         (add_to_tablewc): Assert sequence of wide characters is nonempty.
5852 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5854         * elf/tst-tls-dlinfo.c: Don't include tls.h.
5855         * elf/tst-tls1.c: Likewise.
5856         * elf/tst-tls10.h: Likewise.
5857         * elf/tst-tls14.c: Likewise.
5858         * elf/tst-tls2.c: Likewise.
5859         * elf/tst-tls3.c: Likewise.
5860         * elf/tst-tls4.c: Likewise.
5861         * elf/tst-tls5.c: Likewise.
5862         * elf/tst-tls6.c: Likewise.
5863         * elf/tst-tls7.c: Likewise.
5864         * elf/tst-tls8.c: Likewise.
5865         * elf/tst-tls9.c: Likewise.
5866         * elf/tst-tlsmod1.c: Likewise.
5867         * elf/tst-tlsmod13.c: Likewise.
5868         * elf/tst-tlsmod13a.c: Likewise.
5869         * elf/tst-tlsmod14a.c: Likewise.
5870         * elf/tst-tlsmod16a.c: Likewise.
5871         * elf/tst-tlsmod16b.c: Likewise.
5872         * elf/tst-tlsmod2.c: Likewise.
5873         * elf/tst-tlsmod3.c: Likewise.
5874         * elf/tst-tlsmod4.c: Likewise.
5875         * elf/tst-tlsmod5.c: Likewise.
5876         * elf/tst-tlsmod6.c: Likewise.
5878 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
5880         [BZ #12486]
5881         * malloc/malloc.c: remove checks for statistics.
5883 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5885         [BZ #15277]
5886         * inet/inet_net.c (inet_network): Detect additional invalid strings.
5887         * inet/tst-network.c: Add testcase.
5889 2013-10-17  Andreas Schwab  <schwab@suse.de>
5891         [BZ #15218]
5892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5893         to determine canonical name.
5895 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5897         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5898         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5899         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5900         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5901         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5902         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5903         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5904         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5905         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5906         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5907         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5908         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5909         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5910         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5911         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5912         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5913         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5914         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5915         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5916         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5917         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5918         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5919         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5920         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5921         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5922         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5923         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5924         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5925         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5926         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5927         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5928         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5929         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5930         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5931         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5932         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5933         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5934         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5935         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5936         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5937         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5938         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5939         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5940         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5941         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5942         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5943         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5944         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5945         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5946         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5947         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5948         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5949         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5950         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5951         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5952         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5953         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5954         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5956 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
5958         [BZ #16041]
5959         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5960         make result into a quiet NaN.
5962 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
5964         * soft-fp/adddf3.c: Fix horizontal whitespace.
5965         * soft-fp/addsf3.c: Likewise.
5966         * soft-fp/addtf3.c: Likewise.
5967         * soft-fp/divdf3.c: Likewise.
5968         * soft-fp/divsf3.c: Likewise.
5969         * soft-fp/divtf3.c: Likewise.
5970         * soft-fp/double.h: Likewise.
5971         * soft-fp/eqdf2.c: Likewise.
5972         * soft-fp/eqsf2.c: Likewise.
5973         * soft-fp/eqtf2.c: Likewise.
5974         * soft-fp/extenddftf2.c: Likewise.
5975         * soft-fp/extended.h: Likewise.
5976         * soft-fp/extendsfdf2.c: Likewise.
5977         * soft-fp/extendsftf2.c: Likewise.
5978         * soft-fp/extendxftf2.c: Likewise.
5979         * soft-fp/fixdfdi.c: Likewise.
5980         * soft-fp/fixdfsi.c: Likewise.
5981         * soft-fp/fixdfti.c: Likewise.
5982         * soft-fp/fixsfdi.c: Likewise.
5983         * soft-fp/fixsfsi.c: Likewise.
5984         * soft-fp/fixsfti.c: Likewise.
5985         * soft-fp/fixtfdi.c: Likewise.
5986         * soft-fp/fixtfsi.c: Likewise.
5987         * soft-fp/fixtfti.c: Likewise.
5988         * soft-fp/fixunsdfdi.c: Likewise.
5989         * soft-fp/fixunsdfsi.c: Likewise.
5990         * soft-fp/fixunsdfti.c: Likewise.
5991         * soft-fp/fixunssfdi.c: Likewise.
5992         * soft-fp/fixunssfsi.c: Likewise.
5993         * soft-fp/fixunssfti.c: Likewise.
5994         * soft-fp/fixunstfdi.c: Likewise.
5995         * soft-fp/fixunstfsi.c: Likewise.
5996         * soft-fp/fixunstfti.c: Likewise.
5997         * soft-fp/floatdidf.c: Likewise.
5998         * soft-fp/floatdisf.c: Likewise.
5999         * soft-fp/floatditf.c: Likewise.
6000         * soft-fp/floatsidf.c: Likewise.
6001         * soft-fp/floatsisf.c: Likewise.
6002         * soft-fp/floatsitf.c: Likewise.
6003         * soft-fp/floattidf.c: Likewise.
6004         * soft-fp/floattisf.c: Likewise.
6005         * soft-fp/floattitf.c: Likewise.
6006         * soft-fp/floatundidf.c: Likewise.
6007         * soft-fp/floatundisf.c: Likewise.
6008         * soft-fp/floatunditf.c: Likewise.
6009         * soft-fp/floatunsidf.c: Likewise.
6010         * soft-fp/floatunsisf.c: Likewise.
6011         * soft-fp/floatunsitf.c: Likewise.
6012         * soft-fp/floatuntidf.c: Likewise.
6013         * soft-fp/floatuntisf.c: Likewise.
6014         * soft-fp/floatuntitf.c: Likewise.
6015         * soft-fp/fmadf4.c: Likewise.
6016         * soft-fp/fmasf4.c: Likewise.
6017         * soft-fp/fmatf4.c: Likewise.
6018         * soft-fp/gedf2.c: Likewise.
6019         * soft-fp/gesf2.c: Likewise.
6020         * soft-fp/getf2.c: Likewise.
6021         * soft-fp/ledf2.c: Likewise.
6022         * soft-fp/lesf2.c: Likewise.
6023         * soft-fp/letf2.c: Likewise.
6024         * soft-fp/muldf3.c: Likewise.
6025         * soft-fp/mulsf3.c: Likewise.
6026         * soft-fp/multf3.c: Likewise.
6027         * soft-fp/negdf2.c: Likewise.
6028         * soft-fp/negsf2.c: Likewise.
6029         * soft-fp/negtf2.c: Likewise.
6030         * soft-fp/op-1.h: Likewise.
6031         * soft-fp/op-2.h: Likewise.
6032         * soft-fp/op-4.h: Likewise.
6033         * soft-fp/op-8.h: Likewise.
6034         * soft-fp/op-common.h: Likewise.
6035         * soft-fp/quad.h: Likewise.
6036         * soft-fp/single.h: Likewise.
6037         * soft-fp/soft-fp.h: Likewise.
6038         * soft-fp/sqrtdf2.c: Likewise.
6039         * soft-fp/sqrtsf2.c: Likewise.
6040         * soft-fp/sqrttf2.c: Likewise.
6041         * soft-fp/subdf3.c: Likewise.
6042         * soft-fp/subsf3.c: Likewise.
6043         * soft-fp/subtf3.c: Likewise.
6044         * soft-fp/truncdfsf2.c: Likewise.
6045         * soft-fp/trunctfdf2.c: Likewise.
6046         * soft-fp/trunctfsf2.c: Likewise.
6047         * soft-fp/trunctfxf2.c: Likewise.
6048         * soft-fp/unorddf2.c: Likewise.
6049         * soft-fp/unordsf2.c: Likewise.
6050         * soft-fp/unordtf2.c: Likewise.
6052 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
6054         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6055         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6057 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
6059         * elf/dl-libc.c: Clear initfini list after freeing.
6061 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
6063         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6064         * soft-fp/addsf3.c: Likewise.
6065         * soft-fp/addtf3.c: Likewise.
6066         * soft-fp/divdf3.c: Likewise.
6067         * soft-fp/divsf3.c: Likewise.
6068         * soft-fp/divtf3.c: Likewise.
6069         * soft-fp/double.h: Likewise.
6070         * soft-fp/eqdf2.c: Likewise.
6071         * soft-fp/eqsf2.c: Likewise.
6072         * soft-fp/eqtf2.c: Likewise.
6073         * soft-fp/extenddftf2.c: Likewise.
6074         * soft-fp/extended.h: Likewise.
6075         * soft-fp/extendsfdf2.c: Likewise.
6076         * soft-fp/extendsftf2.c: Likewise.
6077         * soft-fp/extendxftf2.c: Likewise.
6078         * soft-fp/fixdfdi.c: Likewise.
6079         * soft-fp/fixdfsi.c: Likewise.
6080         * soft-fp/fixdfti.c: Likewise.
6081         * soft-fp/fixsfdi.c: Likewise.
6082         * soft-fp/fixsfsi.c: Likewise.
6083         * soft-fp/fixsfti.c: Likewise.
6084         * soft-fp/fixtfdi.c: Likewise.
6085         * soft-fp/fixtfsi.c: Likewise.
6086         * soft-fp/fixtfti.c: Likewise.
6087         * soft-fp/fixunsdfdi.c: Likewise.
6088         * soft-fp/fixunsdfsi.c: Likewise.
6089         * soft-fp/fixunsdfti.c: Likewise.
6090         * soft-fp/fixunssfdi.c: Likewise.
6091         * soft-fp/fixunssfsi.c: Likewise.
6092         * soft-fp/fixunssfti.c: Likewise.
6093         * soft-fp/fixunstfdi.c: Likewise.
6094         * soft-fp/fixunstfsi.c: Likewise.
6095         * soft-fp/fixunstfti.c: Likewise.
6096         * soft-fp/floatdidf.c: Likewise.
6097         * soft-fp/floatdisf.c: Likewise.
6098         * soft-fp/floatditf.c: Likewise.
6099         * soft-fp/floatsidf.c: Likewise.
6100         * soft-fp/floatsisf.c: Likewise.
6101         * soft-fp/floatsitf.c: Likewise.
6102         * soft-fp/floattidf.c: Likewise.
6103         * soft-fp/floattisf.c: Likewise.
6104         * soft-fp/floattitf.c: Likewise.
6105         * soft-fp/floatundidf.c: Likewise.
6106         * soft-fp/floatundisf.c: Likewise.
6107         * soft-fp/floatunsidf.c: Likewise.
6108         * soft-fp/floatunsisf.c: Likewise.
6109         * soft-fp/floatuntidf.c: Likewise.
6110         * soft-fp/floatuntisf.c: Likewise.
6111         * soft-fp/floatuntitf.c: Likewise.
6112         * soft-fp/fmadf4.c: Likewise.
6113         * soft-fp/fmasf4.c: Likewise.
6114         * soft-fp/fmatf4.c: Likewise.
6115         * soft-fp/gedf2.c: Likewise.
6116         * soft-fp/gesf2.c: Likewise.
6117         * soft-fp/getf2.c: Likewise.
6118         * soft-fp/ledf2.c: Likewise.
6119         * soft-fp/lesf2.c: Likewise.
6120         * soft-fp/letf2.c: Likewise.
6121         * soft-fp/muldf3.c: Likewise.
6122         * soft-fp/mulsf3.c: Likewise.
6123         * soft-fp/multf3.c: Likewise.
6124         * soft-fp/negdf2.c: Likewise.
6125         * soft-fp/negsf2.c: Likewise.
6126         * soft-fp/negtf2.c: Likewise.
6127         * soft-fp/op-1.h: Likewise.
6128         * soft-fp/op-2.h: Likewise.
6129         * soft-fp/op-4.h: Likewise.
6130         * soft-fp/op-8.h: Likewise.
6131         * soft-fp/op-common.h: Likewise.
6132         * soft-fp/quad.h: Likewise.
6133         * soft-fp/single.h: Likewise.
6134         * soft-fp/soft-fp.h: Likewise.
6135         * soft-fp/sqrtdf2.c: Likewise.
6136         * soft-fp/sqrtsf2.c: Likewise.
6137         * soft-fp/sqrttf2.c: Likewise.
6138         * soft-fp/subdf3.c: Likewise.
6139         * soft-fp/subsf3.c: Likewise.
6140         * soft-fp/subtf3.c: Likewise.
6141         * soft-fp/truncdfsf2.c: Likewise.
6142         * soft-fp/trunctfdf2.c: Likewise.
6143         * soft-fp/trunctfsf2.c: Likewise.
6144         * soft-fp/trunctfxf2.c: Likewise.
6145         * soft-fp/unorddf2.c: Likewise.
6146         * soft-fp/unordsf2.c: Likewise.
6147         * soft-fp/unordtf2.c: Likewise.
6149 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
6151         [BZ #15672]
6152         * misc/error.c (error_tail): Fix possible buffer overflow.
6154 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
6156         [BZ #13028]
6157         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6158         address.
6160 2013-10-14  P. J. McDermott  <pj@pehjota.net>
6162         [BZ #832]
6163         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
6164         testing pipefail option.
6166 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
6168         * soft-fp/double.h: Indent preprocessor directives inside #if.
6169         * soft-fp/extended.h: Likewise.
6170         * soft-fp/op-2.h: Likewise.
6171         * soft-fp/op-4.h: Likewise.
6172         * soft-fp/op-common.h: Likewise.
6173         * soft-fp/quad.h: Likewise.
6174         * soft-fp/single.h: Likewise.
6175         * soft-fp/soft-fp.h: Likewise.
6177 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
6179         * iconv/iconv_prog.c: Fix typos.
6180         * stdio-common/psiginfo-data.h: Likewise.
6182 2013-10-12   Reuben Thomas <rrt@sc3d.org>
6184         [BZ #15764]
6185         * locale/setlocale.c: Fix typo.
6187 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
6189         [BZ #16036]
6190         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6191         signaling NaN arguments.
6192         * soft-fp/unordsf2.c (__unordsf2): Likewise.
6193         * soft-fp/unordtf2.c (__unordtf2): Likewise.
6195         [BZ #14910]
6196         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6197         unordered operands.
6198         * soft-fp/gesf2.c (__gesf2): Likewise.
6199         * soft-fp/getf2.c (__getf2): Likewise.
6200         * soft-fp/ledf2.c (__ledf2): Likewise.
6201         * soft-fp/lesf2.c (__lesf2): Likewise.
6202         * soft-fp/letf2.c (__letf2): Likewise.
6204         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6205         * soft-fp/eqsf2.c (__eqsf2): Likewise.
6206         * soft-fp/eqtf2.c (__eqtf2): Likewise.
6207         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6208         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6209         * soft-fp/fixdfti.c (__fixdfti): Likewise.
6210         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6211         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6212         * soft-fp/fixsfti.c (__fixsfti): Likewise.
6213         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6214         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6215         * soft-fp/fixtfti.c (__fixtfti): Likewise.
6216         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6217         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6218         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6219         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6220         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6221         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6222         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6223         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6224         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6225         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6226         * soft-fp/floatdisf.c (__floatdisf): Likewise.
6227         * soft-fp/floatsisf.c (__floatsisf): Likewise.
6228         * soft-fp/floattidf.c (__floattidf): Likewise.
6229         * soft-fp/floattisf.c (__floattisf): Likewise.
6230         * soft-fp/floattitf.c (__floattitf): Likewise.
6231         * soft-fp/floatundidf.c (__floatundidf): Likewise.
6232         * soft-fp/floatundisf.c (__floatundisf): Likewise.
6233         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6234         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6235         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6236         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6237         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6238         * soft-fp/gesf2.c (__gesf2): Likewise.
6239         * soft-fp/getf2.c (__getf2): Likewise.
6240         * soft-fp/ledf2.c (__ledf2): Likewise.
6241         * soft-fp/lesf2.c (__lesf2): Likewise.
6242         * soft-fp/letf2.c (__letf2): Likewise.
6244         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6245         Undefine and redefine.
6246         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6247         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6248         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6249         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6250         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6251         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6252         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6253         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6254         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6255         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6256         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6257         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6258         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6259         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6260         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6262         [BZ #16032]
6263         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6264         without decrementing exponent if mantissa >= that for the
6265         denominator, not >.
6266         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6267         denominator, not >.  Decrement exponent in < case instead of
6268         incrementing in >= case.
6269         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6270         without decrementing exponent if mantissa >= that for the
6271         denominator, not >.
6273         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6274         computing saturated result for unsigned overflow.
6276 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6277             Jeff Law  <law@redhat.com>
6279         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6280         (atan2Mp): Add systemtap probe marker.
6281         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6282         (__ieee754_log): Add systemtap probe marker.
6283         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6284         (atanMp): Add systemtap probe marker.
6285         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6286         (tanMp): Add systemtap probe marker.
6287         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6288         (__slowexp): Add systemtap probe marker.
6289         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6290         (__slowpow): Add systemtap probe marker.
6291         * manual/probes.texi: Document probes.
6293 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
6295         [BZ #15362]
6296         * libio/fileops.c (_IO_new_file_write): Return count of bytes
6297         written.
6298         (_IO_new_file_xsputn): Don't return EOF if nothing has been
6299         written.
6300         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6301         written to buffer but not flushed.
6302         * libio/iofwrite_u.c:  Likewise.
6303         * libio/iopadn.c:  Return bytes returned even if EOF was
6304         encountered.
6305         * libio/iowpadn.c:  Likewise.
6306         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6307         if _IO_padn does not write the whole buffer.
6308         [!COMPILE_WPRINTF] (PAD): Likewise.
6310 2013-10-10  David S. Miller  <davem@davemloft.net>
6312         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6313         directory block.
6315 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
6317         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
6318         instead of FSF address.
6319         * soft-fp/fixdfti.c: Likewise.
6320         * soft-fp/fixsfti.c: Likewise.
6321         * soft-fp/fixtfti.c: Likewise.
6322         * soft-fp/fixunsdfti.c: Likewise.
6323         * soft-fp/fixunssfti.c: Likewise.
6324         * soft-fp/fixunstfti.c: Likewise.
6325         * soft-fp/floattidf.c: Likewise.
6326         * soft-fp/floattisf.c: Likewise.
6327         * soft-fp/floattitf.c: Likewise.
6328         * soft-fp/floatuntidf.c: Likewise.
6329         * soft-fp/floatuntisf.c: Likewise.
6330         * soft-fp/floatuntitf.c: Likewise.
6331         * soft-fp/trunctfxf2.c: Likewise.
6333         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
6334         * soft-fp/fixdfti.c: Likewise.
6335         * soft-fp/fixsfti.c: Likewise.
6336         * soft-fp/fixtfti.c: Likewise.
6337         * soft-fp/fixunsdfti.c: Likewise.
6338         * soft-fp/fixunssfti.c: Likewise.
6339         * soft-fp/fixunstfti.c: Likewise.
6340         * soft-fp/floattidf.c: Likewise.
6341         * soft-fp/floattisf.c: Likewise.
6342         * soft-fp/floattitf.c: Likewise.
6343         * soft-fp/floatuntidf.c: Likewise.
6344         * soft-fp/floatuntisf.c: Likewise.
6345         * soft-fp/floatuntitf.c: Likewise.
6346         * soft-fp/trunctfxf2.c: Likewise.
6348 2013-10-10  David S. Miller  <davem@davemloft.net>
6350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6352 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
6354         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6355         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6356         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6357         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6358         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6359         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6360         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6362         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6363         for NaNs before doing comparisons on argument.
6364         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6365         Likewise.
6367 2013-10-10  Will Newton  <will.newton@linaro.org>
6369         * malloc/hooks.c (memalign_check): Ensure the value of bytes
6370         passed to _int_memalign does not overflow.
6372 2013-10-10  Torvald Riegel  <triegel@redhat.com>
6374         * scripts/bench.pl: Add include-sources directive.
6375         * benchtests/README: Update documentation.
6377 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
6379         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6380         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6381         instead of FP_INIT_ROUNDMODE.
6382         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6383         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6385         [BZ #16034]
6386         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
6387         copy class of input value.
6388         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
6389         not handle exceptions.
6390         * soft-fp/negsf2.c (__negsf2): Likewise.
6391         * soft-fp/negtf2.c (__negtf2): Likewise.
6392         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6394 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
6396         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6397         semicolon.  From Linux kernel.
6399 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
6401         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6403 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
6405         [BZ #156]
6406         * manual/socket.texi: Added statement about buffer
6407         for gethostbyname2_r.
6409 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
6411         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6412         Use .p2align directive instead, throughout.
6413         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6414         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6415         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6416         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6417         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6418         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6419         * sysdeps/x86_64/strchr.S: Likewise.
6420         * sysdeps/x86_64/strrchr.S: Likewise.
6422 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6424         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6426         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6428         * sysdeps/generic/math_private.h (__mpsin1): Remove
6429         declaration.
6430         (__mpcos1): Likewise.
6431         (__mpsin): New argument __range_reduce.
6432         (__mpcos): Likewise.
6433         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6434         (slow): Use __mpsin and __mpcos.
6435         (slow1): Likewise.
6436         (slow2): Likewise.
6437         (sloww): Likewise.
6438         (sloww1): Likewise.
6439         (sloww2): Likewise.
6440         (bsloww): Likewise.
6441         (bsloww1): Likewise.
6442         (bsloww2): Likewise.
6443         (cslow2): Likewise.
6444         (csloww): Likewise.
6445         (csloww1): Likewise.
6446         (csloww2): Likewise.
6447         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6448         range_reduce.  Merge in __mpsin1.
6449         (__mpcos): Likewise.
6450         (__mpsin1): Remove.
6451         (__mpcos1): Likewise.
6453 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
6455         * locale/loadlocale.c (_nl_intern_locale_data): Use
6456         LOCFILE_ALIGNED_P.
6457         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6458         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6459         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6460         obstack data is appropriately aligned.
6461         (obstack_int32_grow_fast): Likewise.
6462         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6463         * locale/programs/locfile.c (add_locale_uint32): Likewise.
6464         (add_locale_uint32_array): Likewise.
6466 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6468         * benchtests/Makefile: Remove ARGLIST and RET variables.
6469         ($(objpfx)bench-%.c): Pass only function name to the script.
6470         * benchtests/README: Update documentation.
6471         * benchtests/acos-inputs: Add new directives.
6472         * benchtests/acosh-inputs: Likewise.
6473         * benchtests/asin-inputs: Likewise.
6474         * benchtests/asinh-inputs: Likewise.
6475         * benchtests/atan-inputs: Likewise.
6476         * benchtests/atanh-inputs: Likewise.
6477         * benchtests/cos-inputs: Likewise.
6478         * benchtests/cosh-inputs: Likewise.
6479         * benchtests/exp-inputs: Likewise.
6480         * benchtests/log-inputs: Likewise.
6481         * benchtests/pow-inputs: Likewise.
6482         * benchtests/rint-inputs: Likewise.
6483         * benchtests/sin-inputs: Likewise.
6484         * benchtests/sinh-inputs: Likewise.
6485         * benchtests/tan-inputs: Likewise.
6486         * benchtests/tanh-inputs: Likewise.
6487         * scripts/bench.pl: Add support for new directives.
6489 2013-10-07  Alan Modra  <amodra@gmail.com>
6491         * README: Fix careless merge.
6493 2013-10-05  Alan Modra  <amodra@gmail.com>
6495         * NEWS: Mention powerpc64le support and bugs fixed.
6496         * README: Both big-endian and little-endian powerpc64 supported.
6498 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6500         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6501         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6502         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6503         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6505 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
6507         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6508         match prototype.
6510 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
6512         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6513         Move -mhard-float appending from
6514         ports/sysdeps/powerpc/powerpc32/Makefile.
6515         [$(with-fp) = yes] (ASFLAGS): Likewise.
6516         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6517         * sysdeps/powerpc/nofpu: Move directory from
6518         ports/sysdeps/powerpc/nofpu.
6519         * sysdeps/powerpc/soft-fp: Move directory from
6520         ports/sysdeps/powerpc/soft-fp.
6521         * sysdeps/powerpc/powerpc32/405: Move directory from
6522         ports/sysdeps/powerpc/powerpc32/405.
6523         * sysdeps/powerpc/powerpc32/440: Move directory from
6524         ports/sysdeps/powerpc/powerpc32/440.
6525         * sysdeps/powerpc/powerpc32/464: Move directory from
6526         ports/sysdeps/powerpc/powerpc32/464.
6527         * sysdeps/powerpc/powerpc32/476: Move directory from
6528         ports/sysdeps/powerpc/powerpc32/476.
6529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6530         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6532         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6534         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6536         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6538         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6539         * README: Update for powerpc-*-linux-gnu software floating point
6540         support in libc.
6542         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6543         case to powerpc/powerpc32*.
6544         * sysdeps/unix/sysv/linux/configure: Regenerated.
6546         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6547         (_FPU_MASK_OM): Define as 0x04.
6548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6550         0x00c10080.
6551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6552         0x0000003c.
6553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6556         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6557         getcontext_e500.
6558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6559         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6560         setcontext_e500.
6561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6562         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6563         and setcontext_e500.
6565 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
6567         * locale/iso-3166.def: Update iso-1366.def and related occurrences
6569 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6571         * manual/threads.texi (Default Thread Attributes): Fix typo.
6573 2013-10-04  Will Newton  <will.newton@linaro.org>
6575         * malloc/Makefile: Add tst-memalign.
6576         * malloc/tst-memalign.c: New file.
6578         * malloc/tst-posix_memalign.c: Add comments.
6579         (do_test): Add comments and call free on all potentially
6580         allocated pointers. Add space after cast.
6582         * malloc/tst-pvalloc.c: Add comments.
6583         (do_test): Add comments and call free on all potentially
6584         allocated pointers. Remove duplicate check for NULL pointer.
6585         Add space after cast.
6587         * malloc/tst-valloc.c: Add comments.
6588         (do_test): Add comments and call free on all potentially
6589         allocated pointers. Remove duplicate check for NULL pointer.
6590         Add space after cast.
6592 2013-10-04  Alan Modra  <amodra@gmail.com>
6594         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6595         Use stdint types in rather than __attribute__((mode())).
6596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6598 2013-10-04  Alan Modra  <amodra@gmail.com>
6600         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6601         Correct handling of unaligned relocs for little-endian.
6602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6604 2013-10-04  Alan Modra  <amodra@gmail.com>
6606         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6607         * configure: Regenerate.
6608         * nptl/shlib-versions: Powerpc*le starts at 2.18.
6609         * shlib-versions: Likewise.
6611 2013-10-04  Alan Modra  <amodra@gmail.com>
6613         * string/tester.c (test_memrchr): Increment reported test cycle.
6615 2013-10-04  Alan Modra  <amodra@gmail.com>
6617         * string/test-memcpy.c (do_one_test): When reporting errors, print
6618         string address and don't overrun end of string.
6620 2013-10-04  Alan Modra  <amodra@gmail.com>
6622         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6623         insrdi.  Make better use of reg selection to speed exit slightly.
6624         Schedule entry path a little better.  Remove useless "are we done"
6625         checks on entry to main loop.  Handle wrapping around zero address.
6626         Correct main loop count.  Handle single left-over word from main
6627         loop inline rather than by using loop_small.  Remove extra word
6628         case in loop_small caused by wrong loop count.  Add little-endian
6629         support.
6630         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6631         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
6632         cache hint.
6633         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6634         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6635         support.  Avoid rlwimi.
6636         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6638 2013-10-04  Alan Modra  <amodra@gmail.com>
6640         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6641         insrdi.  Formatting.
6642         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6643         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6644         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6645         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6646         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6647         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6649 2013-10-04  Alan Modra  <amodra@gmail.com>
6651         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6652         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6653         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6654         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6655         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6656         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6657         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6658         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6659         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
6660         use of regs.  Use power7 mtocrf.  Tidy function tails.
6662 2013-10-04  Alan Modra  <amodra@gmail.com>
6664         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6665         Formatting.  Consistently use rXXX register defines or rN defines.
6666         Use early exit labels that avoid restoring unused non-volatile regs.
6667         Make cr field use more consistent with rWORDn compares.  Rename
6668         regs used as shift registers for unaligned loop, using rN defines
6669         for short lifetime/multiple use regs.
6670         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6671         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
6672         addi 1,1,64 to pop stack frame.  Simplify return value code.
6673         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6675 2013-10-04  Alan Modra  <amodra@gmail.com>
6677         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6678         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
6679         rather than rlwimi.
6680         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6681         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6682         little-endian support.  Correct typos.
6683         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
6684         rather than rlwimi.
6685         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
6686         in loop and entry code to keep "and." results.
6687         (strchr): Add little-endian support.  Comment.  Move cntlzd
6688         earlier in tail.
6689         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6691 2013-10-04  Alan Modra  <amodra@gmail.com>
6693         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6694         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6695         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6696         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6698 2013-10-04  Alan Modra  <amodra@gmail.com>
6700         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6701         (rTMP): Define as r11.
6702         (strcmp): Add little-endian support.  Optimise tail.
6703         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6704         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6705         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6706         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6707         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6708         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6709         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6711 2013-10-04  Alan Modra  <amodra@gmail.com>
6713         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6714         little-endian support.  Remove unnecessary "are we done" tests.
6715         Handle "s" wrapping around zero and extremely large "size".
6716         Correct main loop count.  Handle single left-over word from main
6717         loop inline rather than by using small_loop.  Correct comments.
6718         Delete "zero" tail, use "end_max" instead.
6719         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6721 2013-10-04  Alan Modra  <amodra@gmail.com>
6723         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6724         support.  Don't branch over align.
6725         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6726         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6727         support.  Rearrange tmp reg use to suit.  Comment.
6728         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6730 2013-10-04  Alan Modra  <amodra@gmail.com>
6732         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6734 2013-10-04  Alan Modra  <amodra@gmail.com>
6736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6737         conditional form of branch and link when obtaining pc.
6738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6740 2013-10-04  Alan Modra  <amodra@gmail.com>
6742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6743         HIWORD/LOWORD.
6744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6747 2013-10-04  Alan Modra  <amodra@gmail.com>
6749         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6750         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6751         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6752         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6753         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6754         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6755         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6756         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6757         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6758         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6760 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6761             Alistair Popple <alistair@ozlabs.au.ibm.com>
6762             Alan Modra <amodra@gmail.com>
6764         [BZ #15723]
6765         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6766         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6767         _dl_hwcap access for little-endian.
6768         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
6769         destroy vmx regs when saving unaligned.
6770         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6771         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
6772         destroy vmx regs when saving unaligned.
6774 2013-10-04  Alan Modra  <amodra@gmail.com>
6776         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6777         Don't use a union to pack hi/low value.
6779 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6781         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6782         for little-endian.
6783         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6784         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6785         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6786         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6787         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6789 2013-10-04  Alan Modra  <amodra@gmail.com>
6791         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6792         constants to usual value for .cst8 section, and remove redundant
6793         high address load.
6794         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6795         constant for 0x1p52.  Load little-endian words of double from
6796         correct stack offsets.
6798 2013-10-04  Alan Modra  <amodra@gmail.com>
6800         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6801         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6802         words of double from correct stack offsets.
6803         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6804         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6805         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6806         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6807         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6808         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6809         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6810         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6811         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6812         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6813         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6814         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6815         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6816         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6817         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6818         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6819         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6821 2013-10-04  Alan Modra  <amodra@gmail.com>
6823         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6824         64-bit int/double union.
6825         (_FPU_SETCW): Likewise.
6826         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6827         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6829 2013-10-04  Alan Modra  <amodra@gmail.com>
6831         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6832         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6834 2013-10-04  Alan Modra  <amodra@gmail.com>
6836         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6837         use vector int constants.
6838         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6840 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6842         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6843         array with long long.
6844         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6845         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6846         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6847         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6848         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6849         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6850         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6851         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6852         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6853         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6854         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6855         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6856         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6858 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6860         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6861         (__signbit): Likewise.  Correct for little-endian.
6862         (__signbitl): Call __signbit.
6863         (lrint): Correct for little-endian.
6864         (lrintf): Call lrint.
6866 2013-10-04  Alan Modra  <amodra@gmail.com>
6868         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6869         union 32-bit int array member with 64-bit int array.
6870         (t515, tm256): Double rather than long double.
6871         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6873 2013-10-04  Alan Modra  <amodra@gmail.com>
6875         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6876         Delete.
6877         (IEEE854_LONG_DOUBLE_BIAS): Delete.
6878         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6879         version of math_ldbl.h.
6881 2013-10-04  Alan Modra  <amodra@gmail.com>
6883         [BZ #15734], [BZ #15735]
6884         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6885         all uses of ieee875 long double macros and unions.  Simplify test
6886         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
6887         ldbl_extract_mantissa value for ix,iy exponents.  Properly
6888         normalize after ldbl_extract_mantissa, and don't add hidden bit
6889         already handled.  Don't treat low word of ieee854 mantissa like
6890         low word of IBM long double and mask off bit when testing for
6891         zero.
6892         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6893         all uses of ieee875 long double macros and unions.  Simplify tests
6894         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
6895         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
6896         two1022, instead use their values.  Recognise that tests for large
6897         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
6898         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6899         Rewrite all uses of ieee875 long double macros and unions.  Simplify
6900         test for 0.0L and nan.  Correct negation.
6901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6902         ieee875 long double macros and unions.  Correct output for large
6903         magnitude x.  Correct absolute value calculation.
6904         (__erfcl): Likewise.
6905         * math/libm-test.inc: Add tests for errors discovered in IBM long
6906         double versions of fmodl, remainderl, erfl and erfcl.
6908 2013-10-04  Alan Modra  <amodra@gmail.com>
6910         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6911         all uses of ieee854 long double macros and unions.  Simplify tests
6912         for long doubles that are fully specified by the high double.
6913         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6914         Likewise.
6915         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6916         Remove dead code too.
6917         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6918         (__ieee754_ynl): Likewise.
6919         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6920         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6921         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6922         Remove dead code too.
6923         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6924         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6925         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6926         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6927         Simplify.
6928         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6929         Simplify.
6930         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6931         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6932         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6933         Comment on variable precision.
6934         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6935         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6936         Likewise.
6937         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6938         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6939         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6940         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6941         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6943 2013-10-04  Alan Modra  <amodra@gmail.com>
6945         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6946         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6947         all uses of ieee854 long double macros and unions.
6948         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6949         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6950         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6951         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6952         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6953         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6954         Likewise.
6955         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6956         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6957         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6958         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6959         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6960         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6961         Simplify sign and nan test too.
6962         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6963         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6964         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6965         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6966         Likewise.
6967         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6968         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6969         Likewise.
6970         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6971         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6972         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6973         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6974         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6975         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6977 2013-10-04  Alan Modra  <amodra@gmail.com>
6979         * stdio-common/printf_size.c (__printf_size): Don't use
6980         union ieee854_long_double in fpnum union.
6981         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6982         signbit macro to retrieve sign from long double.
6983         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6984         retrieve sign from long double.
6985         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6986         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6987         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6988         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6989         * math/test-misc.c (main): Don't use union ieee854_long_double.
6991 2013-10-04  Alan Modra  <amodra@gmail.com>
6993         [BZ #15680]
6994         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6995         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6996         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6997         calculation.  Remove unnecessary test for denormal exponent.
6998         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6999         Correct handling of denormals.  Avoid undefined shift behaviour.
7000         Correct normalisation of low mantissa when low double is denormal.
7001         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7002         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
7003         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7004         Correct normalisation of low mantissa.  Test for overflow of high
7005         mantissa and normalise.
7006         (ldbl_nearbyint): Use more readable constant for two52.
7007         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7008         (__mpn_construct_long_double): Fix test for overflow of high
7009         mantissa and correct normalisation.  Avoid undefined shift.
7011 2013-10-04  Alan Modra  <amodra@gmail.com>
7013         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7014         (union ibm_extended_long_double): Define as an array of ieee754_double.
7015         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7016         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7017         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7018         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7019         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7020         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7021         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7022         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7023         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7024         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7025         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7027 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
7029         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7030         page size instead of calling getpagesize.
7032         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7033         (LOCFILE_ALIGN_MASK): Likewise.
7034         (LOCFILE_ALIGN_UP): Likewise.
7035         (LOCFILE_ALIGNED_P): Likewise.
7036         * locale/programs/ld-collate.c (collate_output): Use the new
7037         macros instead of __alignof__ (int32_t).
7038         * locale/weight.h (findidx): Likewise.
7040 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
7042         [BZ #431]
7043         * manual/string.texi: Fix strncat and wcsncat.
7045 2013-10-03  Brooks Moses  <bmoses@google.com>
7047         [BZ #15915]
7048         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7049         * Makerules: ...here, and adjust associated comments.
7051 2013-10-02  Will Newton  <will.newton@linaro.org>
7053         * malloc/Makefile: Add tst-pvalloc.
7054         * malloc/tst-pvalloc.c: New file.
7056 2013-10-02  Will Newton  <will.newton@linaro.org>
7058         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7059         improve test coverage.
7061 2013-10-02  Will Newton  <will.newton@linaro.org>
7063         * malloc/Makefile: Add tst-posix_memalign.
7064         * malloc/tst-posix_memalign.c: New file.
7066 2013-10-01  Eric Blake  <eblake@redhat.com>
7068         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7069         Use __THROWNL rather than __THROW on static functions.
7071 2013-09-30  Petr Machata  <pmachata@redhat.com>
7073         * elf/elf.h (R_AARCH64_ABS16): New macro.
7074         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7075         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7076         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7077         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7078         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7079         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7080         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7081         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7082         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7083         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7084         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7085         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7086         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7087         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7088         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7089         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7090         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7091         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7092         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7093         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7094         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7095         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7096         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7097         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7098         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7099         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7100         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7101         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7102         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7103         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7104         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7105         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7106         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7107         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7108         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7109         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7110         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7111         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7112         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7113         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7114         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7115         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7116         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7117         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7118         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7119         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7120         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7121         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7122         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7123         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7124         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7125         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7126         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7127         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7128         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7129         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7130         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7131         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7132         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7133         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7134         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7135         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7136         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7137         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7138         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7139         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7140         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7141         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7142         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7143         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7144         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7145         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7146         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7147         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7148         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7149         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7150         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7151         (R_AARCH64_TLSDESC_LDR): Likewise.
7152         (R_AARCH64_TLSDESC_ADD): Likewise.
7153         (R_AARCH64_TLSDESC_CALL): Likewise.
7155 2013-09-30  Andreas Schwab  <schwab@suse.de>
7157         [BZ #15048]
7158         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7159         the nss database lookup.
7160         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7163 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
7165         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7167 2013-09-28  P. J. McDermott  <pj@pehjota.net>
7169         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7170         ${Bash-specific parameter/pattern/string} parameter expansion.
7171         * sysdeps/unix/make-syscalls.sh: Likewise.
7173 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7175         * sysdeps/sh/stackguard-macros.h: New file.
7177 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
7179         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7181         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7182         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7183         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7184         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7186 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7188         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7189         Fix thread ID register.
7191 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
7193         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7194         [POSIX || UNIX98]: Require rather than permitting all symbols from
7195         <time.h>.
7196         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7197         element of struct sched_param.
7198         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7199         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7200         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7201         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7202         constant.
7204 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
7206         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7207         argument calculation.
7209 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
7211         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7212         Expect macro.
7213         [POSIX] (pthread_attr_t): Do not require type.
7214         [POSIX] (pthread_cond_t): Likewise.
7215         [POSIX] (pthread_condattr_t): Likewise.
7216         [POSIX] (pthread_key_t): Likewise.
7217         [POSIX] (pthread_mutex_t): Likewise.
7218         [POSIX] (pthread_mutexattr_t): Likewise.
7219         [POSIX] (pthread_once_t): Likewise.
7220         [POSIX] (pthread_t): Likewise.
7221         [POSIX-based standards] (pthread_atfork): Expect function.
7223 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
7224             Richard Sandiford  <richard@codesourcery.com>
7226         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7227         (swap_endianness_p): New extern variable.
7228         (set_big_endian): New inline function.
7229         (maybe_swap_uint32): Likewise.
7230         (maybe_swap_uint32_array): Likewise.
7231         (maybe_swap_uint32_obstack): Likewise.
7232         * locale/programs/locfile.c: Include <stdbool.h>.
7233         (swap_endianness_p): New variable.
7234         (add_locale_uint32): Call maybe_swap_uint32.
7235         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7236         (write_locale_data): Call maybe_swap_uint32_array.
7237         * locale/programs/ld-collate.c (obstack_int32_grow): Call
7238         maybe_swap_uint32.
7239         (obstack_int32_grow_fast): Likewise.
7240         (output_weightwc): Call maybe_swap_uint32_obstack.
7241         (collate_output): Likewise.
7242         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7243         (OPT_LITTLE_ENDIAN): Likewise.
7244         (options): Add --little-endian and --big-endian options.
7245         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7246         * locale/programs/locarchive.c: Include "locfile.h".
7247         (GET): New macro.
7248         (SET): Likewise.
7249         (INC): Likewise.
7250         (create_archive): Use the new macros to access fields of
7251         structures directly mapped from or written to locale archives.
7252         (oldlocrecentcmp): Likewise.
7253         (enlarge_archive): Likewise.
7254         (insert_name): Likewise.
7255         (add_alias): Likewise.
7256         (add_locale): Likewise.
7257         (delete_locales_from_archive): Likewise.
7258         (show_archive_content): Likewise.
7259         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
7260         locale data.
7262 2013-09-24  Roland McGrath  <roland@hack.frob.com>
7264         * manual/freemanuals.texi: Updated from (newly) canonical copy at
7265         http://www.gnu.org/doc/freemanuals.texi.
7266         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7268 2013-09-24  Will Newton  <will.newton@linaro.org>
7270         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7271         macro.
7273 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
7275         * locale/hashval.h (compute_hashval): Interpret bytes of key as
7276         unsigned char.
7278 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
7280         * manual/threads.texi (POSIX Threads): Fix a typo.
7282 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7284         [BZ #14547]
7285         * string/tst-strcoll-overflow.c: New test case.
7286         * string/Makefile (xtests): Add tst-strcoll-overflow.
7287         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7288         cache if string sizes may cause integer overflow.
7290         [BZ #14547]
7291         * string/strcoll_l.c (coll_seq): New members rule, idx,
7292         save_idx and back_us.
7293         (get_next_seq_nocache): New function.
7294         (do_compare_nocache): New function.
7295         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7296         when malloc fails.
7298 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
7300         [BZ #15754]
7301         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7302         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7303         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7305         [BZ #15754]
7306         * elf/Makefile (tests): Add tst-ptrguard1.
7307         (tests-static): Add tst-ptrguard1-static.
7308         (tst-ptrguard1-ARGS): Define.
7309         (tst-ptrguard1-static-ARGS): Define.
7310         * elf/tst-ptrguard1.c: New file.
7311         * elf/tst-ptrguard1-static.c: New file.
7312         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7313         * sysdeps/i386/stackguard-macros.h: Likewise.
7314         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7315         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7316         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7317         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7318         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7319         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7321 2013-09-23  Hector Marco  <hecmargi@upv.es>
7322             Ismael Ripoll  <iripoll@disca.upv.es>
7323             Carlos O'Donell  <carlos@redhat.com>
7325         [BZ #15754]
7326         * sysdeps/generic/stackguard-macros.h: Define
7327         __pointer_chk_guard_local and POINTER_CHK_GUARD.
7328         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7329         Define __pointer_chk_guard_local.
7330         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7331         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7333 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
7335         [BZ #15859]
7336         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7338 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
7340         * include/string.h (__ffs): Declare as hidden.
7341         * string/ffs.c (__ffs): Define as hidden.
7342         * sysdeps/i386/ffs.c (__ffs): Likewise.
7343         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7344         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7345         * sysdeps/s390/ffs.c (__ffs): Likewise.
7346         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7348 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
7350         * NEWS: Mention malloc probes.
7352         * malloc/arena.c (new_heap): New memory_heap_new probe.
7353         (grow_heap): New memory_heap_more probe.
7354         (shrink_heap): New memory_heap_less probe.
7355         (heap_trim): New memory_heap_free probe.
7356         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7357         (systrim): New memory_sbrk_less probe.
7358         * manual/probes.texi: Document them.
7360         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7361         * manual/probes.texi: Document it.
7363         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7364         (__libc_realloc): Add memory_realloc_retry probe.
7365         (__libc_memalign): Add memory_memalign_retry probe.
7366         (__libc_valloc): Add memory_valloc_retry probe.
7367         (__libc_pvalloc): Add memory_pvalloc_retry probe.
7368         (__libc_calloc): Add memory_calloc_retry probe.
7369         * manual/probes.texi: Document them.
7371         * malloc/arena.c (get_free_list): Add probe
7372         memory_arena_reuse_free_list.
7373         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7374         and memory_arena_reuse.
7375         (arena_get2) [!PER_THREAD]: Likewise.
7376         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7377         memory_arena_reuse_realloc.
7378         * manual/probes.texi: Document them.
7380         * malloc/malloc.c (__libc_free): Add
7381         memory_mallopt_free_dyn_thresholds probe.
7382         (__libc_mallopt): Add multiple memory_mallopt probes.
7383         * manual/probes.texi: Document them.
7385         * malloc/malloc.c: Include stap-probe.h.
7386         (__libc_mallopt): Add memory_mallopt probe.
7387         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7388         * manual/probes.texi: New.
7389         * manual/Makefile (chapters): Add probes.
7390         * manual/threads.texi: Set next node.
7392 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
7394         [BZ #15963, #13985]
7395         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7396         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7397         Add `Chinese' to `nan' entry name.
7399 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7401         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7402         (POLYNOMIAL): Likewise.
7403         (TAYLOR_SINCOS): Likewise.
7404         (TAYLOR_SLOW): Likewise.
7405         (__sin): Use TAYLOR_SINCOS.
7406         (__cos): Likewise.
7407         (slow): Use TAYLOR_SLOW.
7408         (sloww): Likewise.
7409         (bsloww): Likewise.
7410         (csloww): Likewise.
7412 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7414         * stdlib/strtod_l.c: Fix buffer overrun.
7416 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7418         * benchtests/Makefile (bench): Add sincos.
7419         * benchtests/bench-sincos.c: New file.
7421         * math/libm-test.inc (cos_test_data): New test inputs.
7422         (sin_test_data): Likewise.
7424         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7425         macro.
7426         (__sin): Use it.
7427         (__cos): Likewise.
7428         (slow1): Likewise.
7429         (slow2): Likewise.
7430         (sloww1): Likewise.
7431         (sloww2): Likewise.
7432         (bsloww1): Likewise.
7433         (bsloww2): Likewise.
7434         (cslow2): Likewise.
7435         (csloww1): Likewise.
7436         (csloww2): Likewise.
7438         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7439         function.
7440         (__sin): Use it.
7441         (__cos): Likewise.
7443         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7444         gotos.
7445         (__cos): Likewise.
7447 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
7449         * config.h.in (HAVE_MIPS_NAN2008): New macro.
7450         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7451         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7452         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7453         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7454         * elf/cache.c (print_entry): Handle the new cache flags.
7456 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
7457             Aldy Hernandez  <aldyh@redhat.com>
7459         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7460         Change condition to [_SOFT_FLOAT].
7461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7473         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7476         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7477         declaration.
7479 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
7481         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7482         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7483         (__longjmp): Use LOAD_GP to load saved GPRs.
7484         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7485         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7486         (__sigsetjmp): Use SAVE_GP to save GPRs.
7488         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7489         Do not append -msoft-float.
7490         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7492 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7494         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7496 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
7498         [BZ #15966]
7499         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7500         (_FPU_GETCW): Use initial "__" on variable and field names but not
7501         on macro parameter name.
7502         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
7503         parentheses around reference to macro parameter.
7505 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
7507         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7508         prototype.
7509         (ctype_startup): Use uint32_t in cast and sizeof for
7510         ctype->charnames.
7512 2013-09-11  Jia Liu  <proljc@gmail.com>
7514         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7515         __daddr_t_defined.
7516         [__FreeBSD__]: Likewise.
7518 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
7520         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7521         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7522         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7523         (strchr): Remove __strchr_sse42 ifunc selection.
7524         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7525         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7527 2013-09-11  Will Newton  <will.newton@linaro.org>
7529         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7530         parameter to RES. Remove hardcoded 1000 value.
7531         * benchtests/bench-skeleton.c (main): Pass RES parameter
7532         to TIMING_INIT and multiply result by 1000.
7534 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7538 2013-09-11  Andreas Schwab  <schwab@suse.de>
7540         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7541         if not defined.
7542         (O_TMPFILE) [__USE_GNU]: Define.
7543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7544         Define.
7546 2013-09-11  Will Newton  <will.newton@linaro.org>
7548         [BZ #15857]
7549         * malloc/malloc.c (__libc_memalign): Check the value of bytes
7550         does not overflow.
7552 2013-09-11  Will Newton  <will.newton@linaro.org>
7554         [BZ #15856]
7555         * malloc/malloc.c (__libc_valloc): Check the value of bytes
7556         does not overflow.
7558 2013-09-11  Will Newton  <will.newton@linaro.org>
7560         [BZ #15855]
7561         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7562         does not overflow.
7564 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
7566         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7567         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7568         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7569         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7570         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7572 2013-09-10  Allan McRae  <allan@archlinux.org>
7574         [BZ #15748]
7575         * manual/arith.texi (Parsing of Floats): Clarify
7576         cross-reference.
7578         [BZ #15849]
7579         * manual/install.texi (Running make install): Mention
7580         --enable-pt-chown.
7581         * INSTALL: Regenerated.
7583 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
7585         * csu/init-first.c (_init): Remove the !SHARED condition around
7586         FPU control word initialization.
7587         * elf/dl-support.c (_dl_fpu_control): New variable.
7588         (_dl_aux_init) <AT_FPUCW>: Initialize it.
7589         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7590         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7591         * math/test-fpucw-static.c: New file.
7592         * math/test-fpucw-ieee.c: New file.
7593         * math/test-fpucw-ieee-static.c: New file.
7594         * math/Makefile (tests): Add `test-fpucw-ieee' and
7595         `$(tests-static)'.
7596         (tests-static): New variable.
7597         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7598         dependency to...
7599         [($(build-shared),yes)]
7600         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7601         ... this.
7602         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7603         New dependency.
7605 2013-09-09  Allan McRae  <allan@archlinux.org>
7607         [BZ #15939]
7608         * manual/string.texi (Collation Functions): Fix typo in
7609         strcoll example.
7610         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7612         [BZ #15893]
7613         * stdlib/isomac.c (get_null_defines): Fix memory leak.
7615         [BZ #15892]
7616         * libio/memstream.c (open_memstream): Fix memory leak.
7617         * libio/wmemstream.c (open_wmemstream): Likewise.
7619         [BZ #15895]
7620         * nscd/netgroupcache.c: Fix nesting of ifdefs.
7622 2013-09-09  Will Newton  <will.newton@linaro.org>
7624         * malloc/Makefile: Add tst-realloc to tests.
7625         * malloc/tst-realloc.c: New file.
7627 2013-09-09  Allan McRae  <allan@archlinux.org>
7629         [BZ #15844]
7630         * COPYING: Update from GNU website to fix FSF address.
7631         * COPYING.LIB: Likewise.
7633 2013-09-06  David S. Miller  <davem@davemloft.net>
7635         * po/zh_TW.po: Update Chinese (traditional) translation from
7636         translation project.
7638 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
7639             Joseph Myers  <joseph@codesourcery.com>
7641         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7642         "localeinfo.h".
7643         (obstack_chunk_alloc): New macro.
7644         (obstack_chunk_free): Likewise.
7645         (record_offset): New function.
7646         (init_locale_data): Likewise.
7647         (align_locale_data): Likewise.
7648         (add_locale_empty): Likewise.
7649         (add_locale_raw_data): Likewise.
7650         (add_locale_raw_obstack): Likewise.
7651         (add_locale_string): Likewise.
7652         (add_locale_wstring): Likewise.
7653         (add_locale_uint32): Likewise.
7654         (add_locale_uint32_array): Likewise.
7655         (add_locale_char): Likewise.
7656         (start_locale_structure): Likewise.
7657         (end_locale_structure): Likewise.
7658         (start_locale_prelude): Likewise.
7659         (end_locale_prelude): Likewise.
7660         (write_locale_data): Take locale_file structure rather than an
7661         iovec.
7662         * locale/programs/locfile.h: Include "obstack.h".
7663         (struct locale_file): Change to store locale file contents instead
7664         of header.
7665         (init_locale_data): New prototype.
7666         (align_locale_data): Likewise.
7667         (add_locale_empty): Likewise.
7668         (add_locale_raw_data): Likewise.
7669         (add_locale_raw_obstack): Likewise.
7670         (add_locale_string): Likewise.
7671         (add_locale_wstring): Likewise.
7672         (add_locale_uint32): Likewise.
7673         (add_locale_uint32_array): Likewise.
7674         (add_locale_char): Likewise.
7675         (start_locale_structure): Likewise.
7676         (end_locale_structure): Likewise.
7677         (start_locale_prelude): Likewise.
7678         (end_locale_prelude): Likewise.
7679         (write_locale_data): Update prototype.
7680         * locale/programs/3level.h (struct TABLE): Remove result field.
7681         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7682         Use new locale_file interface.
7683         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7684         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7685         * locale/programs/ld-address.c (address_output): Use new
7686         locale_file interface.
7687         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7688         NO_ADD_LOCALE.
7689         (collate_finish): Don't call collseq_table_finalize.
7690         (collate_output): Use new locale_file interface.
7691         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7692         in file.
7693         (NO_FINALIZE): Change to NO_ADD_LOCALE.
7694         (TABLE): Move defines earlier in file.
7695         (ELEMENT): Likewise.
7696         (DEFAULT): Likewise.
7697         (wctrans_table_add): Move macro and inline function earlier in
7698         file.
7699         (struct wctype_table): Move type earlier in file.
7700         (add_locale_wctype_table): New static prototype.
7701         (struct locale_ctype_t): Use logical types instead of struct iovec
7702         pointers for members.
7703         (ctype_output): Use new locale_file interface.
7704         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
7705         new locale_file interface.
7706         (allocate_arrays): Update for use of new locale_file interface.
7707         * locale/programs/ld-identification.c (identification_output): Use
7708         new locale_file interface.
7709         * locale/programs/ld-measurement.c (measurement_output): Likewise.
7710         * locale/programs/ld-messages.c (messages_output): Likewise.
7711         * locale/programs/ld-monetary.c (monetary_output): Likewise.
7712         * locale/programs/ld-name.c (name_output): Likewise.
7713         * locale/programs/ld-numeric.c (numeric_output): Likewise.
7714         * locale/programs/ld-paper.c (paper_output): Likewise.
7715         * locale/programs/ld-telephone.c (telephone_output): Likewise.
7716         * locale/programs/ld-time.c (time_output): Likewise.
7718 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7720         * benchtests/Makefile: Add memrchr benchmark.
7721         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7722         benchmark as memrchr.
7723         * benchtests/bench-memrchr-ifunc.c: New file.
7724         * benchtests/bench-memrchr.c: New file.
7726 2013-09-06   Will Newton  <will.newton@linaro.org>
7728         * benchtests/Makefile (string-bench): Add memcpy.
7730 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
7731             Cong Wang  <amwang@redhat.com>
7733         [BZ #15850]
7734         * sysdeps/unix/sysv/linux/bits/in.h
7735         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7736         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7737         before __USE_KERNEL_IPV6_DEFS uses.
7738         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7739         IPPROTO_BEETPH.
7740         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7741         sockaddr_in6, or ipv6_mreq.
7743 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7745         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7746         memory access for final bytes in some large inputs.
7747         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7749 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7751         * string/test-memrchr.c: New file.
7752         * string/test-memrchr-ifunc.c: New file.
7753         * string/Makefile: Add new memrchr testcase.
7755 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
7757         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7758         fanotify_init returns EPERM.
7760 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
7762         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7763         errors.
7764         (top level): Treat second token from macro or constant entries for
7765         allowed headers as allowed.
7766         * include/complex.h: Condition internal declarations on
7767         [!_ISOMAC].
7768         * include/fenv.h: Condition include of <stdbool.h> and internal
7769         declarations on [!_ISOMAC].
7771 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
7773         [BZ #15923]
7774         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7776 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
7778         * configure.in (--enable-versioning): Remove configure option.
7779         (libc_cv_asm_symver_directive): Remove configure test.
7780         (libc_cv_ld_version_script_option): Likewise.
7781         (VERSIONING): Remove variable and AC_SUBST.
7782         (DO_VERSIONING): Remove AC_DEFINE.
7783         * configure: Regenerated.
7784         * config.h.in (DO_VERSIONING): Remove macro.
7785         * Makerules [$(versioning) = yes]: Change conditionals to
7786         [$(build-shared) = yes].
7787         * config.make.in (versioning): Remove variable.
7788         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7789         [$(build-shared) = yes].
7790         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7791         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7792         * elf/Makefile [$(versioning) = yes]: Change conditionals to
7793         [$(build-shared) = yes].
7794         * extra-lib.mk [$(versioning) = yes]: Likewise.
7795         * hurd/Makefile [$(versioning) = yes]: Likewise.
7796         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7797         [SHARED].
7798         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7799         [SHARED].
7800         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7801         [SHARED && !NO_HIDDEN].
7802         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7803         [SHARED].
7804         [SHARED && DO_VERSIONING]: Likewise..
7805         * libio/Makefile [$(versioning) = yes]: Change conditionals to
7806         [$(build-shared) = yes].
7807         * manual/install.texi (--disable-versioning): Remove
7808         documentation.
7809         * INSTALL: Regenerated.
7810         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7811         to [SHARED].
7812         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7813         [$(build-shared) = yes].
7814         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7815         * sysdeps/i386/i686/multiarch/strstr-c.c
7816         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7817         [SHARED && !NO_HIDDEN].
7818         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7819         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7820         * sysdeps/powerpc/powerpc32/dl-machine.c
7821         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7822         * sysdeps/powerpc/powerpc32/sysdep.h
7823         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7824         to [SHARED && PIC && !NO_HIDDEN].
7825         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7826         conditional to [SHARED].
7828 2013-09-04   Will Newton  <will.newton@linaro.org>
7830         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7831         * benchtests/bench-string.h: Include bench-timing.h instead
7832         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7833         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7834         call to HP_TIMING_DIFF_INIT.
7835         * benchtests/bench-memccpy.c: Use bench-timing.h macros
7836         instead of hp-timing.h macros.
7837         * benchtests/bench-memchr.c: Likewise.
7838         * benchtests/bench-memcmp.c: Likewise.
7839         * benchtests/bench-memcpy.c: Likewise.
7840         * benchtests/bench-memmem.c: Likewise.
7841         * benchtests/bench-memmove.c: Likewise.
7842         * benchtests/bench-memset.c: Likewise.
7843         * benchtests/bench-rawmemchr.c: Likewise.
7844         * benchtests/bench-strcasecmp.c: Likewise.
7845         * benchtests/bench-strcasestr.c: Likewise.
7846         * benchtests/bench-strcat.c: Likewise.
7847         * benchtests/bench-strchr.c: Likewise.
7848         * benchtests/bench-strcmp.c: Likewise.
7849         * benchtests/bench-strcpy.c: Likewise.
7850         * benchtests/bench-strcpy_chk.c: Likewise.
7851         * benchtests/bench-strlen.c: Likewise.
7852         * benchtests/bench-strncasecmp.c: Likewise.
7853         * benchtests/bench-strncat.c: Likewise.
7854         * benchtests/bench-strncmp.c: Likewise.
7855         * benchtests/bench-strncpy.c: Likewise.
7856         * benchtests/bench-strnlen.c: Likewise.
7857         * benchtests/bench-strpbrk.c: Likewise.
7858         * benchtests/bench-strrchr.c: Likewise.
7859         * benchtests/bench-strspn.c: Likewise.
7860         * benchtests/bench-strstr.c: Likewise.
7862 2013-09-04  Will Newton  <will.newton@linaro.org>
7864         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7866 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
7868         [BZ #15427]
7869         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7870         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7871         * math/libm-test.inc (lgamma_test_data): Add more tests.
7872         * sysdeps/i386/fpu/libm-test-ulps: Update.
7873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7875 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
7877         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7878         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7879         Add ifunc.
7880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7881         Add strcmp-sse2-unaligned
7882         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7884 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7886         * Versions.def (libc): Add GLIBC_2.19.
7888 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7890         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7891         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7893 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
7895         [BZ #14155]
7896         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7897         intermediate calculations in recurrence.
7898         (__ieee754_ynf): Likewise.
7899         * math/libm-test.inc (jn_test_data): Do not allow spurious
7900         underflow exception.  Add more tests.
7901         (yn_test_data): Add more tests.
7902         * sysdeps/i386/fpu/libm-test-ulps: Update.
7903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7905 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
7907         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7909 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7911         * csu/init-first.c: Fix then/than typos.
7912         * locale/programs/ld-collate.c: Likewise.
7913         * locale/programs/linereader.h: Likewise.
7914         * manual/charset.texi: Likewise.
7915         * manual/filesys.texi: Likewise.
7916         * manual/stdio.texi: Likewise.
7917         * manual/string.texi: Likewise.
7918         * stdlib/fmtmsg.c: Likewise.
7919         * sysdeps/i386/stpncpy.S: Likewise.
7920         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7921         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7922         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7923         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7925 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7927         * elf/dl-open.c: Fix typos.
7928         * iconvdata/gbbig5.c: Likewise.
7929         * iconvdata/iso-2022-jp.c: Likewise.
7930         * iconv/gconv_int.h: Likewise.
7931         * iconv/loop.c: Likewise.
7932         * nis/rpcsvc/nis.h: Likewise.
7933         * resolv/ns_name.c: Likewise.
7934         * stdio-common/vfscanf.c: Likewise.
7935         * streams/stropts.h: Likewise.
7936         * sunrpc/rpc_thread.c: Likewise.
7937         * sysdeps/i386/strpbrk.S: Likewise.
7938         * sysdeps/ieee754/k_standard.c: Likewise.
7939         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7940         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7941         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7942         * sysdeps/mach/hurd/profil.c: Likewise.
7943         * sysdeps/s390/dl-procinfo.h: Likewise.
7944         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7945         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7946         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7947         * sysdeps/x86_64/dl-trampoline.S: Likewise.
7948         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7950 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
7952         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7955 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
7957         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7958         aix specific files.
7959         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7960         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7961         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7962         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7963         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7964         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7965         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7966         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7968 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7969             Roland McGrath  <roland@hack.frob.com>
7971         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7972         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7974 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7976         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7977         __executable_start symbol instead of _start.
7979 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7981         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7982         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7983         Move macros to...
7984         * sysdeps/gnu/ldsodefs.h: ... this new file.
7986         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7987         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7988         instead of ELFOSABI_LINUX.
7990         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7991         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7992         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7993         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7994         Likewise.
7995         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7996         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7997         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7998         Likewise.
7999         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8000         (ibm_extended_long_double): Add ieee_nan member.
8001         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8002         (do_test): New function.
8004         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8005         TEST_TRUNC.
8006         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8007         functions, renamed from truncdfsf_test, trunctfsf_test,
8008         trunctfdf_test.
8009         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8010         functions.
8011         (do_test): Run all these.
8013 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
8015         * argp/argp-help.c: Fix typos.
8016         * argp/argp-parse.c: Likewise.
8017         * debug/backtracesyms.c: Likewise.
8018         * elf/elf.h: Likewise.
8019         * malloc/malloc.c: Likewise.
8020         * nis/nis_print.c: Likewise.
8021         * resolv/res_comp.c: Likewise.
8022         * stdlib/stdlib.h: Likewise.
8023         * sunrpc/clnt_tcp.c: Likewise.
8024         * sunrpc/clnt_udp.c: Likewise.
8025         * sunrpc/clnt_unix.c: Likewise.
8026         * sysdeps/unix/bsd/ptsname.c: Likewise.
8027         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8028         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8030         Likewise.
8031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8032         Likewise.
8033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8034         Likewise.
8035         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8037 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8039         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8042 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
8044         [BZ #15897]
8045         * dlfcn/Makefile (tests): Add bug-dl-leaf.
8046         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8047         ($(objpfx)bug-dl-leaf): New rule.
8048         ($(objpfx)bug-dl-leaf.so): Likewise.
8049         ($(objpfx)bug-dl-leaf.out): Likewise.
8050         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8051         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8052         * dlfcn/bug-dl-leaf.c: New test.
8053         * dlfcn/bug-dl-leaf-lib.c: Likewise.
8054         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8055         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8056         (dlclose): Likewise.
8057         (dlmopen): Likewise.
8059 2013-08-27  Roland McGrath  <roland@hack.frob.com>
8061         * include/netdb.h [!_ISOMAC]:
8062         Don't include <tls.h>.
8063         (h_errno, __libc_h_errno): Move declaration and macros out of
8064         [_LIBC_REENTRANT].
8066         * include/resolv.h [_RESOLV_H_]:
8067         Don't include <tls.h>.
8068         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8069         * resolv/res_libc.c: Don't include <tls.h>.
8070         (_res): Use __attribute__ ((nocommon)) in place of
8071         __attribute__ ((section (".bss"))).
8073         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8074         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8076         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8078         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8079         only under [SIOCGIFCONF && SIOCGIFNETMASK].
8081         * resolv/res_mkquery.c: Include <sys/time.h>.
8083         * inet/ifreq.c: Moved to ...
8084         * sysdeps/unix/ifreq.c: ... here.
8085         * inet/ifreq.c: New file, true stub version.
8087         * socket/sa_len.c: New file.
8088         * socket/Makefile (aux): Add it.
8089         * sysdeps/unix/sysv/linux/Makefile
8090         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8091         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8092         and #include <socket/sa_len.c>.
8093         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8094         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8096         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8097         * bits/socket.h: ... here.
8099         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8100         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8101         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8103 2013-08-27  Andreas Schwab  <schwab@suse.de>
8105         [BZ #15736]
8106         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8107         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8108         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8109         * string/test-strcasecmp.c (test_main): Run tests in several
8110         locales.
8111         * string/test-strncasecmp.c (test_main): Likewise.
8113         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8114         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8115         to __strcasecmp_nonascii and __strncasecmp_nonascii.
8116         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8117         (__strncasecmp_ssse3) [PIC]: Likewise.
8119 2013-08-26  Roland McGrath  <roland@hack.frob.com>
8121         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8123         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8124         instead of explicitly declaring xdecrypt.
8125         * nis/nss_nis/nis-publickey.c: Likewise.
8127 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8129         [BZ #15890]
8130         * nscd/aicache.c: Include res_hconf.h.
8131         (addhstaiX): Initialize res_hconf.
8133 2013-08-26  Andreas Schwab  <schwab@suse.de>
8135         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8136         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8138 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8140         * nscd/aicache.c (addhstaiX): Fix indentation.
8142 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
8144         * configure.ac: Quote $build_pt_chown test.
8145         * configure: Regenerated.
8147 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
8149         [BZ #15532]
8150         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8151         * math/s_cexpf.c (__cexpf): Likewise.
8152         * math/s_cexpl.c (__cexpl): Likewise.
8153         * math/libm-test.inc (cexp_test_data): Correct expected return
8154         value for NaN + i0.  Add another test.
8156 2013-08-22  David S. Miller  <davem@davemloft.net>
8158         * po/ca.po: Update Catalan translation from translation project.
8159         * po/uk.po: Add Ukrainian translations from translation project.
8161 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
8163         [BZ #15797]
8164         * math/s_fdim.c (__fdim): Check for infinite arguments if result
8165         is infinite, not alongside NaN test.
8166         * math/s_fdimf.c (__fdimf): Likewise.
8167         * math/s_fdiml.c (__fdiml): Likewise.
8168         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
8169         errno is unchanged.
8171 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
8173         * argp/argp-help.c: Fix typos.
8174         * crypt/speeds.c: Likewise.
8175         * csu/check_fds.c: Likewise.
8176         * elf/dl-load.c: Likewise.
8177         * elf/dl-open.c: Likewise.
8178         * elf/reldep3.c: Likewise.
8179         * elf/reldep.c: Likewise.
8180         * elf/sprof.c: Likewise.
8181         * iconv/iconv_charmap.c: Likewise.
8182         * iconv/skeleton.c: Likewise.
8183         * iconv/strtab.c: Likewise.
8184         * io/lockf64.c: Likewise.
8185         * libio/libioP.h: Likewise.
8186         * resolv/gai_notify.c: Likewise.
8187         * resolv/ns_name.c: Likewise.
8188         * resolv/ns_samedomain.c: Likewise.
8189         * resolv/res_send.c: Likewise.
8190         * stdlib/random.c: Likewise.
8191         * sunrpc/rpc/xdr.h: Likewise.
8192         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8193         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8194         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8195         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8196         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8197         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8198         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8199         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8200         * sysdeps/mach/hurd/check_fds.c: Likewise.
8201         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8202         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8203         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8204         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8205         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8206         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8207         * sysdeps/pthread/aio_notify.c: Likewise.
8208         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8209         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8210         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8211         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8212         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8214 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8216         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8217         version if bit_Slow_SSE4_2 is set.
8218         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8219         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8221 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8223         [BZ #15867]
8224         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8225         trampoline stack frame information.
8226         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8228         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8229         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8230         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8231         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8232         (_libc_vdso_platform_setup): Initialize the signal trampolines.
8233         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8234         sa_flags value.
8235         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8236         interrupting a syscall and set with option SA_SIGINFO.
8238 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
8240         [BZ #15531]
8241         * math/s_cproj.c (__cproj): Only return an infinity if one part of
8242         argument is infinite.
8243         * math/s_cprojf.c (__cprojf): Likewise.
8244         * math/s_cprojl.c (__cprojl): Likewise.
8245         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8246         * math/libm-test.inc (cproj_test_data): Add more tests.
8248         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8250         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8251         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8252         size.  Use __ffs to determine corresponding shift.
8254 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
8255             Roland McGrath  <roland@hack.frob.com>
8257         * Makefile (INSTALL): Remove trailing blank lines from output of
8258         makeinfo.
8260 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8262         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8263         Align 32 bit compat elf_greg to 8 bytes.
8265 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8267         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8269 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8271         * string/strcoll_l.c (coll_seq): New structure.
8272         (get_next_seq_cached): New function.
8273         (get_next_seq): New function.
8274         (do_compare): New function.
8275         (STRCOLL): Use GNU style definition.  Simplify implementation
8276         by using get_next_seq, get_next_seq_cached and do_compare.
8278 2013-08-16  Florian Weimer  <fweimer@redhat.com>
8280         [BZ #14699]
8281         CVE-2013-4237
8282         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8283         member.
8284         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8285         member.
8286         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8287         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8288         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
8289         conditional.
8290         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8291         GETDENTS_64BIT_ALIGNED.
8292         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8293         * manual/filesys.texi (Reading/Closing Directory): Document
8294         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
8295         strongly.
8296         * manual/conf.texi (Limits for Files): Add portability note to
8297         NAME_MAX, PATH_MAX.
8298         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8300 2013-08-13  Andreas Schwab  <schwab@suse.de>
8302         [BZ #15749]
8303         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8304         of fabs.
8305         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8306         LDBL_MAX_EXP >= 16384]: Add tests for it.
8308 2013-08-12  David S. Miller  <davem@davemloft.net>
8310         * version.h (RELEASE): Set to "development".
8311         (VERSION): Set to "2.18.90".
8312         * NEWS: Add 2.19 section.
8314 2013-08-03  David S. Miller  <davem@davemloft.net>
8316         * po/ko.po: Update Korean translation from translation project.
8318 2013-08-01  David S. Miller  <davem@davemloft.net>
8320         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
8321         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8322         Bilka.
8324 2013-07-30  David S. Miller  <davem@davemloft.net>
8326         * po/fr.po: Update French translation from translation project.
8328 2013-07-28  David S. Miller  <davem@davemloft.net>
8330         * po/cs.po: Update Czech translation from translation project.
8332         * po/sv.po: Update Swedish translation from translation project.
8334 2013-07-27  David S. Miller  <davem@davemloft.net>
8336         * po/eo.po: Update Esperanto translation from translation project.
8338         * po/vi.po: Update Vietnamese translation from translation project.
8340         * po/de.po: Update German translation from translation project.
8342 2013-07-26  David S. Miller  <davem@davemloft.net>
8344         * po/bg.po: Update Bulgarian translation from translation project.
8346         * po/nl.po: Update Dutch translation from translation project.
8347         * po/pl.po: Update Polish translation from translation project.
8348         * po/ru.po: Update Russian translation from translation project.
8350 2013-07-24  David S. Miller  <davem@davemloft.net>
8352         * po/libc.pot: Update.
8354 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8356         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8357         variable page size.
8358         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8359         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8360         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8362 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8364         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8366 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8367             Andreas Schwab  <schwab@suse.de>
8368             Roland McGrath  <roland@hack.frob.com>
8369             Joseph Myers  <joseph@codesourcery.com>
8370             Carlos O'Donell  <carlos@redhat.com>
8372         [BZ #15755]
8373         * config.h.in: Define HAVE_PT_CHOWN.
8374         * config.make.in (build-pt-chown): New variable.
8375         * configure.in (--enable-pt_chown): New configure option.
8376         * configure: Regenerate.
8377         * login/Makefile: Include Makeconfig.  Build pt_chown only if
8378         build-pt-chown is enabled.
8379         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8380         pt_chown to fix pty ownership.
8381         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8382         CLOSE_ALL_FDS.
8383         * manual/install.texi (Configuring and compiling): Mention
8384         --enable-pt_chown. Add @findex for grantpt.
8385         * INSTALL: Regenerate.
8387 2013-07-20  David S. Miller  <davem@davemloft.net>
8389         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8390         difference between 32-bit and 64-bit.
8392 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
8394         [BZ #15711]
8395         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8396         Avoid system header dependency with -ffreestanding.
8397         ($(objpfx)bits/syscall%d): Likewise.
8399 2013-07-13  David S. Miller  <davem@davemloft.net>
8401         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8402         underflows from atanl/atan2l due to bug 15319.
8403         (casinh_test_data): Likewise.
8405 2013-07-07  David S. Miller  <davem@davemloft.net>
8407         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8409 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
8411         * sysdeps/i386/fpu/libm-test-ulps: Update.
8412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8414 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8416         * configure.in (--enable-lock-elision): Fix message text.
8417         * INSTALL: Regenerate.
8418         * configure: Regenerate.
8420 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8424 2013-07-03  Andreas Jaeger  <aj@suse.de>
8426         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8427         define.
8428         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8429         (ptrace_peeksiginfo_args): Add.
8430         (__ptrace_peeksiginfo_flags): Add.
8431         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8432         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8433         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8435 2013-07-03  Allan McRae  <allan@archlinux.org>
8437         * sysdeps/i386/fpu/libm-test-ulps: Update.
8439 2013-07-02  David S. Miller  <davem@davemloft.net>
8441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8443 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
8445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8447 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
8449         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8452 2013-07-02  Andi Kleen <ak@linux.intel.com>
8454         * config.h.in (ENABLE_LOCK_ELISION): Add.
8455         * configure.in (--enable-lock-elision): Add option.
8456         * manual/install.texi: Document --enable lock elision.
8457         * configure: Regenerate
8458         * INSTALL: Regenerate.
8460 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8462         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8463         SSE4.2 strcasecmp for libc.a.
8464         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8466 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
8468         [BZ #13304]
8469         * soft-fp/op-common.h (_FP_FMA): New macro.
8470         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8471         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
8472         (_FP_MUL_MEAT_1_imm): ... here.
8473         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
8474         (_FP_MUL_MEAT_1_wide): ... here.
8475         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
8476         (_FP_MUL_MEAT_1_hard): ... here.
8477         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8478         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
8479         (_FP_MUL_MEAT_2_wide): ... here.
8480         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
8481         (_FP_MUL_MEAT_2_wide_3mul): ... here.
8482         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
8483         (_FP_MUL_MEAT_2_gmp): ... here.
8484         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8485         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
8486         (_FP_MUL_MEAT_4_wide): ... here.
8487         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
8488         (_FP_MUL_MEAT_4_gmp): ... here.
8489         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8490         (_FP_WFRACBITS_DW_S): Likewise.
8491         (_FP_WFRACXBITS_DW_S): Likewise.
8492         (_FP_HIGHBIT_DW_S): Likewise.
8493         (FP_FMA_S): Likewise.
8494         (_FP_FRAC_HIGH_DW_S): Likewise.
8495         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8496         (_FP_WFRACBITS_DW_D): Likewise.
8497         (_FP_WFRACXBITS_DW_D): Likewise.
8498         (_FP_HIGHBIT_DW_D): Likewise.
8499         (FP_FMA_D): Likewise.
8500         (_FP_FRAC_HIGH_DW_D): Likewise.
8501         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8502         (_FP_WFRACBITS_DW_E): Likewise.
8503         (_FP_WFRACXBITS_DW_E): Likewise.
8504         (_FP_HIGHBIT_DW_E): Likewise.
8505         (FP_FMA_E): Likewise.
8506         (_FP_FRAC_HIGH_DW_E): Likewise.
8507         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8508         (_FP_WFRACBITS_DW_Q): Likewise.
8509         (_FP_WFRACXBITS_DW_Q): Likewise.
8510         (_FP_HIGHBIT_DW_Q): Likewise.
8511         (FP_FMA_Q): Likewise.
8512         (_FP_FRAC_HIGH_DW_Q): Likewise.
8513         * soft-fp/fmasf4.c: New file.
8514         * soft-fp/fmadf4.c: Likewise.
8515         * soft-fp/fmatf4.c: Likewise.
8517 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8520         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8521         Silvermont.
8522         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8523         macro.
8524         (index_Slow_SSE4_2): Likewise.
8525         (index_Prefer_PMINUB_for_stringop): Likewise.
8526         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8527         bit_Slow_SSE4_2 is set.
8528         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8529         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8531 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8533         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8534         rtld_global._dl_hwcap2.
8535         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8536         POWER8.
8537         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8538         POWER8 feature descriptions defined in _dl_hwcap2.
8539         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8540         string handling for POWER8 feature bits.
8541         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8542         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8543         _dl_powerpc_cap_flags.
8544         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8545         * sysdeps/powerpc/rtld-global-offsets.sym
8546         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8547         _dl_hwcap2 in the rtld_global_ro structure.
8549 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8551         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8552         hardware capabilities in support of AT_HWCAP2.
8553         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8554         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8555         GLRO(dl_hwcap2).
8556         (_dl_show_auxv): Add support for calling _dl_procinfo to display
8557         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
8558         explicitly the unknown a_type display mechanism is used.
8559         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8560         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8561         struct member.
8562         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8563         to macro prototype for AT_HWCAP2 support.
8564         * sysdeps/i386/dl-procinfo.h: Likewise.
8565         * sysdeps/s390/dl-procinfo.h: Likewise.
8566         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8567         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
8568         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
8569         return -1 for unknown a_type display fallback.
8570         * sysdeps/sparc/dl-procinfo.h: Likewise.
8571         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8572         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8574 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
8576         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8577         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8579 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
8581         [BZ #12492]
8582         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8583         mprotect making __stack_prot writable.
8585 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
8586             Joseph Myers  <joseph@codesourcery.com>
8588         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8589         as being properly aligned.
8591 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
8593         * dlfcn/modstatic5.c: New file.
8594         * dlfcn/tststatic5.c: New file.
8595         * dlfcn/Makefile (tests): Add tststatic5.
8596         (tests-static): Likewise.
8597         (modules-names): Add modstatic5.
8598         (tststatic5-ENV): New variable.
8599         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8601         [BZ #15022]
8602         * elf/dl-support.c (_dl_main_map): New variable.
8603         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8604         (_dl_nns, _dl_load_adds): Set to 1.
8605         (_dl_initial_searchlist): Refer to _dl_main_map.
8606         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8607         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8608         call to _dl_get_origin.
8609         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8610         around call_map.
8611         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8612         * dlfcn/modstatic3.c: New file.
8613         * dlfcn/tststatic3.c: New file.
8614         * dlfcn/tststatic4.c: New file.
8615         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8616         (tests-static): Likewise.
8617         (modules-names): Add modstatic3.
8618         (tststatic3-ENV, tststatic4-ENV): New variables.
8619         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8620         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8622 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
8624         * configure.in (CC): Require GCC version 4.4 or later.
8625         * configure: Regenerated.
8626         * manual/install.texi (Tools for Compilation): Update GCC version
8627         requirement.
8628         * INSTALL: Regenerated.
8630 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8632         [BZ #15674]
8633         * string/test-memcmp.c (check2): New.
8634         (main): Call check2.
8636         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8638 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
8640         [BZ #15022]
8641         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8642         over to...
8643         (dl_open_worker) [!SHARED]: ... here.
8645 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8647         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8649 2013-06-25  Richard Henderson  <rth@redhat.com>
8651         * locale/programs/locarchive.c: Include <libc-internal.h>
8653 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
8655         * manual/texinfo.tex: Update to version 2013-06-21.17, with
8656         trailing whitespace removed.
8658 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
8660         [BZ #10283]
8661         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8662         * locale/programs/locarchive.c: Include libc-mmap.h.
8663         (prepare_address_space): Take two new outputs (the mmap base and len).
8664         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
8665         values.
8666         (create_archive): Declare new mmap base and len values for
8667         prepare_address_space, and store the result in ah.
8668         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8669         (enlarge_archive): If ah->mmap_base is not NULL, use that and
8670         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8671         Declare new mmap base and len values for
8672         prepare_address_space, and store the result in new_ah.
8673         (open_archive): Declare new mmap base and len values for
8674         prepare_address_space, and store the result in ah.
8675         (close_archive): If ah->mmap_base is not NULL, use that and
8676         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8677         * sysdeps/generic/libc-mmap.h: New file.
8679 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
8681         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8682         (ALIGN_UP): Likewise.
8683         (PTR_ALIGN_DOWN): Likewise.
8684         (PTR_ALIGN_UP): Likewise.
8686 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8688         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8689         entry mapped to PPC_PLATFORM_POWER8.
8690         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8691         POWER8.
8692         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8693         (_dl_string_platform): Add case for exporting platform position for
8694         POWER8.
8695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8696         search path to sysdeps/powerpc/powerpc32/power8 directory.
8697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8698         search path to sysdeps/powerpc/powerpc64/power8 directory.
8699         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8700         power7 directories.
8701         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8702         power7 directories.
8704 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8706         * INSTALL: Regenerate.
8708         * nscd/connections.c (nscd_init): Fix comment.
8710 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
8712         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8714         [BZ #15667]
8715         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8716         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8718 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
8720         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8721         DL_DST_REQ_STATIC.
8722         (DL_DST_REQ_STATIC): Remove macro.
8724 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
8726         [BZ #7006]
8727         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8728         with a shift of 0 bits.
8730 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
8732         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8733         $(tststatic-ENV).
8735 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8737         [BZ #15655]
8738         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8740 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8742         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8743         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8744         accepts -fno-tree-loop-distribute-patterns.
8745         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8746         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8747         recursive call.
8748         * string/memset.c (memset): Likewise.
8749         * string/test-memmove.c (simple_memmove): Disable loop transformation
8750         to library calls.
8751         * string/test-memset.c (simple_memset): Likewise.
8752         * benchtests/bench-memmove.c (simple_memmove): Likewise.
8753         * benchtests/bench-memset.c (simple_memset): Likewise.
8754         * configure: Regenerated.
8756 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
8758         * math/test-misc.c (main): Ignore fesetround failure when failures
8759         of subsequent rounding tests would be ignored.
8761         [BZ #15654]
8762         * math/fedisblxcpt.c (fedisableexcept): Return 0.
8763         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8764         * math/fegetenv.c (__fegetenv): Return 0.
8765         * math/fegetexcept.c (fegetexcept): Return 0.
8766         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8767         FE_TONEAREST.
8768         * math/feholdexcpt.c (feholdexcept): Return 0.
8769         * math/fesetenv.c (__fesetenv): Return 0.
8770         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8771         argument FE_TONEAREST.
8772         * math/feupdateenv.c (__feupdateenv): Return 0.
8773         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8775 2013-06-18  Roland McGrath  <roland@hack.frob.com>
8777         * elf/rtld-Rules (rtld-compile-command.S): New variable.
8778         (rtld-compile-command.s, rtld-compile-command.c): New variables.
8779         ($(objpfx)rtld-%.os rules): Use them.
8781 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8783         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8784         fields.
8786 2013-06-17  Roland McGrath  <roland@hack.frob.com>
8788         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8789         length of target pattern, then descending length of dependency pattern.
8790         * configure.in (AWK): Require gawk 3.1.2 or newer.
8791         * manual/install.texi (Tools for Compilation): Say that we do.
8792         * configure: Regenerated.
8794         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8795         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8796         * scripts/sysd-rules.awk: ... this new script.
8797         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8798         than a glob-style pattern.
8800 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
8802         * math/test-misc.c (main): Do not treat incorrectly rounded
8803         conversions as failure unless ROUNDING_TESTS passes.
8805 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
8807         [BZ #15631]
8808         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8809         restore exception state around main square root computation, then
8810         check for inexactness explicitly.
8812         * math/libm-test.inc (fma_test_data): Add another test.
8814 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8816         * manual/threads.texi (Non-POSIX Extensions): New document
8817         node.  Document pthread_getattr_default_np and
8818         pthread_setattr_default_np.
8820         * Versions.def (libpthread): Add GLIBC_2.18.
8821         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8823         Likewise.
8824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8825         Likewise.
8826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8827         Likewise.
8828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8829         Likewise.
8830         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8831         Likewise.
8832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8833         Likewise.
8834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8835         Likewise.
8836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8837         Likewise.
8838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8839         Likewise.
8841 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8844         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8846 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8847             H.J. Lu  <hjl.tools@gmail.com>
8849         [BZ #15627]
8850         * sysdeps/x86_64/rtld-memset.c: Remove file.
8851         * sysdeps/x86_64/rtld-memset.S: New file.
8853 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
8855         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8856         (test_in_one_mode): Take arguments for whether the rounding mode
8857         is supported for each floating-point type.
8858         (do_test): Pass new arguments to test_in_one_mode using
8859         ROUNDING_TESTS.
8861 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8863         * posix/tst-waitid.c (do_test): Distinguish different instances of
8864         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
8865         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8866         before entering the kernel for waitpid.
8868 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8870         * NEWS: Fix note on clock function precision.  Text by Roland
8871         McGrath.
8873 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8875         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8876         it into place only when and if the sanity check passes.
8878 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
8880         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8881         output for whether conversion result is exact.  Take argument
8882         indicating whether type is IBM long double.
8883         (round_for_all): Change need_exact field to ibm_ld.
8884         * stdlib/tst-strtod-round.c (struct exactness): New type.
8885         (struct test): Change bool ld_ok field to struct exactness exact.
8886         (TEST): Update all definitions for change to field.
8887         (tests): Regenerate array contents.
8888         (test_in_one_mode): Take pointer to new field instead of old ld_ok
8889         field value.  Check for IBM long double here.
8890         (do_test): Update calls to test_in_one_mode.
8892 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8894         [BZ #12515]
8895         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8896         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8898 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8900         [BZ #15605]
8901         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8902         generated by the compiler on loop optimizations.
8903         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8904         general definitions.
8906 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
8908         * math/bug-nextafter.c: Include <math-tests.h>.
8909         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8910         the relevant type.
8911         * math/bug-nexttoward.c: Include <math-tests.h>.
8912         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8913         the relevant type.
8914         * math/test-misc.c: Include <math-tests.h>.
8915         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8916         the relevant type.
8918 2013-06-12  Andreas Jaeger  <aj@suse.de>
8920         * po/ia.po: Update Interlingua translation from translation
8921         project.
8923 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8925         * include/fenv.h: Include stdbool.h.
8926         (struct rm_ctx): New structure.
8927         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8928         Define macro.
8929         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8930         (SET_RESTORE_ROUNDF): Likewise.
8931         (SET_RESTORE_ROUNDL): Likewise.
8932         (SET_RESTORE_ROUND_NOEX): Likewise.
8933         (SET_RESTORE_ROUND_NOEXF): Likewise.
8934         (SET_RESTORE_ROUND_NOEXL): Likewise.
8935         (SET_RESTORE_ROUND_53BIT): Likewise.
8936         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8937         (libc_feresetround_noexf_ctx): Likewise.
8938         (libc_feresetround_noexl_ctx): Likewise.
8939         (libc_feholdsetround_53bit_ctx): Likewise.
8940         (libc_feresetround_53bit_ctx): Likewise.
8941         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8942         (libc_feholdexcept_setround_sse_ctx): New function.
8943         (libc_fesetenv_sse_ctx): Likewise.
8944         (libc_feupdateenv_sse_ctx): Likewise.
8945         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8946         (libc_feholdexcept_setround_387_ctx): Likewise.
8947         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8948         (libc_feholdsetround_387_prec_ctx): Likewise.
8949         (libc_feholdsetround_387_ctx): Likewise.
8950         (libc_feholdsetround_387_53bit_ctx): Likewise.
8951         (libc_feholdsetround_sse_ctx): Likewise.
8952         (libc_feresetround_sse_ctx): Likewise.
8953         (libc_feresetround_387_ctx): Likewise.
8954         (libc_feupdateenv_387_ctx): Likewise.
8955         (libc_feholdexcept_setroundf_ctx): Define macro.
8956         (libc_fesetenvf_ctx): Likewise.
8957         (libc_feupdateenvf_ctx): Likewise.
8958         (libc_feholdsetroundf_ctx): Likewise.
8959         (libc_feresetroundf_ctx): Likewise.
8960         (libc_feholdexcept_setround_ctx): Likewise.
8961         (libc_fesetenv_ctx): Likewise.
8962         (libc_feupdateenv_ctx): Likewise.
8963         (libc_feholdsetround_ctx): Likewise.
8964         (libc_feresetround_ctx): Likewise.
8965         (libc_feholdexcept_setroundl_ctx): Likewise.
8966         (libc_feupdateenvl_ctx): Likewise.
8967         (libc_feholdsetroundl_ctx): Likewise.
8968         (libc_feresetroundl_ctx): Likewise.
8969         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8970         (libc_feresetround_53bit_ctx): Likewise.
8972 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8974         * locale/iso-639.def: Convert to UTF-8.
8976 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8978         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8979         (EXCEPTION_TESTS_double): Likewise.
8980         (EXCEPTION_TESTS_long_double): Likewise.
8981         (EXCEPTION_TESTS): Likewise.
8982         * math/libm-test.inc (test_exceptions): Only test exceptions if
8983         EXCEPTION_TESTS (FLOAT).
8985 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8987         * benchtests/Makefile (string-bench): Add strcpy_chk and
8988         stpcpy_chk.
8989         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8990         * benchtests/bench-stpcpy_chk.c: New file.
8991         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8992         * benchtests/bench-strcpy_chk.c: New file.
8993         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8994         code.
8995         (do_test): Likewise.
8997 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8999         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9000         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9001         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9002         with tabs where appropriate.
9003         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9004         dl-procinfo.h.
9005         [PPC_PLATFORM_PPC440]: Likewise.
9006         [PPC_PLATFORM_PPC464]: Likewise.
9007         [PPC_PLATFORM_PPC476]: Likewise.
9008         (_dl_string_platform): Add support for detecting ppc405, ppc440,
9009         ppc464, and ppc476 platform strings merging from ports/
9010         dl-procinfo.h.
9012 2013-06-11  Andreas Schwab  <schwab@suse.de>
9014         [BZ #14991]
9015         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9016         (from_ucs4_idx): Regenerate.
9017         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9018         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9019         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9020         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9021         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9022         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9023         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9024         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9025         from FROM_LOOP and TO_LOOP specific macros.
9026         (BODY): Handle combining characters.
9027         * iconvdata/BIG5HKSCS.irreversible: Update.
9028         * iconvdata/BIG5HKSCS.precomposed: New file.
9029         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9030         characters.
9031         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9033 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9035         * include/sys/time.h: Fix indentation and add copyright header.
9037         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9038         (do_test): Likewise.
9039         * string/test-memchr.c (do_one_test): Likewise.
9040         (do_test): Likewise.
9041         * string/test-memcmp.c (do_one_test): Likewise.
9042         (do_test): Likewise.
9043         * string/test-memcpy.c (do_one_test): Likewise.
9044         (do_test): Likewise.
9045         * string/test-memmem.c (do_one_test): Likewise.
9046         (do_test): Likewise.
9047         (do_random_tests): Likewise.
9048         * string/test-memmove.c (do_one_test): Likewise.
9049         (do_test): Likewise.
9050         * string/test-memset.c (do_one_test): Likewise.
9051         (do_test): Likewise.
9052         * string/test-rawmemchr.c (do_one_test): Likewise.
9053         (do_test): Likewise.
9054         * string/test-strcasecmp.c (do_one_test): Likewise.
9055         (do_test): Likewise.
9056         * string/test-strcasestr.c (do_one_test): Likewise.
9057         (do_test): Likewise.
9058         * string/test-strcat.c (do_one_test): Likewise.
9059         (do_test): Likewise.
9060         * string/test-strchr.c (do_one_test): Likewise.
9061         (do_test): Likewise.
9062         * string/test-strcmp.c (do_one_test): Likewise.
9063         (do_test): Likewise.
9064         * string/test-strcpy.c (do_one_test): Likewise.
9065         (do_test): Likewise.
9066         * string/test-string.h: Likewise.
9067         (test_init): Likewise.
9068         * string/test-strlen.c (do_one_test): Likewise.
9069         (do_test): Likewise.
9070         * string/test-strncasecmp.c (do_one_test): Likewise.
9071         (do_test): Likewise.
9072         * string/test-strncat.c (do_one_test): Likewise.
9073         (do_test): Likewise.
9074         * string/test-strncmp.c (do_one_test): Likewise.
9075         (do_test_limit): Likewise.
9076         (do_test): Likewise.
9077         * string/test-strncpy.c (do_one_test): Likewise.
9078         (do_test): Likewise.
9079         * string/test-strnlen.c (do_one_test): Likewise.
9080         (do_test): Likewise.
9081         * string/test-strpbrk.c (do_one_test): Likewise.
9082         (do_test): Likewise.
9083         * string/test-strrchr.c (do_one_test): Likewise.
9084         (do_test): Likewise.
9085         * string/test-strspn.c (do_one_test): Likewise.
9086         (do_test): Likewise.
9087         * string/test-strstr.c (do_one_test): Likewise.
9088         (do_test): Likewise.
9090         * benchtests/Makefile (string-bench): Add string benchmarks.
9091         * benchtests/bench-bcopy-ifunc.c: New file.
9092         * benchtests/bench-bcopy.c: New file.
9093         * benchtests/bench-bzero-ifunc.c: New file.
9094         * benchtests/bench-bzero.c: New file.
9095         * benchtests/bench-memccpy-ifunc.c: New file.
9096         * benchtests/bench-memccpy.c: New file.
9097         * benchtests/bench-memchr-ifunc.c: New file.
9098         * benchtests/bench-memchr.c: New file.
9099         * benchtests/bench-memcmp-ifunc.c: New file.
9100         * benchtests/bench-memcmp.c: New file.
9101         * benchtests/bench-memmem-ifunc.c: New file.
9102         * benchtests/bench-memmem.c: New file.
9103         * benchtests/bench-memmove-ifunc.c: New file.
9104         * benchtests/bench-memmove.c: New file.
9105         * benchtests/bench-mempcpy-ifunc.c: New file.
9106         * benchtests/bench-mempcpy.c: New file.
9107         * benchtests/bench-memset-ifunc.c: New file.
9108         * benchtests/bench-memset.c: New file.
9109         * benchtests/bench-rawmemchr-ifunc.c: New file.
9110         * benchtests/bench-rawmemchr.c: New file.
9111         * benchtests/bench-stpcpy-ifunc.c: New file.
9112         * benchtests/bench-stpcpy.c: New file.
9113         * benchtests/bench-stpncpy-ifunc.c: New file.
9114         * benchtests/bench-stpncpy.c: New file.
9115         * benchtests/bench-strcasecmp-ifunc.c: New file.
9116         * benchtests/bench-strcasecmp.c: New file.
9117         * benchtests/bench-strcasestr-ifunc.c: New file.
9118         * benchtests/bench-strcasestr.c: New file.
9119         * benchtests/bench-strcat-ifunc.c: New file.
9120         * benchtests/bench-strcat.c: New file.
9121         * benchtests/bench-strchr-ifunc.c: New file.
9122         * benchtests/bench-strchr.c: New file.
9123         * benchtests/bench-strchrnul-ifunc.c: New file.
9124         * benchtests/bench-strchrnul.c: New file.
9125         * benchtests/bench-strcmp-ifunc.c: New file.
9126         * benchtests/bench-strcmp.c: New file.
9127         * benchtests/bench-strcpy-ifunc.c: New file.
9128         * benchtests/bench-strcpy.c: New file.
9129         * benchtests/bench-strcspn-ifunc.c: New file.
9130         * benchtests/bench-strcspn.c: New file.
9131         * benchtests/bench-strlen-ifunc.c: New file.
9132         * benchtests/bench-strlen.c: New file.
9133         * benchtests/bench-strncasecmp-ifunc.c: New file.
9134         * benchtests/bench-strncasecmp.c: New file.
9135         * benchtests/bench-strncat-ifunc.c: New file.
9136         * benchtests/bench-strncat.c: New file.
9137         * benchtests/bench-strncmp-ifunc.c: New file.
9138         * benchtests/bench-strncmp.c: New file.
9139         * benchtests/bench-strncpy-ifunc.c: New file.
9140         * benchtests/bench-strncpy.c: New file.
9141         * benchtests/bench-strnlen-ifunc.c: New file.
9142         * benchtests/bench-strnlen.c: New file.
9143         * benchtests/bench-strpbrk-ifunc.c: New file.
9144         * benchtests/bench-strpbrk.c: New file.
9145         * benchtests/bench-strrchr-ifunc.c: New file.
9146         * benchtests/bench-strrchr.c: New file.
9147         * benchtests/bench-strspn-ifunc.c: New file.
9148         * benchtests/bench-strspn.c: New file.
9149         * benchtests/bench-strstr-ifunc.c: New file.
9150         * benchtests/bench-strstr.c: New file.
9152         * benchtests/Makefile: Disable parallel execution of targets.
9153         (string-bench): Add memcpy.
9154         (benchset): New variable to store a list of benchmark sets.
9155         (bench-func): Renamed from bench.
9156         (bench-set): New target.
9157         (bench): Depend on bench-func and bench-set.
9158         * benchtests/README: Add section on benchmark sets.
9159         * benchtests/bench-memcpy-ifunc.c: New file.
9160         * benchtests/bench-memcpy.c: New file.
9161         * benchtests/bench-string.h: New file.
9163 2013-06-11  Andreas Schwab  <schwab@suse.de>
9165         [BZ #15577]
9166         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9167         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9168         values in the triple.
9169         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9170         terminator in the group key.
9172 2013-06-11  Andreas Jaeger  <aj@suse.de>
9174         * po/zh_TW.po: Update Chinese (traditional) translation from
9175         translation project.
9177 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9179         * include/time.h (__clock_gettime): Add libc_hidden_proto.
9180         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9181         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
9182         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9183         (clock_getcpuclockid): Likewise.
9184         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9185         Add weak_alias and libc_hidden_def.
9186         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9187         * rt/clock_gettime.c (clock_gettime): Rename to
9188         __clock_gettime.  Add weak_alias and libc_hidden_def.
9189         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9190         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9191         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
9192         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9193         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9194         Likewise.
9195         * rt/clock_settime.c (clock_settime): Rename to
9196         __clock_settime.  Add weak_alias and libc_hidden_def.
9197         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9199 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
9201         * mach/err_boot.sub: Remove trailing whitespace.
9202         * mach/err_ipc.sub: Likewise.
9203         * mach/err_mach.sub: Likewise.
9205         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9206         (ROUNDING_TESTS_double): Likewise.
9207         (ROUNDING_TESTS_long_double): Likewise.
9208         (ROUNDING_TESTS): Likewise.
9209         * math/libm-test.inc: Include <math-tests.h>.
9210         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9211         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9212         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9213         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9215 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9217         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9218         of assigning.
9220 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
9222         * sysdeps/gnu/errlist.awk: Do not generate space at end of
9223         otherwise empty TRANS lines.
9224         * sysdeps/gnu/errlist.c: Regenerated.
9226         * catgets/gencat.c (error_print): Use (void) in function
9227         definition.
9228         * crypt/crypt_util.c (__init_des): Likewise.
9229         * crypt/speeds.c (Stop): Likewise.
9230         (main): Likewise.
9231         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9232         * inet/ruserpass.c (token): Likewise.
9233         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9234         * intl/localealias.c (extend_alias_table): Likewise.
9235         * intl/plural-exp.c (init_germanic_plural): Likewise.
9236         * libio/fcloseall.c (__fcloseall): Likewise.
9237         * libio/genops.c (_IO_flush_all): Likewise.
9238         (_IO_flush_all_linebuffered): Likewise.
9239         (_IO_cleanup): Likewise.
9240         (_IO_iter_begin): Likewise.
9241         (_IO_iter_end): Likewise.
9242         (_IO_list_lock): Likewise.
9243         (_IO_list_unlock): Likewise.
9244         (_IO_list_resetlock): Likewise.
9245         * libio/getchar.c (getchar): Likewise.
9246         * libio/getchar_u.c (getchar_unlocked): Likewise.
9247         * libio/getwchar.c (getwchar): Likewise.
9248         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9249         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9250         * login/getpt.c (__getpt): Likewise.
9251         * login/tst-utmp.c (main): Likewise.
9252         * malloc/hooks.c (__malloc_check_init): Likewise.
9253         * malloc/malloc.c (__malloc_stats): Likewise.
9254         * malloc/mtrace.c (tr_break): Likewise.
9255         (mtrace): Likewise.
9256         (muntrace): Likewise.
9257         * misc/fstab.c (endfsent): Likewise.
9258         * misc/getclktck.c (__getclktck): Likewise.
9259         * misc/getdtsz.c (__getdtablesize): Likewise.
9260         * misc/gethostid.c (gethostid): Likewise.
9261         * misc/getpagesize.c (__getpagesize): Likewise.
9262         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9263         (__get_nprocs): Likewise.
9264         (__get_phys_pages): Likewise.
9265         (__get_avphys_pages): Likewise.
9266         * misc/getttyent.c (getttyent): Likewise.
9267         (setttyent): Likewise.
9268         (endttyent): Likewise.
9269         * misc/getusershell.c (getusershell): Likewise.
9270         (endusershell): Likewise.
9271         (setusershell): Likewise.
9272         (initshells): Likewise.
9273         * misc/hsearch.c (__hdestroy): Likewise.
9274         * misc/sync.c (sync): Likewise.
9275         * misc/syslog.c (closelog_internal): Likewise.
9276         (closelog): Likewise.
9277         * misc/ttyslot.c (ttyslot): Likewise.
9278         * misc/vhangup.c (vhangup): Likewise.
9279         * posix/fork.c (__fork): Likewise.
9280         * posix/getegid.c (__getegid): Likewise.
9281         * posix/geteuid.c (__geteuid): Likewise.
9282         * posix/getgid.c (__getgid): Likewise.
9283         * posix/getpid.c (__getpid): Likewise.
9284         * posix/getppid.c (__getppid): Likewise.
9285         * posix/getuid.c (__getuid): Likewise.
9286         * posix/pause.c (pause): Likewise.
9287         * posix/setpgrp.c (setpgrp): Likewise.
9288         * posix/setsid.c (__setsid): Likewise.
9289         * posix/test-vfork.c (noop): Likewise.
9290         * resolv/gethnamaddr.c (_endhtent): Likewise.
9291         (_gethtent): Likewise.
9292         (ht_endhostent): Likewise.
9293         (gethostent): Likewise.
9294         (dns_service): Likewise.
9295         * stdlib/drand48.c (drand48): Likewise.
9296         * stdlib/lrand48.c (lrand48): Likewise.
9297         * stdlib/mrand48.c (mrand48): Likewise.
9298         * stdlib/rand.c (rand): Likewise.
9299         * stdlib/random.c (__random): Likewise.
9300         * stdlib/setenv.c (clearenv): Likewise.
9301         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9302         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9303         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9304         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9305         (__get_nprocs): Likewise.
9306         (__get_phys_pages): Likewise.
9307         (__get_avphys_pages): Likewise.
9308         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9309         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9310         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9311         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9312         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9313         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9314         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9315         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9316         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9317         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9318         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9319         * sysdeps/mach/hurd/sync.c (sync): Likewise.
9320         * sysdeps/posix/clock.c (clock): Likewise.
9321         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9322         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9323         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9324         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9325         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9326         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9327         (__get_nprocs_conf): Likewise.
9328         (__get_phys_pages): Likewise.
9329         (__get_avphys_pages): Likewise.
9330         * time/clock.c (clock): Likewise.
9331         * time/tzset.c (__tzname_max): Likewise.
9333 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
9335         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9336         (__bswap_32): Do not use "register".
9337         * crypt/crypt.c (_ufc_doit_r): Likewise.
9338         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9339         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9340         * gmon/gmon.c (__monstartup): Likewise.
9341         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9342         * hurd/hurdmalloc.c (more_memory): Likewise.
9343         (malloc): Likewise.
9344         (free): Likewise.
9345         (realloc): Likewise.
9346         (malloc_fork_prepare): Likewise.
9347         (malloc_fork_parent): Likewise.
9348         (malloc_fork_child): Likewise.
9349         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9350         (_svcauth_des): Likewise.
9351         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9352         * inet/inet_net.c (inet_network): Likewise.
9353         * inet/inet_netof.c (inet_netof): Likewise.
9354         * inet/rcmd.c (__validuser2_sa): Likewise.
9355         * io/fts.c (fts_open): Likewise.
9356         (fts_load): Likewise.
9357         (fts_close): Likewise.
9358         (fts_read): Likewise.
9359         (fts_children): Likewise.
9360         (fts_build): Likewise.
9361         (fts_stat): Likewise.
9362         (fts_sort): Likewise.
9363         (fts_alloc): Likewise.
9364         (fts_lfree): Likewise.
9365         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9366         (_IO_file_xsgetn): Likewise.
9367         (_IO_file_xsgetn_mmap): Likewise.
9368         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9369         (_IO_cookie_write): Likewise.
9370         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9371         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9372         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9373         * malloc/obstack.c (_obstack_begin): Likewise.
9374         (_obstack_begin_1): Likewise.
9375         (_obstack_newchunk): Likewise.
9376         (_obstack_allocated_p): Likewise.
9377         (obstack_free): Likewise.
9378         (_obstack_memory_used): Likewise.
9379         * misc/getttyent.c (getttynam): Likewise.
9380         (getttyent): Likewise.
9381         (skip): Likewise.
9382         (value): Likewise.
9383         * misc/getusershell.c (initshells): Likewise.
9384         * misc/syslog.c (__vsyslog_chk): Likewise.
9385         * misc/ttyslot.c (ttyslot): Likewise.
9386         * nis/nis_hash.c (__nis_hash): Likewise.
9387         * posix/fnmatch_loop.c (FCT): Likewise.
9388         * posix/getconf.c (print_all): Likewise.
9389         (main): Likewise.
9390         * posix/getopt.c (exchange): Likewise.
9391         * posix/glob.c (globfree): Likewise.
9392         (prefix_array): Likewise.
9393         (__glob_pattern_type): Likewise.
9394         * resolv/arpa/nameser.h (NS_GET16): Likewise.
9395         (NS_GET32): Likewise.
9396         (NS_PUT16): Likewise.
9397         (NS_PUT32): Likewise.
9398         * resolv/gethnamaddr.c (getanswer): Likewise.
9399         (gethostbyname2): Likewise.
9400         (gethostbyaddr): Likewise.
9401         (_gethtent): Likewise.
9402         (_gethtbyname2): Likewise.
9403         (_gethtbyaddr): Likewise.
9404         * resolv/ns_print.c (dst_s_get_int16): Likewise.
9405         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9406         * resolv/res_init.c (__res_vinit): Likewise.
9407         (net_mask): Likewise.
9408         * resolv/res_mkquery.c (outchar): Likewise.
9409         (PRINT): Likewise.
9410         * stdio-common/printf_fp.c (outchar): Likewise.
9411         (PRINT): Likewise.
9412         * stdio-common/printf_fphex.c (outchar): Likewise.
9413         (PRINT): Likewise.
9414         * stdio-common/printf_size.c (outchar): Likewise.
9415         (PRINT): Likewise.
9416         * stdio-common/test_rdwr.c (main): Likewise.
9417         * stdio-common/tfformat.c (matches): Likewise.
9418         * stdio-common/vfprintf.c (outchar): Likewise.
9419         (printf_unknown): Likewise.
9420         (buffered_vfprintf): Likewise.
9421         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9422         * stdio-common/xbug.c (AppendToBuffer): Likewise.
9423         (ReadFile): Likewise.
9424         * stdlib/qsort.c (SWAP): Likewise.
9425         (_quicksort): Likewise.
9426         * stdlib/setenv.c (__add_to_environ): Likewise.
9427         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9428         * stdlib/strtol_l.c (__strtol_l): Likewise.
9429         * stdlib/tst-strtod.c (main): Likewise.
9430         * stdlib/tst-strtol.c (main): Likewise.
9431         * stdlib/tst-strtoll.c (main): Likewise.
9432         * string/bits/string2.h (__strcmp_cc): Likewise.
9433         (__strcmp_cg): Likewise.
9434         (__strcspn_c1): Likewise.
9435         (__strcspn_c2): Likewise.
9436         (__strcspn_c3): Likewise.
9437         (__strspn_c1): Likewise.
9438         (__strspn_c2): Likewise.
9439         (__strspn_c3): Likewise.
9440         (__strsep_1c): Likewise.
9441         (__strsep_2c): Likewise.
9442         (__strsep_3c): Likewise.
9443         * string/memccpy.c (__memccpy): Likewise.
9444         * string/stpcpy.c (__stpcpy): Likewise.
9445         * string/strcmp.c (strcmp): Likewise.
9446         * string/strrchr.c (strrchr): Likewise.
9447         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9448         Likewise.
9449         * sysdeps/mach/hurd/getcwd.c
9450         (_hurd_canonicalize_directory_name_internal): Likewise.
9451         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9452         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9453         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9454         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9455         Likewise, in both definitions.
9456         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9457         definitions.
9458         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9459         64] (__bswap_64): Likewise.
9460         * time/test_time.c (main): Likewise.
9461         * time/tzfile.c (__tzfile_read): Likewise.
9462         (__tzfile_compute): Likewise.
9463         * time/tzset.c (__tzset_parse_tz): Likewise.
9464         (tzset_internal): Likewise.
9465         (compute_change): Likewise.
9466         * wcsmbs/wcscat.c (__wcscat): Likewise.
9467         * wcsmbs/wcschr.c (wcschr): Likewise.
9468         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9469         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9470         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9471         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9472         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9473         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9474         * wcsmbs/wmemchr.c (wmemchr): Likewise.
9475         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9476         * wcsmbs/wmemset.c (wmemset): Likewise.
9478 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
9480         * scripts/config.guess: Update to version 2013-05-16.
9481         * scripts/config.sub: Update to version 2013-04-24.
9482         * scripts/install-sh: Update to version 2011-11-20.07.
9483         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9484         * scripts/move-if-change: Update to version 2012-01-06 07:23.
9486 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
9488         * debug/fgetws_u_chk.c: Fix leading whitespaces.
9489         * elf/sln.c: Likewise.
9490         * hurd/hurd/ioctl.h: Likewise.
9491         * hurd/hurdmalloc.c: Likewise.
9492         * hurd/xattr.c: Likewise.
9493         * include/shlib-compat.h: Likewise.
9494         * inet/ruserpass.c: Likewise.
9495         * libio/iofgets_u.c: Likewise.
9496         * libio/iofgetws_u.c: Likewise.
9497         * locale/programs/ld-identification.c: Likewise.
9498         * locale/programs/ld-time.c: Likewise.
9499         * mach/msg-destroy.c: Likewise.
9500         * nss/nss_files/files-netgrp.c: Likewise.
9501         * resolv/res_data.c: Likewise.
9502         * soft-fp/op-1.h: Likewise.
9503         * soft-fp/op-2.h: Likewise.
9504         * soft-fp/op-4.h: Likewise.
9505         * soft-fp/op-common.h: Likewise.
9506         * stdio-common/printf_fphex.c: Likewise.
9507         * stdlib/strtod_l.c: Likewise.
9508         * sunrpc/rpc/clnt.h: Likewise.
9509         * sysdeps/generic/framestate.c: Likewise.
9510         * sysdeps/i386/bsd-_setjmp.S: Likewise.
9511         * sysdeps/i386/bsd-setjmp.S: Likewise.
9512         * sysdeps/i386/__longjmp.S: Likewise.
9513         * sysdeps/i386/setjmp.S: Likewise.
9514         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9515         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9516         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9517         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9518         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9519         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9520         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9521         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9522         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9523         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9524         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9525         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9526         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9527         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9528         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9529         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9530         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9531         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9532         * sysdeps/ieee754/support.c: Likewise.
9533         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9534         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9535         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9536         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9537         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9538         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9539         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9540         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9541         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9542         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9543         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9544         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9545         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9546         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9547         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9548         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9549         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9552 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
9554         * posix/transbug.c: Remove executable mode.
9556 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
9558         * crypt/speeds.c: Remove trailing whitespace.
9559         * dlfcn/default.c: Likewise.
9560         * elf/ifuncdep2.c: Likewise.
9561         * elf/ifuncmain1.c: Likewise.
9562         * elf/ifuncmain1vis.c: Likewise.
9563         * elf/testobj.h: Likewise.
9564         * elf/tst-stackguard1.c: Likewise.
9565         * gmon/sys/gmon.h: Likewise.
9566         * hurd/hurdmsg.c: Likewise.
9567         * hurd/new-fd.c: Likewise.
9568         * hurd/ports-get.c: Likewise.
9569         * iconvdata/ibm1008_420.c: Likewise.
9570         * inet/tst-getni1.c: Likewise.
9571         * inet/tst-getni2.c: Likewise.
9572         * libio/ioungetc.c: Likewise.
9573         * libio/wfiledoalloc.c: Likewise.
9574         * manual/libm-err-tab.pl: Likewise.
9575         * math/w_dremf.c: Likewise.
9576         * misc/ftruncate.c: Likewise.
9577         * posix/bug-glob2.c: Likewise.
9578         * posix/tst-pcre.c: Likewise.
9579         * posix/wait4.c: Likewise.
9580         * resolv/README: Likewise.
9581         * resolv/res_debug.h: Likewise.
9582         * resolv/tst-inet_ntop.c: Likewise.
9583         * setjmp/bug269-setjmp.c: Likewise.
9584         * soft-fp/extended.h: Likewise.
9585         * soft-fp/op-1.h: Likewise.
9586         * soft-fp/op-2.h: Likewise.
9587         * soft-fp/op-4.h: Likewise.
9588         * soft-fp/op-8.h: Likewise.
9589         * soft-fp/testit.c: Likewise.
9590         * stdio-common/bug16.c: Likewise.
9591         * stdlib/random.c: Likewise.
9592         * sunrpc/rpcsvc/rquota.x: Likewise.
9593         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9594         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9595         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9596         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9597         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9598         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9599         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9600         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9601         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9602         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9603         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9604         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9605         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9606         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9607         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9608         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9609         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9610         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9611         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9612         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9613         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9614         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9615         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9616         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9617         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9618         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9620         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9621         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9622         * sysdeps/ieee754/s_lib_version.c: Likewise.
9623         * sysdeps/mach/hurd/check_fds.c: Likewise.
9624         * sysdeps/mach/hurd/getsockname.c: Likewise.
9625         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9626         * sysdeps/mach/hurd/recvfrom.c: Likewise.
9627         * sysdeps/powerpc/bits/link.h: Likewise.
9628         * sysdeps/powerpc/dl-procinfo.c: Likewise.
9629         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9630         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9631         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9632         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9633         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9634         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9635         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9636         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9637         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9638         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9639         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9640         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9641         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9642         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9643         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9644         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9645         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9646         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9647         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9648         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9649         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9650         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9651         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9652         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9653         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9654         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9655         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9656         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9657         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9658         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9659         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9660         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9661         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9662         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9663         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9664         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9665         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9666         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9667         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9668         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9669         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9670         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9671         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9672         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9673         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9674         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9675         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9676         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9677         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9678         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9679         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9680         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9681         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9682         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9683         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9684         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9685         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9686         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9687         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9688         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9689         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9690         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9691         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9692         * sysdeps/powerpc/sysdep.h: Likewise.
9693         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9694         * sysdeps/s390/s390-64/sub_n.S: Likewise.
9695         * sysdeps/sh/dl-trampoline.S: Likewise.
9696         * sysdeps/sh/memset.S: Likewise.
9697         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9698         * sysdeps/sh/strlen.S: Likewise.
9699         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9700         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9701         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9702         * sysdeps/sparc/sparc32/rem.S: Likewise.
9703         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9704         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9705         * sysdeps/sparc/sparc32/strchr.S: Likewise.
9706         * sysdeps/sparc/sparc32/udiv.S: Likewise.
9707         * sysdeps/sparc/sparc32/urem.S: Likewise.
9708         * sysdeps/sparc/sparc64/add_n.S: Likewise.
9709         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9710         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9711         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9712         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9713         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9714         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9715         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9716         * sysdeps/unix/bsd/times.c: Likewise.
9717         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9718         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9722         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9723         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9724         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9725         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9726         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9727         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9728         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9729         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9730         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9731         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9732         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9733         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9734         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9735         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9736         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9737         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9738         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9739         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9740         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9741         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9742         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9743         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9744         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9745         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9746         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9747         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9748         * sysdeps/x86_64/strcspn.S: Likewise.
9750 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9752         * locale/C-translit.h: Revert #include <stdint.h> because this is a
9753         generated file.  Regenerate properly from gen-translit.pl.
9754         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
9755         locale/C-translit.h.
9757 2013-06-05  Andreas Schwab  <schwab@suse.de>
9759         [BZ #15100]
9760         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9761         week as 6 instead of -1.
9762         * time/tst-strptime.c (day_tests): Add test case.
9764 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9766         * sysdeps/generic/math_private.h
9767         (libc_feholdexcept_setround_53bit): Replace with
9768         libc_feholdsetround_53bit.
9769         (libc_feupdateenv_53bit): Replace with
9770         libc_feresetround_53bit.
9771         (SET_RESTORE_ROUND_53BIT): Adjust.
9773 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9775         * string/test-strchrnul.c: Add copyright header.
9777         * posix/tst-getaddrinfo4.c: Increase test timeout.
9779 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
9781         [BZ #15536]
9782         * math/libm-test.inc (MAX_EXP): Remove
9783         (MIN_EXP): Define.
9784         (ulp): Use MIN_EXP - MANT_DIG.
9785         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9787 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
9789         * po/be.po: Revert last change.
9790         * po/zh_CN.po: Likewise.
9791         * po/header.pot: Likewise.
9793 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
9795         * Makefile ($(common-objpfx)linkobj/libc.so): Define
9796         link-libc-deps to empty as target-specific variable.
9797         * Makerules (link-libc-args): New variable.
9798         (libc-for-link): Likewise.
9799         (link-libc-deps): Likewise.
9800         (lib%.so): Depend on $(link-libc-deps).  Link with
9801         $(link-libc-args).
9802         (build-module): Link with $(link-libc-args).
9803         (build-module-asneeded): Likewise.
9804         (build-module-helper-objlist): Filter out $(link-libc-deps) from
9805         list of objects.
9806         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9807         target-specific variable.
9808         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9809         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9810         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9811         libc.
9812         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9813         libc and ld.so.
9814         ($(objpfx)libpcprofile.so): Likewise.
9815         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9816         libc_nonshared.a.
9817         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9818         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9819         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9820         $(link-libc-deps).
9821         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9822         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9823         * login/Makefile ($(objpfx)libutil.so): Likewise.
9824         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9825         * math/Makefile ($(objpfx)libm.so): Likewise.
9826         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9827         $(objpfx)libnsl.so): Define libc-for-link as target-specific
9828         variable instead of depending directly on libc.
9829         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9830         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9831         $(link-libc-deps).
9832         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9833         libc.
9834         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9835         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9836         ($(objpfx)libanl.so): Likewise.
9837         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9838         ld.so.
9839         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9840         $(link-libc-deps).
9841         * sysdeps/i386/fpu/Makefile: Remove file.
9842         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9843         ($(objpfx)libm.so): Remove dependency on ld.so.
9845 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
9847         [BZ # 15553]
9848         * nis/yp_xdr.c (XDRMAXNAME): Define.
9849         (XDRMAXRECORD): Define.
9850         (xdr_domainname): Use XDRMAXNAME.
9851         (xdr_mapname): Likewise.
9852         (xdr_peername): Likewise.
9853         (xdr_keydat): Use XDRMAXRECORD.
9854         (xdr_valdat): Likewise.
9856 2013-05-30  Jeff Law  <law@redhat.com>
9858         [BZ #14256]
9859         * manual/errno.texi (ESTALE): Update to account for more than
9860         just NFS file systems.
9861         * sysdeps/gnu/errlist.c: Regenerated.
9863 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9865         [BZ #15465]
9866         * elf/Makefile (tests): Add tst-null-argv.
9867         (modules-names):  Add tst-null-argv-lib.
9868         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9869         (tst-null-argv-ENV): Set environment for tst-null-argv.
9870         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9871         (RTLD_PROGNAME): New macro.
9872         * elf/tst-null-argv.c: New test case.
9873         * elf/tst-null-argv-lib.c: Library for test case.
9874         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9875         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9876         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9877         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9878         * elf/dl-init.c (call_init): Likewise.
9879         (_dl_init): Likewise.
9880         * elf/dl-load.c (print_search_path): Likewise.
9881         (_dl_map_object): Likewise.
9882         * elf/dl-lookup.c (do_lookup_x): Likewise.
9883         (add_dependency): Likewise.
9884         (_dl_lookup_symbol_x): Likewise.
9885         (_dl_debug_bindings): Likewise.
9886         * elf/dl-open.c (_dl_show_scope): Likewise.
9887         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9888         * elf/dl-version.c (match_symbol): Likewise.
9889         (_dl_check_map_versions): Likewise.
9890         * elf/rtld.c (dl_main): Likewise.
9891         (print_unresolved): Use RTLD_PROGNAME.
9892         (print_missing_version): Likewise.
9893         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9894         (elf_machine_rela): Likewise.
9895         * sysdeps/powerpc/powerpc32/dl-machine.c
9896         (__process_machine_rela): Likewise.
9897         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9898         Likewise.
9899         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9900         Likewise.
9901         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9902         Likewise.
9903         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9904         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9905         Likewise.
9906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9907         Likewise.
9908         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9910 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
9912         * po/be.po: Add descriptive title.
9913         * po/zh_CN.po: Likewise.
9914         * po/header.pot: Likewise.
9916 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
9918         * locale/programs/locarchive.c (create_archive): Inlucde fname in
9919         error message.
9920         (enlarge_archive): Likewise.
9922 2013-05-28  Ben North  <ben@redfrontdoor.org>
9924         * manual/arith.texi (frexp): It is the magnitude of the return
9925         value which lies in [0.5, 1), not the return value itself.
9927 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9931 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
9933         * stdio-common/bug26.c (main): Correct fscanf template.
9935         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9936         declare _dl_skip_args.
9938         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9939         Don't declare.
9941         * manual/platform.texi: Add missing @end deftypefun.
9943 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9945         [BZ #15529]
9946         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9947         bit of mantissa of 2^16382.
9948         * math/libm-test.inc (hypot_test_data): Add more tests.
9950         * math/libm-test.inc: Add drem and pow10 to list of tested
9951         functions.
9952         (pow10_test): New function.
9953         (drem_test): Likewise.
9954         (drem_test_tonearest): Likewise.
9955         (drem_test_towardzero): Likewise.
9956         (drem_test_downward): Likewise.
9957         (drem_test_upward): Likewise.
9958         (main): Call the new functions.
9960         * math/libm-test.inc (finite_test_data): Remove.
9961         (finite_test): Run tests from isfinite_test_data.
9962         (gamma_test_data): Remove.
9963         (gamma_test): Run tests from lgamma_test_data.
9964         * sysdeps/i386/fpu/libm-test-ulps: Update.
9965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9967 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9969         * manual/platform.texi: Add PowerPC PPR function set documentation.
9970         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9971         implementation.
9973 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9975         * math/libm-test.inc (MAX_EXP): Define.
9976         (ULPDIFF): Define.
9977         (ulp): New function.
9978         (check_float_internal): Use ULPDIFF.
9979         (cpow_test): Disable failing test.
9980         (check_ulp): Test ulp() implemetnation.
9981         (main): Call check_ulp before starting tests.
9983 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9985         * math/gen-libm-test.pl (generate_testfile): Do not handle
9986         START_DATA and END_DATA.
9987         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9988         END_DATA.
9989         (acos_tonearest_test_data): Likewise.
9990         (acos_towardzero_test_data): Likewise.
9991         (acos_downward_test_data): Likewise.
9992         (acos_upward_test_data): Likewise.
9993         (acosh_test_data): Likewise.
9994         (asin_test_data): Likewise.
9995         (asin_tonearest_test_data): Likewise.
9996         (asin_towardzero_test_data): Likewise.
9997         (asin_downward_test_data): Likewise.
9998         (asin_upward_test_data): Likewise.
9999         (asinh_test_data): Likewise.
10000         (atan_test_data): Likewise.
10001         (atanh_test_data): Likewise.
10002         (atan2_test_data): Likewise.
10003         (cabs_test_data): Likewise.
10004         (cacos_test_data): Likewise.
10005         (cacosh_test_data): Likewise.
10006         (carg_test_data): Likewise.
10007         (casin_test_data): Likewise.
10008         (casinh_test_data): Likewise.
10009         (catan_test_data): Likewise.
10010         (catanh_test_data): Likewise.
10011         (cbrt_test_data): Likewise.
10012         (ccos_test_data): Likewise.
10013         (ccosh_test_data): Likewise.
10014         (ceil_test_data): Likewise.
10015         (cexp_test_data): Likewise.
10016         (cimag_test_data): Likewise.
10017         (clog_test_data): Likewise.
10018         (clog10_test_data): Likewise.
10019         (conj_test_data): Likewise.
10020         (copysign_test_data): Likewise.
10021         (cos_test_data): Likewise.
10022         (cos_tonearest_test_data): Likewise.
10023         (cos_towardzero_test_data): Likewise.
10024         (cos_downward_test_data): Likewise.
10025         (cos_upward_test_data): Likewise.
10026         (cosh_test_data): Likewise.
10027         (cosh_tonearest_test_data): Likewise.
10028         (cosh_towardzero_test_data): Likewise.
10029         (cosh_downward_test_data): Likewise.
10030         (cosh_upward_test_data): Likewise.
10031         (cpow_test_data): Likewise.
10032         (cproj_test_data): Likewise.
10033         (creal_test_data): Likewise.
10034         (csin_test_data): Likewise.
10035         (csinh_test_data): Likewise.
10036         (csqrt_test_data): Likewise.
10037         (ctan_test_data): Likewise.
10038         (ctan_tonearest_test_data): Likewise.
10039         (ctan_towardzero_test_data): Likewise.
10040         (ctan_downward_test_data): Likewise.
10041         (ctan_upward_test_data): Likewise.
10042         (ctanh_test_data): Likewise.
10043         (ctanh_tonearest_test_data): Likewise.
10044         (ctanh_towardzero_test_data): Likewise.
10045         (ctanh_downward_test_data): Likewise.
10046         (ctanh_upward_test_data): Likewise.
10047         (erf_test_data): Likewise.
10048         (erfc_test_data): Likewise.
10049         (exp_test_data): Likewise.
10050         (exp_tonearest_test_data): Likewise.
10051         (exp_towardzero_test_data): Likewise.
10052         (exp_downward_test_data): Likewise.
10053         (exp_upward_test_data): Likewise.
10054         (exp10_test_data): Likewise.
10055         (exp2_test_data): Likewise.
10056         (expm1_test_data): Likewise.
10057         (fabs_test_data): Likewise.
10058         (fdim_test_data): Likewise.
10059         (finite_test_data): Likewise.
10060         (floor_test_data): Likewise.
10061         (fma_test_data): Likewise.
10062         (fma_towardzero_test_data): Likewise.
10063         (fma_downward_test_data): Likewise.
10064         (fma_upward_test_data): Likewise.
10065         (fmax_test_data): Likewise.
10066         (fmin_test_data): Likewise.
10067         (fmod_test_data): Likewise.
10068         (fpclassify_test_data): Likewise.
10069         (frexp_test_data): Likewise.
10070         (gamma_test_data): Likewise.
10071         (hypot_test_data): Likewise.
10072         (ilogb_test_data): Likewise.
10073         (isfinite_test_data): Likewise.
10074         (isgreater_test_data): Likewise.
10075         (isgreaterequal_test_data): Likewise.
10076         (isinf_test_data): Likewise.
10077         (isless_test_data): Likewise.
10078         (islessequal_test_data): Likewise.
10079         (islessgreater_test_data): Likewise.
10080         (isnan_test_data): Likewise.
10081         (isnormal_test_data): Likewise.
10082         (issignaling_test_data): Likewise.
10083         (isunordered_test_data): Likewise.
10084         (j0_test_data): Likewise.
10085         (j1_test_data): Likewise.
10086         (jn_test_data): Likewise.
10087         (ldexp_test_data): Likewise.
10088         (lgamma_test_data): Likewise.
10089         (lrint_test_data): Likewise.
10090         (lrint_tonearest_test_data): Likewise.
10091         (lrint_towardzero_test_data): Likewise.
10092         (lrint_downward_test_data): Likewise.
10093         (lrint_upward_test_data): Likewise.
10094         (llrint_test_data): Likewise.
10095         (llrint_tonearest_test_data): Likewise.
10096         (llrint_towardzero_test_data): Likewise.
10097         (llrint_downward_test_data): Likewise.
10098         (llrint_upward_test_data): Likewise.
10099         (log_test_data): Likewise.
10100         (log10_test_data): Likewise.
10101         (log1p_test_data): Likewise.
10102         (log2_test_data): Likewise.
10103         (logb_test_data): Likewise.
10104         (logb_downward_test_data): Likewise.
10105         (lround_test_data): Likewise.
10106         (llround_test_data): Likewise.
10107         (modf_test_data): Likewise.
10108         (nearbyint_test_data): Likewise.
10109         (nextafter_test_data): Likewise.
10110         (nexttoward_test_data): Likewise.
10111         (pow_test_data): Likewise.
10112         (pow_tonearest_test_data): Likewise.
10113         (pow_towardzero_test_data): Likewise.
10114         (pow_downward_test_data): Likewise.
10115         (pow_upward_test_data): Likewise.
10116         (remainder_test_data): Likewise.
10117         (remainder_tonearest_test_data): Likewise.
10118         (remainder_towardzero_test_data): Likewise.
10119         (remainder_downward_test_data): Likewise.
10120         (remainder_upward_test_data): Likewise.
10121         (remquo_test_data): Likewise.
10122         (rint_test_data): Likewise.
10123         (rint_tonearest_test_data): Likewise.
10124         (rint_towardzero_test_data): Likewise.
10125         (rint_downward_test_data): Likewise.
10126         (rint_upward_test_data): Likewise.
10127         (round_test_data): Likewise.
10128         (scalb_test_data): Likewise.
10129         (scalbn_test_data): Likewise.
10130         (scalbln_test_data): Likewise.
10131         (signbit_test_data): Likewise.
10132         (sin_test_data): Likewise.
10133         (sin_tonearest_test_data): Likewise.
10134         (sin_towardzero_test_data): Likewise.
10135         (sin_downward_test_data): Likewise.
10136         (sin_upward_test_data): Likewise.
10137         (sincos_test_data): Likewise.
10138         (sinh_test_data): Likewise.
10139         (sinh_tonearest_test_data): Likewise.
10140         (sinh_towardzero_test_data): Likewise.
10141         (sinh_downward_test_data): Likewise.
10142         (sinh_upward_test_data): Likewise.
10143         (sqrt_test_data): Likewise.
10144         (tan_test_data): Likewise.
10145         (tan_tonearest_test_data): Likewise.
10146         (tan_towardzero_test_data): Likewise.
10147         (tan_downward_test_data): Likewise.
10148         (tan_upward_test_data): Likewise.
10149         (tanh_test_data): Likewise.
10150         (tgamma_test_data): Likewise.
10151         (trunc_test_data): Likewise.
10152         (y0_test_data): Likewise.
10153         (y1_test_data): Likewise.
10154         (yn_test_data): Likewise.
10155         (significand_test_data): Likewise.
10157         * math/gen-libm-test.pl (@functions): Remove variable.
10158         (generate_testfile): Don't handle START and END lines.
10159         * math/libm-test.inc (START): New macro.
10160         (END): Likewise.
10161         (END_COMPLEX): Likewise.
10162         (acos_test): Use END macro without arguments.
10163         (acos_test_tonearest): Likewise.
10164         (acos_test_towardzero): Likewise.
10165         (acos_test_downward): Likewise.
10166         (acos_test_upward): Likewise.
10167         (acosh_test): Likewise.
10168         (asin_test): Likewise.
10169         (asin_test_tonearest): Likewise.
10170         (asin_test_towardzero): Likewise.
10171         (asin_test_downward): Likewise.
10172         (asin_test_upward): Likewise.
10173         (asinh_test): Likewise.
10174         (atan_test): Likewise.
10175         (atanh_test): Likewise.
10176         (atan2_test): Likewise.
10177         (cabs_test): Likewise.
10178         (cacos_test): Use END_COMPLEX macro without arguments.
10179         (cacosh_test): Likewise.
10180         (carg_test): Use END macro without arguments.
10181         (casin_test): Use END_COMPLEX macro without arguments.
10182         (casinh_test): Likewise.
10183         (catan_test): Likewise.
10184         (catanh_test): Likewise.
10185         (cbrt_test): Use END macro without arguments.
10186         (ccos_test): Use END_COMPLEX macro without arguments.
10187         (ccosh_test): Likewise.
10188         (ceil_test): Use END macro without arguments.
10189         (cexp_test): Use END_COMPLEX macro without arguments.
10190         (cimag_test): Use END macro without arguments.
10191         (clog_test): Use END_COMPLEX macro without arguments.
10192         (clog10_test): Likewise.
10193         (conj_test): Likewise.
10194         (copysign_test): Use END macro without arguments.
10195         (cos_test): Likewise.
10196         (cos_test_tonearest): Likewise.
10197         (cos_test_towardzero): Likewise.
10198         (cos_test_downward): Likewise.
10199         (cos_test_upward): Likewise.
10200         (cosh_test): Likewise.
10201         (cosh_test_tonearest): Likewise.
10202         (cosh_test_towardzero): Likewise.
10203         (cosh_test_downward): Likewise.
10204         (cosh_test_upward): Likewise.
10205         (cpow_test): Use END_COMPLEX macro without arguments.
10206         (cproj_test): Likewise.
10207         (creal_test): Use END macro without arguments.
10208         (csin_test): Use END_COMPLEX macro without arguments.
10209         (csinh_test): Likewise.
10210         (csqrt_test): Likewise.
10211         (ctan_test): Likewise.
10212         (ctan_test_tonearest): Likewise.
10213         (ctan_test_towardzero): Likewise.
10214         (ctan_test_downward): Likewise.
10215         (ctan_test_upward): Likewise.
10216         (ctanh_test): Likewise.
10217         (ctanh_test_tonearest): Likewise.
10218         (ctanh_test_towardzero): Likewise.
10219         (ctanh_test_downward): Likewise.
10220         (ctanh_test_upward): Likewise.
10221         (erf_test): Use END macro without arguments.
10222         (erfc_test): Likewise.
10223         (exp_test): Likewise.
10224         (exp_test_tonearest): Likewise.
10225         (exp_test_towardzero): Likewise.
10226         (exp_test_downward): Likewise.
10227         (exp_test_upward): Likewise.
10228         (exp10_test): Likewise.
10229         (exp2_test): Likewise.
10230         (expm1_test): Likewise.
10231         (fabs_test): Likewise.
10232         (fdim_test): Likewise.
10233         (finite_test): Likewise.
10234         (floor_test): Likewise.
10235         (fma_test): Likewise.
10236         (fma_test_towardzero): Likewise.
10237         (fma_test_downward): Likewise.
10238         (fma_test_upward): Likewise.
10239         (fmax_test): Likewise.
10240         (fmin_test): Likewise.
10241         (fmod_test): Likewise.
10242         (fpclassify_test): Likewise.
10243         (frexp_test): Likewise.
10244         (gamma_test): Likewise.
10245         (hypot_test): Likewise.
10246         (ilogb_test): Likewise.
10247         (isfinite_test): Likewise.
10248         (isgreater_test): Likewise.
10249         (isgreaterequal_test): Likewise.
10250         (isinf_test): Likewise.
10251         (isless_test): Likewise.
10252         (islessequal_test): Likewise.
10253         (islessgreater_test): Likewise.
10254         (isnan_test): Likewise.
10255         (isnormal_test): Likewise.
10256         (issignaling_test): Likewise.
10257         (isunordered_test): Likewise.
10258         (j0_test): Likewise.
10259         (j1_test): Likewise.
10260         (jn_test): Likewise.
10261         (ldexp_test): Likewise.
10262         (lgamma_test): Likewise.
10263         (lrint_test): Likewise.
10264         (lrint_test_tonearest): Likewise.
10265         (lrint_test_towardzero): Likewise.
10266         (lrint_test_downward): Likewise.
10267         (lrint_test_upward): Likewise.
10268         (llrint_test): Likewise.
10269         (llrint_test_tonearest): Likewise.
10270         (llrint_test_towardzero): Likewise.
10271         (llrint_test_downward): Likewise.
10272         (llrint_test_upward): Likewise.
10273         (log_test): Likewise.
10274         (log10_test): Likewise.
10275         (log1p_test): Likewise.
10276         (log2_test): Likewise.
10277         (logb_test): Likewise.
10278         (logb_test_downward): Likewise.
10279         (lround_test): Likewise.
10280         (llround_test): Likewise.
10281         (modf_test): Likewise.
10282         (nearbyint_test): Likewise.
10283         (nextafter_test): Likewise.
10284         (nexttoward_test): Likewise.
10285         (pow_test): Likewise.
10286         (pow_test_tonearest): Likewise.
10287         (pow_test_towardzero): Likewise.
10288         (pow_test_downward): Likewise.
10289         (pow_test_upward): Likewise.
10290         (remainder_test): Likewise.
10291         (remainder_test_tonearest): Likewise.
10292         (remainder_test_towardzero): Likewise.
10293         (remainder_test_downward): Likewise.
10294         (remainder_test_upward): Likewise.
10295         (remquo_test): Likewise.
10296         (rint_test): Likewise.
10297         (rint_test_tonearest): Likewise.
10298         (rint_test_towardzero): Likewise.
10299         (rint_test_downward): Likewise.
10300         (rint_test_upward): Likewise.
10301         (round_test): Likewise.
10302         (scalb_test): Likewise.
10303         (scalbn_test): Likewise.
10304         (scalbln_test): Likewise.
10305         (signbit_test): Likewise.
10306         (sin_test): Likewise.
10307         (sin_test_tonearest): Likewise.
10308         (sin_test_towardzero): Likewise.
10309         (sin_test_downward): Likewise.
10310         (sin_test_upward): Likewise.
10311         (sincos_test): Likewise.
10312         (sinh_test): Likewise.
10313         (sinh_test_tonearest): Likewise.
10314         (sinh_test_towardzero): Likewise.
10315         (sinh_test_downward): Likewise.
10316         (sinh_test_upward): Likewise.
10317         (sqrt_test): Likewise.
10318         (tan_test): Likewise.
10319         (tan_test_tonearest): Likewise.
10320         (tan_test_towardzero): Likewise.
10321         (tan_test_downward): Likewise.
10322         (tan_test_upward): Likewise.
10323         (tanh_test): Likewise.
10324         (tgamma_test): Likewise.
10325         (trunc_test): Likewise.
10326         (y0_test): Likewise.
10327         (y1_test): Likewise.
10328         (yn_test): Likewise.
10329         (significand_test): Likewise.
10331 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
10333         [BZ #15381]
10334         * libio/genops.c (_IO_no_init): Initialize wide struct info.
10336 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10338         [BZ #14894]
10339         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10340         __ppc_mdoio and __ppc_mdoom.
10341         * manual/platform.texi: Document new functions __ppc_yield,
10342         __ppc_mdoio and __ppc_mdoom.
10344 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
10346         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10347         (main): Mention "tls" pseudo-hwcap is legacy.
10348         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10350 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
10352         * math/gen-libm-test.pl (parse_args): Output only string of
10353         arguments as text for test name, not full call or descriptions of
10354         tests for extra outputs.
10355         (generate_testfile): Do not pass function name to parse_args.
10356         Generate this_func variable from START.
10357         * math/libm-test.inc (struct test_f_f_data): Rename test_name
10358         field to arg_str.
10359         (struct test_ff_f_data): Likewise.
10360         (test_ff_f_data_nexttoward): Likewise.
10361         (struct test_fi_f_data): Likewise.
10362         (struct test_fl_f_data): Likewise.
10363         (struct test_if_f_data): Likewise.
10364         (struct test_fff_f_data): Likewise.
10365         (struct test_c_f_data): Likewise.
10366         (struct test_f_f1_data): Likewise.  Remove field extra_name.
10367         (struct test_fF_f1_data): Likewise.
10368         (struct test_ffI_f1_data): Likewise.
10369         (struct test_c_c_data): Rename test_name field to arg_str.
10370         (struct test_cc_c_data): Likewise.
10371         (struct test_f_i_data): Likewise.
10372         (struct test_ff_i_data): Likewise.
10373         (struct test_f_l_data): Likewise.
10374         (struct test_f_L_data): Likewise.
10375         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
10376         and extra2_name.
10377         (COMMON_TEST_SETUP): New macro.
10378         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10379         (COMMON_TEST_CLEANUP): Likewise.
10380         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10381         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
10382         macros.
10383         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10384         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
10385         macros.
10386         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10387         (RUN_TEST_fff_f): Take argument string.  Call new setup and
10388         cleanup macros.
10389         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10390         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
10391         macros.
10392         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10393         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
10394         macros.
10395         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10396         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
10397         cleanup macros.
10398         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10399         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
10400         cleanup macros.
10401         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10402         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
10403         cleanup macros.
10404         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10405         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
10406         macros.
10407         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10408         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
10409         macros.
10410         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10411         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
10412         macros.
10413         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10414         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
10415         cleanup macros.
10416         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10417         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
10418         cleanup macros.
10419         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10420         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
10421         macros.
10422         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10423         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
10424         cleanup macros.
10425         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10426         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
10427         macros.
10428         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10429         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
10430         macros.
10431         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10432         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
10433         cleanup macros.
10434         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10436 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
10438         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10439         to _sifields.sigfault.
10440         (si_addr_lsb): Define new macro.
10441         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10442         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10443         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10445 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
10447         [BZ #15441]
10448         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10449         returns -1.
10450         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10451         null return -1.
10452         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10453         loading the domain.
10455 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
10457         * math/gen-libm-test.pl (parse_args): Do not include expected
10458         result in test name.
10459         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10460         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10461         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10462         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10463         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10466 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10468         * benchtests/Makefile: Sort function entries.
10470         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10471         tanh, asinh, acosh, atanh.
10472         * benchtests/acos-inputs: New file.
10473         * benchtests/acosh-inputs: New file.
10474         * benchtests/asin-inputs: New file.
10475         * benchtests/asinh-inputs: New file.
10476         * benchtests/atanh-inputs: New file.
10477         * benchtests/cosh-inputs: New file.
10478         * benchtests/log-inputs: New file.
10479         * benchtests/sinh-inputs: New file.
10480         * benchtests/tanh-inputs: New file.
10482 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
10484         [BZ #15339]
10485         * posix/tst-getaddrinfo4.c: New test.
10486         * posix/Makefile (tests): Add it.
10488 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10490         [BZ #15339]
10491         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10492         when no services were used.
10493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10494         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10496 2013-05-21  Andreas Schwab  <schwab@suse.de>
10498         [BZ #15014]
10499         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10500         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10501         successful.
10502         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10503         redundant variable declarations and reallocation of buffer when
10504         parsing as IPv6 address.  Always set NSS status when called from
10505         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
10506         buffer too small.  Correct computation of needed size.
10507         * nss/Makefile (tests): Add test-digits-dots.
10508         * nss/test-digits-dots.c: New test.
10510 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10512         * benchtests/Makefile: Remove instructions for adding
10513         benchmark tests.
10514         * benchtests/README: New file to explain how to execute and
10515         enhance the benchmark tests.
10517 2013-05-21  Andreas Schwab  <schwab@suse.de>
10519         [BZ #15493]
10520         * setjmp/Makefile (tests): Add tst-sigsetjmp.
10521         * setjmp/tst-sigsetjmp.c: New test.
10523 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
10525         * sysdeps/x86_64/memset.S (memset): New implementation.
10526         (__bzero): Likewise.
10527         (__memset_tail): New function.
10529 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
10531         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10532         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10533         __memcpy_sse2_unaligned ifunc selection.
10534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10535         Add memcpy-sse2-unaligned.S.
10536         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10537         Add: __memcpy_sse2_unaligned.
10539 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
10541         [BZ #15490]
10542         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10543         math_force_eval before restoring floating-point envrionment.
10544         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10545         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10546         Likewise.
10547         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10548         <math_private.h>.
10549         (__nearbyintl): Use math_force_eval before restoring
10550         floating-point environment.
10551         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10553         * math/gen-libm-test.pl (special_functions): Remove.
10554         (parse_args): Don't handle TEST_extra.  Handle functions with no
10555         return value.
10556         * math/libm-test.inc (struct test_sincos_data): Replace with
10557         struct test_fFF_11_data.
10558         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10559         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10560         (sincos_test_data): Change element type to struct
10561         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
10562         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10563         RUN_TEST_LOOP_sincos.
10564         * math/README.libm-test: Don't mention special handling of
10565         individual functions.
10566         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10567         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10568         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10569         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10570         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10573         * math/gen-libm-test.pl (get_variable): Remove function.
10574         (parse_args): Don't show pointer parameters to call in test
10575         names.  Use "extra output N" in test names for extra outputs
10576         rather than naming variables.
10578 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
10580         [BZ #15488]
10581         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10582         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10583         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10584         double tests.
10585         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10586         disable.
10587         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10588         check_long_double.
10590         * math/gen-libm-test.pl (@tests): Remove variable.
10591         ($count): Likewise.
10592         (new_test): Remove function.
10593         (show_exceptions): New function.
10594         (special_functions): Use show_exceptions instead of new_test.
10595         (parse_args): Likewise.
10596         (generate_testfile): Pass only function name in generated call to
10597         print_max_error or print_complex_max_error.
10598         (get_ulps): Do not handle complex tests specially.
10599         (output_test): Rename to ...
10600         (get_all_ulps_for_test): ... this.  Return a string rather than
10601         printing to a file.  Require ulps to be present.
10602         (output_ulps): Generate arrays rather than #defines.
10603         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10604         (struct ulp_data): New type.
10605         (BUILD_COMPLEX_ULP): Remove macro.
10606         (compare_ulp_data): New function.
10607         (find_ulps): Likewise.
10608         (find_test_ulps): Likewise.
10609         (find_function_ulps): Likewise.
10610         (find_complex_function_ulps): Likewise.
10611         (print_max_error): Determine allowed ulps using
10612         find_function_ulps.
10613         (print_complex_max_error): Determine allowed ulps using
10614         find_complex_function_ulps.
10615         (check_float_internal): Determine max ulps using find_test_ulps.
10616         (check_float): Do not take max_ulp parameter.  Update call to
10617         check_float_internal.
10618         (check_complex): Likewise.
10619         (check_int): Do not take max_ulp parameter.
10620         (check_long): Likewise.
10621         (check_bool): Likewise.
10622         (check_longlong): Likewise.
10623         (struct test_f_f_data): Remove max_ulp field.
10624         (struct test_ff_f_data): Likewise.
10625         (struct test_ff_f_data_nexttoward): Likewise.
10626         (struct test_fi_f_data): Likewise.
10627         (struct test_fl_f_data): Likewise.
10628         (struct test_if_f_data): Likewise.
10629         (struct test_fff_f_data): Likewise.
10630         (struct test_c_f_data): Likewise.
10631         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10632         (struct test_fF_f1_data): Likewise.
10633         (struct test_ffI_f1_data): Likewise.
10634         (struct test_c_c_data): Remove max_ulp field.
10635         (struct test_cc_c_data): Likewise.
10636         (struct test_f_i_data): Likewise.
10637         (struct test_ff_i_data): Likewise.
10638         (struct test_f_l_data): Likewise.
10639         (struct test_f_L_data): Likewise.
10640         (struct test_sincos_data): Likewise.
10641         (RUN_TEST_f_f): Do not handle ulps.
10642         (RUN_TEST_LOOP_f_f): Likewise.
10643         (RUN_TEST_2_f): Likewise.
10644         (RUN_TEST_LOOP_2_f): Likewise.
10645         (RUN_TEST_fff_f): Likewise.
10646         (RUN_TEST_LOOP_fff_f): Likewise.
10647         (RUN_TEST_c_f): Likewise.
10648         (RUN_TEST_LOOP_c_f): Likewise.
10649         (RUN_TEST_f_f1): Likewise.
10650         (RUN_TEST_LOOP_f_f1): Likewise.
10651         (RUN_TEST_fF_f1): Likewise.
10652         (RUN_TEST_LOOP_fF_f1): Likewise.
10653         (RUN_TEST_fI_f1): Likewise.
10654         (RUN_TEST_LOOP_fI_f1): Likewise.
10655         (RUN_TEST_ffI_f1): Likewise.
10656         (RUN_TEST_LOOP_ffI_f1): Likewise.
10657         (RUN_TEST_c_c): Likewise.
10658         (RUN_TEST_LOOP_c_c): Likewise.
10659         (RUN_TEST_cc_c): Likewise.
10660         (RUN_TEST_LOOP_cc_c): Likewise.
10661         (RUN_TEST_f_i): Likewise.
10662         (RUN_TEST_LOOP_f_i): Likewise.
10663         (RUN_TEST_f_i_tg): Likewise.
10664         (RUN_TEST_LOOP_f_i_tg): Likewise.
10665         (RUN_TEST_ff_i_tg): Likewise.
10666         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10667         (RUN_TEST_f_b): Likewise.
10668         (RUN_TEST_LOOP_f_b): Likewise.
10669         (RUN_TEST_f_b_tg): Likewise.
10670         (RUN_TEST_LOOP_f_b_tg): Likewise.
10671         (RUN_TEST_f_l): Likewise.
10672         (RUN_TEST_LOOP_f_l): Likewise.
10673         (RUN_TEST_f_L): Likewise.
10674         (RUN_TEST_LOOP_f_L): Likewise.
10675         (RUN_TEST_sincos): Likewise.
10676         (RUN_TEST_LOOP_sincos): Likewise.
10678 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
10680         [BZ #15480]
10681         [BZ #15485]
10682         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10683         main case of finite arguments, set rounding mode to FE_TONEAREST
10684         and discard exceptions.
10685         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10686         exceptions.
10687         (remainder_tonearest_test_data): New variable.
10688         (remainder_test_tonearest): New function.
10689         (remainder_towardzero_test_data): New variable.
10690         (remainder_test_towardzero): New function.
10691         (remainder_downward_test_data): New variable.
10692         (remainder_test_downward): New function.
10693         (remainder_upward_test_data): New variable.
10694         (remainder_test_upward): New function.
10695         (main): Call the new test functions.
10697         * math/libm-test.inc (struct test_f_f1_data): Remove field
10698         extra_init.
10699         (struct test_fF_f1_data): Likewise.
10700         (struct test_ffI_f1_data): Likewise.
10701         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
10702         based on value of EXTRA_EXPECTED.
10703         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10704         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
10705         EXTRA_VAR based on value of EXTRA_EXPECTED.
10706         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10707         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
10708         EXTRA_VAR based on value of EXTRA_EXPECTED.
10709         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10710         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
10711         EXTRA_VAR based on value of EXTRA_EXPECTED.
10712         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10713         * math/gen-libm-test.pl (parse_args): Don't output initializers
10714         for extra output values.
10716         * math/libm-test.inc (check_int): Expect result to be exactly
10717         equal to expected value and do not handle ulps.
10718         (check_long): Likewise.
10719         (check_longlong): Likewise.
10721         * math/libm-test.inc (ceil_test_data): Test for "inexact"
10722         exceptions.
10723         (cimag_test_data): Likewise.
10724         (conj_test_data): Likewise.
10725         (copysign_test_data): Likewise.
10726         (cproj_test_data): Likewise.
10727         (creal_test_data): Likewise.
10728         (fabs_test_data): Likewise.
10729         (fdim_test_data): Likewise.
10730         (finite_test_data): Likewise.
10731         (floor_test_data): Likewise.
10732         (fmax_test_data): Likewise.
10733         (fmin_test_data): Likewise.
10734         (fmod_test_data): Likewise.
10735         (fpclassify_test_data): Likewise.
10736         (frexp_test_data): Likewise.
10737         (ilogb_test_data): Likewise.
10738         (isfinite_test_data): Likewise.
10739         (isgreater_test_data): Likewise.
10740         (isgreaterequal_test_data): Likewise.
10741         (isinf_test_data): Likewise.
10742         (isless_test_data): Likewise.
10743         (islessequal_test_data): Likewise.
10744         (islessgreater_test_data): Likewise.
10745         (isnan_test_data): Likewise.
10746         (isnormal_test_data): Likewise.
10747         (issignaling_test_data): Likewise.
10748         (isunordered_test_data): Likewise.
10749         (ldexp_test_data): Likewise.
10750         (lrint_test_data): Likewise.
10751         (lrint_test_data) [TEST_FLOAT]: Disable one test.
10752         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10753         (lrint_tonearest_test_data): Test for "inexact" exceptions.
10754         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10755         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10756         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10757         test input.
10758         (lrint_towardzero_test_data): Test for "inexact" exceptions.
10759         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10760         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10761         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10762         that test input.
10763         (lrint_downward_test_data): Test for "inexact" exceptions.
10764         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10765         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10766         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10767         test input.
10768         (lrint_upward_test_data): Test for "inexact" exceptions.
10769         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10770         test input.
10771         (llrint_test_data): Test for "inexact" exceptions.
10772         (llrint_test_data) [TEST_FLOAT]: Disable one test.
10773         (llrint_tonearest_test_data): Test for "inexact" exceptions.
10774         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10775         (llrint_towardzero_test_data): Test for "inexact" exceptions.
10776         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10777         (llrint_downward_test_data): Test for "inexact" exceptions.
10778         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10779         (llrint_upward_test_data): Test for "inexact" exceptions.
10780         (logb_test_data): Likewise.
10781         (logb_downward_test_data): Likewise.
10782         (nextafter_test_data): Likewise.
10783         (nexttoward_test_data): Likewise.
10784         (remainder_test_data): Likewise.
10785         (remquo_test_data): Likewise.
10786         (scalbn_test_data): Likewise.
10787         (scalbln_test_data): Likewise.
10788         (signbit_test_data): Likewise.
10789         (sqrt_test_data): Likewise.
10790         (significand_test_data): Likewise.
10792 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10794         [BZ #15424]
10795         * benchtests/bench-modf.c (struct args): Mark arg0 as
10796         volatile.
10797         * scripts/bench.pl: Mark members of struct args as volatile.
10799 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10801         [BZ # 15497]
10802         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10803         negative infinity on POWER6 or lower.
10804         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10806 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10808         [BZ #15442]
10809         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10810         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10811         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10812         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10813         (_FP_SETQNAN): New macro.
10814         (_FP_SETQNAN_SEMIRAW): Likewise.
10815         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10816         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10817         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10818         (FP_EXTEND): Use _FP_FRAC_SNANP.
10819         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10820         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10821         into account.
10822         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10823         New macro.
10824         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10825         Likewise.
10827 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10829         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10830         with DIVIDE_BY_ZERO_EXCEPTION.
10831         (gamma_test_data): Likewise.
10832         (lgamma_test_data): Likewise.
10833         (log_test_data): Likewise.
10834         (log10_test_data): Likewise.
10835         (log2_test_data): Likewise.
10836         (tgamma_test_data): Likewise.
10838         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10839         (acos_test_tonearest): Likewise.
10840         (acos_test_towardzero): Likewise.
10841         (acos_test_downward): Likewise.
10842         (acos_test_upward): Likewise.
10843         (acosh_test): Likewise.
10844         (asin_test): Likewise.
10845         (asin_test_tonearest): Likewise.
10846         (asin_test_towardzero): Likewise.
10847         (asin_test_downward): Likewise.
10848         (asin_test_upward): Likewise.
10849         (asinh_test): Likewise.
10850         (atan_test): Likewise.
10851         (atanh_test): Likewise.
10852         (atan2_test): Likewise.
10853         (cabs_test): Likewise.
10854         (cacos_test): Likewise.
10855         (cacosh_test): Likewise.
10856         (casin_test): Likewise.
10857         (casinh_test): Likewise.
10858         (catan_test): Likewise.
10859         (catanh_test): Likewise.
10860         (cbrt_test): Likewise.
10861         (ccos_test): Likewise.
10862         (ccosh_test): Likewise.
10863         (cexp_test): Likewise.
10864         (clog_test): Likewise.
10865         (clog10_test): Likewise.
10866         (cos_test): Likewise.
10867         (cos_test_tonearest): Likewise.
10868         (cos_test_towardzero): Likewise.
10869         (cos_test_downward): Likewise.
10870         (cos_test_upward): Likewise.
10871         (cosh_test): Likewise.
10872         (cosh_test_tonearest): Likewise.
10873         (cosh_test_towardzero): Likewise.
10874         (cosh_test_downward): Likewise.
10875         (cosh_test_upward): Likewise.
10876         (cpow_test): Likewise.
10877         (csin_test): Likewise.
10878         (csinh_test): Likewise.
10879         (csqrt_test): Likewise.
10880         (ctan_test): Likewise.
10881         (ctan_test_tonearest): Likewise.
10882         (ctan_test_towardzero): Likewise.
10883         (ctan_test_downward): Likewise.
10884         (ctan_test_upward): Likewise.
10885         (ctanh_test): Likewise.
10886         (ctanh_test_tonearest): Likewise.
10887         (ctanh_test_towardzero): Likewise.
10888         (ctanh_test_downward): Likewise.
10889         (ctanh_test_upward): Likewise.
10890         (erf_test): Likewise.
10891         (erfc_test): Likewise.
10892         (exp_test): Likewise.
10893         (exp_test_tonearest): Likewise.
10894         (exp_test_towardzero): Likewise.
10895         (exp_test_downward): Likewise.
10896         (exp_test_upward): Likewise.
10897         (exp10_test): Likewise.
10898         (exp2_test): Likewise.
10899         (expm1_test): Likewise.
10900         (fmod_test): Likewise.
10901         (gamma_test): Likewise.
10902         (hypot_test): Likewise.
10903         (j0_test): Likewise.
10904         (j1_test): Likewise.
10905         (jn_test): Likewise.
10906         (lgamma_test): Likewise.
10907         (log_test): Likewise.
10908         (log10_test): Likewise.
10909         (log1p_test): Likewise.
10910         (log2_test): Likewise.
10911         (logb_test_downward): Likewise.
10912         (pow_test): Likewise.
10913         (pow_test_tonearest): Likewise.
10914         (pow_test_towardzero): Likewise.
10915         (pow_test_downward): Likewise.
10916         (pow_test_upward): Likewise.
10917         (remainder_test): Likewise.
10918         (remquo_test): Likewise.
10919         (sin_test): Likewise.
10920         (sin_test_tonearest): Likewise.
10921         (sin_test_towardzero): Likewise.
10922         (sin_test_downward): Likewise.
10923         (sin_test_upward): Likewise.
10924         (sincos_test): Likewise.
10925         (sinh_test): Likewise.
10926         (sinh_test_tonearest): Likewise.
10927         (sinh_test_towardzero): Likewise.
10928         (sinh_test_downward): Likewise.
10929         (sinh_test_upward): Likewise.
10930         (sqrt_test): Likewise.
10931         (tan_test): Likewise.
10932         (tan_test_tonearest): Likewise.
10933         (tan_test_towardzero): Likewise.
10934         (tan_test_downward): Likewise.
10935         (tan_test_upward): Likewise.
10936         (tanh_test): Likewise.
10937         (tgamma_test): Likewise.
10938         (y0_test): Likewise.
10939         (y1_test): Likewise.
10940         (yn_test): Likewise.
10942         * math/gen-libm-test.pl (adjust_arg): Remove function.
10943         (special_function): Remove argument $in_func.  Only handle
10944         generating output for tables of tests, not inside functions.
10945         (parse_args): Likewise.
10946         (generate_testfile): Remove variable $in_func.  Update call to
10947         parse_args.
10948         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10949         (MINUS_ZERO_INIT): Rename macro to minus_zero.
10950         (PLUS_INFTY_INIT): Rename macro to plus_infty.
10951         (MINUS_INFTY_INIT): Rename macro to minus_infty.
10952         (QNAN_VALUE_INIT): Rename macro to qnan_value.
10953         (MAX_VALUE_INIT): Rename macro to max_value.
10954         (MIN_VALUE_INIT): Rename macro to min_value.
10955         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10956         (plus_zero): Remove variable.
10957         (minus_zero): Likewise.
10958         (plus_infty): Likewise.
10959         (minus_infty): Likewise.
10960         (qnan_value): Likewise.
10961         (max_value): Likewise.
10962         (min_value): Likewise.
10963         (min_subnorm_value): Likewise.
10965 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10967         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10968         uint64_t or uint32_t usage.
10969         * crypt/sha256-block.c: Likewise.
10970         * crypt/sha256-crypt.c: Likewise.
10971         * crypt/sha256.c: Likewise.
10972         * crypt/sha512-block.c: Likewise.
10973         * crypt/sha512-crypt.c: Likewise.
10974         * crypt/sha512.c: Likewise.
10975         * debug/backtrace-tst.c: Likewise.
10976         * debug/pcprofiledump.c: Likewise.
10977         * elf/cache.c: Likewise.
10978         * elf/dl-cache.c: Likewise.
10979         * elf/dl-misc.c: Likewise.
10980         * elf/dl-profile.c: Likewise.
10981         * elf/dl-support.c: Likewise.
10982         * elf/ldconfig.c: Likewise.
10983         * elf/sprof.c: Likewise.
10984         * iconv/dummy-repertoire.c: Likewise.
10985         * iconv/iconv_charmap.c: Likewise.
10986         * iconv/skeleton.c: Likewise.
10987         * iconvdata/8bit-generic.c: Likewise.
10988         * iconvdata/cp737.h: Likewise.
10989         * iconvdata/cp775.h: Likewise.
10990         * iconvdata/ibm1008.h: Likewise.
10991         * iconvdata/ibm1025.h: Likewise.
10992         * iconvdata/ibm1046.h: Likewise.
10993         * iconvdata/ibm1097.h: Likewise.
10994         * iconvdata/ibm1112.h: Likewise.
10995         * iconvdata/ibm1122.h: Likewise.
10996         * iconvdata/ibm1123.h: Likewise.
10997         * iconvdata/ibm1124.h: Likewise.
10998         * iconvdata/ibm1129.h: Likewise.
10999         * iconvdata/ibm1130.h: Likewise.
11000         * iconvdata/ibm1132.h: Likewise.
11001         * iconvdata/ibm1133.h: Likewise.
11002         * iconvdata/ibm1137.h: Likewise.
11003         * iconvdata/ibm1140.h: Likewise.
11004         * iconvdata/ibm1141.h: Likewise.
11005         * iconvdata/ibm1142.h: Likewise.
11006         * iconvdata/ibm1143.h: Likewise.
11007         * iconvdata/ibm1144.h: Likewise.
11008         * iconvdata/ibm1145.h: Likewise.
11009         * iconvdata/ibm1146.h: Likewise.
11010         * iconvdata/ibm1147.h: Likewise.
11011         * iconvdata/ibm1148.h: Likewise.
11012         * iconvdata/ibm1149.h: Likewise.
11013         * iconvdata/ibm1153.h: Likewise.
11014         * iconvdata/ibm1154.h: Likewise.
11015         * iconvdata/ibm1155.h: Likewise.
11016         * iconvdata/ibm1156.h: Likewise.
11017         * iconvdata/ibm1157.h: Likewise.
11018         * iconvdata/ibm1158.h: Likewise.
11019         * iconvdata/ibm1160.h: Likewise.
11020         * iconvdata/ibm1161.h: Likewise.
11021         * iconvdata/ibm1162.h: Likewise.
11022         * iconvdata/ibm1163.h: Likewise.
11023         * iconvdata/ibm1164.h: Likewise.
11024         * iconvdata/ibm1166.h: Likewise.
11025         * iconvdata/ibm1167.h: Likewise.
11026         * iconvdata/ibm12712.h: Likewise.
11027         * iconvdata/ibm1390.h: Likewise.
11028         * iconvdata/ibm1399.h: Likewise.
11029         * iconvdata/ibm16804.h: Likewise.
11030         * iconvdata/ibm4517.h: Likewise.
11031         * iconvdata/ibm4899.h: Likewise.
11032         * iconvdata/ibm4909.h: Likewise.
11033         * iconvdata/ibm4971.h: Likewise.
11034         * iconvdata/ibm5347.h: Likewise.
11035         * iconvdata/ibm803.h: Likewise.
11036         * iconvdata/ibm856.h: Likewise.
11037         * iconvdata/ibm901.h: Likewise.
11038         * iconvdata/ibm902.h: Likewise.
11039         * iconvdata/ibm9030.h: Likewise.
11040         * iconvdata/ibm9066.h: Likewise.
11041         * iconvdata/ibm921.h: Likewise.
11042         * iconvdata/ibm922.h: Likewise.
11043         * iconvdata/ibm9448.h: Likewise.
11044         * iconvdata/isiri-3342.h: Likewise.
11045         * iconvdata/jis0201.h: Likewise.
11046         * include/link.h: Likewise.
11047         * include/netdb.h: Likewise.
11048         * inet/check_native.c: Likewise.
11049         * inet/check_pf.c: Likewise.
11050         * inet/getipv4sourcefilter.c: Likewise.
11051         * inet/getnameinfo.c: Likewise.
11052         * inet/getsourcefilter.c: Likewise.
11053         * inet/htonl.c: Likewise.
11054         * inet/setipv4sourcefilter.c: Likewise.
11055         * inet/setsourcefilter.c: Likewise.
11056         * inet/test-inet6_opt.c: Likewise.
11057         * inet/tst-network.c: Likewise.
11058         * locale/C-collate.c: Likewise.
11059         * locale/C-ctype.c: Likewise.
11060         * locale/C-time.c: Likewise.
11061         * locale/C-translit.h: Likewise.
11062         * locale/loadarchive.c: Likewise.
11063         * locale/programs/3level.h: Likewise.
11064         * locale/programs/charmap.c: Likewise.
11065         * locale/programs/charmap.h: Likewise.
11066         * locale/programs/ld-address.c: Likewise.
11067         * locale/programs/ld-collate.c: Likewise.
11068         * locale/programs/ld-ctype.c: Likewise.
11069         * locale/programs/ld-identification.c: Likewise.
11070         * locale/programs/ld-measurement.c: Likewise.
11071         * locale/programs/ld-messages.c: Likewise.
11072         * locale/programs/ld-monetary.c: Likewise.
11073         * locale/programs/ld-name.c: Likewise.
11074         * locale/programs/ld-numeric.c: Likewise.
11075         * locale/programs/ld-paper.c: Likewise.
11076         * locale/programs/ld-telephone.c: Likewise.
11077         * locale/programs/ld-time.c: Likewise.
11078         * locale/programs/linereader.c: Likewise.
11079         * locale/programs/locale.c: Likewise.
11080         * locale/programs/locarchive.c: Likewise.
11081         * locale/programs/locfile.h: Likewise.
11082         * locale/programs/repertoire.c: Likewise.
11083         * locale/programs/simple-hash.c: Likewise.
11084         * locale/programs/simple-hash.h: Likewise.
11085         * malloc/memusage.c: Likewise.
11086         * malloc/memusagestat.c: Likewise.
11087         * nis/nis_defaults.c: Likewise.
11088         * nis/nis_hash.c: Likewise.
11089         * nis/nis_print.c: Likewise.
11090         * nis/nis_xdr.c: Likewise.
11091         * nscd/connections.c: Likewise.
11092         * nscd/hstcache.c: Likewise.
11093         * nscd/nscd_gethst_r.c: Likewise.
11094         * nscd/nscd_getserv_r.c: Likewise.
11095         * nscd/nscd_helper.c: Likewise.
11096         * nscd/servicescache.c: Likewise.
11097         * nss/makedb.c: Likewise.
11098         * nss/nss_db/db-XXX.c: Likewise.
11099         * nss/nss_db/db-initgroups.c: Likewise.
11100         * nss/nss_db/db-netgrp.c: Likewise.
11101         * nss/nss_files/files-network.c: Likewise.
11102         * nss/nss_files/files-parse.c: Likewise.
11103         * posix/bug-regex5.c: Likewise.
11104         * posix/fnmatch_loop.c: Likewise.
11105         * posix/regcomp.c: Likewise.
11106         * posix/regexec.c: Likewise.
11107         * posix/tst-rfc3484-2.c: Likewise.
11108         * posix/tst-rfc3484-3.c: Likewise.
11109         * posix/tst-rfc3484.c: Likewise.
11110         * resolv/nss_dns/dns-canon.c: Likewise.
11111         * resolv/nss_dns/dns-network.c: Likewise.
11112         * resolv/res_init.c: Likewise.
11113         * resolv/res_mkquery.c: Likewise.
11114         * resolv/tst-aton.c: Likewise.
11115         * stdlib/cxa_atexit.c: Likewise.
11116         * stdlib/cxa_finalize.c: Likewise.
11117         * stdlib/gen-fpioconst.c: Likewise.
11118         * stdlib/strtol_l.c: Likewise.
11119         * string/tst-endian.c: Likewise.
11120         * sunrpc/auth_des.c: Likewise.
11121         * sunrpc/clnt_udp.c: Likewise.
11122         * sunrpc/rtime.c: Likewise.
11123         * sunrpc/svcauth_des.c: Likewise.
11124         * sunrpc/xdr.c: Likewise.
11125         * sunrpc/xdr_intXX_t.c: Likewise.
11126         * sunrpc/xdr_rec.c: Likewise.
11127         * sysdeps/generic/ldconfig.h: Likewise.
11128         * sysdeps/generic/ldsodefs.h: Likewise.
11129         * sysdeps/generic/memusage.h: Likewise.
11130         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11131         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11132         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11133         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11134         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11135         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11136         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11137         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11138         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11140         * sysdeps/posix/getaddrinfo.c: Likewise.
11141         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11142         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11143         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11144         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11145         * sysdeps/powerpc/test-gettimebase.c: Likewise.
11146         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11147         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11148         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11149         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11150         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11151         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11152         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11153         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11154         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11155         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11156         * sysdeps/x86_64/dl-tls.h: Likewise.
11157         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11158         * time/alt_digit.c: Likewise.
11159         * time/era.c: Likewise.
11160         * wcsmbs/tst-c16c32-1.c: Likewise.
11162 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
11164         * math/libm-test.inc (struct test_sincos_data): New type.
11165         (RUN_TEST_LOOP_sincos): New macro.
11166         (sincos_test_data): New variable.
11167         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11169 2013-05-16  Richard Henderson  <rth@redhat.com>
11171         * math/atest-exp2.c (LIMB64): New macro.
11172         (CONSTSZ): New macro.
11173         (mp_exp1, mp_exp_m1, mp_log2): New variables.
11174         (hexdig): Move ...
11175         (print_mpn_fp): ... to function scope.
11176         (read_mpn_hex): Remove.
11177         (get_log2): Remove.
11178         (exp2_mpn): Use mp_log2.
11179         (main): Use mp_exp1.
11181 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
11183         * math/libm-test.inc: Remove comment about not testing "inexact"
11184         exceptions.
11185         (INEXACT_EXCEPTION): New macro.
11186         (NO_INEXACT_EXCEPTION): Likewise.
11187         (INVALID_EXCEPTION_OK): Update value.
11188         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11189         (OVERFLOW_EXCEPTION_OK): Likewise.
11190         (UNDERFLOW_EXCEPTION_OK): Likewise.
11191         (IGNORE_ZERO_INF_SIGN): Likewise.
11192         (ERRNO_UNCHANGED): Likewise.
11193         (ERRNO_EDOM): Likewise.
11194         (ERRNO_ERANGE): Likewise.
11195         (test_exceptions): Handle testing "inexact" exceptions.
11196         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11197         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11198         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11199         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11200         INEXACT_EXCEPTION.
11201         (rint_towardzero_test_data): Likewise.
11202         (rint_downward_test_data): Likewise.
11203         (rint_upward_test_data): Likewise.
11205         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11206         with OVERFLOW_EXCEPTION.
11207         (exp10_test_data): Likewise.
11208         (exp2_test_data): Likewise.
11209         (expm1_test_data): Likewise.
11210         (lgamma_test_data): Likewise.
11211         (pow_test_data): Likewise.
11212         (tgamma_test_data): Likewise.
11213         (yn_test_data): Remove duplicate test of overflow.
11215         * math/libm-test.inc (struct test_cc_c_data): New type.
11216         (RUN_TEST_LOOP_cc_c): New macro.
11217         (cpow_test_data): New variable.
11218         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11220         * math/libm-test.inc (struct test_f_L_data): New type.
11221         (RUN_TEST_LOOP_f_L): New macro.
11222         (llrint_test_data): New variable.
11223         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11224         (llrint_tonearest_test_data): New variable.
11225         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11226         (llrint_towardzero_test_data): New variable.
11227         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11228         (llrint_downward_test_data): New variable.
11229         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11230         (llrint_upward_test_data): New variable.
11231         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11232         (llround_test_data): New variable.
11233         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11235 2013-05-13  Peter Collingbourne  <pcc@google.com>
11237         * math/atest-exp2.c (get_log2): Remove const attribute.
11239 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
11241         * math/libm-test.inc (struct test_f_l_data): New type.
11242         (RUN_TEST_LOOP_f_l): New macro.
11243         (lrint_test_data): New variable.
11244         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11245         (lrint_tonearest_test_data): New variable.
11246         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11247         (lrint_towardzero_test_data): New variable.
11248         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11249         (lrint_downward_test_data): New variable.
11250         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11251         (lrint_upward_test_data): New variable.
11252         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11253         (lround_test_data): New variable.
11254         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11256 2013-05-15  Peter Collingbourne  <pcc@google.com>
11258         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11259         (EXTRACT_WORDS64) Use where appropriate.
11260         (INSERT_WORDS64) Likewise.
11262         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11263         constraints with x constraints.
11264         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11266         * malloc/obstack.c (_obstack_compat): Add initializer.
11268 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11270         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11271         si_trapno and add si_addr_lsb to _sifields.sigfault.
11272         (si_trapno): Remove macro.
11273         (si_addr_lsb): Define new macro.
11274         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11276 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
11278         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11279         instead of TEST_f_l.
11280         (llrint_test_tonearest): Likewise.
11281         (llrint_test_towardzero): Likewise.
11282         (llrint_test_downward): Likewise.
11283         (llrint_test_upward): Likewise.
11284         (llround_test): Likewise.
11286         * math/libm-test.inc (struct test_f_i_data): Add comment.
11287         (RUN_TEST_LOOP_f_b): New macro.
11288         (RUN_TEST_LOOP_f_b_tg): Likewise.
11289         (finite_test_data): New variable.
11290         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11291         (isfinite_test_data): New variable.
11292         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11293         (isinf_test_data): New variable.
11294         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11295         (isnan_test_data): New variable.
11296         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11297         (isnormal_test_data): New variable.
11298         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11299         (issignaling_test_data): New variable.
11300         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11301         (signbit_test_data): New variable.
11302         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11304         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11305         with INVALID_EXCEPTION.
11306         (acosh_test_data): Likewise.
11307         (asin_test_data): Likewise.
11308         (atanh_test_data): Likewise.
11309         (fmod_test_data): Likewise.
11310         (log_test_data): Likewise.
11311         (log10_test_data): Likewise.
11312         (log2_test_data): Likewise.
11313         (pow_test_data): Likewise.
11314         (sqrt_test_data): Likewise.
11315         (y0_test_data): Likewise.
11316         (y1_test_data): Likewise.
11317         (yn_test_data): Likewise.
11319         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11320         function contents.
11322         * math/libm-test.inc (struct test_ff_i_data): New type.
11323         (RUN_TEST_LOOP_ff_i_tg): New macro.
11324         (isgreater_test_data): New variable.
11325         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11326         (isgreaterequal_test_data): New variable.
11327         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11328         (isless_test_data): New variable.
11329         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11330         (islessequal_test_data): New variable.
11331         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11332         (islessgreater_test_data): New variable.
11333         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11334         (isunordered_test_data): New variable.
11335         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11337 2013-05-14  David S. Miller  <davem@davemloft.net>
11339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11341 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
11343         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11345         * math/libm-test.inc (struct test_fF_f1_data): Change type of
11346         extra_test to int.
11347         (struct test_f_i_data): Change type of max_ulp to int.
11349         * math/libm-test.inc (test_ffI_f1_data): New type.
11350         (RUN_TEST_LOOP_ffI_f1): New macro.
11351         (remquo_test_data): New variable.
11352         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11354         * setjmp/tst-setjmp-fp.c: New file.
11355         * setjmp/Makefile (tests): Add tst-setjmp-fp.
11356         (link-libm): New variable.
11357         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11359         * math/libm-test.inc (struct test_f_i_data): New type.
11360         (RUN_TEST_LOOP_f_i): New macro.
11361         (RUN_TEST_LOOP_f_i_tg): Likewise.
11362         (fpclassify_test_data): New variable.
11363         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11364         (ilogb_test_data): New variable.
11365         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11367         * math/libm-test.inc (scalbln_test): Correct function name in END
11368         call.
11370         * math/libm-test.inc (struct test_f_f1_data): Add comment.
11371         (RUN_TEST_LOOP_fI_f1): New macro.
11372         (frexp_test_data): New variable.
11373         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11375         * math/libm-test.inc (struct test_fF_f1_data): New type.
11376         (RUN_TEST_LOOP_fF_f1): New macro.
11377         (modf_test_data): New variable.
11378         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11380         * math/libm-test.inc (struct test_f_f1_data): New type.
11381         (RUN_TEST_LOOP_f_f1): New macro.
11382         (gamma_test_data): New variable.
11383         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11384         (lgamma_test_data): New variable.
11385         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11387 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
11389         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11390         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11391         (main): Comment "tls" pseudo-hwcap.
11393 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
11395         * math/libm-test.inc (struct test_fl_f_data): New type.
11396         (RUN_TEST_LOOP_fl_f): New variable.
11397         (scalbln_test_data): New variable.
11398         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11400         * math/libm-test.inc (struct test_fi_f_data): New type.
11401         (RUN_TEST_LOOP_fi_f): New macro.
11402         (ldexp_test_data): New variable.
11403         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11404         (scalbn_test_data): New variable.
11405         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11407         * math/libm-test.inc (struct test_c_f_data): New type.
11408         (RUN_TEST_LOOP_c_f): New macro.
11409         (cabs_test_data): New variable.
11410         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11411         (carg_test_data): New variable.
11412         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11413         (cimag_test_data): New variable.
11414         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11415         (creal_test_data): New variable.
11416         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11418         * math/libm-test.inc (struct test_if_f_data): New type.
11419         (RUN_TEST_LOOP_if_f): New macro.
11420         (jn_test_data): New variable.
11421         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11422         (yn_test_data): New variable.
11423         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11425         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11427 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11429         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11430         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11432 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11434         * benchtests/Makefile (CPPFLAGS-nonlib): Add
11435         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11436         (bench-deps): Add bench-timing.h.
11437         * benchtests-bench-skeleton.c: Include bench-timing.h.
11438         (main): Use TIMING_* macros instead of clock_gettime.
11439         * benchtests/bench-timing.h: New file.
11441         [BZ #14582]
11442         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11443         Renamed from _LIB_VERSION.
11444         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11446 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
11448         * math/libm-test.inc (struct test_fff_f_data): New type.
11449         (RUN_TEST_LOOP_fff_f): New macro.
11450         (fma_test_data): New variable.
11451         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11452         (fma_towardzero_test_data): New variable.
11453         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11454         (fma_downward_test_data): New variable.
11455         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11456         (fma_upward_test_data): New variable.
11457         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11459         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11460         (struct test_c_c_data): New type.
11461         (RUN_TEST_LOOP_c_c): New macro.
11462         (cacos_test_data): New variable.
11463         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11464         (cacosh_test_data): New variable.
11465         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11466         (casin_test_data): New variable.
11467         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11468         (casinh_test_data): New variable.
11469         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11470         (catan_test_data): New variable.
11471         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11472         (catanh_test_data): New variable.
11473         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11474         (ccos_test_data): New variable.
11475         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11476         (ccosh_test_data): New variable.
11477         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11478         (cexp_test_data): New variable.
11479         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11480         (clog_test_data): New variable.
11481         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11482         (clog10_test_data): New variable.
11483         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11484         (conj_test_data): New variable.
11485         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11486         (cproj_test_data): New variable.
11487         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11488         (csin_test_data): New variable.
11489         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11490         (csinh_test_data): New variable.
11491         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11492         (csqrt_test_data): New variable.
11493         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11494         (ctan_test_data): New variable.
11495         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11496         (ctan_tonearest_test_data): New variable.
11497         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11498         (ctan_towardzero_test_data): New variable.
11499         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11500         (ctan_downward_test_data): New variable.
11501         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11502         (ctan_upward_test_data): New variable.
11503         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11504         (ctanh_test_data): New variable.
11505         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11506         (ctanh_tonearest_test_data): New variable.
11507         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11508         (ctanh_towardzero_test_data): New variable.
11509         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11510         (ctanh_downward_test_data): New variable.
11511         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11512         (ctanh_upward_test_data): New variable.
11513         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11514         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11515         of BUILD_COMPLEX.
11517         * math/libm-test.inc (struct test_ff_f_data): New type.
11518         (struct test_ff_f_data_nexttoward): Likewise.
11519         (RUN_TEST_LOOP_2_f): New macro.
11520         (RUN_TEST_LOOP_ff_f): Likewise.
11521         (atan2_test_data): New variable.
11522         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11523         (copysign_test_data): New variable.
11524         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11525         (fdim_test_data): New variable.
11526         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11527         (fmax_test_data): New variable.
11528         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11529         (fmin_test_data): New variable.
11530         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11531         (fmod_test_data): New variable.
11532         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11533         (hypot_test_data): New variable.
11534         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11535         (nextafter_test_data): New variable.
11536         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11537         (nexttoward_test_data): New variable.
11538         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11539         (pow_test_data): New variable.
11540         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11541         (pow_tonearest_test_data): New variable.
11542         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11543         (pow_towardzero_test_data): New variable.
11544         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11545         (pow_downward_test_data): New variable.
11546         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11547         (pow_upward_test_data): New variable.
11548         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11549         (remainder_test_data): New variable.
11550         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11551         (scalb_test_data): New variable.
11552         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11553         * sysdeps/i386/fpu/libm-test-ulps: Update.
11555 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
11557         * math/libm-test.inc (fma_test): Use max_value instead of local
11558         variable fltmax.
11559         (nextafter_test): Likewise.
11561         * math/libm-test.inc (acos_towardzero_test_data): New variable.
11562         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11563         (acos_downward_test_data): New variable.
11564         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11565         (acos_upward_test_data): New variable.
11566         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11567         (acosh_test_data): New variable.
11568         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11569         (asin_test_data): New variable.
11570         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11571         (asin_tonearest_test_data): New variable.
11572         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11573         (asin_towardzero_test_data): New variable.
11574         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11575         (asin_downward_test_data): New variable.
11576         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11577         (asin_upward_test_data): New variable.
11578         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11579         (asinh_test_data): New variable.
11580         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11581         (atan_test_data): New variable.
11582         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11583         (atanh_test_data): New variable.
11584         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11585         (cbrt_test_data): New variable.
11586         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11587         (ceil_test_data): New variable.
11588         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11589         (cos_test_data): New variable.
11590         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11591         (cos_tonearest_test_data): New variable.
11592         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11593         (cos_towardzero_test_data): New variable.
11594         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11595         (cos_downward_test_data): New variable.
11596         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11597         (cos_upward_test_data): New variable.
11598         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11599         (cosh_test_data): New variable.
11600         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11601         (cosh_tonearest_test_data): New variable.
11602         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11603         (cosh_towardzero_test_data): New variable.
11604         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11605         (cosh_downward_test_data): New variable.
11606         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11607         (cosh_upward_test_data): New variable.
11608         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11609         (erf_test_data): New variable.
11610         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11611         (erfc_test_data): New variable.
11612         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11613         (exp_test_data): New variable.
11614         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11615         (exp_tonearest_test_data): New variable.
11616         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11617         (exp_towardzero_test_data): New variable.
11618         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11619         (exp_downward_test_data): New variable.
11620         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11621         (exp_upward_test_data): New variable.
11622         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11623         (exp10_test_data): New variable.
11624         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11625         (exp2_test_data): New variable.
11626         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11627         (expm1_test_data): New variable.
11628         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11629         (fabs_test_data): New variable.
11630         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11631         (floor_test_data): New variable.
11632         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11633         (j0_test_data): New variable.
11634         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11635         (j1_test_data): New variable.
11636         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11637         (log_test_data): New variable.
11638         (log_test): Run tests with RUN_TEST_LOOP_f_f.
11639         (log10_test_data): New variable.
11640         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11641         (log1p_test_data): New variable.
11642         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11643         (log2_test_data): New variable.
11644         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11645         (logb_test_data): New variable.
11646         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11647         (logb_downward_test_data): New variable.
11648         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11649         (nearbyint_test_data): New variable.
11650         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11651         (rint_test_data): New variable.
11652         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11653         (rint_tonearest_test_data): New variable.
11654         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11655         (rint_towardzero_test_data): New variable.
11656         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11657         (rint_downward_test_data): New variable.
11658         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11659         (rint_upward_test_data): New variable.
11660         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11661         (round_test_data): New variable.
11662         (round_test): Run tests with RUN_TEST_LOOP_f_f.
11663         (sin_test_data): New variable.
11664         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11665         (sin_tonearest_test_data): New variable.
11666         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11667         (sin_towardzero_test_data): New variable.
11668         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11669         (sin_downward_test_data): New variable.
11670         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11671         (sin_upward_test_data): New variable.
11672         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11673         (sinh_test_data): New variable.
11674         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11675         (sinh_tonearest_test_data): New variable.
11676         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11677         (sinh_towardzero_test_data): New variable.
11678         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11679         (sinh_downward_test_data): New variable.
11680         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11681         (sinh_upward_test_data): New variable.
11682         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11683         (sqrt_test_data): New variable.
11684         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11685         (tan_test_data): New variable.
11686         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11687         (tan_tonearest_test_data): New variable.
11688         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11689         (tan_towardzero_test_data): New variable.
11690         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11691         (tan_downward_test_data): New variable.
11692         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11693         (tan_upward_test_data): New variable.
11694         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11695         (tanh_test_data): New variable.
11696         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11697         (tgamma_test_data): New variable.
11698         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11699         (trunc_test_data): New variable.
11700         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11701         (y0_test_data): New variable.
11702         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11703         (y1_test_data): New variable.
11704         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11705         (significand_test_data): New variable.
11706         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11708 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
11710         [BZ #12387]
11711         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11713 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
11715         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11717 2013-05-10  Andreas Jaeger  <aj@suse.de>
11719         [BZ #15448]
11720         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11721         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11723 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
11725         * math/gen-libm-test.pl (adjust_arg): New function.
11726         (special_functions): Handle generating output in both functions
11727         and arrays.
11728         (parse_args): Likewise.
11729         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
11730         $in_func argument to parse_args.
11731         * math/libm-test.inc (struct test_f_f_data): New type.
11732         (IF_ROUND_INIT_): New macro.
11733         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11734         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11735         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11736         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11737         (ROUND_RESTORE_): Likewise.
11738         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11739         (ROUND_RESTORE_FE_TONEAREST): Likewise.
11740         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11741         (ROUND_RESTORE_FE_UPWARD): Likewise.
11742         (RUN_TEST_LOOP_f_f): New macro.
11743         (acos_test_data): New variable.
11744         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11745         (acos_tonearest_test_data): New variable.
11746         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11748 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11750         * benchtests/bench-skeleton.c (startup): Fix coding style.
11752 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
11754         [BZ #6809]
11755         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11756         negative infinity argument.
11757         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11758         negative infinity argument.
11759         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11760         negative infinity argument.
11761         * math/libm-test.inc (tgamma_test): Expect errno to be set for
11762         domain errors.
11764 2013-05-10  Florian Weimer  <fweimer@redhat.com>
11766         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11767         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11768         * iconv/iconv_prog.c (main): Likewise.
11769         * locale/programs/charmap-dir.c (charmap_readdir)
11770         (fopen_uncompressed): Likewise.
11771         * locale/programs/locfile.c (siblings_uncached)
11772         (write_locale_data): Use lstat64 instead of lstat.
11773         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11774         stat.
11776 2013-05-10  Andreas Jaeger  <aj@suse.de>
11778         [BZ #15395]
11779         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11780         localization.
11781         Include <locale.h>.
11783 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
11785         * elf/dl-close.c (_dl_close_worker): Add comments.
11787 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
11789         [BZ #15359]
11790         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11791         high part of pi/2.
11792         (__ieee754_rem_pio2l): Update comments.
11794         [BZ #15429]
11795         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11796         high part of pi/2.
11797         (__ieee754_rem_pio2l): Update comments.
11799         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11800         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11802         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11803         M_PI_4l.
11805         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11806         (M_PI_34_LOG10El): Likewise.
11807         (M_PI2_LOG10El): Likewise.
11808         (M_PI4_LOG10El): Likewise.
11809         (M_PI_LOG10El): Likewise.
11811 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11815 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
11817         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11818         (MINUS_ZERO_INIT): Likewise.
11819         (PLUS_INFTY_INIT): Likewise.
11820         (MINUS_INFTY_INIT): Likewise.
11821         (QNAN_VALUE_INIT): Likewise.
11822         (MAX_VALUE_INIT): Likewise.
11823         (MIN_VALUE_INIT): Likewise.
11824         (MIN_SUBNORM_VALUE_INIT): Likewise.
11825         (plus_zero): Initialize with PLUS_ZERO_INIT.
11826         (minus_zero): Initialize with MINUS_ZERO_INIT.
11827         (plus_infty): Initialize with PLUS_INFTY_INIT.
11828         (minus_infty): Initialize with MINUS_INFTY_INIT.
11829         (qnan_value): Initialize with QNAN_VALUE_INIT.
11830         (max_value): Initialize with MAX_VALUE_INIT.
11831         (min_value): Initialize with MIN_VALUE_INIT.
11832         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11834         * math/libm-test.inc (RUN_TEST_if_f): New macro.
11835         (jn_test): Use TEST_if_f instead of TEST_ff_f.
11836         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11837         (yn_test): Use TEST_if_f instead of TEST_ff_f.
11839         * math/libm-test.inc (RUN_TEST_f_f): New macro.
11840         (RUN_TEST_2_f): Likewise.
11841         (RUN_TEST_ff_f): Likewise.
11842         (RUN_TEST_fi_f): Likewise.
11843         (RUN_TEST_fl_f): Likewise.
11844         (RUN_TEST_fff_f): Likewise.
11845         (RUN_TEST_c_f): Likewise.
11846         (RUN_TEST_f_f1): Likewise.
11847         (RUN_TEST_fF_f1): Likewise.
11848         (RUN_TEST_fI_f1): Likewise.
11849         (RUN_TEST_ffI_f1): Likewise.
11850         (RUN_TEST_c_c): Likewise.
11851         (RUN_TEST_cc_c): Likewise.
11852         (RUN_TEST_f_i): Likewise.
11853         (RUN_TEST_f_i_tg): Likewise.
11854         (RUN_TEST_ff_i_tg): Likewise.
11855         (RUN_TEST_f_b): Likewise.
11856         (RUN_TEST_f_b_tg): Likewise.
11857         (RUN_TEST_f_l): Likewise.
11858         (RUN_TEST_f_L): Likewise.
11859         (RUN_TEST_sincos): Likewise.
11860         * math/gen-libm-test.pl (new_test): Take new argument to indicate
11861         whether to show exceptions.  Do not include ");\n" in return
11862         value.
11863         (special_functions): Output call to RUN_TEST_sincos instead of
11864         check_float calls.  Update calls to new_test.
11865         (parse_args): Output call to single RUN_TEST_* macro instead of
11866         check_* calls and other assignments.  Update calls to new_test.
11868         [BZ #2546]
11869         [BZ #2560]
11870         [BZ #5159]
11871         [BZ #15426]
11872         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11873         input to result for tgamma overflow.
11874         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11875         (gamma_coeff): New variable.
11876         (NCOEFF): New macro.
11877         (gamma_positive): New function.
11878         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11879         underflow here.  Use gamma_positive instead of exp (lgamma) for
11880         other arguments.
11881         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11882         (gamma_coeff): New variable.
11883         (NCOEFF): New macro.
11884         (gammaf_positive): New function.
11885         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11886         underflow here.  Use gamma_positive instead of exp (lgamma) for
11887         other arguments.
11888         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11889         (gamma_coeff): New variable.
11890         (NCOEFF): New macro.
11891         (gammal_positive): New function.
11892         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11893         underflow here.  Use gamma_positive instead of exp (lgamma) for
11894         other arguments.
11895         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11896         (gamma_coeff): New variable.
11897         (NCOEFF): New macro.
11898         (gammal_positive): New function.
11899         (__ieee754_gammal_r): Handle positive infinity, overflow and
11900         underflow here.  Handle NaN the same as positive infinity.  Remove
11901         check x < 0xffffffff for negative integers.  Use gamma_positive
11902         instead of exp (lgamma) for other arguments.
11903         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11904         (gamma_coeff): New variable.
11905         (NCOEFF): New macro.
11906         (gammal_positive): New function.
11907         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11908         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11909         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11910         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11911         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11912         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11913         * sysdeps/generic/math_private.h (__gamma_productf): New
11914         prototype.
11915         (__gamma_product): Likewise.
11916         (__gamma_productl): Likewise.
11917         * math/Makefile (libm-calls): Add gamma_product.
11918         * math/libm-test.inc (tgamma_test): Add more tests.
11919         * sysdeps/i386/fpu/libm-test-ulps: Update.
11920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11922 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
11924         * benchtests/bench-skeleton.c (main): Preheat CPU.
11926 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
11928         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11930 2013-05-07  Roland McGrath  <roland@hack.frob.com>
11932         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11933         and _dl_skip_args_internal.
11935 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
11937         * manual/message.texi (Message Translation): Talk about users.
11938         Message to key mapping impacts design.
11940 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11942         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11944         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11946         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11947         * sysdeps/wordsize-64/glob64.c: ... here.
11949         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11950         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11951         New macros.
11953         * debug/getlogin_r_chk.c: Moved to ...
11954         * login/getlogin_r_chk.c: ... here.
11955         * debug/Makefile (routines): Move getlogin_r_chk to ...
11956         * login/Makefile (routines): ... here.
11957         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11958         * login/Versions (libc: GLIBC_2.4): ... here.
11960         * io/poll.c (__poll): Renamed from poll.
11961         Add libc_hidden_def.
11962         (poll): Define as weak alias.
11964         * debug/ptsname_r_chk.c: Moved to ...
11965         * login/ptsname_r_chk.c: ... here.
11966         * debug/Makefile (routines): Move ptsname_r_chk to ...
11967         * login/Makefile (routines): ... here.
11968         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11969         * login/Versions (libc: GLIBC_2.4): ... here.
11971         * posix/getlogin.c: Moved to ...
11972         * login/getlogin.c: ... here.
11973         * posix/getlogin_r.c: Moved to ...
11974         * login/getlogin_r.c: ... here.
11975         * posix/getlogin_r.c: Moved to ...
11976         * login/getlogin_r.c: ... here.
11977         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11978         * login/Makefile (routines): ... here.
11979         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11980         * login/Versions (libc: GLIBC_2.0): ... here.
11982         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11983         (setrlimit): Define as weak alias.
11985         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11986         Call __ names for open, ftruncate, and close.
11987         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11988         (truncate): Define as weak alias.
11990 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11992         * math/gen-libm-test.pl (parse_args): Initialize x before each
11993         test of frexp, modf and remquo.
11995         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11996         test signgam value.
11998 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12000         [BZ #15418]
12001         [BZ #15419]
12002         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12003         internal tests.
12004         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12006 2013-05-06  Roland McGrath  <roland@hack.frob.com>
12008         * elf/dl-writev.h: New file.
12009         * elf/dl-misc.c: Include it.
12010         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12011         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12013 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
12015         * math/libm-test.inc (noXFails): Remove variable.
12016         (noXPasses): Likewise.
12017         (BUILD_COMPLEX_INT): Remove macro.
12018         (print_screen): Remove xfail argument.
12019         (print_screen_max_error): Likewise.
12020         (update_stats): Likewise.
12021         (print_max_error): Likewise.  Update calls to other affected
12022         functions.
12023         (print_complex_max_error): Likewise.
12024         (test_single_exception): Update calls to print_screen.
12025         (test_single_errno): Likewise.
12026         (check_float_internal): Remove xfail argument.  Update calls to
12027         other affected functions.
12028         (check_float): Likewise.
12029         (check_complex): Likewise.
12030         (check_int): Likewise.
12031         (check_long): Likewise.
12032         (check_bool): Likewise.
12033         (check_longlong): Likewise.
12034         (main): Don't print noXFails and noXPasses.
12035         * math/gen-libm-test.pl (top level): Don't mention expected
12036         failure handling in comment.
12037         (new_test): Don't handle expected failures.
12038         (parse_args): Don't mention expected failure handling in comment.
12039         (generate_testfile): Don't handle expected failures.
12040         (parse_ulps): Likewise.
12041         (print_ulps_file): Likewise.
12042         (get_failure): Remove function.
12043         (output_test): Don't handle expected failures.
12044         * make/README.libm-test: Don't mention expected failure handling.
12046         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
12047         (minus_zero): Likewise.
12048         (plus_infty): Likewise.
12049         (minus_infty): Likewise.
12050         (qnan_value): Likewise.
12051         (max_value): Likewise.
12052         (min_value): Likewise.
12053         (min_subnorm_value): Likewise.
12054         (initialize): Do not initialize those variables dynamically.
12056 2013-05-03  Roland McGrath  <roland@hack.frob.com>
12058         * io/open.c (__open_2): Moved to ...
12059         * io/open_2.c: ... this new file.
12060         * io/open64.c (__open64_2): Moved to ...
12061         * io/open64_2.c: ... this new file.
12062         * io/openat.c (__openat_2): Moved to ...
12063         * io/openat_2.c: ... this new file.
12064         * io/openat64.c (__openat64_2): Moved to ...
12065         * io/openat64_2.c: ... this new file.
12066         * io/Makefile (routines): Add them.
12067         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12068         * sysdeps/unix/sysv/linux/open_2.c: File removed.
12069         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12070         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12071         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12072         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12073         (__openat64): Add hidden_ver.
12074         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12075         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12077         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12078         Separately conditionalize setting of GLRO(dl_sysinfo) so
12079         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12080         as well, but the actual setting is only under [NEED_DL_SYSINFO].
12082 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12084         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12085         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12086         definition.
12087         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12088         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12089         (_libc_vdso_platform_setup): Add __vdso_time initialization.
12090         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12091         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12093 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
12095         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12096         test signgam value.
12098         * math/libm-test.inc (hypot_test): Do not use
12099         IGNORE_ZERO_INF_SIGN.
12101 2013-05-03  Andreas Jaeger  <aj@suse.de>
12103         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12104         Linux 3.9.
12105         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12106         (PF_MAX): Adjust for VSOCK change.
12108 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12112 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
12114         [BZ #15264]
12115         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12116         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12117         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12119 2013-05-02  David S. Miller  <davem@davemloft.net>
12121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12123 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
12125         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12127 2013-05-01  Roland McGrath  <roland@hack.frob.com>
12129         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12131 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
12133         [BZ #14952]
12134         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12135         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12136         Use __attribute__ ((__gnu_inline__)).
12137         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12138         Don't use __attribute__ ((__gnu_inline__)).
12140 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
12142         [BZ #15423]
12143         * math/s_catan.c (__catan): Handle small real or imaginary part of
12144         input specially to avoid spurious underflow.
12145         * math/s_catanf.c (__catanf): Likewise.
12146         * math/s_catanh.c (__catanh): Likewise.
12147         * math/s_catanhf.c (__catanhf): Likewise.
12148         * math/s_catanhl.c (__catanhl): Likewise.
12149         * math/s_catanl.c (__catanl): Likewise.
12150         * math/libm-test.inc (catan_test): Add more tests.
12151         (catanh_test): Likewise.
12152         * sysdeps/i386/fpu/libm-test-ulps: Update.
12153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12155 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12159 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
12161         [BZ #15416]
12162         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12163         accurately for denominator in atan2.
12164         * math/s_catanf.c (__catanf): Likewise.
12165         * math/s_catanh.c (__catanh): Likewise.
12166         * math/s_catanhf.c (__catanhf): Likewise.
12167         * math/s_catanhl.c (__catanhl): Likewise.
12168         * math/s_catanl.c (__catanl): Likewise.
12169         * math/libm-test.inc (catan_test): Add more tests.
12170         (catanh_test): Likewise.
12171         * sysdeps/i386/fpu/libm-test-ulps: Update.
12172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12174 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12176         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12178         * benchtests/Makefile (bench): Remove slow benchmarks.
12179         * benchtests/atan-inputs: Add slow benchmark inputs.
12180         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12181         (BENCH_FUNC): Accept variant offset.
12182         (VARIANT): Define.
12183         * benchtests/bench-skeleton.c (main): Run benchmark for each
12184         variant.
12185         * benchtests/cos-inputs: Add slow benchmark inputs.
12186         * benchtests/exp-inputs: Likewise.
12187         * benchtests/pow-inputs: Likewise.
12188         * benchtests/sin-inputs: Likewise.
12189         * benchtests/slowatan-inputs: Remove.
12190         * benchtests/slowatan.c: Remove.
12191         * benchtests/slowcos-inputs: Remove.
12192         * benchtests/slowcos.c: Remove.
12193         * benchtests/slowexp-inputs: Remove.
12194         * benchtests/slowexp.c: Remove.
12195         * benchtests/slowpow-inputs: Remove.
12196         * benchtests/slowpow.c: Remove.
12197         * benchtests/slowsin-inputs: Remove.
12198         * benchtests/slowsin.c: Remove.
12199         * benchtests/slowtan-inputs: Remove.
12200         * benchtests/slowtan.c: Remove.
12201         * benchtests/tan-inputs: Add slow benchmark inputs.
12202         * scripts/bench.pl: Parse comments and directives.
12204         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
12205         in CPPFLAGS.
12206         ($(objpfx)bench-%.c): Remove *-ITER.
12207         * benchtests/bench-modf.c: Remove definition of ITER.
12208         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12209         (main): Loop for DURATION seconds instead of fixed number of
12210         iterations.
12211         * scripts/bench.pl: Don't expect iterations in parameters.
12213 2013-04-29  Roland McGrath  <roland@hack.frob.com>
12215         * io/fchdir.c (__fchdir): Renamed from fchdir.
12216         (fchdir): Define as weak alias.
12218 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
12220         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12221         (ERRNO_EDOM): Likewise.
12222         (ERRNO_ERANGE): Likewise.
12223         (noErrnoTests): New variable.
12224         (init_max_error): Set errno to 0.
12225         (test_single_errno): New function.
12226         (test_errno): Likewise.
12227         (check_float_internal): Call test_errno.  Set errno to 0.
12228         (check_complex): Refer to errno tests in comment.
12229         (check_int): Call test_errno.  Set errno to 0.
12230         (check_long): Likewise.
12231         (check_bool): Likewise.
12232         (check_longlong): Likewise.
12233         (cos_test): Use ERRNO_* flags for errno tests instead of
12234         check_int.
12235         (expm1_test): Likewise.
12236         (fmod_test): Likewise.
12237         (ilogb_test): Likewise.
12238         (lgamma_test): Likewise.
12239         (pow_test): Likewise.
12240         (remainder_test): Likewise.
12241         (sin_test): Likewise.
12242         (tan_test): Likewise.
12243         (yn_test): Likewise.
12244         (initialize): Set errno to 0.
12245         (main): Print number of errno tests.
12246         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12248 2013-04-29  Andreas Jaeger  <aj@suse.de>
12250         [BZ #15084]
12251         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12252         and RES_USEVC.
12254         [BZ #15085]
12255         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12256         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12257         unimplemented.
12259         [BZ #15380]
12260         * stdlib/random.c (__initstate): Return NULL if
12261         __initstate fails.
12263         [BZ #15086]
12264         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12265         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12266         RES_SNGLKUPREOP.
12268 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12272 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
12274         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12275         of individual tests.
12276         (casin_test): Likewise.
12277         (casinh_test): Likewise.
12279 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
12281         [BZ #15409]
12282         * math/s_catan.c (__catan): Handle arguments with large real or
12283         imaginary part separately without squaring.
12284         * math/s_catanf.c (__catanf): Likewise.
12285         * math/s_catanh.c (__catanh): Likewise.
12286         * math/s_catanhf.c (__catanhf): Likewise.
12287         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12288         and redefine.
12289         (__catanhl): Handle arguments with large real or imaginary part
12290         separately without squaring.
12291         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12292         and redefine.
12293         (__catanl): Handle arguments with large real or imaginary part
12294         separately without squaring.
12295         * math/libm-test.inc (catan_test): Add more tests.
12296         (catanh_test): Likewise.
12297         * sysdeps/i386/fpu/libm-test-ulps: Update.
12298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12300 2013-04-27  Andreas Jaeger  <aj@suse.de>
12302         [BZ #15007]
12303         * stdlib/stdlib.h: Update guards for qecvt.
12304         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12305         <stdlib.h>.
12307 2013-04-27  Allan McRae  <allan@archlinux.org>
12309         * sysdeps/i386/fpu/libm-test-ulps: Update.
12311 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
12313         [BZ #15406]
12314         * math/s_catan.c: Include <float.h>.
12315         (__catan): Ensure underflow exception occurs for underflowed
12316         result.
12317         * math/s_catanf.c: Include <float.h>.
12318         (__catanf): Ensure underflow exception occurs for underflowed
12319         result.
12320         * math/s_catanh.c: Include <float.h>.
12321         (__catanh): Ensure underflow exception occurs for underflowed
12322         result.
12323         * math/s_catanhf.c: Include <float.h>.
12324         (__catanhf): Ensure underflow exception occurs for underflowed
12325         result.
12326         * math/s_catanhl.c: Include <float.h>.
12327         (__catanhl): Ensure underflow exception occurs for underflowed
12328         result.
12329         * math/s_catanl.c: Include <float.h>.
12330         (__catanl): Ensure underflow exception occurs for underflowed
12331         result.
12332         * math/libm-test.inc (catan_test): Add more tests.
12333         (catanh_test): Likewise.
12335         [BZ #15405]
12336         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12337         underflowed result.
12338         * math/s_ccoshf.c (__ccoshf): Likewise.
12339         * math/s_ccoshl.c (__ccoshl): Likewise.
12340         * math/s_csin.c (__csin): Likewise.
12341         * math/s_csinf.c (__csinf): Likewise.
12342         * math/s_csinh.c (__csinh): Likewise.
12343         * math/s_csinhf.c (__csinhf): Likewise.
12344         * math/s_csinhl.c (__csinhl): Likewise.
12345         * math/s_csinl.c (__csinl): Likewise.
12346         * math/libm-test.inc (ccos_test): Add more tests.
12347         (ccosh_test): Likewise.
12348         (csin_test): Likewise.
12349         (csinh_test): Likewise.
12351 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12353         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12354         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12355         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12356         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12357         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12358         powerpc/power5+/fpu folders.
12359         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12362 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12366 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
12368         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12369         additions to variable.
12370         [$(config-machine) = x86_64] (modules-names): Likewise.
12371         ($(objpfx)tst-audit3): Remove dependency.
12372         ($(objpfx)tst-audit3.out): Likewise.
12373         ($(objpfx)tst-audit4): Likewise.
12374         ($(objpfx)tst-audit4.out): Likewise.
12375         ($(objpfx)tst-audit5): Likewise.
12376         ($(objpfx)tst-audit5.out): Likewise.
12377         ($(objpfx)tst-audit6): Likewise.
12378         ($(objpfx)tst-audit6.out): Likewise.
12379         ($(objpfx)tst-audit7): Likewise.
12380         ($(objpfx)tst-audit7.out): Likewise.
12381         (tst-audit3-ENV): Remove variable.
12382         (tst-audit4-ENV): Likewise.
12383         (tst-audit5-ENV): Likewise.
12384         (tst-audit6-ENV): Likewise.
12385         (tst-audit7-ENV): Likewise.
12386         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12387         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12388         addition to variable.
12389         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12390         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12391         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12392         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12393         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12394         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12395         tst-audit3, tst-audit4 and tst-audit5.
12396         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12397         tst-audit6 and tst-audit7.
12398         [$(subdir) = elf] (modules-names): Add audit modules for those
12399         tests.
12400         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12401         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12402         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12403         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12404         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12405         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12406         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12407         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12408         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12409         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12410         [$(subdir) = elf] (tst-audit3-ENV): New variable.
12411         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12412         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12413         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12414         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12415         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12416         Likewise.
12417         [$(subdir) = elf && $(config-cflags-avx) = yes]
12418         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12419         [$(subdir) = elf && $(config-cflags-avx) = yes]
12420         (CFLAGS-tst-auditmod4a.c): Likewise.
12421         [$(subdir) = elf && $(config-cflags-avx) = yes]
12422         (CFLAGS-tst-auditmod4b.c): Likewise.
12423         [$(subdir) = elf && $(config-cflags-avx) = yes]
12424         (CFLAGS-tst-auditmod6b.c): Likewise.
12425         [$(subdir) = elf && $(config-cflags-avx) = yes]
12426         (CFLAGS-tst-auditmod6c.c): Likewise.
12427         [$(subdir) = elf && $(config-cflags-avx) = yes]
12428         (CFLAGS-tst-auditmod7b.c): Likewise.
12429         * elf/tst-audit3.c: Move to ...
12430         * sysdeps/x86_64/tst-audit3.c: ... here.
12431         * elf/tst-audit4.c: Move to ...
12432         * sysdeps/x86_64/tst-audit4.c: ... here.
12433         * elf/tst-audit5.c: Move to ...
12434         * sysdeps/x86_64/tst-audit5.c: ... here.
12435         * elf/tst-audit6.c: Move to ...
12436         * sysdeps/x86_64/tst-audit6.c: ... here.
12437         * elf/tst-audit7.c: Move to ...
12438         * sysdeps/x86_64/tst-audit7.c: ... here.
12439         * elf/tst-auditmod3a.c: Move to ...
12440         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12441         * elf/tst-auditmod3b.c: Move to ...
12442         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12443         * elf/tst-auditmod4a.c: Move to ...
12444         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12445         * elf/tst-auditmod4b.c: Move to ...
12446         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12447         * elf/tst-auditmod5a.c: Move to ...
12448         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12449         * elf/tst-auditmod5b.c: Move to ...
12450         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12451         * elf/tst-auditmod6a.c: Move to ...
12452         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12453         * elf/tst-auditmod6b.c: Move to ...
12454         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12455         * elf/tst-auditmod6c.c: Move to ...
12456         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12457         * elf/tst-auditmod7a.c: Move to ...
12458         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12459         * elf/tst-auditmod7b.c: Move to ...
12460         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12462 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
12464         [BZ #15366]
12465         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12466         define unconditionally.
12467         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12468         define unconditionally.
12469         (INT8_C, INT16_C, etc.): Likewise.
12471 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
12473         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12474         __ehdr_start with hidden visibility.
12476         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12478 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
12480         * math/libm-test.inc (cos_test): Use accurate hex constants.
12481         (sincost_test): Likewise.
12483 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
12485         * math/libm-test.inc (catan_test): Add more tests.
12486         (catanh_test): Likewise.
12488         * math/s_catanf.c (__catanf): Use suffixed floating-point
12489         constants.
12490         * math/s_catanhf.c (__catanhf): Likewise.
12491         * math/s_catanhl.c (__catanhl): Likewise.
12492         * math/s_catanl.c (__catanl): Likewise.
12494         [BZ #15394]
12495         * math/s_catan.c (__catan): Calculate imaginary part of result
12496         with log1p not log unless computing log of number close to 0.
12497         * math/s_catanf.c (__catanf): Likewise.
12498         * math/s_catanl.c (__catanl): Likewise.
12499         * math/s_catanh.c (__catanh): Calculate real part of result with
12500         log1p not log unless computing log of number close to 0.
12501         * math/s_catanhf.c (__catanhf): Likewise.
12502         * math/s_catanhl.c (__catanhl): Likewise.
12503         * math/libm-test.inc (catan_test): Add more tests.
12504         (catanh_test): Likewise.
12505         * sysdeps/i386/fpu/libm-test-ulps: Update.
12506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12508 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12510         * benchtests/Makefile: Mention files in which fast and slow
12511         paths of math functions are implemented.
12513 2013-04-23  Roland McGrath  <roland@hack.frob.com>
12515         * sysdeps/posix/timespec_get.c: New file.
12517 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12519         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12520         POWER.
12521         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12522         for POWER.
12523         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12524         powerpc/power5/fpu folders.
12525         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12526         * benchtests/Makefile: Add modf testcase.
12527         * benchtests/bench-modf.c: New file: Benchmark test for mo
12529 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12531         [BZ #14888]
12532         * time/Makefile (tests): Add tst-strptime-whitespace.
12533         * time/strptime_l.c (get_number): Use ISSPACE.
12534         (__strptime_internal): Likewise.
12535         * time/tst-strptime-whitespace.c: New test case.
12537 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
12539         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12540         member.
12541         (_nss_files_init): Set it here.
12543 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
12545         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12546         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12547         unsigned.
12549 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
12551         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12553 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12556         size just once.
12558 2013-04-21  David S. Miller  <davem@davemloft.net>
12560         * po/ru.po: Update Russion translation from translation project.
12562 2013-04-17  Adam Conrad  <adconrad@0c3.net>
12564         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12565         and setfsgid.
12567 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
12569         * configure.in: Remove i386 configure warning. Remove i386 case.
12570         * configure: Regenerate.
12571         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12572         Add example to error message.
12573         * sysdeps/i386/configure: Regenerate.
12575 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12577         * benchtests/Makefile (bench): Add cos, tan, slowcos and
12578         slowtan.
12579         * benchtests/cos-inputs: New file.
12580         * benchtests/slowcos-inputs: New file.
12581         * benchtests/slowcos.c: New file.
12582         * benchtests/slowtan-inputs: New file.
12583         * benchtests/slowtan.c: New file.
12584         * benchtests/tan-inputs: New file.
12586 2013-04-16  Roland McGrath  <roland@hack.frob.com>
12588         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12589         considered kosher.
12591 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12593         * benchtests/Makefile: Include cppflags-iterator.mk to add
12594         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12596         * Makefile.in (bench-clean): New target.
12597         * benchtests/Makefile (bench-clean): Likewise.
12599 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
12601         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12603 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
12605         * stdio-common/tstdiomisc.c: Fix coding-style violation.
12607 2013-04-15  Andreas Schwab  <schwab@suse.de>
12609         * nscd/grpcache.c (cache_addgr): Properly check for short write.
12610         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12611         * nscd/pwdcache.c (cache_addpw): Likewise.
12612         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
12613         more than recsize.
12615 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12617         * benchtests/Makefile (bench): Write all output to
12618         bench-out.tmp together.
12620 2013-04-15  Andreas Schwab  <schwab@suse.de>
12622         * nscd/nscd.c (main): Don't fork again after closing files.
12624 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12626         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12628         * benchtests/Rules (bench-deps): Collect dependencies into a
12629         single variable.  Add Makefile to dependencies.
12630         ($(objpfx)bench-%.c): Depend on bench-deps.
12632 2013-04-12  Roland McGrath  <roland@hack.frob.com>
12633             Xavier Roche  <roche+kml2@exalead.com>
12635         [BZ #15361]
12636         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12637         just that it's a file descriptor.
12638         * manual/llio.texi (Synchronizing AIO Operations): Update description
12639         for EBADF error from aio_fsync.
12641 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12643         * Rules (bench): Move target definition...
12644         * benchtests/Makefile: ... here.
12646 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
12648         * math/libm-test.inc (cos_test): Fix PI/2 test.
12649         (sincos_test): Likewise.
12650         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12651         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12653 2013-04-11  Andreas Schwab  <schwab@suse.de>
12655         [BZ #13988]
12656         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12657         accept exponent character only when digits were seen.
12658         * stdio-common/Makefile (tests): Add bug26.
12659         * stdio-common/bug26.c: New file.
12661         [BZ #14293]
12662         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12663         non-freeable.
12665 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12667         * Makeconfig (rtld-prefix): Define built linker prefix.
12668         * Rules (run-bench): Use it.
12669         * math/Makefile (run-regen-ulps): Likewise.
12671         * Rules (bench): Remove eval.
12673 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12674             Roland McGrath  <roland@hack.frob.com>
12675             Ondrej Bilka  <neleai@seznam.cz>
12677         [BZ #15346]
12678         * time/getdate.c: Include ctype.h and alloca.h.
12679         (__getdate_r): Trim leading and trailing spaces of input.
12680         * time/tst-getdate.c (tests): Add tests with leading and
12681         trailing spaces.
12683 2013-04-08  Roland McGrath  <roland@hack.frob.com>
12685         [BZ #14280]
12686         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12687         when computing value.
12689 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12691         * math/README.libm-test (How can I generate "libm-test-ulps"?):
12692         Use testrun.sh to run libm tests.
12694         [BZ #15309]
12695         * elf/dl-open.c (dl_open_worker): memset all of seen array.
12697 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
12699         [BZ #15264]
12700         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12702 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12704         * Makefile.in (regen-ulps): New target.
12705         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12706         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12707         [ifneq (no,$(PERL)] (regen-ulps): New target.
12708         [ifeq (no,$(PERL)] (regen-ulps): New target.
12709         * math/libm-test.inc (ulps_file_name): Define.
12710         (output_dir): New variable.
12711         (options): Add "output-dir" option.
12712         (parse_opt): Handle 'o' case.
12713         (main): If output_dir is non-NULL use it as a prefix
12714         otherwise use "".
12715         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12717 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12719         [BZ #10060, #10062]
12720         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12721         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12722         fail configure if __sync_val_compare_and_swap is not inlined.
12723         * sysdeps/i386/configure: Regenerate.
12724         * configure.in: Build for i686 when configured for i386.
12725         * configure: Regenerate.
12726         * README: Remove i386 reference.
12728 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
12730         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12731         * sysdeps/s390/s390-64/sysdep.h: Likewise.
12733 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12735         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12736         (lmsnanval): New variables.
12737         (F): Add conversion tests.
12738         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12739         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12741         * stdio-common/tstdiomisc.c (F): Properly collect individual
12742         tests' results.
12744         [BZ #14686, #15336]
12745         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12746         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12747         Instead, use input NaN values or generate a qNaN by arithmetic
12748         operation.  Also fix bugs to comply with the standard.
12749         * math/libm-test.inc (remainder_test): Add more tests.
12751         [BZ #15335, #15342]
12752         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12753         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12754         input NaN values or generate a qNaN by arithmetic operation.
12756         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12757         unreachable code.
12759         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12760         definitions.
12762 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
12764         [BZ #14478]
12765         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12766         underflowed result.
12767         * math/s_cexpf.c (__cexpf): Likewise.
12768         * math/s_cexpl.c (__cexpl): Likewise.
12769         * math/libm-test.inc (cexp_test): Add more tests.
12771 2013-04-03  Andreas Schwab  <schwab@suse.de>
12773         [BZ #15330]
12774         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12775         order arrays from heap if bigger than alloca cutoff.
12777 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
12779         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12780         (SNAN_TESTS_double): Refer to GCC PR56831.
12781         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12782         GCC PR56828.
12784 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12786         * Rules (bench): Move bench.out after the run is complete.
12788         * Rules (bench): Echo currently running benchmark.
12790         * benchtests/Makefile (bench): Add atan and slowatan.
12791         * benchtests/atan-inputs: New file.
12792         * benchtests/slowatan-inputs: New file.
12793         * benchtests/slowatan.c: New file.
12795         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12796         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12797         its value.
12799         [BZ #15305]
12800         * sysdeps/unix/sysv/linux/kernel-features.h
12801         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12802         __ASSUME_XFS_RESTRICTED_CHOWN.
12803         * sysdeps/unix/sysv/linux/pathconf.c
12804         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12805         Save and restore errno.
12807 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
12809         [BZ #15327]
12810         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12811         arguments using __kernel_casinh.
12812         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12813         arguments using __kernel_casinhf.
12814         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12815         arguments using __kernel_casinhl.
12816         * math/libm-test.inc (cacosh_test): Add more tests.
12817         * sysdeps/i386/fpu/libm-test-ulps: Update.
12818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12820 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12822         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12825         * bench/Makefile (bench): Add sin and slowsin.
12826         * benchtests/sin-inputs: New file.
12827         * benchtests/slowsin-inputs: New file.
12828         * benchtests/slowsin.c: New file.
12830         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12831         (bench): Add slowexp and slowpow.
12832         (exp-ITER): Increase iterations.
12833         (pow-ITER): Likewise.
12834         * benchtests/exp-inputs: Change input.
12835         * benchtests/pow-inputs: Likewise.
12836         * benchtests/slowexp-inputs: New file.
12837         * benchtests/slowexp.c: New file.
12838         * benchtests/slowpow-inputs: New file.
12839         * benchtests/slowpow.c: New file.
12841 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12843         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12844         instructions.
12845         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12846         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12847         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12848         * benchtests/Makefile: Add rint benchtest.
12849         * benchtests/rint-inputs: Input for rint benchtest.
12851 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12853         * Versions.def (libm): Add GLIBC_2.18.
12854         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12855         hidden libm prototypes.
12856         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12857         * math/Makefile (libm-calls): Add s_issignaling.
12858         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12859         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
12860         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12861         declaration.
12862         * math/math.h [__USE_GNU] (issignaling): New macro.
12863         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12864         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12865         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12866         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12867         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12868         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12869         * manual/arith.texi (issignaling): New section.
12870         * manual/libm-err-tab.pl (@all_functions): Update comment.
12871         * math/gen-libm-test.pl (parse_args): Apply special handling for
12872         issignaling.
12873         * math/libm-test.inc (print_float, issignaling_test): New
12874         functions.
12875         (check_float_internal): Add issignaling checks.
12876         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12877         default definition.
12878         * sysdeps/powerpc/math-tests.h: New file.
12879         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12880         tests.
12881         * math/test-snan.c (TEST_FUNC): Likewise.
12883 2013-03-30  David S. Miller  <davem@davemloft.net>
12885         * po/de.po: Update from translation team.
12887 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
12889         [BZ #10357]
12890         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12891         imaginary part less than 1.0 and real part less than 0.5
12892         specially.
12893         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12894         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12895         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12896         (cacos_test): Add more tests.
12897         (casin_test): Likewise.
12898         (casinh_test): Likewise.
12899         * sysdeps/i386/fpu/libm-test-ulps: Update.
12900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12902 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12904         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12905         ONE with its value.
12907         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12908         (__pow_mp): Replace ONE and MONE with their values.
12909         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12910         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12911         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12912         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12913         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12914         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12916         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12918         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12919         (__pow_mp): Replace ZERO and MZERO with their values.
12920         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12921         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12922         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12923         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12924         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12925         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12926         (__sqr): Likewise.
12928         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12930         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12932 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12934         * include/stdlib.h [!SHARED] (__call_tls_dtors):
12935         Declare with __attribute__ ((weak)).
12936         * stdlib/exit.c (__libc_atexit) [!SHARED]:
12937         Call __call_tls_dtors only if it's not NULL.
12939 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12941         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12942         didn't do it already, then set _dl_phdr and _dl_phnum based on the
12943         magic __ehdr_start linker symbol if it's defined.
12944         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12945         them up here if it was already done.
12947         * elf/dl-support.c (_dl_phdr): Make pointer to const.
12948         (_dl_aux_init): Use const in cast when setting it.
12949         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12950         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12951         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12953         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12954         Declare them here.
12955         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12956         * csu/libc-tls.c: Nor here.
12957         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12959         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12960         (__libc_message): Never call vsyslog.
12962 2013-03-28  Alan Modra  <amodra@gmail.com>
12964         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12965         Define as empty.
12966         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12967         Likewise.
12969 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12971         [BZ #15214]
12972         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12973         underflow.
12974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12976 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12978         [BZ #15304]
12979         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12980         Don't add gid passed as argument.
12982         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12984 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12986         [BZ #15307]
12987         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12988         imaginary part between 1.0 and 1.5 and real part less than 0.5
12989         specially.
12990         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12991         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12992         * math/libm-test.inc (cacos_test): Add more tests.
12993         (casin_test): Likewise.
12994         (casinh_test): Likewise.
12995         * sysdeps/i386/fpu/libm-test-ulps: Update.
12996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12998 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13000         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13001         constants.
13002         (norm): Likewise.
13003         (denorm): Likewise.
13004         (__dbl_mp): Likewise.
13005         (add_magnitudes): Likewise.
13006         (sub_magnitudes): Likewise.
13007         (__add): Likewise.
13008         (__sub): Likewise.
13009         (__mul): Likewise.
13010         (__sqr): Likewise.
13011         (__inv): Likewise.
13012         (__dvd): Likewise.
13014         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13015         commented code.
13016         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13017         (__dubcos): Likewise.
13018         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13019         (__ieee754_acos): Likewise.
13020         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13021         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13022         (__exp1): Likewise.
13023         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13025         (log1): Likewise.
13026         (my_log2): Likewise.
13027         (checkint): Likewise.
13028         * sysdeps/ieee754/dbl-64/e_remainder.c
13029         (__ieee754_remainder): Likewise.
13030         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13031         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13032         (bsloww): Likewise.
13033         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13035         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13036         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13037         MANTISSA_STORE_T to store computations on mantissa.  Use
13038         macros for rounding and division.
13039         (denorm): Likewise.
13040         (__dbl_mp): Likewise.
13041         (add_magnitudes): Likewise.
13042         (sub_magnitudes): Likewise.
13043         (__mul): Likewise.
13044         (__sqr): Likewise.
13045         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
13046         powers of two in terms of TWOPOW macro.
13047         (mp_no): Make type of mantissa as MANTISSA_T.
13048         [!RADIXI]: Define RADIXI.
13049         [!TWO52]: Define TWO52.
13050         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13052 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13054         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13055         llroundl symbol when building for PPC32.
13057 2013-03-24  Mark H Weaver  <mhw@netris.org>
13059         * manual/arith.texi (Normalization Functions): Fix prototypes for
13060         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13062 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13064         [BZ #13889]
13065         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13066         high value to check if expl overflow.
13067         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13068         to check for underflow and overflow.
13069         * math/libm-test.inc: Add exp test.
13071 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
13073         [BZ #11120]
13074         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13075         with NOT_IN_libc.
13077 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13079         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13080         symbol.
13082 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
13084         * math/gen-libm-test.pl (parse_args, special_functions): Properly
13085         wrap blocks consisting of several statements.
13087         * sysdeps/generic/math-tests.h: New file.
13088         * sysdeps/i386/fpu/math-tests.h: Likewise.
13089         * math/test-snan.c: Include it.
13090         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13092 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
13094         [BZ #15285]
13095         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13096         (__ieee754_j0l): Do not improve calculations using cos of twice
13097         input for inputs above LDBL_MAX / 2.0L.
13098         (__ieee754_y0l): Likewise.
13099         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13100         (__ieee754_j1l): Do not improve calculations using cos of twice
13101         input for inputs above LDBL_MAX / 2.0L.
13102         (__ieee754_y1l): Likewise.
13103         * math/libm-test.inc (j0_test): Add another test.
13104         (j1_test): Likewise.
13105         (y0_test): Likewise.
13106         (y1_test): Likewise.
13107         * sysdeps/i386/fpu/libm-test-ulps: Update.
13109 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13111         * Rules ($(objpfx)bench-%.c): Include code from a C source
13112         file.
13114 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
13116         [BZ #15287]
13117         * math/k_casinh.c (__kernel_casinh): Handle arguments with
13118         imaginary part 1.0 and real part less than 0.5 specially.
13119         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13120         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13121         * math/libm-test.inc (cacos_test): Add more tests.
13122         (casin_test): Likewise.
13123         (casinh_test): Likewise.
13124         * sysdeps/i386/fpu/libm-test-ulps: Update.
13125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13127 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13129         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13130         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13132 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
13134         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13135         * config.make.in (config-cflags-sse4): Remove variable.
13136         (config-cflags-avx): Likewise.
13137         (config-cflags-sse2avx): Likewise.
13138         (config-cflags-novzeroupper): Likewise.
13139         (config-asflags-i686): Likewise.
13140         (have-mfma4): Likewise.
13141         (have-as-vis3): Likewise.
13142         (MIG): Likewise.
13143         * configure.in (MIG): Do not AC_SUBST.
13144         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13145         (libc_cv_cc_sse4): Do not AC_SUBST.
13146         (libc_cv_cc_avx): Likewise.
13147         (libc_cv_cc_sse2avx): Likewise.
13148         (libc_cv_cc_novzeroupper): Likewise.
13149         (libc_cv_cc_fma4): Likewise.
13150         (libc_cv_as_i686): Likewise.
13151         (libc_cv_sparc_as_vis3): Likewise.
13152         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13153         LIBC_CONFIG_VAR.
13154         (config-asflags-i686): Likewise.
13155         (config-cflags-avx): Likewise.
13156         (config-cflags-sse2avx): Likewise.
13157         (have-mfma4): Likewise.
13158         (config-cflags-novzeroupper): Likewise.
13159         * sysdeps/mach/configure.in (MIG): Likewise.
13160         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13161         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13162         LIBC_CONFIG_VAR.
13163         (config-cflags-avx): Likewise.
13164         (config-cflags-sse2avx): Likewise.
13165         (have-mfma4): Likewise.
13166         (config-cflags-novzeroupper): Likewise.
13167         * configure: Regenerated.
13168         * sysdeps/i386/configure: Likewise.
13169         * sysdeps/mach/configure: Likewise.
13170         * sysdeps/sparc/configure: Likewise.
13171         * sysdeps/x86_64/configure: Likewise.
13173 2013-03-20  Roland McGrath  <roland@hack.frob.com>
13175         [BZ #14812]
13176         * locale/programs/localedef.c (options): Put N_ translation marker
13177         on argument names, not just descriptions.
13179 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13181         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13183 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
13185         [BZ #14176]
13186         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13188 2013-03-19  Roland McGrath  <roland@hack.frob.com>
13190         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13191         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13192         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13193         [!BEFORE_ABORT] (before_abort): New function.
13194         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13195         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13196         (writev_for_fatal): New function.
13197         (WRITEV_FOR_FATAL): New macro; call that.
13198         (backtrace_and_maps): New function.
13199         (BEFORE_ABORT): New macro; call that.
13200         (struct str_list): Type removed.
13201         (__libc_message, __libc_fatal): Functions removed.
13202         Include <sysdeps/posix/libc_fatal.c> instead.
13204 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
13206         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13207         constants.
13208         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13209         double constants.
13211 2013-03-19  Andreas Schwab  <schwab@suse.de>
13213         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13214         * sysdeps/gnu/configure: Regenerate.
13216         * configure.in: Substitute libc_cv_rtlddir.
13217         * configure: Regenerate.
13218         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13219         * Makeconfig (rtlddir, inst_rtlddir): New variables.
13220         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13221         * elf/Makefile (install-others, CFLAGS-interp.c)
13222         (ldso_install, common-ldd-rewrite): Likewise.
13223         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13224         $(inst_slibdir)/$(rtld-installed-name).
13225         * scripts/rellns-sh: Add -p option.
13226         * Makerules (make-shlib-link): Use rellns-sh to get relative name
13227         for source.
13229 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13231         * manual/nptl.texi: Renamed to ...
13232         * manual/threads.texi: ... this.
13233         * manual/Makefile (chapters): Update.
13235 2013-03-18  Roland McGrath  <roland@hack.frob.com>
13237         [BZ #14812]
13238         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13239         on argument names, not just descriptions.
13240         * malloc/memusagestat.c (options): Likewise.
13241         * nss/getent.c (options): Likewise.
13243 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
13245         [BZ #14812]
13246         * iconv/iconv_prog.c (options): Put N_ translation marker
13247         on argument names, not just descriptions.
13248         * iconv/iconvconfig.c (options): Likewise.
13250 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
13252         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13253         implementation which is faster on all x86_64 architectures.
13254         Tested on AMD, Intel Nehalem, SNB, IVB.
13255         * sysdeps/x86_64/strnlen.S: Likewise.
13257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13258         Remove all multiarch strlen and strnlen versions.
13259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13260         Remove strlen and strnlen related parts.
13262         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13263         Inline strlen part.
13264         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13266         * sysdeps/x86_64/multiarch/strlen.S: Remove.
13267         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13268         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13269         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13270         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13271         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13273 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
13275         * manual/memory.texi (Malloc Tunable Parameters):
13276         Sort parameters alphabetically. Add comments for missing entries.
13278 2013-03-17  David S. Miller  <davem@davemloft.net>
13280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13282 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
13284         [BZ #15283]
13285         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13286         for arguments at most half maximum finite value.
13287         * math/libm-test.inc (j0_test): Add more tests.
13288         (j1_test): Likewise.
13289         (y0_test): Likewise.
13290         (y1_test): Likewise.
13291         * sysdeps/i386/fpu/libm-test-ulps: Update.
13292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13294         [BZ #14155]
13295         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13296         1 / x and functions P and Q for arguments above 0x1p256L.
13297         (__ieee754_y0l): Likewise.
13298         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13299         (__ieee754_y1l): Likewise.
13300         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13301         (j1_test): Likewise.
13302         (y0_test): Likewise.
13303         (y1_test): Likewise.
13305 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
13307         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13308         variable.
13310 2013-03-15  Roland McGrath  <roland@hack.frob.com>
13312         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13313         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13314         zero since it's initialized to EXEC_PAGESIZE.
13316         * sysdeps/unix/sysv/linux/ldsodefs.h
13317         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13318         * sysdeps/generic/ldsodefs.h: ... here.
13320 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
13322         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13324         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13325         math/test-snan.c.
13326         * math/test-snan.c: Renamed from
13327         sysdeps/powerpc/fpu/test-powerpc-snan.c.
13328         * math/Makefile (tests): Add test-snan.
13329         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13330         test-powerpc-snan.
13332         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13333         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
13334         functions.
13335         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
13336         __builtin_nan family of functions.
13337         * math/libm-test.inc (initialize): Initialize qnan_value with
13338         __builtin_nan family of functions.
13339         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13340         Remove variables.
13341         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13342         Remove functions.
13343         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
13344         storage class.  Initialize qNaN_var and sNaN_var with
13345         __builtin_nan and __builtin_nans families of functions,
13346         respectively.
13348         * math/libm-test.inc (acosh_test): Also test with qNaN input.
13349         (sqrt_test): Remove duplicate test with qNaN input.
13350         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13351         (round_test, signbit_test, significand_test): Note missing +/-Inf
13352         as well as qNaN tests.
13354         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13355         qNaN_var.  Fix a few strings, too.
13356         * math/libm-test.inc (nan_value): Rename to qnan_value.
13357         * math/gen-libm-test.pl (%beautify): Adjust to that.
13358         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13359         * math/test-misc.c (main): Likewise.
13360         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13361         to __qnan_bytes, and __qnan_union, respectively.
13362         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13363         Likewise.
13364         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13365         and lqnanval, respectively.
13366         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13367         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13368         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13369         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13371         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13372         * math/test-misc.c (main) [__x86_64__]: Enable test for long
13373         doubles.
13375         * math/test-misc.c (main): Fix copy'n'pastos.
13376         * misc/tst-efgcvt.c (special): Likewise.
13378         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13379         Remove declarations.
13381 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13383         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13384         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13385         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13386         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13388 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13390         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13391         macro to return vdso values correctly in IFUNC implementations.
13392         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13393         Optimization by using IFUNC.
13395 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13396             Richard Henderson  <rth@redhat.com>
13397             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13399         * Makefile.in (bench): New target.
13400         * NEWS: Mention the benchmark framework.
13401         * Rules (bench): Likewise.
13402         (binaries-bench): Generate binaries for functions to
13403         benchmark.
13404         * benchtests/Makefile: New makefile for benchmark tests.
13405         * benchtests/bench-skeleton.c: New skeleton file for benchmark
13406         programs.
13407         * benchtests/exp-inputs: New input file for EXP function.
13408         * benchtests/pow-inputs: New input file for POW function.
13409         * scripts/bench.pl: New script to generate source files for
13410         benchmark programs.
13412 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13414         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13415         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13416         computations on mantissa.  Use macros for rounding and
13417         division.
13418         (denorm): Likewise.
13419         (__dbl_mp): Likewise.
13420         (add_magnitudes): Likewise.
13421         (sub_magnitudes): Likewise.
13422         (__mul): Likewise.
13423         (__sqr): Likewise.
13424         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
13425         powers of two in terms of TWOPOW macro.
13426         (mp_no): Make type of mantissa as MANTISSA_T.
13427         [!RADIXI]: Define RADIXI.
13428         [!TWO52]: Define TWO52.
13429         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13431         * manual/nptl.texi (cindex): Modify threads to pthreads.
13433 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
13435         * sysdeps/x86_64/preconfigure: Regenerated.
13437 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
13439         [BZ #14155]
13440         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13441         0x1p28 and above.
13442         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13443         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13444         0x1p28 and above.
13445         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13446         * math/libm-test.inc (j0_test): Do not allow one spurious
13447         underflow exception.
13448         (y1_test): Likewise.
13450 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13452         * manual/Makefile (chapters): Add nptl.
13453         * manual/debug.texi (Debugging Support): Add link to Threads
13454         chapter.
13455         * manual/nptl.texi: New file.
13457         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13459 2013-03-14  Petr Baudis  <pasky@ucw.cz>
13461         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13462         for non-NULL pointer before the memory validity test. Pointed
13463         out by Holger Brunck <holger.brunck@keymile.com>.
13465 2013-03-13  Andreas Schwab  <schwab@suse.de>
13467         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13468         instead of .os.
13470 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
13472         * timezone/zic.c: Update from tzcode 2013b.
13474 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
13476         * manual/install.texi (Configuring and compiling):
13477         Mention i686 and i586.
13478         * INSTALL: Regenerate.
13480 2013-03-12  Roland McGrath  <roland@hack.frob.com>
13482         * sysdeps/init_array/elf-init.c: New file.
13483         * csu/elf-init.c
13484         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13485         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13487         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13488         __gmon_start__ as global, but as static with a .preinit_array pointer.
13489         * sysdeps/init_array/gmon-start.c: New file.  Use that.
13490         * sysdeps/init_array/crti.S: New file, empty except for comments.
13491         * sysdeps/init_array/crtn.S: Likewise.
13493 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
13495         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13496         definining bcopy.
13497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13498         Remove Prefer_SSE_for_memop.
13499         * sysdeps/x86_64/multiarch/init-arch.h: Remove
13500         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13501         HAS_PREFER_SSE_FOR_MEMOP.
13502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13503         memset-x86-64.
13504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13505         Remove bzero, memset ifunc support.
13506         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13507         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13508         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13509         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13511 2013-03-11  Andreas Schwab  <schwab@suse.de>
13513         [BZ #15234]
13514         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13515         by SHLIB_COMPAT.
13516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13517         (GLIBC_2.16): Remove pthread_atfork.
13519 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13521         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13522         (ptestcases.h): Likewise.
13524 2013-03-08  Roland McGrath  <roland@hack.frob.com>
13526         * Makeconfig ($(common-objpfx)config.status): Depend on
13527         sysdeps/*/preconfigure{,.in} too.
13529 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
13531         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13532         (__free_hook): Use void * instead of __malloc_ptr_t.
13533         (__malloc_hook): Likewise.
13534         (__realloc_hook): Likewise.
13535         (__memalign_hook): Likewise.
13536         (__after_morecore_hook): Likewise.
13537         * malloc/arena.c (save_malloc_hook): Likewise.
13538         (save_free_hook): Likewise.
13539         * malloc/hooks.c (malloc_hook_ini): Likewise.
13540         (realloc_hook_ini): Likewise.
13541         (memalign_hook_ini): Likewise.
13542         * malloc/malloc.c (malloc_hook_ini): Likewise.
13543         (realloc_hook_ini): Likewise.
13544         (memalign_hook_ini): Likewise.
13545         (__free_hook): Likewise.
13546         (__malloc_hook): Likewise.
13547         (__realloc_hook): Likewise.
13548         (__memalign_hook): Likewise.
13549         (__libc_malloc): Likewise.
13550         (__libc_free): Likewise.
13551         (__libc_realloc): Likewise.
13552         (__libc_memalign): Likewise.
13553         (__libc_valloc): Likewise.
13554         (__libc_pvalloc): Likewise.
13555         (__libc_calloc): Likewise.
13556         (__posix_memalign): Likewise.
13557         * malloc/morecore.c (__sbrk): Likewise.
13558         (__default_morecore): Likewise.
13560         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13562         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13563         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13564         __malloc_ptrdiff_t.
13566         * malloc/malloc.h (__malloc_size_t): Remove macro.
13567         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13568         __malloc_size_t.
13569         (old_memalign_hook): Likewise.
13570         (old_realloc_hook): Likewise.
13571         (struct hdr): Likewise.
13572         (flood): Likewise.
13573         (mallochook): Likewise.
13574         (memalignhook): Likewise.
13575         (reallochook): Likewise.
13576         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13577         (tr_old_realloc_hook): Likewise.
13578         (tr_old_memalign_hook): Likewise.
13579         (tr_mallochook): Likewise.
13580         (tr_reallochook): Likewise.
13581         (tr_memalignhook): Likewise.
13583 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13585         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13586         default_ldbl_pack and using as default implementation.
13587         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13588         implementation.
13589         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13590         redundant definition.
13591         (ldbl_insert_mantissa): Likewise.
13592         (ldbl_canonicalize): Likewise.
13593         (ldbl_nearbyint): Likewise.
13594         (ldbl_pack): Rename to ldbl_pack_ppc.
13595         (ldbl_unpack): Rename to ldbl_unpack_ppc.
13596         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13597         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13599 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13602         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13603         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13604         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13606         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13607         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13608         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13610 2013-03-07  Andreas Jaeger  <aj@suse.de>
13612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13613         bits/mman-linux.h.
13615 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13617         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13618         Include mpa.h and declare __MPEXP.
13619         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13620         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13621         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13622         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13623         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13624         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13625         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13627         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13628         (__slowpow): Use long double EXPL and LOGL functions to
13629         compute POW.
13630         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13631         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13632         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13633         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13634         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13635         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13638         intermediate variable to calculate exponent.
13639         (__sqr): Likewise.
13640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13641         Likewise.
13642         (__sqr): Likewise.
13644         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13645         [!NO__SQR]: Define __sqr.
13646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13647         and NO__SQR.  Remove all code except __mul and __sqr.  Include
13648         sysdeps/ieee754/dbl-64/mpa.c.
13649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13651         [BZ #12723]
13652         * posix/Makefile (tests): Add tst-pathconf.
13653         * posix/tst-pathconf.c: New test case.
13654         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13655         _PC_PIPE_BUF.
13656         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13658 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
13660         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13662 2013-03-06  Andreas Jaeger  <aj@suse.de>
13664         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13665         definition via __MAP_ANONYMOUS.
13667         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13668         it's not part of Linux headers.
13670         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13671         (MAP_HUGE_MASK): Define.
13673         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13674         Define.
13675         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13676         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13677         Define.
13678         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13679         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13680         Define.
13681         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13682         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13683         Define.
13684         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13686         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13687         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13688         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13689         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13690         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13691         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13693         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13694         Handle f2fs.
13696         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13697         Handle f2fs and efivarfs.
13699         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13700         f2fs.
13702         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13703         (EFIVARFS_MAGIC): Add.
13704         (F2FS_LINK_MAX): Add.
13706 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13708         * stdio-common/vfprintf.c: Replace __builtin_expect with
13709         __glibc_unlikely.
13711 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
13713         [BZ #13550]
13714         * sysdeps/generic/bp-sym.h: Remove file.
13715         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13716         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13717         <bp-sym.h> and <bp-asm.h>.
13718         (__longjmp): Don't use BP_SYM.
13719         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13720         and <bp-asm.h>.
13721         (memcpy): Don't use BP_SYM.
13722         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13723         <bp-sym.h> and <bp-asm.h>.
13724         (memcpy): Don't use BP_SYM.
13725         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13726         <bp-asm.h>.
13727         (memcpy): Don't use BP_SYM.
13728         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13729         <bp-asm.h>.
13730         (memset): Don't use BP_SYM.
13731         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13732         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13733         (__bzero): Don't use BP_SYM.
13734         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13735         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13736         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13737         <bp-sym.h> and <bp-asm.h>.
13738         (memcmp): Don't use BP_SYM.  Remove comment about bounded
13739         pointers.
13740         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13741         <bp-sym.h> and <bp-asm.h>.
13742         (memcpy): Don't use BP_SYM.
13743         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13744         <bp-sym.h> and <bp-asm.h>.
13745         (memset): Don't use BP_SYM.
13746         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13747         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13748         (__bzero): Don't use BP_SYM.
13749         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13750         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13751         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13752         <bp-sym.h> and <bp-asm.h>.
13753         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13754         pointers.
13755         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13756         <bp-sym.h> and <bp-asm.h>.
13757         (memcpy): Don't use BP_SYM.
13758         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13759         <bp-sym.h> and <bp-asm.h>.
13760         (memset): Don't use BP_SYM.
13761         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13762         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13763         (__bzero): Don't use BP_SYM.
13764         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13765         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13766         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13767         <bp-sym.h> and <bp-asm.h>.
13768         (__memchr): Don't use BP_SYM.
13769         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13770         <bp-sym.h> and <bp-asm.h>.
13771         (memcmp): Don't use BP_SYM.  Remove comment about bounded
13772         pointers.
13773         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13774         <bp-sym.h> and <bp-asm.h>.
13775         (memcpy): Don't use BP_SYM.
13776         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13777         <bp-sym.h> and <bp-asm.h>.
13778         (__mempcpy): Don't use BP_SYM.
13779         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13780         <bp-sym.h> and <bp-asm.h>.
13781         (__memrchr): Don't use BP_SYM.
13782         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13783         <bp-sym.h> and <bp-asm.h>.
13784         (memset): Don't use BP_SYM.
13785         (__bzero): Likewise.
13786         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13787         <bp-sym.h> and <bp-asm.h>.
13788         (__rawmemchr): Don't use BP_SYM.
13789         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13790         <bp-sym.h> and <bp-asm.h>.
13791         (__STRCMP): Don't use BP_SYM.
13792         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13793         <bp-sym.h> and <bp-asm.h>.
13794         (strchr): Don't use BP_SYM.
13795         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13796         <bp-sym.h> and <bp-asm.h>.
13797         (__strchrnul): Don't use BP_SYM.
13798         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13799         <bp-sym.h> and <bp-asm.h>.
13800         (strlen): Don't use BP_SYM.
13801         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13802         <bp-sym.h> and <bp-asm.h>.
13803         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13804         pointers.
13805         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13806         <bp-sym.h> and <bp-asm.h>.
13807         (__strnlen): Don't use BP_SYM.
13808         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13809         <bp-sym.h> and <bp-asm.h>.
13810         (__GI__setjmp): Don't use BP_SYM.
13811         (_setjmp): Likewise.
13812         (__sigsetjmp): Likewise.
13813         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13814         (L(start_addresses)): Don't use BP_SYM.
13815         (_start): Likewise.
13816         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13817         <bp-asm.h>.
13818         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13819         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13820         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13821         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13822         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13823         <bp-asm.h>.
13824         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13825         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
13826         about bounded pointers.
13827         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13828         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13829         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13830         <bp-asm.h>.
13831         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
13832         about bounded pointers.  Remove GKM FIXME comments.
13833         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13834         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13835         <bp-asm.h>.
13836         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13837         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
13838         Remove GKM FIXME comments.
13839         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13840         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13841         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13842         <bp-asm.h>.
13843         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
13844         about bounded pointers.  Remove GKM FIXME comment.
13845         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13846         and <bp-asm.h>.
13847         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13848         pointers.
13849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13850         <bp-sym.h> and <bp-asm.h>.
13851         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13853         <bp-sym.h> and <bp-asm.h>.
13854         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13855         comment.
13857 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13859         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13860         call free(NULL).
13862 2013-03-05  David S. Miller  <davem@davemloft.net>
13864         * po/es.po: Update from translation team.
13866 2013-03-05  Andreas Jaeger  <aj@suse.de>
13868         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13869         <bits/mman-linux.h>.
13870         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13871         is fine.
13872         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13873         <bits/mman-linux.h> to end of file.
13874         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13875         is fine.
13876         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13877         <bits/mman-linux.h> to end of file.
13878         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13879         is fine.
13880         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13881         <bits/mman-linux.h> to end of file.
13883         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13884         (MCL_CURRENT, MCL_FUTURE): Define here.
13886 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13888         [BZ #15232]
13889         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13890         attribute_hidden.
13891         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13893 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13895         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13896         fourth parameter needed for rt_sigprocmask syscall.
13897         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13898         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13899         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13900         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13901         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13902         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13904 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
13906         [BZ #13550]
13907         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13908         comment about bounded pointers.
13909         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13910         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13912 2013-03-04  Andreas Jaeger  <aj@suse.de>
13914         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13915         common definitions.
13917         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13918         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13919         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13920         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13921         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13922         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13924 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13926         [BZ #15055]
13927         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13928         __ieee754_sqrl instead of __sqrl.
13930 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
13932         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13933         * sysdeps/powerpc/fpu_control.h: ... here.
13934         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13935         * sysdeps/powerpc/bits/fenvinline.h: ... here.
13936         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13937         * sysdeps/powerpc/bits/mathinline.h: ... here.
13939 2013-03-01  Roland McGrath  <roland@hack.frob.com>
13941         * elf/dl-hwcaps.c (_dl_important_hwcaps):
13942         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13943         to just [NEED_DL_SYSINFO_DSO].
13944         * elf/dl-support.c: Likewise.
13945         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13946         * elf/rtld.c (dl_main): Likewise.
13947         * elf/setup-vdso.h (setup_vdso): Likewise.
13948         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13949         * sysdeps/unix/sysv/linux/dl-sysdep.c
13950         (_dl_discover_osversion): Likewise.
13952 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
13954         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13955         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13957 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13959         * NEWS: Mention libm performance improvements and non-x86 PI
13960         futex support.
13962         * csu/libc-start.c (__pthread_initialize_minimal): Change
13963         function arguments.
13964         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13966 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
13968         [BZ #13550]
13969         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13970         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13971         <bp-sym.h> and <bp-asm.h>.
13972         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13973         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13974         and <bp-asm.h>.
13975         (memcpy): Don't use BP_SYM.
13976         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13977         <bp-asm.h>.
13978         (__mpn_add_n): Don't use BP_SYM.
13979         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13980         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13981         and <bp-asm.h>.
13982         (__mpn_addmul_1): Don't use BP_SYM.
13983         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13984         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13985         <bp-sym.h>.
13986         (_setjmp): Don't use BP_SYM.
13987         (__novmx_setjmp): Likewise.
13988         (__GI__setjmp): Likewise.
13989         (__vmx_setjmp): Likewise.
13990         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13991         <bp-sym.h>.
13992         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13993         (__bzero): Don't use BP_SYM.
13994         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13995         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13996         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13997         <bp-sym.h> and <bp-asm.h>.
13998         (memcpy): Don't use BP_SYM.
13999         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14000         <bp-sym.h> and <bp-asm.h>.
14001         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14002         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14003         <bp-sym.h> and <bp-asm.h>.
14004         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14005         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14006         <bp-asm.h>.
14007         (__mpn_lshift): Don't use BP_SYM.
14008         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14009         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14010         <bp-asm.h>.
14011         (memset): Don't use BP_SYM.
14012         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14013         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14014         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14015         <bp-asm.h>.
14016         (__mpn_mul_1): Don't use BP_SYM.
14017         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14018         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14019         <bp-sym.h> and <bp-asm.h>.
14020         (memcmp): Don't use BP_SYM.
14021         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14022         <bp-sym.h> and <bp-asm.h>.
14023         (memcpy): Don't use BP_SYM.
14024         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14025         <bp-sym.h> and <bp-asm.h>.
14026         (memset): Don't use BP_SYM.
14027         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14028         <bp-sym.h> and <bp-asm.h>.
14029         (strncmp): Don't use BP_SYM.
14030         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14031         <bp-sym.h> and <bp-asm.h>.
14032         (memcpy): Don't use BP_SYM.
14033         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14034         <bp-sym.h> and <bp-asm.h>.
14035         (memset): Don't use BP_SYM.
14036         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14037         <bp-sym.h> and <bp-asm.h>.
14038         (__memchr): Don't use BP_SYM.
14039         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14040         <bp-sym.h> and <bp-asm.h>.
14041         (memcmp): Don't use BP_SYM.
14042         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14043         <bp-sym.h> and <bp-asm.h>.
14044         (memcpy): Don't use BP_SYM.
14045         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14046         <bp-sym.h> and <bp-asm.h>.
14047         (__mempcpy): Don't use BP_SYM.
14048         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14049         <bp-sym.h> and <bp-asm.h>.
14050         (__memrchr): Don't use BP_SYM.
14051         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14052         <bp-sym.h> and <bp-asm.h>.
14053         (memset): Don't use BP_SYM.
14054         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14055         <bp-sym.h> and <bp-asm.h>.
14056         (__rawmemchr): Don't use BP_SYM.
14057         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14058         <bp-sym.h> and <bp-asm.h>.
14059         (__STRCMP): Don't use BP_SYM.
14060         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14061         <bp-sym.h> and <bp-asm.h>.
14062         (strchr): Don't use BP_SYM.
14063         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14064         <bp-sym.h> and <bp-asm.h>.
14065         (__strchrnul): Don't use BP_SYM.
14066         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14067         <bp-sym.h> and <bp-asm.h>.
14068         (strlen): Don't use BP_SYM.
14069         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14070         <bp-sym.h> and <bp-asm.h>.
14071         (strncmp): Don't use BP_SYM.
14072         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14073         <bp-sym.h> and <bp-asm.h>.
14074         (__strnlen): Don't use BP_SYM.
14075         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14076         <bp-asm.h>.
14077         (__mpn_rshift): Don't use BP_SYM.
14078         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14079         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14080         <bp-sym.h> and <bp-asm.h>.
14081         (__sigsetjmp): Don't use BP_SYM.
14082         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14083         (L(start_addresses)): Don't use BP_SYM.
14084         (_start): Likewise.
14085         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14086         <bp-asm.h>.
14087         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14088         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14089         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14090         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14091         <bp-asm.h>.
14092         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14093         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14094         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14095         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14096         <bp-asm.h>.
14097         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
14098         comments.
14099         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14100         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14101         <bp-asm.h>.
14102         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
14103         FIXME comments.
14104         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14105         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14106         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14107         <bp-asm.h>.
14108         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
14109         comment.
14110         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14111         and <bp-asm.h>.
14112         (strncmp): Don't use BP_SYM,
14113         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14114         <bp-asm.h>.
14115         (__mpn_sub_n): Don't use BP_SYM.
14116         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14117         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14118         and <bp-asm.h>.
14119         (__mpn_submul_1): Don't use BP_SYM.
14120         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14122         <bp-sym.h> and <bp-asm.h>.
14123         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14125         <bp-sym.h> and <bp-asm.h>.
14126         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
14127         comment.
14129 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14132         Use ZK to minimize writes to Z.
14133         (sub_magnitudes): Simplify code a bit.
14134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14135         Use ZK to minimize writes to Z.
14136         (sub_magnitudes): Simplify code a bit.
14138 2013-02-27  Roland McGrath  <roland@hack.frob.com>
14140         * csu/gmon-start.c: Add special exception to license text.
14142 2013-02-27  Richard Henderson  <rth@redhat.com>
14144         * scripts/config.guess: Update from config.git.
14145         * scripts/config.sub: Likewise.
14147 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14149         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14151         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14153         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14155         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14157         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14159 2013-02-26  Roland McGrath  <roland@hack.frob.com>
14161         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14162         [$(build-shared = yes].
14164 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14166         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14167         (__mul): Reduce iterations for calculating mantissa.
14169         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14170         MPTWO.
14171         (__mpranred): Likewise.
14173         [BZ #15160]
14174         * malloc/memusagestat.c (main): Draw graphs for heap and stack
14175         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14177 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
14179         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14180         Define __attribute__.
14182 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14184         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14185         unused.
14186         * posix/regex_internal.h (__attribute): Remove.
14187         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14188         (re_string_context_at): Likewise.
14189         (bitset_not): Use __attribute__ and mark function as possibly
14190         unused.
14191         (bitset_merge): Likewise.
14192         (bitset_mask): Likewise.
14193         (re_string_char_size_at): Likewise.
14194         (re_string_wchar_at): Likewise.
14195         (re_string_elem_size_at): Likewise.
14197 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14199         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14200         code.
14201         (cc32): Likewise.
14203         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14204         (__acr): Likewise.
14205         (__cpy): Likewise.
14206         (norm): Likewise.
14207         (denorm): Likewise.
14208         (__dbl_mp): Likewise.
14209         (add_magnitudes): Likewise.
14210         (sub_magnitudes): Likewise.
14211         (__mul): Likewise.
14212         (__inv): Likewise.
14214         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14215         style.
14217         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14218         style.
14220         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14221         code.
14223         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14224         up changes with default code.
14225         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14226         Likewise.
14228 2013-02-24  Allan McRae  <allan@archlinux.org>
14230         * manual/socket.texi (The Internet Namespace): Order menu items
14231         to match that in the file.
14233         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14234         node listing of the info page menu.
14236 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
14238         [BZ #13550]
14239         * sysdeps/i386/bp-asm.h: Remove file.
14240         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14241         (PARMS): Do not use macros from bp-asm.h.
14242         (S1): Likewise.
14243         (S2): Likewise.
14244         (SIZE): Likewise.
14245         (__mpn_add_n): Do not use BP_SYM
14246         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14247         "bp-asm.h".
14248         (PARMS): Do not use macros from bp-asm.h.
14249         (S1): Likewise.
14250         (SIZE): Likewise.
14251         (__mpn_addmul_1): Do not use BP_SYM
14252         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14253         "bp-asm.h".
14254         (PARMS): Do not use macros from bp-asm.h.
14255         (SIGMSK): Likewise.
14256         (_setjmp): Likewise.  Do not use BP_SYM.
14257         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14258         "bp-asm.h".
14259         (PARMS): Do not use macros from bp-asm.h.
14260         (SIGMSK): Likewise.
14261         (setjmp): Likewise.  Do not use BP_SYM.
14262         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14263         "bp-asm.h".
14264         (PARMS): Do not use macros from bp-asm.h.
14265         (__frexp): Do not use BP_SYM.
14266         (frexp): Likewise.
14267         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14268         "bp-asm.h".
14269         (PARMS): Do not use macros from bp-asm.h.
14270         (__frexpf): Do not use BP_SYM.
14271         (frexpf): Likewise.
14272         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14273         "bp-asm.h".
14274         (PARMS): Do not use macros from bp-asm.h.
14275         (__frexpl): Do not use BP_SYM.
14276         (frexpl): Likewise.
14277         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14278         "bp-asm.h".
14279         (PARMS): Do not use macros from bp-asm.h.
14280         (__remquo): Do not use BP_SYM.
14281         (remquo): Likewise.
14282         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14283         "bp-asm.h".
14284         (PARMS): Do not use macros from bp-asm.h.
14285         (__remquof): Do not use BP_SYM.
14286         (remquof): Likewise.
14287         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14288         "bp-asm.h".
14289         (PARMS): Do not use macros from bp-asm.h.
14290         (__remquol): Do not use BP_SYM.
14291         (remquol): Likewise.
14292         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14293         "bp-asm.h".
14294         (PARMS): Do not use macros from bp-asm.h.
14295         (DEST): Likewise.
14296         (SRC): Likewise.
14297         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
14298         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14299         "bp-asm.h".
14300         (PARMS): Do not use macros from bp-asm.h.
14301         (strlen): Do not use BP_SYM.
14302         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14303         "bp-asm.h".
14304         (PARMS): Do not use macros from bp-asm.h.
14305         (S1): Likewise.
14306         (S2): Likewise.
14307         (SIZE): Likewise.
14308         (__mpn_add_n): Do not use BP_SYM.
14309         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14310         "bp-asm.h".
14311         (PARMS): Do not use macros from bp-asm.h.
14312         (S1): Likewise.
14313         (SIZE): Likewise.
14314         (__mpn_addmul_1): Do not use BP_SYM.
14315         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14316         weak_alias.
14317         (bzero): Likewise.
14318         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14319         "bp-asm.h".
14320         (PARMS): Do not use macros from bp-asm.h.
14321         (S): Likewise.
14322         (SIZE): Likewise.
14323         (__mpn_lshift): Do not use BP_SYM.
14324         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14325         "bp-asm.h".
14326         (PARMS): Do not use macros from bp-asm.h.
14327         (DEST): Likewise.
14328         (SRC): Likewise.
14329         (LEN): Likewise.
14330         (memcpy): Likewise.  Do not use BP_SYM.
14331         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14332         libc_hidden_def and weak_alias.
14333         (mempcpy): Do not use BP_SYM in weak_alias.
14334         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14335         "bp-asm.h".
14336         (PARMS): Do not use macros from bp-asm.h.
14337         (DEST): Likewise.
14338         (LEN): Likewise.
14339         [!BZERO_P] (CHR): Likewise.
14340         (memset): Likewise.  Do not use BP_SYM.
14341         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14342         "bp-asm.h".
14343         (PARMS): Do not use macros from bp-asm.h.
14344         (S1): Likewise.
14345         (SIZE): Likewise.
14346         (__mpn_mul_1): Do not use BP_SYM.
14347         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14348         "bp-asm.h".
14349         (PARMS): Do not use macros from bp-asm.h.
14350         (S): Likewise.
14351         (SIZE): Likewise.
14352         (__mpn_rshift): Do not use BP_SYM.
14353         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14354         "bp-asm.h".
14355         (PARMS): Do not use macros from bp-asm.h.
14356         (STR): Likewise.
14357         (CHR): Likewise.
14358         (strchr): Likewise.  Do not use BP_SYM.
14359         (index): Do not use BP_SYM in weak_alias.
14360         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14361         "bp-asm.h".
14362         (PARMS): Do not use macros from bp-asm.h.
14363         (DEST): Likewise.
14364         (SRC): Likewise.
14365         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
14366         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14367         "bp-asm.h".
14368         (PARMS): Do not use macros from bp-asm.h.
14369         (strlen): Do not use BP_SYM.
14370         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14371         "bp-asm.h".
14372         (PARMS): Do not use macros from bp-asm.h.
14373         (S1): Likewise.
14374         (S2): Likewise.
14375         (SIZE): Likewise.
14376         (__mpn_sub_n): Do not use BP_SYM.
14377         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14378         "bp-asm.h".
14379         (PARMS): Do not use macros from bp-asm.h.
14380         (S1): Likewise.
14381         (SIZE): Likewise.
14382         (__mpn_submul_1): Do not use BP_SYM.
14383         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14384         "bp-asm.h".
14385         (PARMS): Do not use macros from bp-asm.h.
14386         (S1): Likewise.
14387         (S2): Likewise.
14388         (SIZE): Likewise.
14389         (__mpn_add_n): Do not use BP_SYM.
14390         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14391         weak_alias.
14392         (bzero): Likewise.
14393         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14394         "bp-asm.h".
14395         (PARMS): Do not use macros from bp-asm.h.
14396         (BLK2): Likewise.
14397         (LEN): Likewise.
14398         (memcmp): Do not use BP_SYM.
14399         (bcmp): Do not use BP_SYM in weak_alias.
14400         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14401         "bp-asm.h".
14402         (PARMS): Do not use macros from bp-asm.h.
14403         (DEST): Likewise.
14404         (SRC): Likewise.
14405         (LEN): Likewise.
14406         (memcpy): Likewise.  Do not use BP_SYM.
14407         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14408         "bp-asm.h".
14409         (PARMS): Do not use macros from bp-asm.h.
14410         (DEST): Likewise.
14411         (SRC): Likewise.
14412         (LEN): Likewise.
14413         (memmove): Likewise.  Do not use BP_SYM.
14414         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14415         "bp-asm.h".
14416         (PARMS): Do not use macros from bp-asm.h.
14417         (DEST): Likewise.
14418         (SRC): Likewise.
14419         (LEN): Likewise.
14420         (__mempcpy): Likewise.  Do not use BP_SYM.
14421         (mempcpy): Do not use BP_SYM in weak_alias.
14422         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14423         "bp-asm.h".
14424         (PARMS): Do not use macros from bp-asm.h.
14425         (DEST): Likewise.
14426         (LEN): Likewise.
14427         [!BZERO_P] (CHR): Likewise.
14428         (memset): Likewise.  Do not use BP_SYM.
14429         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14430         "bp-asm.h".
14431         (PARMS): Do not use macros from bp-asm.h.
14432         (STR2): Likewise.
14433         (strcmp): Do not use BP_SYM.
14434         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14435         "bp-asm.h".
14436         (PARMS): Do not use macros from bp-asm.h.
14437         (STR): Likewise.
14438         (DELIM): Likewise.
14439         [USE_AS_STRTOK_R] (SAVE): Likewise.
14440         (FUNCTION): Likewise.  Do not use BP_SYM.
14441         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14442         aliases.
14443         (strtok_r): Likewise.
14444         (__GI___strtok_r): Likewise.
14445         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14446         (PARMS): Do not use macros from bp-asm.h.
14447         (S): Likewise.
14448         (SIZE): Likewise.
14449         (__mpn_lshift): Do not use BP_SYM.
14450         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14451         (PARMS): Do not use macros from bp-asm.h.
14452         (STR): Likewise.
14453         (CHR): Likewise.
14454         (__memchr): Do not use BP_SYM.
14455         (memchr): Do not use BP_SYM in weak_alias.
14456         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14457         (PARMS): Do not use macros from bp-asm.h.
14458         (BLK2): Likewise.
14459         (LEN): Likewise.
14460         (memcmp): Do not use BP_SYM.
14461         (bcmp): Do not use BP_SYM in weak_alias.
14462         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14463         (PARMS): Do not use macros from bp-asm.h.
14464         (S1): Likewise.
14465         (SIZE): Likewise.
14466         (__mpn_mul_1): Do not use BP_SYM.
14467         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14468         "bp-asm.h".
14469         (PARMS): Do not use macros from bp-asm.h.
14470         (STR): Likewise.
14471         (CHR): Likewise.
14472         (__rawmemchr): Do not use BP_SYM.
14473         (rawmemchr): Do not use BP_SYM in weak_alias.
14474         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14475         (PARMS): Do not use macros from bp-asm.h.
14476         (S): Likewise.
14477         (SIZE): Likewise.
14478         (__mpn_rshift): Do not use BP_SYM.
14479         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14480         (PARMS): Do not use macros from bp-asm.h.
14481         (SIGMSK): Likewise.
14482         (__sigsetjmp): Likewise.  Do not use BP_SYM.
14483         * sysdeps/i386/start.S: Do not include "bp-sym.h".
14484         (_start): Do not use BP_SYM.
14485         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14486         (PARMS): Do not use macros from bp-asm.h.
14487         (DEST): Likewise.
14488         (SRC): Likewise.
14489         (__stpcpy): Likewise.  Do not use BP_SYM.
14490         (stpcpy): Do not use BP_SYM in weak_alias.
14491         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14492         "bp-asm.h".
14493         (PARMS): Do not use macros from bp-asm.h.
14494         (DEST): Likewise.
14495         (SRC): Likewise.
14496         (LEN): Likewise.
14497         (__stpncpy): Likewise.  Do not use BP_SYM.
14498         (stpncpy): Do not use BP_SYM in weak_alias.
14499         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14500         (PARMS): Do not use macros from bp-asm.h.
14501         (STR): Likewise.
14502         (CHR): Likewise.
14503         (strchr): Likewise.  Do not use BP_SYM.
14504         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14505         "bp-asm.h".
14506         (PARMS): Do not use macros from bp-asm.h.
14507         (STR): Likewise.
14508         (CHR): Likewise.
14509         (__strchrnul): Likewise.  Do not use BP_SYM.
14510         (strchrnul): Do not use BP_SYM in weak_alias.
14511         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14512         "bp-asm.h".
14513         (PARMS): Do not use macros from bp-asm.h.
14514         (STOP): Likewise.
14515         (strcspn): Do not use BP_SYM.
14516         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14517         "bp-asm.h".
14518         (PARMS): Do not use macros from bp-asm.h.
14519         (STR): Likewise.
14520         (STOP): Likewise.
14521         (strpbrk): Likewise.  Do not use BP_SYM.
14522         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14523         "bp-asm.h".
14524         (PARMS): Do not use macros from bp-asm.h.
14525         (STR): Likewise.
14526         (CHR): Likewise.
14527         (strrchr): Likewise.  Do not use BP_SYM.
14528         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14529         (PARMS): Do not use macros from bp-asm.h.
14530         (SKIP): Likewise.
14531         (strspn): Do not use BP_SYM.
14532         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14533         (PARMS): Do not use macros from bp-asm.h.
14534         (STR): Likewise.
14535         (DELIM): Likewise.
14536         (SAVE): Likewise.
14537         (FUNCTION): Likewise.  Do not use BP_SYM.
14538         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14539         aliases.
14540         (strtok_r): Likewise.
14541         (__GI___strtok_r): Likewise.
14542         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14543         (PARMS): Do not use macros from bp-asm.h.
14544         (S1): Likewise.
14545         (S2): Likewise.
14546         (SIZE): Likewise.
14547         (__mpn_sub_n): Do not use BP_SYM.
14548         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14549         "bp-asm.h".
14550         (PARMS): Do not use macros from bp-asm.h.
14551         (S1): Likewise.
14552         (SIZE): Likewise.
14553         (__mpn_submul_1): Do not use BP_SYM.
14554         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14555         <bp-sym.h>.
14556         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14557         and <bp-asm.h>.
14558         (PARMS): Do not use macros from bp-asm.h.
14559         (FLAGS): Likewise.
14560         (PTID): Likewise.
14561         (TLS): Likewise.
14562         (CTID): Likewise.
14563         (__clone): Do not use BP_SYM.
14564         (clone): Do not use BP_SYM in weak_alias.
14565         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14566         and <bp-asm.h>.
14567         (PARMS): Do not use macros from bp-asm.h.
14568         (LEN): Likewise.
14569         (__mmap64): Do not use BP_SYM.
14570         (mmap64): Do not use BP_SYM in weak_alias.
14571         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14572         <bp-sym.h> and <bp-asm.h>.
14573         (PARMS): Do not use macros from bp-asm.h.
14574         (__posix_fadvise64_l64): Do not use BP_SYM.
14575         * sysdeps/unix/sysv/linux/i386/semtimedop.S
14576         (PARMS): Do not use macros from bp-asm.h.
14577         (NSOPS): Likewise.
14578         (semtimedop): Do not use BP_SYM.
14579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14580         and <bp-asm.h>.
14582 2013-02-21  Allan McRae  <allan@archlinux.org>
14584         * manual/message.texi (Charset conversion in gettext):
14585         Move @end statement to beginning of line.
14587 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14590         static.
14591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14592         Likewise.
14594         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14595         (denorm): Likewise.
14596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14599 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14601         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14602         tail-call to the resolved function if pltexit isn't needed.
14604 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14607         or Y being zero as being unlikely.
14608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14609         Likewise.
14611 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
14613         * manual/nss.texi (System Databases and Name Service Switch):
14614         Remove frobnicate @pxref.
14616 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
14618         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14619         __attribute__ ((unused)) to __attribute__ ((__unused__)).
14621 2013-02-20  Petr Machata  <pmachata@redhat.com>
14623         * elf/elf.h (R_ARM_TARGET1): New macro.
14624         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14625         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14626         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14627         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14628         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14629         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14630         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14631         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14632         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14633         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14634         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14635         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14636         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14637         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14638         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14639         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14640         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14641         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14642         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14643         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14644         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14645         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14646         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14647         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14648         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14649         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14650         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14651         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14652         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14653         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14654         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14655         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14656         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14657         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14658         (R_ARM_THM_GOT_BREL12): Likewise.
14659         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14660         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14661         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14662         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14663         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14664         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14665         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14666         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14667         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14669 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
14671         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14672         __attribute_used__ to __attribute__ ((unused)).
14674 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14676         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14677         powerpc mpa.c.
14678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14679         comment formatting.
14680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14682 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
14684         [BZ #13550]
14685         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14686         Remove macro.
14687         (ENTER): Remove both macro definitions.
14688         (LEAVE): Likewise.
14689         (CHECK_BOUNDS_LOW): Likewise.
14690         (CHECK_BOUNDS_HIGH): Likewise.
14691         (CHECK_BOUNDS_BOTH): Likewise.
14692         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14693         (RETURN_BOUNDED_POINTER): Likewise.
14694         (RETURN_NULL_BOUNDED_POINTER): Likewise.
14695         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14696         (POP_ERRNO_LOCATION_RETURN): Likewise.
14697         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14698         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14699         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14700         macros.
14701         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14702         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14703         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14704         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14705         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14706         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14707         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14708         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14709         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14710         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14711         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14712         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14713         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14714         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14715         removed macros.
14716         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14717         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14718         macros.
14719         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14720         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14721         * sysdeps/i386/i586/memset.S (memset): Likewise.
14722         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14723         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14724         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14725         macros.
14726         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14727         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14728         Change uses of L(2) to L(out).
14729         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14730         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14731         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14732         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14733         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14734         removed macros.
14735         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14736         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14737         macros.
14738         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14739         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14740         (RETURN): Do not use macro LEAVE.
14741         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14742         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14743         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14744         * sysdeps/i386/i686/memset.S (memset): Likewise.
14745         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14746         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14747         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14748         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14749         Likewise.
14750         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14751         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
14752         L(1_2) and L(1_3) into L(1).
14753         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14754         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14755         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14756         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14757         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14758         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14759         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14760         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14761         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14762         macros.
14763         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14764         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14765         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14766         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14767         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14768         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14769         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14770         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14771         * sysdeps/i386/strcspn.S (strcspn): Likewise.
14772         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14773         * sysdeps/i386/strrchr.S (strrchr): Likewise.
14774         * sysdeps/i386/strspn.S (strspn): Likewise.
14775         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14776         conditional code.
14777         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14778         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14779         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14780         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
14781         L(1_3) into L(1_1).
14782         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14783         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14784         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14785         macros.
14786         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14788 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
14790         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14791         macro.
14793 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14795         * math/atest-exp.c (exp_mpn): Remove ROUND.
14796         * math/atest-exp2.c (exp_mpn): Likewise.
14797         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14799         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14800         * stdlib/tst-tls-atexit-lib.c: Likewise.
14801         * stdlib/tst-tls-atexit.c: Likewise.
14803 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
14805         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14806         and __attribute_alloc_size__.
14808 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
14810         * include/programs/xmalloc.h: Change __attribute_alloc_size to
14811         __attribute_alloc_size__.
14812         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14813         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14815 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
14817         * include/programs/xmalloc.h: New file.
14818         * catgets/gencat.c: Include it.
14819         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14820         * elf/pldd.c: Likewise.
14821         * iconv/iconv_charmap.c: Likewise.
14822         * iconv/iconvconfig.c: Likewise.
14823         * iconv/strtab.c: Likewise.
14824         * locale/programs/locale.c: Likewise.
14825         * locale/programs/localedef.h: Likewise.
14826         * locale/programs/simple-hash.c: Likewise.
14827         * nscd/nscd.h: Likewise.
14828         * nss/makedb.c: Likewise.
14829         * sysdeps/generic/ldconfig.h: Likewise.
14831 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14833         * Versions.def: Add GLIBC_2.18.
14834         * include/link.h (struct link_map): New member l_tls_dtor_count.
14835         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14836         (__call_tls_dtors): Likewise.
14837         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14838         __cxa_thread_atexit_impl.
14839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14840         Likewise.
14841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14842         Likewise.
14843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14844         Likewise.
14845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14846         Likewise.
14847         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14849         Likewise.
14850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14851         Likewise.
14852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14854         Likewise.
14855         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14856         (tests): Add test case tst-tls-atexit.
14857         (modules-names): Add shared library for tst-tls-atexit.
14858         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14859         (GLIBC_PRIVATE): Add __call_tls_dtors.
14860         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14861         for libstdc++.
14862         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14863         * stdlib/tst-tls-atexit.c: New test case.
14864         * stdlib/tst-tls-atexit-lib.c: New test case.
14866         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14868         * elf/Versions (ld): Add _dl_find_dso_for_object.
14869         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14870         * elf/dl-open.c (_dl_find_dso_for_object): New function.
14871         (dl_open_worker): Use _dl_find_dso_for_object.
14872         * elf/dl-sym.c (do_sym): Likewise.
14873         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14875 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14877         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14878         Syntactic changes only.
14879         (_dl_runtime_profile): Do a tail-call to the resolved function.
14881 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
14883         [BZ #13550]
14884         * sysdeps/x86_64/bp-asm.h: Remove file.
14885         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14886         <bp-sym.h> and <bp-asm.h>.
14887         (__clone): Do not use BP_SYM.
14888         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14889         <bp-sym.h> and <bp-asm.h>.
14890         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14891         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14892         "bp-asm.h".
14893         (_setjmp): Do not use BP_SYM.
14894         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14895         "bp-asm.h".
14896         (setjmp): Do not use BP_SYM.
14897         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14898         libc_hidden_def.
14899         (mempcpy): Do not use BP_SYM in weak_alias.
14900         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14901         "bp-asm.h".
14902         (strchr): Do not use BP_SYM.
14903         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14904         "bp-asm.h".
14905         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14906         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14907         (_start): Do not use BP_SYM.
14908         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14909         "bp-asm.h".
14910         (strcat): Do not use BP_SYM.
14911         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14912         "bp-asm.h".
14913         (STRCMP): Do not use BP_SYM.
14914         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14915         "bp-asm.h".
14916         (STRCPY): Do not use BP_SYM.
14917         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14918         "bp-asm.h".
14919         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14920         "bp-asm.h".
14921         (FUNCTION): Do not use BP_SYM.
14922         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14923         weak_alias.
14924         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14926 2013-02-17  Andreas Jaeger  <aj@suse.de>
14928         * time/Versions: Sort entries.
14929         * string/Versions: Likewise.
14930         * resolv/Versions: Likewise.
14931         * posix/Versions: Likewise.
14932         * iconv/Versions: Likewise.
14933         * elf/Versions: Likewise.
14934         * wcsmbs/Versions: Likewise.
14936 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14938         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14939         loop termination condition.
14941         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14942         variable to calculate EZ.
14943         (__sqr): Likewise.
14945         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14946         the lower precision input.
14948 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
14950         [BZ #13550]
14951         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14952         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14953         (run-via-rtld-prefix): Do not handle %-bp tests.
14954         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14955         (all-object-suffixes): Remove .ob.
14956         (bppfx): Remove variable.
14957         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14958         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14959         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14960         [$(build-bounded) = yes] (libtype.ob): Likewise.
14961         * Makerules (elide-routines.ob): Remove variable.
14962         (do-tests-clean): Do not handle *-bp.out.
14963         (common-mostlyclean): Do not handle *-bp and *-bp.out.
14964         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14965         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14966         (tests): Do not include $(tests-bp.out).
14967         (xtests): Do not include $(xtests-bp.out).
14968         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14969         [$(build-bounded) = yes] ($(addprefix
14970         $(objpfx),$(binaries-bounded))): Remove rule.
14971         ($(objpfx)%-bp.out): Remove rule.
14972         * config.make.in (build-bounded): Remove variable.
14973         * crypt/Makefile [$(build-bounded) = yes]
14974         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14975         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14976         append to variable.
14977         [$(build-bounded) = yes] (install-lib): Likewise.
14978         [$(build-bounded) = yes] (generated): Likewise.
14979         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14980         Remove rule.
14981         * intl/Makefile [$(build-bounded) = yes]
14982         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14983         * math/Makefile [$(build-bounded) = yes]
14984         ($(tests:%=$(objpfx)%-bp): Likewise.
14985         * misc/Makefile [$(build-bounded) = yes]
14986         ($(objpfx)tst-tsearch-bp): Likewise.
14987         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14988         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14989         Remove dependency.
14990         * string/Makefile (o-objects.ob): Remove variable.
14991         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14992         (CFLAGS-.ob): Remove variable.
14993         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14994         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14995         both definitions of variable.
14996         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14997         (ASFLAGS-.ob): Remove variable.
14999 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
15001         [BZ #13550]
15002         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15003         Remove __BOUNDED_POINTERS__ from condition.
15004         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15005         * string/bits/string2.h [!__NO_STRING_INLINES &&
15006         !__BOUNDED_POINTERS__]: Likewise.
15007         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15008         Likewise.
15009         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15010         Remove conditional code.
15011         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15012         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15013         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15014         condition.
15016         [BZ #13550]
15017         * csu/libc-start.c: Do not include <bp-sym.h>.
15018         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15019         * elf/dl-open.c: Do not include <bp-sym.h>.
15020         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15021         * math/fegetenv.c: Do not include <bp-sym.h>.
15022         (fegetenv): Do not use BP_SYM in versioned symbols.
15023         * nptl/sysdeps/pthread/bits/libc-lockP.h
15024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15025         <bp-sym.h>.
15026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15027         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15029         (__pthread_mutex_destroy): Likewise.
15030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15031         (__pthread_mutex_lock): Likewise.
15032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15033         (__pthread_mutex_trylock): Likewise.
15034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15035         (__pthread_mutex_unlock): Likewise.
15036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15037         (__pthread_mutexattr_init): Likewise.
15038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15039         (__pthread_mutexattr_destroy): Likewise.
15040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15041         (__pthread_mutexattr_settype): Likewise.
15042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15043         (__pthread_rwlock_init): Likewise.
15044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15045         (__pthread_rwlock_destroy): Likewise.
15046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15047         (__pthread_rwlock_rdlock): Likewise.
15048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15049         (__pthread_rwlock_tryrdlock): Likewise.
15050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15051         (__pthread_rwlock_wrlock): Likewise.
15052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15053         (__pthread_rwlock_trywrlock): Likewise.
15054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15055         (__pthread_rwlock_unlock): Likewise.
15056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15057         (__pthread_key_create): Likewise.
15058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15059         (__pthread_setspecific): Likewise.
15060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15061         (__pthread_getspecific): Likewise.
15062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15063         Likewise.
15064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15065         (_pthread_cleanup_push_defer): Likewise.
15066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15067         (_pthread_cleanup_pop_restore): Likewise.
15068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15069         (pthread_setcancelstate): Likewise.
15070         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15071         <bp-sym.h>.
15072         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15073         (memchr): Do not use BP_SYM in weak_alias.
15074         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15075         (fegetenv): Do not use BP_SYM in versioned symbols.
15076         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15077         (fesetenv): Do not use BP_SYM in versioned symbols.
15078         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15079         (feupdateenv): Do not use BP_SYM in versioned symbols.
15080         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15081         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15082         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15083         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15084         (open64): Do not use BP_SYM in weak_alias.
15085         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15086         (fegetenv): Do not use BP_SYM in versioned symbols.
15087         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15088         (fesetenv): Do not use BP_SYM in versioned symbols.
15089         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15090         (feupdateenv): Do not use BP_SYM in versioned symbols.
15091         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15092         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15093         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15094         (feraiseexcept): Do not use BP_SYM in versioned symbols.
15095         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15096         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15097         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15098         <bp-sym.h>.
15099         (__libc_start_main): Do not use BP_SYM.
15101 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15104         redundant return line.
15105         (norm): Likewise.
15106         (denorm): Likewise.
15107         (dbl_mp): Likewise.
15108         (sub_magnitudes): Likewise.
15109         (__add): Likewise.
15110         (__sub): Likewise.
15111         (__mul): Likewise.
15112         (__inv): Likewise.
15113         (__dvd): Likewise.
15114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15115         (norm): Likewise.
15116         (denorm): Likewise.
15117         (dbl_mp): Likewise.
15118         (sub_magnitudes): Likewise.
15119         (__add): Likewise.
15120         (__sub): Likewise.
15121         (__mul): Likewise.
15122         (__inv): Likewise.
15123         (__dvd): Likewise.
15125         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15126         instead of __mul.
15127         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15128         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15129         (cc32): Likewise.
15131         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15132         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15133         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15134         of __mul for squares.
15135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15136         function
15137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15138         Likewise.
15139         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15140         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15142 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
15144         [BZ #13550]
15145         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15146         code.
15147         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15148         prototype or function definition.  Rename ubp_* variables and
15149         parameters.  Remove argv definitions conditional on
15150         [__BOUNDED_POINTERS__].
15151         * debug/backtrace.c (__backtrace): Do not use __unbounded.
15152         * elf/dl-runtime.c (_dl_fixup): Likewise.
15153         * include/set-hooks.h (RUN_HOOK): Likewise.
15154         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15155         definition.
15156         * string/strcpy.c (strcpy): Do not use __unbounded.
15157         * sysdeps/generic/frame.h (struct layout): Likewise.
15158         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15159         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15160         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15161         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15162         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15163         (__backtrace): Likewise.
15164         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15165         use __ptrvalue.
15166         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15167         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15168         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15169         Likewise.
15170         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15171         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15172         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15173         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15174         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15175         Do not use __unbounded.
15176         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15177         Rename __unboundedrlimits parameter to rlimits in prototype.
15178         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15179         Do not use __unbounded.
15180         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15181         not use __ptrvalue.
15182         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15183         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15184         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15185         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15186         __ptrvalue or __unbounded.
15187         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15188         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15189         use __unbounded.
15190         (__new_msgctl): Do not use __ptrvalue.
15191         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15192         __unbounded.
15193         (__libc_msgrcv): Do not use __ptrvalue.
15194         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15195         startup_info): Do not use __unbounded.
15196         (__libc_start_main): Likewise.  Rename ubp_* variables and
15197         parameters.  Remove argv definitions conditional on
15198         [__BOUNDED_POINTERS__].
15199         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15200         __ptrvalue.
15201         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15202         use __unbounded.
15203         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15204         or __ptrvalue.
15205         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15206         use __unbounded.
15207         (__new_shmctl): Do not use __ptrvalue.
15208         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15209         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15210         Likewise.
15211         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15212         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15213         (__libc_sigaction): Likewise.
15214         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15215         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15216         Likewise.
15217         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15219 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
15221         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15223         * string/mempcpy.c: Implement by calling memcpy.
15225 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15227         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15229         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15230         evaluation.
15232         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15233         values in the mantissa.
15235         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15236         minimize writes to Z.
15237         (sub_magnitudes): Simplify code a bit.
15239 2013-02-12  Roland McGrath  <roland@hack.frob.com>
15241         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15242         from the message.  The linker prefixes all warnings with that already.
15244 2013-02-12  Andreas Schwab  <schwab@suse.de>
15246         [BZ #15078]
15247         * posix/regexec.c (extend_buffers): Add parameter min_len.
15248         (check_matching): Pass minimum needed length.
15249         (clean_state_log_if_needed): Likewise.
15250         (get_subexp): Likewise.
15251         * posix/Makefile (tests): Add bug-regex34.
15252         (bug-regex34-ENV): Define.
15253         * posix/bug-regex34.c: New file.
15255         [BZ #11561]
15256         * posix/regcomp.c (parse_bracket_exp): When looking up collating
15257         elements compare against the byte sequence of it, not its name.
15258         * posix/Makefile (tests): Add bug-regex35.
15259         (bug-regex35-ENV): Define.
15260         * posix/bug-regex35.c: New file.
15262 2013-02-11  Tom de Vries  <tom@codesourcery.com>
15264         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
15265         comment.
15266         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15267         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15268         (CHECK_EOL): Add undef.
15270 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
15272         * bits/stdlib-bsearch.h: New file.
15273         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15274         * stdlib/stdlib.h: Likewise.
15276 2013-02-11  Roland McGrath  <roland@hack.frob.com>
15278         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15279         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15280         declaration.
15281         * manual/search.texi (Array Search Function): Add missing const in
15282         lfind prototype.
15283         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15284         declaration to use rlim_t.
15285         (Basic Scheduling Functions): Remove erroneous const from
15286         sched_getparam prototype.  Remove erroneous * from
15287         sched_get_priority_max and sched_get_priority_min prototypes.
15288         (Resource Usage): Fix summary @comment on vtimes to refer to
15289         sys/vtimes.h rather than vtimes.h.
15290         Add missing *s in vtimes prototype.
15291         (Limits on Resources): Fix ulimit prototype to return long int.
15292         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15293         prototypes to use long int rather than double.
15294         (BSD Random): Fix initstate and setstate to use char *, not void *.
15295         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15296         prototype to make second argument 'struct aiocb64 *const[]'.
15297         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15298         (Status of AIO Operations): Remove erroneous const in aio_return and
15299         aio_return64 prototypes.
15300         (Synchronizing I/O): Fix sync prototype to return void.
15301         * manual/startup.texi (Suboptions): Remove an erroneous const in
15302         getsubopt prototype.
15303         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15304         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15305         use size_t rather than int.
15306         (Scanning All Users): Likewise for getpwent_r.
15307         (Setting Groups): Add missing const to setgroups prototype.
15308         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15309         * manual/socket.texi (Host Names): Fix gethostbyaddr and
15310         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15311         'const void *' rather than 'const char *'.
15312         (Host Address Functions): Likewise for inet_ntop.
15313         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15314         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15315         ssize_t for return value.
15316         (Sending Data): Likewise for send, sendto, sendmsg.
15317         (Socket Option Functions): Add a missing const in setsockopt prototype.
15318         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15319         use wchar_t for the argument.
15320         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15321         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15322         take no arguments.
15323         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15324         double/float/long double for second argument.
15325         Fix return types of significand, significandf, significandl.
15326         * manual/filesys.texi (Setting Permissions): Use mode_t for second
15327         argument in fchmod prototype.
15328         (File Owner): Use uid_t and gid_t in fchown prototype.
15329         (File Times): Add const to utimes, futimes, and lutimes prototypes.
15330         (Making Special Files): Use mode_t and dev_t in mknod prototype.
15331         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15332         use 'const struct dirent **' as argument types to CMP function pointer
15333         argument.
15334         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15335         (File Times): Fix summary magic @comment for struct utimbuf and utime
15336         to refer to utime.h, not time.h.
15337         * manual/string.texi (Argz Functions): Add missing const in
15338         argz_extract and argz_next prototypes.
15339         (Finding Tokens in a String): Likewise for basename.
15340         (String/Array Comparison): Fix typo in wcscasecmp prototype.
15341         (Copying and Concatenation): Fix typo in wmemmove prototype.
15342         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15343         (Signal Stack): Remove erroneous const in sigstack prototype.
15344         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15345         prototype.
15346         (Simple Calendar Time): Likewise for stime.
15347         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15348         prototype.
15349         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15350         say sys/sysctl.h instead.
15351         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15352         and vsyslog prototypes.
15354 2013-02-11  Tom de Vries  <tom@codesourcery.com>
15356         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15357         Remove.
15359 2013-02-11  Roland McGrath  <roland@hack.frob.com>
15361         * misc/sys/mman.h: Fix typo in mremap comment.
15363 2013-02-08  Roland McGrath  <roland@hack.frob.com>
15365         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15366         the '\0' terminator.
15368 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #13550]
15371         * debug/segfault.c: Don't include <bp-checks.h>.
15372         * sysdeps/generic/bp-checks.h: Remove file.
15373         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15374         (__GETDENTS): Don't use CHECK_N.
15375         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15376         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15377         (__getgroups): Don't use CHECK_N.
15378         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15379         (setgroups): Don't use CHECK_N.
15380         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15381         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15382         (__libc_msgrcv): Don't use CHECK_N.
15383         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15384         (__libc_msgsnd): Don't use CHECK_N.
15385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15386         <bp-checks.h>.
15387         (__libc_pread): Don't use CHECK_N.
15388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15389         include <bp-checks.h>.
15390         (__libc_pread64): Don't use CHECK_N.
15391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15392         include <bp-checks.h>.
15393         (__libc_pwrite): Don't use CHECK_N.
15394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15395         include <bp-checks.h>.
15396         (__libc_pwrite64): Don't use CHECK_N.
15397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15398         <bp-checks.h>.
15399         (__libc_pread): Don't use CHECK_N.
15400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15401         include <bp-checks.h>.
15402         (__libc_pread64): Don't use CHECK_N.
15403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15404         include <bp-checks.h>.
15405         (__libc_pwrite): Don't use CHECK_N.
15406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15407         include <bp-checks.h>.
15408         (__libc_pwrite64): Don't use CHECK_N.
15409         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15410         (do_pread): Don't use CHECK_N.
15411         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15412         (do_pread64): Don't use CHECK_N.
15413         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15414         (do_pwrite): Don't use CHECK_N.
15415         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15416         (do_pwrite64): Don't use CHECK_N.
15417         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15418         (__libc_readv): Don't use CHECK_N.
15419         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15420         (semop): Don't use CHECK_N.
15421         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15422         <bp-checks.h>.
15423         (semtimedop): Don't use CHECK_N.
15424         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15425         (__libc_pread): Don't use CHECK_N.
15426         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15427         <bp-checks.h>.
15428         (__libc_pread64): Don't use CHECK_N.
15429         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15430         <bp-checks.h>.
15431         (__libc_pwrite): Don't use CHECK_N.
15432         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15433         <bp-checks.h>.
15434         (__libc_pwrite64): Don't use CHECK_N.
15435         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15436         <bp-checks.h>.
15437         (__libc_msgrcv): Don't use CHECK_N.
15438         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15439         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
15440         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15441         (__libc_writev): Don't use CHECK_N.
15443 2013-02-08  Roland McGrath  <roland@hack.frob.com>
15445         * string/strcpy.c: Removed unused variable.
15447         * Makeconfig (+sysdep-includes): Define with := rather than =.
15448         Use an existing include/ subdir of each sysdeps dir before it.
15450 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15452         * nscd/connection.c (register_traced_file): Comment function.
15453         [HAVE_INOTIFY] (union __inev): Define.
15454         [HAVE_INOTIFY] (inotify_check_files): New function.
15455         [HAVE_INOTIFY] (clear_db_cache): Likewise.
15456         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15457         clear_db_cache.
15458         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15460 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15462         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15463         loaded if not already and that a failure is permanent.
15465 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
15467         [BZ #15006]
15468         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15469         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15471 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
15473         [BZ #13550]
15474         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15475         (CHECK_1_NULL_OK): Likewise.
15476         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15477         (__fxstat): Do not use CHECK_1.
15478         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15479         <bp-checks.h>.
15480         (___fxstat64): Do not use CHECK_1.
15481         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15482         <bp-checks.h>.
15483         (__fxstatat): Do not use CHECK_1.
15484         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15485         <bp-checks.h>.
15486         (__fxstatat64): Do not use CHECK_1.
15487         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15488         <bp-checks.h>.
15489         (__fxstat): Do not use CHECK_1.
15490         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15491         <bp-checks.h>.
15492         (__fxstatat): Do not use CHECK_1.
15493         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15494         <bp-checks.h>.
15495         (__getresgid): Do not use CHECK_1.
15496         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15497         <bp-checks.h>.
15498         (__getresuid): Do not use CHECK_1.
15499         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15500         <bp-checks.h>.
15501         (__lxstat): Do not use CHECK_1.
15502         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15503         <bp-checks.h>.
15504         (__old_msgctl): Do not use CHECK_1.
15505         (__new_msgctl): Likewise.
15506         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15507         <bp-checks.h>.
15508         (__new_setrlimit): Do not use CHECK_1.
15509         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15510         <bp-checks.h>.
15511         (__old_shmctl): Do not use CHECK_1.
15512         (__new_shmctl): Likewise.
15513         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15514         <bp-checks.h>.
15515         (__xstat): Do not use CHECK_1.
15516         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15517         (__lxstat): Do not use CHECK_1.
15518         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15519         <bp-checks.h>.
15520         (___lxstat64): Do not use CHECK_1.
15521         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15522         (__old_msgctl): Do not use CHECK_1.
15523         (__new_msgctl): Likewise.
15524         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15525         <bp-checks.h>.
15526         (__gettimeofday): Do not use CHECK_1.
15527         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15528         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15529         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15530         <bp-checks.h>.
15531         (__gettimeofday): Do not use CHECK_1.
15532         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15533         (__old_shmctl): Do not use CHECK_1_NULL_OK.
15534         (__new_shmctl): Do not use CHECK_1.
15535         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15536         <bp-checks.h>.
15537         (do_sigtimedwait): Do not use CHECK_1.
15538         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15539         <bp-checks.h>.
15540         (do_sigwaitinfo): Do not use CHECK_1.
15541         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15542         <bp-checks.h>.
15543         (msgctl): Do not use CHECK_1.
15544         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15545         <bp-checks.h>.
15546         (shmctl): Do not use CHECK_1.
15547         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15548         (ustat): Do not use CHECK_1.
15549         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15550         <bp-checks.h>.
15551         (__fxstat): Do not use CHECK_1.
15552         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15553         <bp-checks.h>.
15554         (__fxstatat): Do not use CHECK_1.
15555         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15556         <bp-checks.h>.
15557         (__lxstat): Do not use CHECK_1.
15558         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15559         <bp-checks.h>.
15560         (__xstat): Do not use CHECK_1.
15561         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15562         (__xstat): Do not use CHECK_1.
15563         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15564         (___xstat64): Do not use CHECK_1.
15566         [BZ #13550]
15567         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15568         definitions.
15569         (CHECK_BOUNDS_HIGH): Likewise.
15570         * string/strcpy.c: Do not include <bp-checks.h>.
15571         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15573 2013-02-07  Roland McGrath  <roland@hack.frob.com>
15575         * nscd/nscd-client.h (__nscd_drop_map_ref):
15576         Add __attribute__ ((unused)).
15577         * nis/nss-nisplus.h (niserr2nss): Likewise.
15579         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15580         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15582         * csu/libc-tls.c (init_static_tls, init_slotinfo):
15583         Remove inline keyword.
15584         * include/rounding-mode.h (round_away): Likewise.
15585         * libio/wfileops.c (adjust_wide_data): Likewise.
15586         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15587         (__m128i_strloadu_tolower): Likewise.
15588         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15589         (__m128i_strloadu_tolower): Likewise.
15590         * time/mktime.c (ydhms_diff): Likewise.
15591         * locale/elem-hash.h (elem_hash): Likewise.
15592         * locale/setlocale.c (setdata): Likewise.
15593         * posix/regex_internal.h (re_string_char_size_at): Likewise.
15594         (re_string_wchar_at): Likewise.
15595         (bitset_not, bitset_merge, bitset_mask): Likewise.
15596         [!(__GNUC__ > 3)] (inline): Remove macro.
15597         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15598         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15599         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15600         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15601         * string/memcmp.c (memcmp_bytes): Likewise.
15602         * locale/programs/locarchive.c (compute_hashval): Likewise.
15603         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15604         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15605         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15606         * nss/getent.c (print_rpc, print_protocols): Likewise.
15607         (print_passwd, print_group, print_aliases): Likewise.
15608         * nis/nss-nisplus.h (niserr2nss): Likewise.
15609         * nscd/connections.c (restart_p): Likewise.
15610         Change return type to bool.
15612 2013-02-05  Roland McGrath  <roland@hack.frob.com>
15614         * Makeconfig (all-Depend-files): Add existing
15615         $(sorted-subdirs:=/Depend) files.
15616         (all-subdirs): Remove nss.
15617         * sysdeps/unix/inet/Subdirs: Add it here instead.
15618         * hesiod/Depend: New file.
15620         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15621         instead of calling alloca.
15623         * io/lseek.c (__lseek): Rename to __libc_lseek.
15624         Define __lseek as an alias.
15626         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15628 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
15630         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15631         else clause and remove check for non-standard endianness.
15633 2013-02-04  David S. Miller  <davem@davemloft.net>
15635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15637 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
15639         [BZ #13550]
15640         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15641         (__ubp_memchr): Remove prototype.
15642         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15643         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15644         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15645         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15646         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15647         Remove alias.
15648         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15649         (__ubp_memchr): Likewise.
15650         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15651         (__ubp_memchr): Likewise.
15652         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15653         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15654         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15655         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15656         CHECK_STRING.
15657         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15658         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15659         (__getcwd): Do not use CHECK_STRING.
15660         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15661         <bp-checks.h>.
15662         (__real_chown): Do not use CHECK_STRING.
15663         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15664         <bp-checks.h>.
15665         (fchownat): Do not use CHECK_STRING.
15666         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15667         CHECK_STRING.
15668         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15669         <bp-checks.h>.
15670         (__lchown): Do not use CHECK_STRING.
15671         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15672         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15673         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15674         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15676         include <bp-checks.h>.
15677         (truncate64): Do not use CHECK_STRING.
15678         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15679         <bp-checks.h>.
15680         (__real_chown): Do not use CHECK_STRING.
15681         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15682         <bp-checks.h>.
15683         (__lchown): Do not use CHECK_STRING.
15684         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15685         <bp-checks.h>.
15686         (__chown): Do not use CHECK_STRING.
15687         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15688         <bp-checks.h>.
15689         (truncate64): Do not use CHECK_STRING.
15690         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15691         Likewise.
15692         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15693         (__xmknod): Do not use CHECK_STRING.
15694         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15695         <bp-checks.h>.
15696         (__xmknodat): Do not use CHECK_STRING.
15697         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15698         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15700 2013-02-04  Andreas Schwab  <schwab@suse.de>
15702         [BZ #14142]
15703         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15704         * include/netdb.h: Likewise for h_errno.
15705         * elf/tst-stackguard1.c: Include <tls.h>.
15707 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
15709         * elf/link.h (struct link_map): Extend the l_addr comment.
15710         * include/link.h (struct link_map): Likewise.
15712 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
15714         [BZ #13550]
15715         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15716         (BOUNDED_1): Remove macro.
15717         * debug/backtrace.c: Don't include <bp-checks.h>.
15718         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15719         (__backtrace): Likewise.
15720         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15721         <bp-checks.h>.
15722         (__backtrace): Don't use BOUNDED_1.
15723         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15724         <bp-checks.h>.
15725         (__backtrace): Don't use BOUNDED_1.
15726         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15727         (__backtrace): Don't use BOUNDED_1.
15728         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15729         (shmat): Don't use BOUNDED_N.
15731 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
15733         [BZ #13550]
15734         * sysdeps/generic/bp-start.h: Remove file.
15735         * csu/libc-start.c: Don't include <bp-start.h>.
15736         (LIBC_START_MAIN): Set up __environ directly instead of using
15737         INIT_ARGV_and_ENVIRON.
15738         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15739         <bp-start.h>.
15741         [BZ #13550]
15742         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15743         definitions.
15744         (CHECK_FCNTL): Likewise.
15745         (CHECK_N_PAGES): Likewise.
15747         [BZ #13550]
15748         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15749         definitions.
15750         (CHECK_SIGSET_NULL_OK): Likewise.
15751         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15752         <bp-checks.h>.
15753         (sigpending): Don't use CHECK_SIGSET.
15754         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15755         <bp-checks.h>.
15756         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15757         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15758         <bp-checks.h>.
15759         (do_sigsuspend): Don't use CHECK_SIGSET.
15760         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15761         use CHECK_SIGSET.
15762         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15763         (do_sigwait): Don't use CHECK_SIGSET.
15764         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15765         use CHECK_SIGSET.
15766         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15767         include <bp-checks.h>.
15768         (sigpending): Don't use CHECK_SIGSET.
15769         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15770         include <bp-checks.h>.
15771         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15772         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15773         <bp-checks.h>.
15774         (sigpending): Don't use CHECK_SIGSET.
15775         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15776         <bp-checks.h>.
15777         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15779         [BZ #13550]
15780         * sysdeps/generic/bp-semctl.h: Remove file.
15781         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15782         <bp-checks.h> and <bp-semctl.h>.
15783         (__old_semctl): Don't use CHECK_SEMCTL.
15784         (__new_semctl): Likewise.
15785         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15786         and <bp-semctl.h>.
15787         (__old_semctl): Don't use CHECK_SEMCTL.
15788         (__new_semctl): Likewise.
15789         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15790         <bp-checks.h> and <bp-semctl.h>.
15791         (__old_semctl): Don't use CHECK_SEMCTL.
15792         (__new_semctl): Likewise.
15793         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15794         <bp-checks.h> and <bp-semctl.h>.
15795         (semctl): Don't use CHECK_SEMCTL.
15797         [BZ #13550]
15798         * Makerules (elide-bp-thunks): Remove variable.
15799         (elide-routines.oS): Don't use $(elide-bp-thunks).
15800         (elide-routines.os): Likewise.
15801         (elide-routines.o): Likewise.
15802         (elide-routines.op): Likewise.
15803         (elide-routines.og): Likewise.
15804         (objects): Don't use $(bp-thunks).
15805         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15806         include.
15807         (common-generated): Do not add s-proto-bp.d.
15808         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15809         (int): Likewise.
15810         (typ): Likewise.
15811         Do not generate makefile rules for bounded-pointer thunks.
15812         * sysdeps/generic/bp-thunks.h: Remove file.
15813         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15814         * sysdeps/unix/s-proto-bp.S: Likewise.
15816         [BZ #15062]
15817         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15818         parts of result separately when argument is not close to line from
15819         -i to i and one part of argument is small.
15820         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15821         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15822         * math/libm-test.inc (cacos_test): Add more tests.
15823         (casin_test): Likewise.
15824         (casinh_test): Likewise.
15825         * sysdeps/i386/fpu/libm-test-ulps: Update.
15826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15828 2013-01-31  David S. Miller  <davem@davemloft.net>
15830         * po/de.po: Update from translation team.
15832 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
15834         * time/tzfile.c: Include stdint.h for SIZE_MAX.
15836 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
15838         * configure.in (_AC_PROG_CC_C89): New definition.
15839         * configure: Regenerate.
15841         * configure.in (AC_PROG_CPP): New definition.
15842         * configure: Regenerate.
15844 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
15846         * debug/tst-backtrace.h: New file.
15847         * debug/tst-backtrace2.c: Include tst-backtrace.h.
15848         (ret): Remove variable.
15849         (x): Likewise.
15850         (FAIL): Remove macro.
15851         (NO_INLINE): Likewise.
15852         (fn1): Use match function instead of strstr.
15853         * debug/tst-backtrace3.c: Include tst-backtrace.h.
15854         (ret): Remove variable.
15855         (x): Likewise.
15856         (FAIL): Remove macro.
15857         (NO_INLINE): Likewise.
15858         (fn): Use match function instead of strstr.
15859         * debug/tst-backtrace4.c: Include tst-backtrace.h.
15860         (ret): Remove variable.
15861         (x): Likewise.
15862         (FAIL): Remove macro.
15863         (NO_INLINE): Likewise.
15864         (handle_signal): Use match function instead of strstr.
15865         * debug/tst-backtrace5.c: Include tst-backtrace.h.
15866         (ret): Remove variable.
15867         (x): Likewise.
15868         (FAIL): Remove macro.
15869         (NO_INLINE): Likewise.
15870         (handle_signal): Use match function instead of strstr.
15872 2013-01-23  Roland McGrath  <roland@hack.frob.com>
15874         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15876 2013-01-23  David S. Miller  <davem@davemloft.net>
15878         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15879         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15880         argument of CAS if possible.
15881         * sysdeps/sparc/sparc64/bits/atomic.h
15882         (__arch_compare_and_exchange_val_32_acq): Likewise.
15883         (__arch_compare_and_exchange_val_64_acq): Likewise.
15885 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
15887         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15888         * sysdeps/posix/ulimit.c: ... this.
15889         Include <limits.h>.
15890         * sysdeps/unix/bsd/ulimit.c: Remove file.
15892 2013-01-23  Adam Conrad  <adconrad@0c3.net>
15894         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15895         (LDFLAGS-tst-array5): Likewise.
15897 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
15899         [BZ #15036]
15900         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15901         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15902         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15903         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15905 2013-01-21  David S. Miller  <davem@davemloft.net>
15907         * sysdeps/sparc/backtrace.c: New file.
15908         * sysdeps/sparc/sparc32/backtrace.h: New file.
15909         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15910         * sysdeps/sparc/sparc64/backtrace.h: New file.
15911         * sysdeps/sparc/sparc64/backtrace.c: Delete.
15912         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15913         -funwind-tables.
15915 2013-01-21  Andreas Schwab  <schwab@suse.de>
15917         [BZ #15020]
15918         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15919         closed its stdout.
15921 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
15923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15924         "mpa2.h".
15925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15927 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
15928             Mark Mitchell  <mark@codesourcery.com>
15929             Tom de Vries  <tom@codesourcery.com>
15930             Paul Pluzhnikov  <ppluzhnikov@google.com>
15932         * debug/tst-backtrace2.c: New file.
15933         * debug/tst-backtrace3.c: Likewise.
15934         * debug/tst-backtrace4.c: Likewise.
15935         * debug/tst-backtrace5.c: Likewise.
15936         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15937         (CFLAGS-tst-backtrace3.c): Likewise.
15938         (CFLAGS-tst-backtrace4.c): Likewise.
15939         (CFLAGS-tst-backtrace5.c): Likewise.
15940         (LDFLAGS-tst-backtrace2): Likewise.
15941         (LDFLAGS-tst-backtrace3): Likewise.
15942         (LDFLAGS-tst-backtrace4): Likewise.
15943         (LDFLAGS-tst-backtrace5): Likewise.
15944         (tests): Add new tests tst-backtrace2, tst-backtrace3,
15945         tst-backtrace4 and tst-backtrace5.
15947 2013-01-18  Anton Blanchard  <anton@samba.org>
15948             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15950         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15951         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15952         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15953         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15955         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15956         "+r" and remove output regs list as redundant.  Add explicit inline
15957         asm to specify register of return val to work around compiler codegen
15958         bug.  Remove (int) cast on return value.  Add return type parameter to
15959         use in macro so that this macro does not truncate return value for
15960         64-bit values.
15961         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15962         pass to INTERNAL_VSYSCALL_NCS.
15963         (INLINE_VSYSCALL): Add 'long int' as return type to
15964         INTERNAL_VSYSCALL_NCS macro invocation.
15965         (INTERNAL_VSYSCALL): Add 'long int' as return type to
15966         INTERNAL_VSYSCALL_NCS macro invocation.
15967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15969 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15971         [BZ #14496]
15972         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15973         Fix application of SIMD FP exception mask.
15975         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15976         mp_no from a power of two.
15977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15978         __mpexp_twomm1.  Use __pow_mp.
15980         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15981         multiplication.
15983 2013-01-17  David S. Miller  <davem@davemloft.net>
15985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15987 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15989         [BZ #15023]
15990         * include/complex.h: Condition contents on [!_COMPLEX_H].
15991         (__kernel_casinhf): New prototype.
15992         (__kernel_casinh): Likewise.
15993         (__kernel_casinhl): Likewise.
15994         * math/Makefile (libm_calls): Add k_casinh.
15995         * math/k_casinh.c: New file.
15996         * math/k_casinhf.c: Likewise.
15997         * math/k_casinhl.c: Likewise.
15998         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15999         finite nonzero arguments.
16000         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16001         finite nonzero arguments.
16002         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16003         finite nonzero arguments.
16004         * math/s_casinh.c: Do not include <float.h>.
16005         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16006         * math/s_casinhf.c: Do not include <float.h>.
16007         (__casinhf): Move code for finite nonzero arguments to
16008         k_casinhf.c.
16009         * math/s_casinhl.c: Do not include <float.h>.
16010         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16011         redefine.
16012         (__casinhl): Move code for finite nonzero arguments to
16013         k_casinhl.c.
16014         * math/libm-test.inc (cacos_test): Add more tests.
16015         * sysdeps/i386/fpu/libm-test-ulps: Update.
16016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16018 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
16020         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16021         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16022         [!HAVE_MREMAP]: Remove [defined linux] case.
16023         * malloc/arena.c: Do not include <malloc-sysdep.h>.
16025 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16027         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16029 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
16031         * elf/elf.h (R_386_SIZE32): New relocation.
16032         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16033         R_386_SIZE32.
16034         (elf_machine_rela): Likewise.
16035         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16036         R_X86_64_SIZE64 and R_X86_64_SIZE32.
16038 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
16040         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16041         (FP_FAST_FMA): Do not define.
16042         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16043         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16044         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16045         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16046         !_SOFT_FLOAT]: Likewise.
16047         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16048         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16049         value.
16050         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16051         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16052         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16053         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16054         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16055         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16056         file.
16058 2013-01-16  Andreas Schwab  <schwab@suse.de>
16060         [BZ #14327]
16061         * include/stdlib.h (__mktemp): Add declaration.
16062         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16063         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16065 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16067         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16068         definitions.
16069         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16070         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16071         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16072         definitions here.
16073         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16074         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16075         definitions.
16076         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16077         and ONE.
16078         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16079         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16080         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16081         definitions.
16082         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16083         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16084         definitions.
16085         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16087         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16089 2013-01-15  David S. Miller  <davem@davemloft.net>
16091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16092         trunc{,f} to libm-sysdep_routes.
16093         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16095         file.
16096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16098         file.
16099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16100         file.
16101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16103         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16104         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16105         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16106         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16107         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16108         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16111         nearbyint{,f} to libm-sysdep_routes.
16112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16114         New file.
16115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16116         file.
16117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16118         New file.
16119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16120         file.
16121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16123         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16124         file.
16125         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16126         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16127         file.
16128         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16129         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16130         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16132         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16133         libc_feholdexcept and libc_fesetenv.
16135 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
16137         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16139 2013-01-14  David S. Miller  <davem@davemloft.net>
16141         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16142         (SPARC_ASM_VIS2_IFUNC): Likewise.
16143         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16145         use of 'siam' instruction.
16146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16147         Likewise.
16148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16149         Likewise.
16150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16151         Likewise.
16152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16157         file.
16158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16159         file.
16160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16161         file.
16162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16163         file.
16164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16169         new VIS2 routines.
16170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16173         Likewise.
16174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16179         routines to libm-sysdep_routines.
16180         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16183         fdim/fdimf to libm-sysdep_routines.
16184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16185         file.
16186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16188         file.
16189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16192         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16193         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16194         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16195         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16197 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16199         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16200         to optimize copies.
16202         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16207         local variable MPTWO.
16208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16209         Likewise.
16211 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
16213         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16214         GLOB_NOESCAPE.
16216 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
16218         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16220 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
16222         * manual/pattern.texi (glob_t): Document gl_flags.
16223         (glob64_t): Likewise.
16225 2013-01-11  David S. Miller  <davem@davemloft.net>
16227         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16228         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16229         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
16230         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16231         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16232         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16233         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16234         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16235         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16236         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16237         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16238         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16239         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16241         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16242         sparc V9 rather than using V8 code.
16243         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16244         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16246         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16247         Move to...
16248         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16249         Here.
16251 2013-01-11  Roland McGrath  <roland@hack.frob.com>
16253         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16254         not in the main loop.
16255         * configure: Regenerated.
16257 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
16259         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16260         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16261         to just #else.
16262         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
16263         [!__GLIBC_HAVE_LONG_LONG] case.
16264         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16265         condition to just #else.
16266         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16267         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16268         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16269         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16270         unconditional.
16271         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16272         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16273         #elif condition to just #else.
16274         * sysdeps/unix/sysv/linux/sys/sysmacros.h
16275         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16276         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16277         #elif condition to just #else.
16279 2013-01-11  Steve Ellcey  <sellcey@mips.com>
16281         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16282         (EF_MIPS_ARCH_64): Fix value.
16283         (EF_MIPS_ARCH_32R2): New.
16284         (EF_MIPS_ARCH_64R2): New.
16286 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
16288         * Makeconfig (+link-pie-before-libc): New.
16289         (+link-pie-after-libc): Likewise.
16290         (+link-pie-tests): Likewise.
16291         (+link-pie): Rewritten.
16292         (link-before-libc): Remove $(config-LDFLAGS).
16293         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16294         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16295         (config-LDFLAGS): Renamed to ...
16296         (rtld-LDFLAGS): This.
16297         (rtld-tests-LDFLAGS): New macro.
16298         (link-libc-rpath-link): Likewise.
16299         (link-libc-tests-rpath-link): Likewise.
16300         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16301         (link-libc): Prepand $(link-libc-rpath-link).
16302         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16303         (test-program-prefix): New macro.
16304         (test-via-rtld-prefix): Likewise.
16305         (test-program-cmd): Likewise.
16306         (host-test-program-cmd): Likewise.
16307         * Makefile ($(common-objpfx)testrun.sh): Replace
16308         $(run-program-prefix) with $(test-program-prefix).
16309         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16310         $(rtld-LDFLAGS).
16311         ($(common-objpfx)shlib.lds): Likewise.
16312         (build-module-helper): Likewise.
16313         ($(common-objpfx)format.lds): Likewise.
16314         * Rules (binaries-pie-tests): New.
16315         (binaries-pie-notests): Likewise.
16316         (binaries-pie): Rewritten.
16317         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16318         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16319         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16320         (make-test-out): Replace $(host-built-program-cmd) with
16321         $(host-test-program-cmd).
16322         * config.make.in (build-hardcoded-path-in-tests): New variable.
16323         * configure.in (--enable-hardcoded-path-in-tests): New configure
16324         option.
16325         (hardcoded_path_in_tests): New AC_SUBST.
16326         * configure: Regenerated.
16327         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16328         $(built-program-cmd) with $(test-program-cmd).
16329         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16330         (test_program_cmd): This.
16331         * elf/Makefile ($(objpfx)order.out): Run test with
16332         $(test-program-prefix).
16333         ($(objpfx)order2.out): Likewise.
16334         ($(objpfx)tst-initorder.out): Likewise.
16335         ($(objpfx)tst-initorder2.out): Likewise.
16336         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16337         $(test-program-cmd).
16338         ($(objpfx)tst-array1-static.out): Likewise.
16339         ($(objpfx)tst-array2.out): Likewise.
16340         ($(objpfx)tst-array3.out): Likewise.
16341         ($(objpfx)tst-array4.out): Likewise.
16342         ($(objpfx)tst-array5.out): Likewise.
16343         ($(objpfx)tst-array5-static.out): Likewise.
16344         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16345         $(test-program-cmd).
16346         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16347         $(run-program-prefix) with $(test-program-prefix).
16348         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16349         (test_program_prefix): This.
16350         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16351         $(run-program-prefix) with $(test-program-prefix).
16352         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16353         (test_program_prefix): This.
16354         * iconvdata/tst-tables.sh: Likewise.
16355         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16356         $(run-program-prefix) with $(test-program-prefix).
16357         ($(objpfx)tst-translit.out): Likewise.
16358         ($(objpfx)tst-gettext2.out): Likewise.
16359         ($(objpfx)tst-gettext4.out): Likewise.
16360         ($(objpfx)tst-gettext6.out): Likewise.
16361         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16362         (test_program_prefix): This.
16363         * intl/tst-gettext2.sh: Likewise.
16364         * intl/tst-gettext4.sh  Likewise.
16365         * intl/tst-gettext6.sh: Likewise.
16366         * intl/tst-translit.sh: Likewise.
16367         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16368         with $(test-program-cmd).
16369         * libio/Makefile ($(objpfx)test-freopen.out): Replace
16370         $(run-program-prefix) with $(test-program-prefix).
16371         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16372         (test_program_prefix): This.
16373         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16374         $(run-program-prefix) with $(test-program-prefix).
16375         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16376         (test_program_prefix): This.
16377         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16378         * posix/Makefile ($(objpfx)globtest.out): Replace
16379         $(run-via-rtld-prefix) and $(test-wrapper) with
16380         $(test-program-prefix) and $(test-via-rtld-prefix).
16381         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16382         $(test-program-prefix).
16383         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16384         $(host-test-program-cmd).
16385         (tst-spawn-ARGS): Likewise.
16386         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16387         $(test-program-prefix).
16388         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16389         (test_via_rtld_prefix): This.
16390         (test_wrapper): Renamed to ...
16391         (test_program_prefix): This.
16392         (run_program_prefix): Replaced by test_program_prefix.
16393         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16394         (test_program_prefix): This.
16395         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16396         with $(host-test-program-cmd).
16397         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16398         $(run-program-prefix) with $(test-program-prefix).
16399         ($(objpfx)tst-printf.out): Likewise.
16400         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16401         $(test-program-cmd).
16402         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16403         (test_program_prefix): This.
16404         * stdio-common/tst-unbputc.sh: Likewise.
16405         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16406         $(run-program-prefix) with $(test-program-prefix).
16407         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16408         (test_program_prefix): This.
16409         * string/Makefile ($(objpfx)tst-svc.out):  Replace
16410         $(built-program-cmd) with $(test-program-cmd).
16412 2013-01-11  Andreas Jaeger  <aj@suse.de>
16414         [BZ #15003]
16415         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16416         value. Sync with Linux 3.7.
16418 2013-01-10  David S. Miller  <davem@davemloft.net>
16420         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16421         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16422         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16424 2013-01-10  Roland McGrath  <roland@hack.frob.com>
16426         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16427         never set.
16428         * configure: Regenerated.
16430 2013-01-10  David S. Miller  <davem@davemloft.net>
16432         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16433         sparc V9 rather than using V8 code.
16434         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16435         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16437 2013-01-10  Roland McGrath  <roland@hack.frob.com>
16439         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16440         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16441         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16442         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16443         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16444         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16445         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16446         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16447         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16448         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16449         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16450         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16451         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16452         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16453         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16454         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16455         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16456         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16457         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16458         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16459         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16460         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16461         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16462         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16463         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16464         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16465         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16467 2013-01-10  David S. Miller  <davem@davemloft.net>
16469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16471 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
16473         * posix/Makefile (tests-static): New variable.
16474         (tests): Add $(tests-static).
16475         (tst-exec-static-ARGS): New variable.
16476         (tst-spawn-static-ARGS): Likewise.
16477         * posix/tst-exec-static.c: New file.
16478         * posix/tst-spawn-static.c: Likewise.
16479         * posix/tst-exec.c: Support run directly.
16480         * posix/tst-spawn.c: Likewise.
16482 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
16484         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16485         long.
16486         * math/bits/mathcalls.h (llrint): Likewise.
16487         (llround): Likewise.
16488         * stdlib/stdlib.h (struct drand48_data): Likewise.
16489         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16490         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16491         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16492         Likewise.
16493         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16494         Likewise.
16495         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16496         (elf_greg_t): Likewise.
16497         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16498         (__jmp_buf): Likewise.
16499         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16500         definitions.
16501         (llrint): Likewise, for all definitions.
16502         (llrintl): Likewise.
16504         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16505         Remove [__GNUC__] condition.
16506         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16507         condition to just [__USE_ISOC99].
16508         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16510 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
16512         [BZ #14200]
16513         * sysdeps/unix/sysv/linux/x86/bits/environments.h
16514         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16515         defined.
16516         (_POSIX_V6_ILP32_OFF32): Likewise.
16517         (_XBS5_ILP32_OFF32): Likewise.
16518         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16519         (__ILP32_OFFBIG_LDFLAGS): Likewise.
16521 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16523         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16525         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16526         doubles __mpexp_twomm1.  Adjust usage.
16527         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16528         Remove.
16530 2013-01-10  Andreas Schwab  <schwab@suse.de>
16532         [BZ #14964]
16533         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16534         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16536 2013-01-09  David S. Miller  <davem@davemloft.net>
16538         [BZ #15003]
16539         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16540         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16541         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16542         TCP_FASTOPEN): Define.
16543         (tcp_repair_opt): New structure.
16544         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16545         enum values.
16546         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16547         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16548         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16549         (tcp_cookie_transactions): New structure.
16551 2013-01-09  Anton Blanchard  <anton@samba.org>
16553         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16554         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16555         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16556         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16558 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
16560         * include/features.h (__USE_ANSI): Remove.
16562 2013-01-09  Roland McGrath  <roland@hack.frob.com>
16564         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16566         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16568 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
16570         * sysdeps/s390/fpu/libm-test-ulps: Update.
16572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16574         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16575         (__acr): Likewise.
16576         (__cpy): Likewise.
16577         (norm): Likewise.
16578         (denorm): Likewise.
16579         (__mp_dbl): Likewise.
16580         (__dbl_mp): Likewise.
16581         (add_magnitudes): Likewise.
16582         (sub_magnitudes): Likewise.
16583         (__add): Likewise.
16584         (__sub): Likewise.
16585         (__mul): Likewise.
16586         (__inv): Likewise.
16587         (__dvd): Likewise.
16588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16589         (__acr): Likewise.
16590         (__cpy): Likewise.
16591         (norm): Likewise.
16592         (denorm): Likewise.
16593         (__mp_dbl): Likewise.
16594         (__dbl_mp): Likewise.
16595         (add_magnitudes): Likewise.
16596         (sub_magnitudes): Likewise.
16597         (__add): Likewise.
16598         (__sub): Likewise.
16599         (__mul): Likewise.
16600         (__inv): Likewise.
16601         (__dvd): Likewise.
16602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16603         (__acr): Likewise.
16604         (__cpy): Likewise.
16605         (norm): Likewise.
16606         (denorm): Likewise.
16607         (__mp_dbl): Likewise.
16608         (__dbl_mp): Likewise.
16609         (add_magnitudes): Likewise.
16610         (sub_magnitudes): Likewise.
16611         (__add): Likewise.
16612         (__sub): Likewise.
16613         (__mul): Likewise.
16614         (__inv): Likewise.
16615         (__dvd): Likewise.
16617 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
16619         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16620         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16621         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16622         2 && __USE_EXTERN_INLINES]: Likewise.
16624 2013-01-08  Andreas Jaeger  <aj@suse.de>
16626         [BZ# 14985]
16627         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16628         Remove.
16629         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16630         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16632 2013-01-07  Anton Blanchard  <anton@samba.org>
16634         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16635         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16636         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16637         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16638         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16639         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16640         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16641         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16643         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16644         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16645         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16646         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16647         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16648         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16649         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16650         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16651         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16652         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16653         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16654         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16655         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16656         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16657         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16658         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16659         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16660         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16661         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16662         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16663         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16664         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16666         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16667         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16668         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16669         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16670         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16671         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16672         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16673         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16674         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16675         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16676         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16678 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
16680         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16681         (__MALLOC_PMT): Likewise.
16682         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16683         [__GNUC__], only on [_LIBC].
16684         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16685         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16686         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16687         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16688         forward declaration.
16689         (realloc_hook_ini): Likewise.
16690         (memalign_hook_ini): Likewise.
16691         (__libc_memalign): Do not use __MALLOC_PMT in variable
16692         declaration.
16693         (__libc_valloc): Likewise.
16694         (__libc_pvalloc): Likewise.
16695         (__libc_calloc): Likewise.
16696         (__posix_memalign): Likewise.
16698         [BZ #14996]
16699         * math/s_casinh.c: Include <float.h>.
16700         (__casinh): Do not do computation with squaring and square root
16701         for large arguments.
16702         * math/s_casinhf.c: Include <float.h>.
16703         (__casinhf): Do not do computation with squaring and square root
16704         for large arguments.
16705         * math/s_casinhl.c: Include <float.h>.
16706         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16707         (__casinhl): Do not do computation with squaring and square root
16708         for large arguments.
16709         * math/libm-test.inc (casin_test): Add more tests.
16710         (casinh_test): Likewise.
16711         * sysdeps/i386/fpu/libm-test-ulps: Update.
16712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16714 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
16716         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16717         (__x86_64_raw_data_cache_size): Likewise.
16718         (__x86_64_data_cache_size_half): Likewise.
16719         (__x86_64_raw_data_cache_size_half): Likewise.
16720         (__x86_64_shared_cache_size): Likewise.
16721         (__x86_64_raw_shared_cache_size): Likewise.
16722         (__x86_64_shared_cache_size_half): Likewise.
16723         (__x86_64_raw_shared_cache_size_half): Likewise.
16724         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16725         to ...
16726         (__x86_data_cache_size): This.
16727         (__x86_64_raw_data_cache_size): Renamed to ...
16728         (__x86_raw_data_cache_size): This.
16729         (__x86_64_data_cache_size_half): Renamed to ...
16730         (__x86_data_cache_size_half): This.
16731         (__x86_64_raw_data_cache_size_half): Renamed to ...
16732         (__x86_raw_data_cache_size_half): This.
16733         (__x86_64_shared_cache_size): Renamed to ...
16734         (__x86_shared_cache_size): This.
16735         (__x86_64_raw_shared_cache_size): Renamed to ...
16736         (__x86_raw_shared_cache_size): This.
16737         (__x86_64_shared_cache_size_half): Renamed to ...
16738         (__x86_shared_cache_size_half): This.
16739         (__x86_64_raw_shared_cache_size_half): Renamed to ...
16740         (__x86_raw_shared_cache_size_half): This.
16741         * sysdeps/x86_64/memcpy.S: Updated.
16742         * sysdeps/x86_64/memset.S: Likewise.
16743         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16744         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16745         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16747 2013-01-04  David S. Miller  <davem@davemloft.net>
16749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16751 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
16753         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16754         1 to avoid redefinition warning.
16755         (__USE_GNU): Don't define.
16756         (init_signaling_nan): Protoize.
16758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16760 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16762         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16763         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16764         (__cpymn): Likewise.
16765         (norm): Remove commented code.
16766         (denorm): Likewise.
16767         (__mp_dbl): Likewise.
16768         (__inv): Likewise.
16769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16770         (__cpymn): Likewise.
16771         (norm): Remove commented code.
16772         (denorm): Likewise.
16773         (__mp_dbl): Likewise.
16774         (__inv): Likewise.
16776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16777         mp_no value for 1.0 and 2.0.
16778         (norm): Use RADIXI instead of radixi.d.
16779         (denorm): Likewise.
16780         (__mul): Use 0.0 instead of zero.d.
16781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16782         mp_no value for 1.0 and 2.0.
16783         (norm): Use RADIXI instead of radixi.d.
16784         (denorm): Likewise.
16785         (__mul): Use 0.0 instead of zero.d.
16787 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
16789         [BZ #14994]
16790         * math/s_casinh.c (__casinh): Reduce finite argument to first
16791         quadrant then set signs of results at the end.
16792         * math/s_casinhf.c (__casinhf): Likewise.
16793         * math/s_casinhl.c (__casinhl): Likewise.
16794         * math/libm-test.inc (casin_test): Add more tests.
16795         (casinh_test): Likewise.
16796         * sysdeps/i386/fpu/libm-test-ulps: Update.
16797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16799 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16801         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16803         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16805         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16806         declarations.
16807         (denorm): Likewise.
16808         (__mp_dbl): Likewise.
16809         (__inv): Likewise.
16811         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16812         and adjust the header comment.
16814         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16815         variable name from declaration.
16817 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
16819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16820         Initialize COMMON_CPUID_INDEX_7 element.
16821         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16822         (CPUID_RTM): Likewise.
16823         (HAS_RTM): Likewise.
16824         (COMMON_CPUID_INDEX_7): New enum.
16826 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
16828         [BZ #14981]
16829         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16830         size is zero, record memory as freed.
16832 2013-01-03  Andreas Jaeger  <aj@suse.de>
16834         * po/ia.po: Add new Interlingua translation.
16836 2012-01-03  Allan McRae  <allan@archlinux.org>
16838         * locale/programs/localedef.c: Fix description of '--posix' flag.
16840 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
16842         * NEWS: Update dates in second copyright notice.
16843         * README: Update copyright dates in example.
16844         * manual/libc.texinfo: Update copyright dates.
16845         * scripts/test-installation.pl: Update copyright date in --version
16846         output.
16848         * hurd/ctty-input.c: Fix copyright notice formatting.
16849         * hurd/ctty-output.c: Likewise.
16850         * hurd/dtable.c: Likewise.
16851         * hurd/hurd-raise.c: Likewise.
16852         * hurd/hurdprio.c: Likewise.
16853         * hurd/msgportdemux.c: Likewise.
16854         * misc/sys/file.h: Likewise.
16855         * misc/sys/ioctl.h: Likewise.
16856         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16857         * sysdeps/mach/hurd/chdir.c: Likewise.
16858         * sysdeps/mach/hurd/fchdir.c: Likewise.
16859         * sysdeps/mach/hurd/rename.c: Likewise.
16860         * sysdeps/mach/hurd/rmdir.c: Likewise.
16861         * sysdeps/mach/hurd/seekdir.c: Likewise.
16862         * sysdeps/mach/hurd/setsid.c: Likewise.
16863         * sysdeps/posix/wait3.c: Likewise.
16865         * All files with FSF copyright notices: Update copyright dates
16866         using scripts/update-copyrights.
16867         * intl/plural.c: Regenerated.
16868         * locale/programs/charmap-kw.h: Likewise.
16869         * locale/programs/locfile-kw.h: Likewise.
16871 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16873         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16874         four values.
16876         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16877         calculation loop and add branch prediction.
16879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16880         check access beyond bounds of m1np.
16882         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16883         MPTWO.
16884         (__inv): Remove local variable MPTWO to use the global
16885         constant.
16886         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16887         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16888         variable MPTWO.
16889         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16890         MP3HALFS static const.
16892 2013-01-01  David S. Miller  <davem@davemloft.net>
16894         * po/ca.po: Update from translation team.
16896 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
16898         * scripts/update-copyrights: New file.
16899         * Makeconfig: Reformat copyright notice.
16900         * ctype/ctype.h: Likewise.
16901         * debug/swprintf_chk.c: Likewise.
16902         * elf/dl-cache.c: Likewise.
16903         * elf/dl-debug.c: Likewise.
16904         * elf/dl-object.c: Likewise.
16905         * grp/initgroups.c: Likewise.
16906         * hurd/Makefile: Likewise.
16907         * hurd/hurd/signal.h: Likewise.
16908         * hurd/hurdfault.c: Likewise.
16909         * hurd/hurdioctl.c: Likewise.
16910         * hurd/hurdlookup.c: Likewise.
16911         * hurd/intr-msg.c: Likewise.
16912         * iconv/gconv_open.c: Likewise.
16913         * libio/swprintf.c: Likewise.
16914         * locale/lc-ctype.c: Likewise.
16915         * locale/nl_langinfo.c: Likewise.
16916         * mach/Machrules: Likewise.
16917         * mach/Makefile: Likewise.
16918         * malloc/obstack.h: Likewise.
16919         * manual/Makefile: Likewise.
16920         * manual/tsort.awk: Likewise.
16921         * misc/bits/stab.def: Likewise.
16922         * nis/nis_print_group_entry.c: Likewise.
16923         * nis/nis_table.c: Likewise.
16924         * nis/nss_compat/compat-pwd.c: Likewise.
16925         * nis/nss_compat/compat-spwd.c: Likewise.
16926         * po/Makefile: Likewise.
16927         * posix/fnmatch.c: Likewise.
16928         * posix/regex.h: Likewise.
16929         * resolv/Makefile: Likewise.
16930         * resolv/nss_dns/dns-network.c: Likewise.
16931         * resolv/res_hconf.c: Likewise.
16932         * scripts/gen-sorted.awk: Likewise.
16933         * soft-fp/soft-fp.h: Likewise.
16934         * stdio-common/printf.h: Likewise.
16935         * stdlib/monetary.h: Likewise.
16936         * stdlib/random.c: Likewise.
16937         * stdlib/random_r.c: Likewise.
16938         * sysdeps/generic/Makefile: Likewise.
16939         * sysdeps/gnu/Makefile: Likewise.
16940         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16941         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16942         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16943         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16944         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16945         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16946         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16947         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16948         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16949         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16950         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16951         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16952         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16953         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16954         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16955         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16956         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16957         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16958         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16959         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16960         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16961         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16962         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16963         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16964         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16965         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16966         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16967         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16968         * sysdeps/mach/hurd/errnos.awk: Likewise.
16969         * sysdeps/mach/hurd/fork.c: Likewise.
16970         * sysdeps/mach/hurd/getcwd.c: Likewise.
16971         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16972         * sysdeps/mach/hurd/mmap.c: Likewise.
16973         * sysdeps/mach/hurd/utimes.c: Likewise.
16974         * sysdeps/mach/hurd/xmknod.c: Likewise.
16975         * sysdeps/posix/profil.c: Likewise.
16976         * sysdeps/posix/readdir_r.c: Likewise.
16977         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16978         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16979         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16980         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16982         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16983         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16984         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16986         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16987         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16988         * sysdeps/pthread/lio_listio.c: Likewise.
16989         * sysdeps/sparc/dl-procinfo.h: Likewise.
16990         * sysdeps/unix/i386/sysdep.S: Likewise.
16991         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16992         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16993         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16994         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16996         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16997         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16998         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16999         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17000         * sysdeps/wordsize-32/divdi3.c: Likewise.
17001         * time/sys/time.h: Likewise.
17002         * wcsmbs/Makefile: Likewise.
17004 2013-01-01  David S. Miller  <davem@davemloft.net>
17006         * po/fr.po: Update from translation team.
17008         * catgets/gencat.c: Update copyright year.
17009         * csu/version.c: Likewise.
17010         * debug/catchsegv.sh: Likewise.
17011         * debug/pcprofiledump.c: Likewise.
17012         * debug/xtrace.sh: Likewise.
17013         * elf/ldconfig.c: Likewise.
17014         * elf/ldd.bash.in: Likewise.
17015         * elf/pldd.c: Likewise.
17016         * elf/sotruss.ksh: Likewise.
17017         * elf/sprof.c: Likewise.
17018         * iconv/iconv_prog.c: Likewise.
17019         * iconv/iconvconfig.c: Likewise.
17020         * locale/programs/locale.c: Likewise.
17021         * locale/programs/localedef.c: Likewise.
17022         * login/programs/pt_chown.c: Likewise.
17023         * malloc/memusage.sh: Likewise.
17024         * malloc/memusagestat.c: Likewise.
17025         * malloc/mtrace.pl: Likewise.
17026         * nscd/nscd.c: Likewise.
17027         * nss/getent.c: Likewise.
17028         * nss/makedb.c: Likewise.
17029         * posix/getconf.c: Likewise.
17031 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17033         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17034         numbers.
17036 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
17038         * math/bits/mathcalls.h (modf): Use __nonnull.
17040 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17042         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17043         (split): Use macro CN instead of the bare value.
17044         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17045         could be used.
17046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17047         instead of the bare value.
17048         (power1): Likewise.
17050 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17052         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17053         __ATAN_TWOM.
17054         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17056         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17057         their values.
17058         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17059         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17060         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17061         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17063 2012-12-28  Andreas Jaeger  <aj@suse.de>
17065         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
17066         values are from Linux 3.7.
17068         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17069         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
17071 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17073         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17074         TRUE case.
17076         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17077         (norm): Likewise.
17078         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17079         variables with preprocessor constants.
17080         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17081         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17082         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17084 2012-12-27  Bruno Haible  <bruno@clisp.org>
17086         [BZ #14317]
17087         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17088         only if needed.
17090 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17092         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17093         and use variable directly.
17094         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17096         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17097         MPONE.
17098         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17099         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17100         variable MPONE.
17101         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17103         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17104         include directive.  Remove local variable MPONE.
17105         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17106         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17107         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17109 2012-12-25  David S. Miller  <davem@davemloft.net>
17111         * version.h (RELEASE): Set to "development".
17112         (VERSION): Set to "2.17.90".
17113         * NEWS: Add 2.18 section.
17115 2012-12-21  David S. Miller  <davem@davemloft.net>
17117         * po/hr.po: Update from translation team.
17119 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17121         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17123 2012-12-19  Steve Ellcey  <sellcey@mips.com>
17125         * NEWS:  Mention new memcpy for MIPS.
17127 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17129         * manual/contrib.texi (Contributors): Spelling correction.
17131 2012-12-15  David S. Miller  <davem@davemloft.net>
17133         * po/ru.po: Update from translation team.
17135 2012-12-13  David S. Miller  <davem@davemloft.net>
17137         * NEWS: Mention IFUNC testsuite enhancements.
17139         * po/pl.po: Update from translation team.
17140         * po/bg.po: Likewise.
17142         * manual/contrib.texi (Contributors): Update entries for Hongjiu
17143         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
17145 2012-12-11  David S. Miller  <davem@davemloft.net>
17147         * po/sv.po: Update from translation team.
17149         * po/vi.po: Update from translation team.
17151         * po/cs.po: Update from translation team.
17153         * po/de.po: Update from translation team.
17154         * po/eo.po: Likewise.
17155         * po/nl.po: Likewise.
17157 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17159         [BZ #14246]
17160         * manual/argp.texi (Argp Helper Functions): Move node to follow
17161         Argp Parsing State.
17163         [BZ #14872]
17164         * manual/conf.texi (Limits on File System Capacity): Mention if
17165         terminating null is included in the max size.
17167 2012-12-10  Andreas Jaeger  <aj@suse.de>
17169         * po/cs.po: Update from translation team.
17171 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17173         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17174         void pointer and cast to uintptr_t.
17175         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17176         path.
17177         * sysdeps/s390/s390-64/memcpy.S: Likewise.
17178         * sysdeps/s390/s390-64/memset.S: Likewise.
17180 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
17182         [BZ #14833]
17183         * menual/message.texi (Message Translation): Fix typos.
17184         (Helper programs for gettext): Likewise.
17186 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
17188         [BZ #14898]
17189         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17190         Change to -1.
17192 2012-12-07  David S. Miller  <davem@davemloft.net>
17194         * po/libc.pot: Update.
17196 2012-12-07  Richard Henderson  <rth@redhat.com>
17198         [BZ #10114]
17199         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17200         normal/normal case to before the switch.
17201         (_FP_DIV): Likewise.
17203 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
17204             Mike Frysinger  <vapier@gentoo.org>
17206         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17207         check for __NR_fadvise64_64.
17209 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
17211         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17212         0, not just to plain "0" as a statement.
17213         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17214         with cw.
17216 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
17218         * NEWS: Use sourceware.org in Bugzilla URL.
17220 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17223         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17225         * stdio-common/tst-put-error.c (do_test): Add newline to the
17226         padded test to ensure flush.
17228 2012-12-05  Jeff Law  <law@redhat.com>
17230         * sunrpc/etc.rpc (fedfs_admin): Add entry.
17232 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
17234         * README: Don't refer to ports add-on as distributed separately.
17235         Mention AArch64 in list of systems supported in the ports add-on.
17237         * LICENSES: Add more non-FSF copyright and license notices.
17239         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17240         ((unused)).
17242         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17244         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17245         10000 as width of padded output.
17247 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
17249         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17251         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17252         variable LX with __attribute__ ((unused)).
17253         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17254         Likewise.
17255         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17256         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17257         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17258         with __attribute__ ((unused)).
17260 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
17262         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17264 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
17266         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17267         (CFLAGS-nldbl-acos.c): New variable.
17268         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17269         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17270         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17271         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17272         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17273         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17274         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17275         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17276         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17277         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17278         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17279         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17280         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17281         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17282         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17283         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17284         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17285         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17286         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17287         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17288         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17289         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17290         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17291         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17292         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17293         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17294         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17295         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17296         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17297         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17298         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17299         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17300         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17301         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17302         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17303         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17304         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17305         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17306         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17307         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17308         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17309         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17310         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17311         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17312         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17313         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17314         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17315         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17316         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17317         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17318         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17319         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17320         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17321         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17322         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17323         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17324         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17325         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17326         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17327         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17328         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17329         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17330         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17331         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17332         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17333         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17334         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17335         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17336         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17337         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17338         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17339         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17340         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17341         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17342         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17343         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17344         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17345         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17346         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17347         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17348         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17349         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17350         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17351         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17352         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17353         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17354         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17355         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17356         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17357         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17358         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17359         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17360         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17361         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17362         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17363         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17364         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17367         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17369         [BZ #14914]
17370         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17371         whole low double instead of just low 47 bits when splitting values
17372         into two parts.
17374 2012-12-03  Allan McRae  <allan@archlinux.org>
17376         * manual/stdio.texi (Predefined Printf Handlers): Remove
17377         @hsep and @vsep usage.
17379 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
17381         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17382         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17384 2012-12-03  Jeff Law  <law@redhat.com>
17386         * time/sys/time.h (settimeofday): Do not mark TV argument
17387         as __nonnull.
17389 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
17391         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17392         when currently writing and seek to current position when not.
17393         * libio/Makefile (tests): Remove bug-fclose1.
17394         * libio/bug-fclose1.c: Delete.
17396 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
17398         * manual/arith.texi (feenableexcept): Fix typo.
17399         (fedisableexcept): Likewise.
17401 2012-11-30  Roland McGrath  <roland@hack.frob.com>
17403         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17404         second, differently-typed declaration, rather than a cast.
17406 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17408         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17409         * include/rpc/svc.h: ... here.
17411 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
17413         [BZ #13013]
17414         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17415         depending n and resplen2 to catch cases where answer
17416         equals answerp2.
17418 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
17420         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17421         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17423 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
17425         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17427 2012-11-29  Roland McGrath  <roland@hack.frob.com>
17429         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17431 2012-11-28  Jeff Law  <law@redhat.com>
17433         [BZ #13761]
17434         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17435         dataset_temporary.  Track alloca usage into alloca_used.
17436         If dataset is large allocate and release it via malloc/free.
17438 2012-06-04  Florian Weimer  <fweimer@redhat.com>
17440         [BZ #14197]
17441         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17443 2012-11-28  David S. Miller  <davem@davemloft.net>
17445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17447 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
17449         [BZ #14803]
17450         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17451         of pi/2 rounded to nearest to 64 bits.
17452         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17453         nearest to 64 bits.
17454         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17455         bits.
17457 2012-11-28  Jeff Law <law@redhat.com>
17458             Martin Osvald <mosvald@redhat.com>
17460         [BZ #14889]
17461         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17462         * sunrpc/svc.c: Include time.h.
17463         (__svc_accept_failed): New function.
17464         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17465         any reason other than EINTR, call __svc_accept_failed.
17466         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17467         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17469 2012-11-28  Andreas Schwab  <schwab@suse.de>
17471         * scripts/abilist.awk: Also handle indirect functions in .opd
17472         section.
17474 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
17476         [BZ #13881]
17477         * sysdeps/x86/fpu/powl_helper.c: New file.
17478         * sysdeps/x86/fpu/Makefile: Likewise.
17479         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17480         (p3): New object.
17481         (__ieee754_powl): Use __powl_helper for finite arguments except
17482         integer exponents below 8.
17483         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17484         (p3): New object.
17485         (__ieee754_powl): Use __powl_helper for finite arguments except
17486         integer exponents below 8.
17487         * math/libm-test.inc (pow_test): Add more tests and enable some
17488         previously disabled tests.
17489         * sysdeps/i386/fpu/libm-test-ulps: Update.
17490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17492 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17493             Carlos O'Donell  <carlos_odonell@mentor.com>
17495         * nss/makedb.c (is_prime): Assert that input is odd and greater
17496         than 4.  Note that fact in a comment too.
17497         (next_prime): Add 4 to input.
17499 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17501         [BZ #11741]
17502         * libio/Makefile (tests): Add test case tst-fwrite-error.
17503         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17504         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17505         * libio/tst-fwrite-error.c: New test case.
17507 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
17509         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17510         before casting to void *.
17511         * include/libc-internal.h (__pointer_type): New macro.
17512         (__integer_if_pointer_type_sub): Likewise.
17513         (__integer_if_pointer_type): Likewise.
17514         (cast_to_integer): Likewise.
17515         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17516         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17517         before casting to atomic64_t.
17518         (atomic_exchange_acq): Likewise.
17519         (__arch_exchange_and_add_body): Likewise.
17520         (__arch_add_body): Likewise.
17521         (atomic_add_negative): Likewise.
17522         (atomic_add_zero): Likewise.
17524 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
17526         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17527         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17528         (add_fdes): Likewise.
17529         (linear_search_fdes): Likewise.
17530         (binary_search_unencoded_fdes): Likewise.
17532 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
17534         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17536 2012-11-24  Adam Conrad  <adconrad@0c3.net>
17538         * configure.in: Autodetect C++ header directories.
17539         * configure: Regenerated.
17541 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
17543         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17545 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
17547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17549 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
17551         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17552         LDBL_MANT_DIG == 106]: Disable some tests.
17553         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17554         Likewise.
17555         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17556         Likewise.
17558         [BZ #14871]
17559         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17560         input for small inputs.  Return +/- pi/2 for large inputs.
17561         * math/libm-test.inc (atan_test): Add more tests.
17563         * sysdeps/generic/unwind-dw2-fde-glibc.c
17564         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17565         __attribute__ ((unused)).
17567         [BZ #14645]
17568         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17569         x * y if x and y are nonzero and z is zero.
17571         [BZ #14811]
17572         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17573         nonzero exponents with absolute value below 0x1p-117 to +/-
17574         0x1p-117.
17576         [BZ #14869]
17577         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17578         up arguments below 2**-450, not just those below 2**-500.
17579         * math/libm-test.inc (hypot_test): Add another test.
17581         [BZ #14868]
17582         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17583         Return a+b for ratio over 2**120, not 2**60.
17584         * math/libm-test.inc (hypot_test): Add another test.
17586         * math/libm-test.inc (clog_test): Use
17587         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17588         (clog10_test): Likewise.
17590         [BZ #6778]
17591         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17593 2012-11-22  Andreas Schwab  <schwab@suse.de>
17595         * sysdeps/i386/fpu/libm-test-ulps: Update.
17597 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
17599         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17600         printf output with newline.
17602 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
17604         [BZ #14865]
17605         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17606         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17607         -z nodlopen, -z initfirst and -z execstack support.
17608         * configure: Regenerated.
17610         * elf/elf.h (DF_1_NODIRECT): New macro.
17611         (DF_1_IGNMULDEF): Likewise.
17612         (DF_1_NOKSYMS): Likewise.
17613         (DF_1_NOHDR): Likewise.
17614         (DF_1_EDITED): Likewise.
17615         (DF_1_NORELOC): Likewise.
17616         (DF_1_SYMINTPOSE): Likewise.
17617         (DF_1_GLOBAUDIT): Likewise.
17618         (DF_1_SINGLETON): Likewise.
17619         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17620         DT_1_SUPPORTED_MASK bits.
17621         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17623 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
17625         * sysdeps/unix/make-syscalls.sh: Document prefixes.
17627 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
17629         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17630         macro.
17632         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17633         (sendmmsg): Move declarations...
17634         * socket/sys/socket.h: ... here.
17635         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17636         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17637         include it from...
17638         * socket/recvmmsg.c: ... this new file.
17639         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17640         (sendmmsg): Rename to __sendmmsg, create weak alias and make
17641         definition of __sendmmsg hidden.
17642         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17643         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17644         Move ENOSYS stub into and include it from...
17645         * socket/sendmmsg.c: ... this new file.
17646         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17647         (sysdep_routines): Move recvmmsg and sendmmsg...
17648         * socket/Makefile (routines): ... here.
17649         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17650         (GLIBC_PRIVATE): Add __sendmmsg.
17651         * include/sys/socket.h (__sendmmsg): Add declarations.
17652         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17653         sendmmsg.
17655 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
17657         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17658         variable I1 with __attribute__ ((unused)).
17659         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17661 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
17663         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17664         DUMMY variables with __attribute__ ((unused)).
17666         * bits/byteswap.h: Include <bits/types.h>.
17667         (__bswap_64): Use __uint64_t instead of unsigned long long int.
17669 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
17671         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17672         string_t.  Do not manually set errno.
17673         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17674         length with __strnlen.  Make sure to both set errno and return it on
17675         failure.
17677 2012-11-19  David S. Miller  <davem@davemloft.net>
17679         With help from Joseph Myers.
17680         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17681         very large arguments properly.
17682         * math/libm-test.inc (atan_test): New tests.
17683         (atan2_test): New tests.
17684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17687 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
17689         [BZ #14856]
17690         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17691         Define to 3.
17693         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17694         [POSIX] (EADDRNOTAVAIL): Likewise.
17695         [POSIX] (EAFNOSUPPORT): Likewise.
17696         [POSIX] (EALREADY): Likewise.
17697         [POSIX] (ECONNABORTED): Likewise.
17698         [POSIX] (ECONNREFUSED): Likewise.
17699         [POSIX] (ECONNRESET): Likewise.
17700         [POSIX] (EDESTADDRREQ): Likewise.
17701         [POSIX] (EDQUOT): Likewise.
17702         [POSIX] (EHOSTUNREACH): Likewise.
17703         [POSIX] (EIDRM): Likewise.
17704         [POSIX] (EISCONN): Likewise.
17705         [POSIX] (ELOOP): Likewise.
17706         [POSIX] (EMULTIHOP): Likewise.
17707         [POSIX] (ENETDOWN): Likewise.
17708         [POSIX] (ENETUNREACH): Likewise.
17709         [POSIX] (ENOBUFS): Likewise.
17710         [POSIX] (ENODATA): Likewise.
17711         [POSIX] (ENOLINK): Likewise.
17712         [POSIX] (ENOMSG): Likewise.
17713         [POSIX] (ENOPROTOOPT): Likewise.
17714         [POSIX] (ENOSR): Likewise.
17715         [POSIX] (ENOSTR): Likewise.
17716         [POSIX] (ENOTCONN): Likewise.
17717         [POSIX] (ENOTSOCK): Likewise.
17718         [POSIX] (EOPNOTSUPP): Likewise.
17719         [POSIX] (EOVERFLOW): Likewise.
17720         [POSIX] (EPROTO): Likewise.
17721         [POSIX] (EPROTONOSUPPORT): Likewise.
17722         [POSIX] (EPROTOTYPE): Likewise.
17723         [POSIX] (ESTALE): Likewise.
17724         [POSIX] (ETIME): Likewise.
17725         [POSIX] (ETXTBSY): Likewise.
17726         [POSIX] (EWOULDBLOCK): Likewise.
17727         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17728         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17729         [POSIX] (SEEK_CUR): Likewise.
17730         [POSIX] (SEEK_END): Likewise.
17731         [POSIX || UNIX98] (mode_t): Do not require.
17732         [POSIX] (off_t): Likewise.
17733         [POSIX] (pid_t): Likewise.
17734         [POSIX] (sys/stat.h): Do not allow header.
17735         [POSIX] (unistd.h): Likewise.
17736         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17737         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17738         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17739         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17740         require.
17741         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17742         sigevent): Specify elements.
17743         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17744         entry.
17745         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17746         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17748         * conform/data/cpio.h-data [POSIX]: Disable whole file.
17749         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17750         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17751         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17752         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17753         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17754         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17755         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17756         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17757         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17758         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17759         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17760         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17761         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17762         Likewise.
17763         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17764         Likewise.
17765         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17766         Likewise.
17767         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17768         Likewise.
17769         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17770         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17771         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17772         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17773         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17774         Specify lower bound on value.
17775         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17776         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17777         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17778         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17779         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17780         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17781         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17782         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17783         value.
17784         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17785         as optional.
17786         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17787         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17788         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17789         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17790         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17791         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17792         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17793         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17794         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17795         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17796         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17797         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17798         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17799         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17800         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17801         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17802         entry.
17803         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17804         optional.
17805         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17806         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17807         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17808         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17809         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17810         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17811         Likewise.
17812         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17813         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17814         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17815         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17816         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
17817         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17818         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17819         as optional.
17820         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17821         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17822         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17823         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17824         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17825         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17826         specify as optional.
17827         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17828         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17829         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17830         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17831         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17832         [XPG3] (NL_LANGMAX): Likewise.
17833         [POSIX || XPG3] (NL_MSGMAX): Likewise.
17834         [POSIX || XPG3] (NL_NMAX): Likewise.
17835         [POSIX || XPG3] (NL_SETMAX): Likewise.
17836         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17837         [XPG3] (NZERO): Likewise.
17838         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17839         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17840         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17841         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17842         (REG_ERANGE): Expect.
17843         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17844         optional-constant.
17845         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17846         Use (void) in prototype.
17847         [POSIX] (*_t): Allow.
17848         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17849         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17850         (WRDE_BADVAL): Expect.
17852         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17853         expect.
17854         [XPG3 || XPG4] (O_RSYNC): Likewise.
17855         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17856         Likewise.
17857         [XPG3 || XPG4] (pthread_sigmask): Likewise.
17858         [XPG3 || XPG4] (sigqueue): Likewise.
17859         [XPG3 || XPG4] (sigtimedwait): Likewise.
17860         [XPG3 || XPG4] (sigwaitinfo): Likewise.
17861         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17862         [XPG3 || XPG4] (vsnprintf): Likewise.
17863         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17864         Likewise.
17865         [XPG3 || XPG4] (blksize_t): Likewise.
17866         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17867         Likewise.
17868         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17869         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17870         [XPG3 || XPG4] (struct itimerspec): Likewise.
17871         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17872         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17873         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17874         [XPG3 || XPG4] (clockid_t): Likewise.
17875         [XPG3 || XPG4] (timer_t): Likewise.
17876         [XPG3 || XPG4] (clock_getres): Likewise.
17877         [XPG3 || XPG4] (clock_gettime): Likewise.
17878         [XPG3 || XPG4] (clock_settime): Likewise.
17879         [XPG3 || XPG4] (nanosleep): Likewise.
17880         [XPG3 || XPG4] (timer_create): Likewise.
17881         [XPG3 || XPG4] (timer_delete): Likewise.
17882         [XPG3 || XPG4] (timer_gettime): Likewise.
17883         [XPG3 || XPG4] (timer_getoverrun): Likewise.
17884         [XPG3 || XPG4] (timer_settime): Likewise.
17885         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17886         [XPG3 || XPG4] (getlogin_r): Likewise.
17887         [XPG3 || XPG4] (pread): Likewise.
17888         [XPG3 || XPG4] (pthread_atfork): Likewise.
17889         [XPG3 || XPG4] (pwrite): Likewise.
17891         [BZ #14835]
17892         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17893         <bits/siginfo.h>.
17895 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
17897         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17898         finalizing MALLSTREAM.
17900         * sysdeps/mach/hurd/syncfs.c: New file.
17902 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17904         [BZ #14719]
17905         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17906         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17907         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17908         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17909         (_nss_dns_gethostbyname4_r): Likewise.
17910         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17911         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17913 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
17915         [BZ #13763]
17916         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17918 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
17920         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17921         * elf/cache.c (print_entry): Print ",AArch64" for
17922         FLAG_AARCH64_LIB64
17924         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17925         * elf/cache.c (print_entry): Print ",hard-float" for
17926         FLAG_ARM_LIBHF.
17928 2012-11-18  David S. Miller  <davem@davemloft.net>
17930         With help from Joseph Myers.
17931         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17932         cutoff to 2**-13.
17933         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17934         cutoff to 2**-25.
17935         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17936         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17937         small.
17938         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17939         * math/libm-test.inc (y0_test): New tests.
17940         (y1_test): New tests.
17941         * sysdeps/i386/fpu/libm-test-ulps: Update.
17942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17945 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
17947         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17948         64-bit targets.
17949         * configure: Regenerated.
17951 2012-11-17  David S. Miller  <davem@davemloft.net>
17953         [BZ #14811]
17954         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17955         nonzero exponents with absolute value below 0x1p-128 to +/-
17956         0x1p-128.
17958 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
17960         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17962         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17964         * posix/getconf-speclist.c: New file.
17965         * posix/posix-envs.def: Likewise.
17966         * posix/confstr.c (START_ENV_GROUP): New macro.
17967         (END_ENV_GROUP): Likewise.
17968         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17969         (KNOWN_PRESENT_ENV_STRING): Likewise.
17970         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17971         (UNKNOWN_ENVIRONMENT): Likewise.
17972         (confstr): Include posix-envs.def instead of handling
17973         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17974         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17975         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17976         (END_ENV_GROUP): Likewise.
17977         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17978         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17979         (UNKNOWN_ENVIRONMENT): Likewise.
17980         (__sysconf): Include posix-envs.def instead of handling associated
17981         cases directly here.
17982         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17983         preprocessing getconf-speclist.c rather than running getconf or
17984         generating empty file.
17986 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17988         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17990 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17992         [BZ #14672]
17993         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17995 2012-11-16  David S. Miller  <davem@davemloft.net>
17997         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17998         smaller than LDBL_EPSILON/2.0L, just return xm1.
18000 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
18002         * elf/tst-array1.c (init): Set constructor priority to 1000.
18003         (fini): Set destructor priority to 1000.
18004         * elf/tst-array2dep.c: Likewise.
18006 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18008         [BZ #11741]
18009         * libio/fileops.c (_IO_new_file_write): Correctly return error.
18010         (_IO_new_file_xsputn): Also return EOF if none of the input
18011         data was written when overflow failed.
18012         * libio/iopadn.c (_IO_padn): Likewise.
18013         * libio/iowpadn.c (_IO_wpadn): Likewise.
18014         * stdio-common/tst-put-error.c: Add copyright notice.
18015         (do_test): Add case for printing padded string.
18016         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18017         _IO_padn returned error.
18018         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18019         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18020         return EOF.
18022 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18024         * libio/libioP.h: Add comment note that the references to C++
18025         bits are now obsolete.
18027 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18029         * math/libm-test.inc (check_complex): Use asprintf.
18031 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
18033         * debug/pcprofiledump.c (print_version): Update copyright year.
18034         * malloc/memusagestat.c (print_version): Likewise.
18036 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18038         [BZ #14831]
18039         * elf/Makefile (tests): Add tst-audit8.
18040         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18041         ($(objpfx)tst-audit8.out): New target.
18042         (tst-audit8-ENV): New variable.
18043         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18044         audit if l_reloc_result is NULL.
18045         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18046         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18047         * elf/tst-audit8.c: New file.
18049 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18051         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18052         * misc/Makefile (CFLAGS-select.c): Define.
18053         * posix/Makefile (CFLAGS-pause.c): Define.
18055 2012-11-13  David S. Miller  <davem@davemloft.net>
18057         * crypt/Makefile: Move test targets after toplevel Rules
18058         inclusion.  Grab any necessary sysdep routines when linking.
18059         * crypt/md5.c (md5_process_block): Remove define, we will always
18060         name it __md5_process_block.
18061         (md5_finish_ctx): Update md5_process_block call.
18062         (md5_stream): Likewise.
18063         (md5_process_bytes): Likewise.
18064         (md5_process_block): Rename to __md5_process_block and move to ...
18065         * crypt/md5-block.c: ... here.
18066         * crypt/sha256.c (sha256_process_block): Move to ...
18067         * crypt/sha256-block.c: ... here.
18068         * crypt/sha512.c (sha512_process_block): Move to ...
18069         * crypt/sha512-block.c: ... here.
18070         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18071         path.
18072         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18073         * sysdeps/sparc/sparc64/multiarch/Makefile
18074         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18075         crypt subdir.
18076         (localedef-aux): Add md5 crypto assembler when in locale subdir.
18077         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18078         multiarch changes.
18079         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18080         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18081         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18082         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18083         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18084         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18085         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18086         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18087         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18088         file.
18089         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18090         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18091         file.
18092         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18094 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
18096         * timezone/tzselect.ksh: Update from tzcode git revision
18097         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18098         * timezone/zdump.c: Likewise.
18099         * timezone/zic.c: Likewise.
18100         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18101         in TZVERSION setting, not $(PKGVERSION).
18102         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
18103         REPORT_BUGS_TO settings.
18105         [BZ #14838]
18106         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18107         macro.
18109 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18111         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18112         detection to immediately after _FP_ROUND().
18113         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18114         bits are 0.
18116 2012-11-11  David S. Miller  <davem@davemloft.net>
18118         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18119         inttypes.h
18120         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18121         __close rather than their public counterparts.
18123 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
18125         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18126         file.
18127         [UNIX98] (sem_timedwait): Do not expect.
18128         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18129         [XPG4 || UNIX98] (sockatmark): Do not expect.
18130         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18131         (clock_getcpuclockid): Do not expect.
18132         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18133         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18134         Do not expect.
18135         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18136         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18137         [UNIX98] (vwscanf): Likewise.
18138         [UNIX98] (vswscanf): Likewise.
18140 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
18142         * timezone/version.h: Remove file.
18143         * timezone/README: Do not refer to version.h.
18144         * timezone/Makefile ($(objpfx)zic.o): New dependency on
18145         $(objpfx)version.h.
18146         ($(objpfx)zdump.o): Likewise.
18147         ($(objpfx)version.h): New target.
18149         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18150         2012i.
18151         * timezone/README: Don't mention modification to tzselect.ksh.
18152         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18153         work on unmodified tzselect.ksh.  Substitute version numbers in
18154         tzselect.ksh.
18156         * Makefile (format-me): Remove.
18157         (INSTALL): Adjust indentation.  Use commands directly instead of
18158         using $(format-me).
18160         * aclocal.m4 (ACX_PKGVERSION): New macro.
18161         (ACX_BUGURL): Likewise.
18162         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18163         (PKGVERSION): New AC_DEFINE_UNQUOTED.
18164         (REPORT_BUGS_TO): Likewise.
18165         * configure: Regenerated.
18166         * config.h.in (PKGVERSION): New macro.
18167         (REPORT_BUGS_TO): Likewise.
18168         * config.make.in (PKGVERSION): New variable.
18169         (PKGVERSION_TEXI): Likewise.
18170         (REPORT_BUGS_TO): Likewise.
18171         (REPORT_BUGS_TEXI): Likewise.
18172         * Makefile (format-me): Use -I$(common-objpfx)manual.
18173         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18174         ($(common-objpfx)manual/%): New target.
18175         (manual/%): Remove target.
18176         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18177         (print_version): Use PKGVERSION.
18178         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18179         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18180         and REPORT_BUGS_TO.
18181         ($(objpfx)xtrace): Likewise.
18182         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18183         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18184         (print_version): Use PKGVERSION.
18185         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18186         (do_version): Use PKGVERSION.
18187         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18188         REPORT_BUGS_TO.
18189         (common-ldd-rewrite): Likewise.
18190         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18191         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18192         (print_version): Use PKGVERSION.
18193         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18194         * elf/pldd.c (argp_program_bug_address): Remove variable.
18195         (more_help): New function.
18196         (argp): Use more_help.
18197         (print_version): Use PKGVERSION.
18198         * elf/sln.c (main): Use PKGVERSION.
18199         (usage): Use REPORT_BUGS_TO.
18200         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18201         (top level): Use PKGVERSION.
18202         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18203         (print_version): Use PKGVERSION.
18204         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18205         (print_version): Use PKGVERSION.
18206         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18207         (print_version): Use PKGVERSION.
18208         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18209         (print_version): Use PKGVERSION.
18210         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18211         (print_version): Use PKGVERSION.
18212         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18213         (print_version): Use PKGVERSION.
18214         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18215         and BUGURL.
18216         ($(objpfx)memusage): Likewise.
18217         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18218         (do_version): Use PKGVERSION.
18219         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18220         (print_version): Use PKGVERSION.
18221         * malloc/mtrace.pl ($PACKAGE): Remove variable.
18222         ($PKGVERSION): New variable.
18223         ($REPORT_BUGS_TO): Likewise.
18224         (usage): Use $REPORT_BUGS_TO.
18225         (top level): Use $PKGVERSION.
18226         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18227         ($(objpfx)pkgvers.texi): New rule.
18228         ($(objpfx)stamp-pkgvers): Likewise.
18229         * manual/install.texi: Include pkgvers.texi.
18230         (--with-pkgversion): Document new configure option.
18231         (--with-bugurl): Likewise.
18232         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18233         than necessarily for this particular distribution.  Use
18234         REPORT_BUGS_TO for where to report bugs.
18235         * INSTALL: Regenerated.
18236         * manual/libc.texinfo: Include pkgvers.texi.
18237         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18238         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18239         (print_version): Use PKGVERSION.
18240         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18241         (print_version): Use PKGVERSION.
18242         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18243         (print_version): Use PKGVERSION.
18244         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18245         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18246         macro.
18247         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18248         (print_version): Use PKGVERSION.
18249         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18250         (print_version): Use PKGVERSION.
18251         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18252         and PKGVERSION.
18254         * timezone/checktab.awk: Update from tzcode 2012i.
18255         * timezone/ialloc.c: Likewise.
18256         * timezone/private.h: Likewise.
18257         * timezone/scheck.c: Likewise.
18258         * timezone/tzfile.h: Likewise.
18259         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18260         (TZVERSION): Hardcode tzcode version number.
18261         * timezone/zdump.c: Update from tzcode 2012i.
18262         * timezone/zic.c: Likewise.
18263         * timezone/version.h: New file.
18264         * timezone/README: Describe version.h.  Update upstream location.
18266         [BZ #14824]
18267         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18268         (mktemp): Enable declaration.
18269         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18270         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18272         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18273         Likewise.
18274         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18275         Likewise.
18276         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18277         Likewise.
18278         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18279         Likewise.
18280         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18281         Likewise.
18282         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18283         Likewise.
18285         [BZ #14821]
18286         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18287         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
18288         for copies of such integer values.
18289         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18290         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18292 2012-11-09  Andreas Jaeger  <aj@suse.de>
18294         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18295         definitions and declarations that are provided by
18296         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18298 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18300         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18301         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18302         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18303         definition.
18305 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18307         * elf/elf.h: Update comment before AArch64 relocations.
18309 2012-11-07  David S. Miller  <davem@davemloft.net>
18311         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18312         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18313         (__start_context): Declare.
18314         (__makecontext_ret): Delete.
18315         (__makecontext): Hook up __start_context instead of
18316         __makecontext_ret.
18317         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18318         (sysdep_routines): Add __start_context when in stdlib.
18320 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18322         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18323         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18324         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
18325         hardcoded "nm".
18326         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
18327         (READELF): New variable.  Use it instead of hardcoded "readelf".
18329 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18331         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18332         * sysdeps/x86/Makefile: Here.
18333         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18334         * sysdeps/x86/tst-xmmymm.sh: This.
18336 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18338         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18339         expectations.
18340         [UNIX98] (pthread_barrier_t): Do not expect.
18341         [UNIX98] (pthread_barrierattr_t): Likewise.
18342         [UNIX98] (pthread_spinlock_t): Likewise.
18343         [UNIX98] (pthread_barrier_destroy): Likewise.
18344         [UNIX98] (pthread_barrier_init): Likewise.
18345         [UNIX98] (pthread_barrier_wait): Likewise.
18346         [UNIX98] (pthread_barrierattr_destroy): Likewise.
18347         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18348         [UNIX98] (pthread_barrierattr_init): Likewise.
18349         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18350         [UNIX98] (pthread_getcpuclockid): Likewise.
18351         [UNIX98] (pthread_mutex_timedlock): Likewise.
18352         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18353         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18354         [UNIX98] (pthread_sigmask): Likewise.
18355         [UNIX98] (pthread_spin_destroy): Likewise.
18356         [UNIX98] (pthread_spin_init): Likewise.
18357         [UNIX98] (pthread_spin_lock): Likewise.
18358         [UNIX98] (pthread_spin_trylock): Likewise.
18359         [UNIX98] (pthread_spin_unlock): Likewise.
18360         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18361         Do not expect.
18362         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18363         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18364         [XPG3 || XPG4] (pthread_cond_t): Likewise.
18365         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18366         [XPG3 || XPG4] (pthread_key_t): Likewise.
18367         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18368         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18369         [XPG3 || XPG4] (pthread_once_t): Likewise.
18370         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18371         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18372         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18373         [XPG3 || XPG4] (pthread_t): Likewise.
18375         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18376         not expect.
18377         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18379         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18380         Change function return type to int.
18382         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18383         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18384         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18385         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18386         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18387         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18388         [!POSIX] (posix_madvise): Likewise.
18389         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18390         && !UNIX98].
18391         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18392         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18393         (mode_t): Likewise.
18394         (posix_mem_offset): Likewise.
18395         (posix_typed_mem_get_info): Likewise.
18396         (posix_typed_mem_open): Likewise.
18398         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18399         Change condition to [XOPEN2K8].
18401         * conform/conformtest.pl: Preprocess allow-header data with -x c
18402         instead of from stdin.
18403         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18404         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18405         [C99-based standards] (cerfc): Likewise.
18406         [C99-based standards] (cexp2): Likewise.
18407         [C99-based standards] (cexpm1): Likewise.
18408         [C99-based standards] (clog10): Likewise.
18409         [C99-based standards] (clog1p): Likewise.
18410         [C99-based standards] (clog2): Likewise.
18411         [C99-based standards] (clgamma): Likewise.
18412         [C99-based standards] (ctgamma): Likewise.
18413         [C99-based standards] (cerff): Likewise.
18414         [C99-based standards] (cerfcf): Likewise.
18415         [C99-based standards] (cexp2f): Likewise.
18416         [C99-based standards] (cexpm1f): Likewise.
18417         [C99-based standards] (clog10f): Likewise.
18418         [C99-based standards] (clog1pf): Likewise.
18419         [C99-based standards] (clog2f): Likewise.
18420         [C99-based standards] (clgammaf): Likewise.
18421         [C99-based standards] (ctgammaf): Likewise.
18422         [C99-based standards] (cerfl): Likewise.
18423         [C99-based standards] (cerfcl): Likewise.
18424         [C99-based standards] (cexp2l): Likewise.
18425         [C99-based standards] (cexpm1l): Likewise.
18426         [C99-based standards] (clog10l): Likewise.
18427         [C99-based standards] (clog1pl): Likewise.
18428         [C99-based standards] (clog2l): Likewise.
18429         [C99-based standards] (clgammal): Likewise.
18430         [C99-based standards] (ctgammal): Likewise.
18431         * conform/data/inttypes.h-data [C99-based standards]: Include
18432         stdint.h-data.  Remove all expectations for stdint.h contents.
18433         [C99-based standards] (PRI*): Do not allow.
18434         [C99-based standards] (SCN*): Likewise.
18435         [C99-based standards] (*_t): Likewise.
18436         [C99-based-standards] (PRId8): Expect macro.
18437         [C99-based-standards] (PRIi8): Likewise.
18438         [C99-based-standards] (PRIo8): Likewise.
18439         [C99-based-standards] (PRIu8): Likewise.
18440         [C99-based-standards] (PRIx8): Likewise.
18441         [C99-based-standards] (PRIX8): Likewise.
18442         [C99-based-standards] (SCNd8): Likewise.
18443         [C99-based-standards] (SCNi8): Likewise.
18444         [C99-based-standards] (SCNo8): Likewise.
18445         [C99-based-standards] (SCNu8): Likewise.
18446         [C99-based-standards] (SCNx8): Likewise.
18447         [C99-based-standards] (PRIdLEAST8): Likewise.
18448         [C99-based-standards] (PRIiLEAST8): Likewise.
18449         [C99-based-standards] (PRIoLEAST8): Likewise.
18450         [C99-based-standards] (PRIuLEAST8): Likewise.
18451         [C99-based-standards] (PRIxLEAST8): Likewise.
18452         [C99-based-standards] (PRIXLEAST8): Likewise.
18453         [C99-based-standards] (SCNdLEAST8): Likewise.
18454         [C99-based-standards] (SCNiLEAST8): Likewise.
18455         [C99-based-standards] (SCNoLEAST8): Likewise.
18456         [C99-based-standards] (SCNuLEAST8): Likewise.
18457         [C99-based-standards] (SCNxLEAST8): Likewise.
18458         [C99-based-standards] (PRIdFAST8): Likewise.
18459         [C99-based-standards] (PRIiFAST8): Likewise.
18460         [C99-based-standards] (PRIoFAST8): Likewise.
18461         [C99-based-standards] (PRIuFAST8): Likewise.
18462         [C99-based-standards] (PRIxFAST8): Likewise.
18463         [C99-based-standards] (PRIXFAST8): Likewise.
18464         [C99-based-standards] (SCNdFAST8): Likewise.
18465         [C99-based-standards] (SCNiFAST8): Likewise.
18466         [C99-based-standards] (SCNoFAST8): Likewise.
18467         [C99-based-standards] (SCNuFAST8): Likewise.
18468         [C99-based-standards] (SCNxFAST8): Likewise.
18469         [C99-based-standards] (PRId16): Likewise.
18470         [C99-based-standards] (PRIi16): Likewise.
18471         [C99-based-standards] (PRIo16): Likewise.
18472         [C99-based-standards] (PRIu16): Likewise.
18473         [C99-based-standards] (PRIx16): Likewise.
18474         [C99-based-standards] (PRIX16): Likewise.
18475         [C99-based-standards] (SCNd16): Likewise.
18476         [C99-based-standards] (SCNi16): Likewise.
18477         [C99-based-standards] (SCNo16): Likewise.
18478         [C99-based-standards] (SCNu16): Likewise.
18479         [C99-based-standards] (SCNx16): Likewise.
18480         [C99-based-standards] (PRIdLEAST16): Likewise.
18481         [C99-based-standards] (PRIiLEAST16): Likewise.
18482         [C99-based-standards] (PRIoLEAST16): Likewise.
18483         [C99-based-standards] (PRIuLEAST16): Likewise.
18484         [C99-based-standards] (PRIxLEAST16): Likewise.
18485         [C99-based-standards] (PRIXLEAST16): Likewise.
18486         [C99-based-standards] (SCNdLEAST16): Likewise.
18487         [C99-based-standards] (SCNiLEAST16): Likewise.
18488         [C99-based-standards] (SCNoLEAST16): Likewise.
18489         [C99-based-standards] (SCNuLEAST16): Likewise.
18490         [C99-based-standards] (SCNxLEAST16): Likewise.
18491         [C99-based-standards] (PRIdFAST16): Likewise.
18492         [C99-based-standards] (PRIiFAST16): Likewise.
18493         [C99-based-standards] (PRIoFAST16): Likewise.
18494         [C99-based-standards] (PRIuFAST16): Likewise.
18495         [C99-based-standards] (PRIxFAST16): Likewise.
18496         [C99-based-standards] (PRIXFAST16): Likewise.
18497         [C99-based-standards] (SCNdFAST16): Likewise.
18498         [C99-based-standards] (SCNiFAST16): Likewise.
18499         [C99-based-standards] (SCNoFAST16): Likewise.
18500         [C99-based-standards] (SCNuFAST16): Likewise.
18501         [C99-based-standards] (SCNxFAST16): Likewise.
18502         [C99-based-standards] (PRId32): Likewise.
18503         [C99-based-standards] (PRIi32): Likewise.
18504         [C99-based-standards] (PRIo32): Likewise.
18505         [C99-based-standards] (PRIu32): Likewise.
18506         [C99-based-standards] (PRIx32): Likewise.
18507         [C99-based-standards] (PRIX32): Likewise.
18508         [C99-based-standards] (SCNd32): Likewise.
18509         [C99-based-standards] (SCNi32): Likewise.
18510         [C99-based-standards] (SCNo32): Likewise.
18511         [C99-based-standards] (SCNu32): Likewise.
18512         [C99-based-standards] (SCNx32): Likewise.
18513         [C99-based-standards] (PRIdLEAST32): Likewise.
18514         [C99-based-standards] (PRIiLEAST32): Likewise.
18515         [C99-based-standards] (PRIoLEAST32): Likewise.
18516         [C99-based-standards] (PRIuLEAST32): Likewise.
18517         [C99-based-standards] (PRIxLEAST32): Likewise.
18518         [C99-based-standards] (PRIXLEAST32): Likewise.
18519         [C99-based-standards] (SCNdLEAST32): Likewise.
18520         [C99-based-standards] (SCNiLEAST32): Likewise.
18521         [C99-based-standards] (SCNoLEAST32): Likewise.
18522         [C99-based-standards] (SCNuLEAST32): Likewise.
18523         [C99-based-standards] (SCNxLEAST32): Likewise.
18524         [C99-based-standards] (PRIdFAST32): Likewise.
18525         [C99-based-standards] (PRIiFAST32): Likewise.
18526         [C99-based-standards] (PRIoFAST32): Likewise.
18527         [C99-based-standards] (PRIuFAST32): Likewise.
18528         [C99-based-standards] (PRIxFAST32): Likewise.
18529         [C99-based-standards] (PRIXFAST32): Likewise.
18530         [C99-based-standards] (SCNdFAST32): Likewise.
18531         [C99-based-standards] (SCNiFAST32): Likewise.
18532         [C99-based-standards] (SCNoFAST32): Likewise.
18533         [C99-based-standards] (SCNuFAST32): Likewise.
18534         [C99-based-standards] (SCNxFAST32): Likewise.
18535         [C99-based-standards] (PRId64): Likewise.
18536         [C99-based-standards] (PRIi64): Likewise.
18537         [C99-based-standards] (PRIo64): Likewise.
18538         [C99-based-standards] (PRIu64): Likewise.
18539         [C99-based-standards] (PRIx64): Likewise.
18540         [C99-based-standards] (PRIX64): Likewise.
18541         [C99-based-standards] (SCNd64): Likewise.
18542         [C99-based-standards] (SCNi64): Likewise.
18543         [C99-based-standards] (SCNo64): Likewise.
18544         [C99-based-standards] (SCNu64): Likewise.
18545         [C99-based-standards] (SCNx64): Likewise.
18546         [C99-based-standards] (PRIdLEAST64): Likewise.
18547         [C99-based-standards] (PRIiLEAST64): Likewise.
18548         [C99-based-standards] (PRIoLEAST64): Likewise.
18549         [C99-based-standards] (PRIuLEAST64): Likewise.
18550         [C99-based-standards] (PRIxLEAST64): Likewise.
18551         [C99-based-standards] (PRIXLEAST64): Likewise.
18552         [C99-based-standards] (SCNdLEAST64): Likewise.
18553         [C99-based-standards] (SCNiLEAST64): Likewise.
18554         [C99-based-standards] (SCNoLEAST64): Likewise.
18555         [C99-based-standards] (SCNuLEAST64): Likewise.
18556         [C99-based-standards] (SCNxLEAST64): Likewise.
18557         [C99-based-standards] (PRIdFAST64): Likewise.
18558         [C99-based-standards] (PRIiFAST64): Likewise.
18559         [C99-based-standards] (PRIoFAST64): Likewise.
18560         [C99-based-standards] (PRIuFAST64): Likewise.
18561         [C99-based-standards] (PRIxFAST64): Likewise.
18562         [C99-based-standards] (PRIXFAST64): Likewise.
18563         [C99-based-standards] (SCNdFAST64): Likewise.
18564         [C99-based-standards] (SCNiFAST64): Likewise.
18565         [C99-based-standards] (SCNoFAST64): Likewise.
18566         [C99-based-standards] (SCNuFAST64): Likewise.
18567         [C99-based-standards] (SCNxFAST64): Likewise.
18568         [C99-based-standards] (PRIdMAX): Likewise.
18569         [C99-based-standards] (PRIiMAX): Likewise.
18570         [C99-based-standards] (PRIoMAX): Likewise.
18571         [C99-based-standards] (PRIuMAX): Likewise.
18572         [C99-based-standards] (PRIxMAX): Likewise.
18573         [C99-based-standards] (PRIXMAX): Likewise.
18574         [C99-based-standards] (SCNdMAX): Likewise.
18575         [C99-based-standards] (SCNiMAX): Likewise.
18576         [C99-based-standards] (SCNoMAX): Likewise.
18577         [C99-based-standards] (SCNuMAX): Likewise.
18578         [C99-based-standards] (SCNxMAX): Likewise.
18579         [C99-based-standards] (PRIdPTR): Likewise.
18580         [C99-based-standards] (PRIiPTR): Likewise.
18581         [C99-based-standards] (PRIoPTR): Likewise.
18582         [C99-based-standards] (PRIuPTR): Likewise.
18583         [C99-based-standards] (PRIxPTR): Likewise.
18584         [C99-based-standards] (PRIXPTR): Likewise.
18585         [C99-based-standards] (SCNdPTR): Likewise.
18586         [C99-based-standards] (SCNiPTR): Likewise.
18587         [C99-based-standards] (SCNoPTR): Likewise.
18588         [C99-based-standards] (SCNuPTR): Likewise.
18589         [C99-based-standards] (SCNxPTR): Likewise.
18590         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18591         allow.
18592         * conform/data/stdint.h-data: Update comments to clarify
18593         requirements.
18594         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
18595         type.
18596         [C99-based standards] (INT8_MAX): Likewise.
18597         [C99-based standards] (INT16_MIN): Likewise.
18598         [C99-based standards] (INT16_MAX): Likewise.
18599         [C99-based standards] (INT32_MIN): Likewise.
18600         [C99-based standards] (INT32_MAX): Likewise.
18601         [C99-based standards] (INT64_MIN): Likewise.
18602         [C99-based standards] (INT64_MAX): Likewise.
18603         [C99-based standards] (UINT8_MAX): Likewise.
18604         [C99-based standards] (UINT16_MAX): Likewise.
18605         [C99-based standards] (UINT32_MAX): Likewise.
18606         [C99-based standards] (UINT64_MAX): Likewise.
18607         [C99-based standards] (INT_LEAST8_MIN): Likewise.
18608         [C99-based standards] (INT_LEAST8_MAX): Likewise.
18609         [C99-based standards] (INT_LEAST16_MIN): Likewise.
18610         [C99-based standards] (INT_LEAST16_MAX): Likewise.
18611         [C99-based standards] (INT_LEAST32_MIN): Likewise.
18612         [C99-based standards] (INT_LEAST32_MAX): Likewise.
18613         [C99-based standards] (INT_LEAST64_MIN): Likewise.
18614         [C99-based standards] (INT_LEAST64_MAX): Likewise.
18615         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18616         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18617         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18618         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18619         [C99-based standards] (INT_FAST8_MIN): Likewise.
18620         [C99-based standards] (INT_FAST8_MAX): Likewise.
18621         [C99-based standards] (INT_FAST16_MIN): Likewise.
18622         [C99-based standards] (INT_FAST16_MAX): Likewise.
18623         [C99-based standards] (INT_FAST32_MIN): Likewise.
18624         [C99-based standards] (INT_FAST32_MAX): Likewise.
18625         [C99-based standards] (INT_FAST64_MIN): Likewise.
18626         [C99-based standards] (INT_FAST64_MAX): Likewise.
18627         [C99-based standards] (UINT_FAST8_MAX): Likewise.
18628         [C99-based standards] (UINT_FAST16_MAX): Likewise.
18629         [C99-based standards] (UINT_FAST32_MAX): Likewise.
18630         [C99-based standards] (UINT_FAST64_MAX): Likewise.
18631         [C99-based standards] (INTPTR_MIN): Likewise.
18632         [C99-based standards] (INTPTR_MAX): Likewise.
18633         [C99-based standards] (UINTPTR_MAX): Likewise.
18634         [C99-based standards] (INTMAX_MIN): Likewise.
18635         [C99-based standards] (INTMAX_MAX): Likewise.
18636         [C99-based standards] (UINTMAX_MAX): Likewise.
18637         [C99-based standards] (PTRDIFF_MIN): Likewise.
18638         [C99-based standards] (PTRDIFF_MAX): Likewise.
18639         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18640         [C99-based standards] (SIZE_MAX): Likewise.
18641         [C99-based standards] (WCHAR_MAX): Likewise.
18642         [C99-based standards] (WINT_MAX): Likewise.
18643         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
18644         constraint on value.
18645         [C99-based standards] (WCHAR_MIN): Likewise.
18646         [C99-based standards] (WINT_MIN): Likewise.
18647         [C99-based standards] (*_t): Allow.
18648         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18649         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18650         Include math.h-data and complex.h-data.  Remove all expectations
18651         of math.h and complex.h contents.
18652         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18653         at end of line.
18654         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18655         (struct tm): Expect tag.
18656         [C99-based-standards] (wcstof): Expect function.
18657         [C99-based-standards] (wcstold): Likewise.
18658         [C99-based-standards] (wcstoll): Likewise.
18659         [C99-based-standards] (wcstoull): Likewise.
18660         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18661         macro-int-constant.  Specify type.
18662         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
18663         constraint on value.
18664         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18665         Specify type.
18666         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18667         Specify value.
18668         [ISO C standards]: Do not allow headers.
18669         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18670         wcs[abcdefghijklmnopqrstuvwxyz]*.
18671         [ISO C standards] (*_t): Do not allow.
18672         * conform/data/wctype.h-data [C99-based standards] (iswblank):
18673         Expect function.
18674         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18675         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18676         Specify type.
18677         [ISO C standards]: Do not allow headers.
18678         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18679         is[abcdefghijklmnopqrstuvwxyz]*.
18680         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18681         to[abcdefghijklmnopqrstuvwxyz]*.
18682         [ISO C standards] (*_t): Do not allow.
18683         * conform/data/stdalign.h-data: New file.
18684         * conform/data/stdbool.h-data: Likewise.
18685         * conform/data/stdnoreturn.h-data: Likewise.
18687 2012-11-07  Roland McGrath  <roland@hack.frob.com>
18689         [BZ #14815]
18690         * manual/filesys.texi (Directory Entries): Typo fix.
18691         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18693 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18695         * elf/elf.h (EM_AARCH64): New macro.
18696         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18697         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18698         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18699         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18700         (R_AARCH64_TLSDESC): Likewise.
18701         (NT_ARM_TLS): Likewise.
18702         (NT_ARM_HW_BREAK): Likewise.
18703         (NT_ARM_HW_WATCH): Likewise.
18705 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18707         [BZ #14811]
18708         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18709         (__ieee754_powl): Saturate nonzero exponents with absolute value
18710         below 0x1p-79 to +/- 0x1p-79.
18711         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18712         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18713         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18714         nonzero exponents with absolute value below 0x1p-32 to +/-
18715         0x1p-32.
18716         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18717         (__ieee754_powl): Saturate nonzero exponents with absolute value
18718         below 0x1p-79 to +/- 0x1p-79.
18719         * math/libm-test.inc (pow_test): Add more tests.
18721 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18723         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18724         _dl_s390_cap_flags with kernel. Increase string length.
18725         (_dl_s390_platforms): Add z196 and zEC12.
18727 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
18729         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18730         Change XOPEN21K to XOPEN2K.
18732 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
18734         * string/memmove.c: Use memcpy when possible.
18736 2012-11-06  Andreas Jaeger  <aj@suse.de>
18738         * po/eo.po: Update from translation team.
18740 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
18742         [BZ #14793]
18743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18744         exponent and small x and y exponents, scale x or y up.  Increase
18745         by 2 the exponent used in scaling up.
18746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18748         * math/libm-test.inc (fma_test): Add more tests.
18749         (fma_test_towardzero): Likewise.
18750         (fma_test_downward): Likewise.
18751         (fma_test_upward): Likewise.
18753 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
18755         [BZ #14805]
18756         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18757         fenv_t *.
18759         [BZ #14801]
18760         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18761         namespace for names of struct fields.
18762         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18763         fenv_t fields.
18764         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18765         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18767 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18769         [BZ #3665]
18770         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18772 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
18774         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18775         PTR_DEMANGLE.
18777         [BZ #5246]
18778         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18779         PTR_DEMANGLE.
18781 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
18783         [BZ #14797]
18784         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18785         definitely overflow as x * y not x * y + z.
18786         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18787         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18788         * math/libm-test.inc (fma_test): Add more tests.
18789         (fma_test_towardzero): Likewise.
18790         (fma_test_downward): Likewise.
18791         (fma_test_upward): Likewise.
18793 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
18795         [BZ #157]
18797         * include/stub-tag.h: Remove file.
18798         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18799         '#include' of it.
18800         * manual/maint.texi (Porting): Don't reference it.
18801         * Makerules ($(objpfx)stubs): Likewise.
18802         * dirent/closedir.c: Don't include <stub-tag.h>.
18803         * dirent/dirfd.c: Likewise.
18804         * dirent/fdopendir.c: Likewise.
18805         * dirent/getdents.c: Likewise.
18806         * dirent/getdents64.c: Likewise.
18807         * dirent/opendir.c: Likewise.
18808         * dirent/readdir.c: Likewise.
18809         * dirent/readdir64.c: Likewise.
18810         * dirent/readdir64_r.c: Likewise.
18811         * dirent/readdir_r.c: Likewise.
18812         * dirent/rewinddir.c: Likewise.
18813         * dirent/seekdir.c: Likewise.
18814         * dirent/telldir.c: Likewise.
18815         * gmon/profil.c: Likewise.
18816         * grp/setgroups.c: Likewise.
18817         * inet/if_index.c: Likewise.
18818         * io/access.c: Likewise.
18819         * io/chdir.c: Likewise.
18820         * io/chmod.c: Likewise.
18821         * io/chown.c: Likewise.
18822         * io/close.c: Likewise.
18823         * io/dup.c: Likewise.
18824         * io/dup2.c: Likewise.
18825         * io/dup3.c: Likewise.
18826         * io/euidaccess.c: Likewise.
18827         * io/faccessat.c: Likewise.
18828         * io/fchdir.c: Likewise.
18829         * io/fchmod.c: Likewise.
18830         * io/fchmodat.c: Likewise.
18831         * io/fchown.c: Likewise.
18832         * io/fchownat.c: Likewise.
18833         * io/fcntl.c: Likewise.
18834         * io/flock.c: Likewise.
18835         * io/fstatfs.c: Likewise.
18836         * io/fstatfs64.c: Likewise.
18837         * io/fstatvfs.c: Likewise.
18838         * io/fstatvfs64.c: Likewise.
18839         * io/futimens.c: Likewise.
18840         * io/fxstat.c: Likewise.
18841         * io/fxstat64.c: Likewise.
18842         * io/fxstatat.c: Likewise.
18843         * io/fxstatat64.c: Likewise.
18844         * io/getcwd.c: Likewise.
18845         * io/isatty.c: Likewise.
18846         * io/lchmod.c: Likewise.
18847         * io/lchown.c: Likewise.
18848         * io/link.c: Likewise.
18849         * io/linkat.c: Likewise.
18850         * io/lseek.c: Likewise.
18851         * io/lseek64.c: Likewise.
18852         * io/lxstat64.c: Likewise.
18853         * io/mkdir.c: Likewise.
18854         * io/mkdirat.c: Likewise.
18855         * io/mkfifo.c: Likewise.
18856         * io/mkfifoat.c: Likewise.
18857         * io/open.c: Likewise.
18858         * io/open64.c: Likewise.
18859         * io/openat.c: Likewise.
18860         * io/openat64.c: Likewise.
18861         * io/pipe.c: Likewise.
18862         * io/pipe2.c: Likewise.
18863         * io/poll.c: Likewise.
18864         * io/posix_fadvise.c: Likewise.
18865         * io/posix_fadvise64.c: Likewise.
18866         * io/posix_fallocate.c: Likewise.
18867         * io/posix_fallocate64.c: Likewise.
18868         * io/read.c: Likewise.
18869         * io/readlink.c: Likewise.
18870         * io/readlinkat.c: Likewise.
18871         * io/rmdir.c: Likewise.
18872         * io/sendfile.c: Likewise.
18873         * io/sendfile64.c: Likewise.
18874         * io/statfs.c: Likewise.
18875         * io/statfs64.c: Likewise.
18876         * io/statvfs.c: Likewise.
18877         * io/statvfs64.c: Likewise.
18878         * io/symlink.c: Likewise.
18879         * io/symlinkat.c: Likewise.
18880         * io/ttyname.c: Likewise.
18881         * io/ttyname_r.c: Likewise.
18882         * io/umask.c: Likewise.
18883         * io/unlink.c: Likewise.
18884         * io/unlinkat.c: Likewise.
18885         * io/utime.c: Likewise.
18886         * io/utimensat.c: Likewise.
18887         * io/write.c: Likewise.
18888         * io/xmknod.c: Likewise.
18889         * io/xmknodat.c: Likewise.
18890         * io/xstat.c: Likewise.
18891         * io/xstat64.c: Likewise.
18892         * login/getpt.c: Likewise.
18893         * login/grantpt.c: Likewise.
18894         * login/unlockpt.c: Likewise.
18895         * math/e_acoshl.c: Likewise.
18896         * math/e_acosl.c: Likewise.
18897         * math/e_asinl.c: Likewise.
18898         * math/e_atan2l.c: Likewise.
18899         * math/e_atanhl.c: Likewise.
18900         * math/e_coshl.c: Likewise.
18901         * math/e_expl.c: Likewise.
18902         * math/e_fmodl.c: Likewise.
18903         * math/e_gammal_r.c: Likewise.
18904         * math/e_hypotl.c: Likewise.
18905         * math/e_j0l.c: Likewise.
18906         * math/e_j1l.c: Likewise.
18907         * math/e_jnl.c: Likewise.
18908         * math/e_lgammal_r.c: Likewise.
18909         * math/e_log10l.c: Likewise.
18910         * math/e_log2l.c: Likewise.
18911         * math/e_logl.c: Likewise.
18912         * math/e_powl.c: Likewise.
18913         * math/e_rem_pio2l.c: Likewise.
18914         * math/e_sinhl.c: Likewise.
18915         * math/e_sqrtl.c: Likewise.
18916         * math/fclrexcpt.c: Likewise.
18917         * math/fedisblxcpt.c: Likewise.
18918         * math/feenablxcpt.c: Likewise.
18919         * math/fegetenv.c: Likewise.
18920         * math/fegetexcept.c: Likewise.
18921         * math/fegetround.c: Likewise.
18922         * math/feholdexcpt.c: Likewise.
18923         * math/fesetenv.c: Likewise.
18924         * math/fesetround.c: Likewise.
18925         * math/feupdateenv.c: Likewise.
18926         * math/fgetexcptflg.c: Likewise.
18927         * math/fraiseexcpt.c: Likewise.
18928         * math/fsetexcptflg.c: Likewise.
18929         * math/ftestexcept.c: Likewise.
18930         * math/k_cosl.c: Likewise.
18931         * math/k_rem_pio2l.c: Likewise.
18932         * math/k_sinl.c: Likewise.
18933         * math/k_tanl.c: Likewise.
18934         * math/s_asinhl.c: Likewise.
18935         * math/s_atanl.c: Likewise.
18936         * math/s_cbrtl.c: Likewise.
18937         * math/s_erfl.c: Likewise.
18938         * math/s_expm1l.c: Likewise.
18939         * math/s_log1pl.c: Likewise.
18940         * math/s_tanhl.c: Likewise.
18941         * misc/acct.c: Likewise.
18942         * misc/brk.c: Likewise.
18943         * misc/chflags.c: Likewise.
18944         * misc/chroot.c: Likewise.
18945         * misc/fchflags.c: Likewise.
18946         * misc/fgetxattr.c: Likewise.
18947         * misc/flistxattr.c: Likewise.
18948         * misc/fremovexattr.c: Likewise.
18949         * misc/fsetxattr.c: Likewise.
18950         * misc/fsync.c: Likewise.
18951         * misc/ftruncate.c: Likewise.
18952         * misc/futimes.c: Likewise.
18953         * misc/futimesat.c: Likewise.
18954         * misc/getdomain.c: Likewise.
18955         * misc/getdtsz.c: Likewise.
18956         * misc/gethostid.c: Likewise.
18957         * misc/gethostname.c: Likewise.
18958         * misc/getloadavg.c: Likewise.
18959         * misc/getpagesize.c: Likewise.
18960         * misc/getsysstats.c: Likewise.
18961         * misc/getxattr.c: Likewise.
18962         * misc/gtty.c: Likewise.
18963         * misc/ioctl.c: Likewise.
18964         * misc/lgetxattr.c: Likewise.
18965         * misc/listxattr.c: Likewise.
18966         * misc/llistxattr.c: Likewise.
18967         * misc/lremovexattr.c: Likewise.
18968         * misc/lsetxattr.c: Likewise.
18969         * misc/lutimes.c: Likewise.
18970         * misc/madvise.c: Likewise.
18971         * misc/mincore.c: Likewise.
18972         * misc/mlock.c: Likewise.
18973         * misc/mlockall.c: Likewise.
18974         * misc/mmap.c: Likewise.
18975         * misc/mprotect.c: Likewise.
18976         * misc/msync.c: Likewise.
18977         * misc/munlock.c: Likewise.
18978         * misc/munlockall.c: Likewise.
18979         * misc/munmap.c: Likewise.
18980         * misc/preadv.c: Likewise.
18981         * misc/preadv64.c: Likewise.
18982         * misc/ptrace.c: Likewise.
18983         * misc/pwritev.c: Likewise.
18984         * misc/pwritev64.c: Likewise.
18985         * misc/readv.c: Likewise.
18986         * misc/reboot.c: Likewise.
18987         * misc/remap_file_pages.c: Likewise.
18988         * misc/removexattr.c: Likewise.
18989         * misc/revoke.c: Likewise.
18990         * misc/select.c: Likewise.
18991         * misc/setdomain.c: Likewise.
18992         * misc/setegid.c: Likewise.
18993         * misc/seteuid.c: Likewise.
18994         * misc/sethostid.c: Likewise.
18995         * misc/sethostname.c: Likewise.
18996         * misc/setregid.c: Likewise.
18997         * misc/setreuid.c: Likewise.
18998         * misc/setxattr.c: Likewise.
18999         * misc/sstk.c: Likewise.
19000         * misc/stty.c: Likewise.
19001         * misc/swapoff.c: Likewise.
19002         * misc/swapon.c: Likewise.
19003         * misc/sync.c: Likewise.
19004         * misc/syncfs.c: Likewise.
19005         * misc/syscall.c: Likewise.
19006         * misc/truncate.c: Likewise.
19007         * misc/ualarm.c: Likewise.
19008         * misc/usleep.c: Likewise.
19009         * misc/ustat.c: Likewise.
19010         * misc/utimes.c: Likewise.
19011         * misc/vhangup.c: Likewise.
19012         * misc/writev.c: Likewise.
19013         * posix/_exit.c: Likewise.
19014         * posix/alarm.c: Likewise.
19015         * posix/execve.c: Likewise.
19016         * posix/fexecve.c: Likewise.
19017         * posix/fork.c: Likewise.
19018         * posix/fpathconf.c: Likewise.
19019         * posix/getaddrinfo.c: Likewise.
19020         * posix/getegid.c: Likewise.
19021         * posix/geteuid.c: Likewise.
19022         * posix/getgid.c: Likewise.
19023         * posix/getgroups.c: Likewise.
19024         * posix/getlogin.c: Likewise.
19025         * posix/getlogin_r.c: Likewise.
19026         * posix/getpgid.c: Likewise.
19027         * posix/getpid.c: Likewise.
19028         * posix/getppid.c: Likewise.
19029         * posix/getresgid.c: Likewise.
19030         * posix/getresuid.c: Likewise.
19031         * posix/getsid.c: Likewise.
19032         * posix/getuid.c: Likewise.
19033         * posix/glob64.c: Likewise.
19034         * posix/nanosleep.c: Likewise.
19035         * posix/pathconf.c: Likewise.
19036         * posix/pause.c: Likewise.
19037         * posix/posix_madvise.c: Likewise.
19038         * posix/pread.c: Likewise.
19039         * posix/pread64.c: Likewise.
19040         * posix/pwrite.c: Likewise.
19041         * posix/pwrite64.c: Likewise.
19042         * posix/sched_getaffinity.c: Likewise.
19043         * posix/sched_getp.c: Likewise.
19044         * posix/sched_gets.c: Likewise.
19045         * posix/sched_primax.c: Likewise.
19046         * posix/sched_primin.c: Likewise.
19047         * posix/sched_rr_gi.c: Likewise.
19048         * posix/sched_setaffinity.c: Likewise.
19049         * posix/sched_setp.c: Likewise.
19050         * posix/sched_sets.c: Likewise.
19051         * posix/sched_yield.c: Likewise.
19052         * posix/setgid.c: Likewise.
19053         * posix/setlogin.c: Likewise.
19054         * posix/setpgid.c: Likewise.
19055         * posix/setresgid.c: Likewise.
19056         * posix/setresuid.c: Likewise.
19057         * posix/setsid.c: Likewise.
19058         * posix/setuid.c: Likewise.
19059         * posix/sleep.c: Likewise.
19060         * posix/spawni.c: Likewise.
19061         * posix/sysconf.c: Likewise.
19062         * posix/times.c: Likewise.
19063         * posix/wait.c: Likewise.
19064         * posix/wait3.c: Likewise.
19065         * posix/wait4.c: Likewise.
19066         * posix/waitpid.c: Likewise.
19067         * resolv/gai_sigqueue.c: Likewise.
19068         * resource/getpriority.c: Likewise.
19069         * resource/getrlimit.c: Likewise.
19070         * resource/getrusage.c: Likewise.
19071         * resource/nice.c: Likewise.
19072         * resource/setpriority.c: Likewise.
19073         * resource/setrlimit.c: Likewise.
19074         * resource/ulimit.c: Likewise.
19075         * rt/aio_cancel.c: Likewise.
19076         * rt/aio_fsync.c: Likewise.
19077         * rt/aio_read.c: Likewise.
19078         * rt/aio_sigqueue.c: Likewise.
19079         * rt/aio_suspend.c: Likewise.
19080         * rt/aio_write.c: Likewise.
19081         * rt/clock_getres.c: Likewise.
19082         * rt/clock_gettime.c: Likewise.
19083         * rt/clock_nanosleep.c: Likewise.
19084         * rt/clock_settime.c: Likewise.
19085         * rt/lio_listio.c: Likewise.
19086         * rt/mq_close.c: Likewise.
19087         * rt/mq_getattr.c: Likewise.
19088         * rt/mq_notify.c: Likewise.
19089         * rt/mq_open.c: Likewise.
19090         * rt/mq_receive.c: Likewise.
19091         * rt/mq_send.c: Likewise.
19092         * rt/mq_setattr.c: Likewise.
19093         * rt/mq_timedreceive.c: Likewise.
19094         * rt/mq_timedsend.c: Likewise.
19095         * rt/mq_unlink.c: Likewise.
19096         * rt/shm_open.c: Likewise.
19097         * rt/shm_unlink.c: Likewise.
19098         * rt/timer_create.c: Likewise.
19099         * rt/timer_delete.c: Likewise.
19100         * rt/timer_getoverr.c: Likewise.
19101         * rt/timer_gettime.c: Likewise.
19102         * rt/timer_settime.c: Likewise.
19103         * setjmp/__longjmp.c: Likewise.
19104         * setjmp/setjmp.c: Likewise.
19105         * signal/kill.c: Likewise.
19106         * signal/killpg.c: Likewise.
19107         * signal/raise.c: Likewise.
19108         * signal/sigaction.c: Likewise.
19109         * signal/sigaltstack.c: Likewise.
19110         * signal/sigblock.c: Likewise.
19111         * signal/sigignore.c: Likewise.
19112         * signal/sigintr.c: Likewise.
19113         * signal/signal.c: Likewise.
19114         * signal/sigpause.c: Likewise.
19115         * signal/sigpending.c: Likewise.
19116         * signal/sigqueue.c: Likewise.
19117         * signal/sigreturn.c: Likewise.
19118         * signal/sigset.c: Likewise.
19119         * signal/sigsetmask.c: Likewise.
19120         * signal/sigstack.c: Likewise.
19121         * signal/sigsuspend.c: Likewise.
19122         * signal/sigtimedwait.c: Likewise.
19123         * signal/sigvec.c: Likewise.
19124         * signal/sigwait.c: Likewise.
19125         * signal/sigwaitinfo.c: Likewise.
19126         * signal/sysv_signal.c: Likewise.
19127         * socket/accept.c: Likewise.
19128         * socket/accept4.c: Likewise.
19129         * socket/bind.c: Likewise.
19130         * socket/connect.c: Likewise.
19131         * socket/getpeername.c: Likewise.
19132         * socket/getsockname.c: Likewise.
19133         * socket/getsockopt.c: Likewise.
19134         * socket/isfdtype.c: Likewise.
19135         * socket/listen.c: Likewise.
19136         * socket/recv.c: Likewise.
19137         * socket/recvfrom.c: Likewise.
19138         * socket/recvmsg.c: Likewise.
19139         * socket/send.c: Likewise.
19140         * socket/sendmsg.c: Likewise.
19141         * socket/sendto.c: Likewise.
19142         * socket/setsockopt.c: Likewise.
19143         * socket/shutdown.c: Likewise.
19144         * socket/sockatmark.c: Likewise.
19145         * socket/socket.c: Likewise.
19146         * socket/socketpair.c: Likewise.
19147         * stdio-common/ctermid.c: Likewise.
19148         * stdio-common/cuserid.c: Likewise.
19149         * stdio-common/remove.c: Likewise.
19150         * stdio-common/rename.c: Likewise.
19151         * stdio-common/renameat.c: Likewise.
19152         * stdio-common/tempname.c: Likewise.
19153         * stdlib/getcontext.c: Likewise.
19154         * stdlib/makecontext.c: Likewise.
19155         * stdlib/setcontext.c: Likewise.
19156         * stdlib/swapcontext.c: Likewise.
19157         * stdlib/system.c: Likewise.
19158         * streams/fattach.c: Likewise.
19159         * streams/fdetach.c: Likewise.
19160         * streams/getmsg.c: Likewise.
19161         * streams/getpmsg.c: Likewise.
19162         * streams/putmsg.c: Likewise.
19163         * streams/putpmsg.c: Likewise.
19164         * sysdeps/unix/bsd/getpt.c: Likewise.
19165         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19166         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19167         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19169         Likewise.
19170         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19171         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19172         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19173         * sysvipc/msgctl.c: Likewise.
19174         * sysvipc/msgget.c: Likewise.
19175         * sysvipc/msgrcv.c: Likewise.
19176         * sysvipc/msgsnd.c: Likewise.
19177         * sysvipc/semctl.c: Likewise.
19178         * sysvipc/semget.c: Likewise.
19179         * sysvipc/semop.c: Likewise.
19180         * sysvipc/semtimedop.c: Likewise.
19181         * sysvipc/shmat.c: Likewise.
19182         * sysvipc/shmctl.c: Likewise.
19183         * sysvipc/shmdt.c: Likewise.
19184         * sysvipc/shmget.c: Likewise.
19185         * termios/tcdrain.c: Likewise.
19186         * termios/tcflow.c: Likewise.
19187         * termios/tcflush.c: Likewise.
19188         * termios/tcgetattr.c: Likewise.
19189         * termios/tcgetpgrp.c: Likewise.
19190         * termios/tcsendbrk.c: Likewise.
19191         * termios/tcsetattr.c: Likewise.
19192         * termios/tcsetpgrp.c: Likewise.
19193         * time/adjtime.c: Likewise.
19194         * time/clock.c: Likewise.
19195         * time/getitimer.c: Likewise.
19196         * time/gettimeofday.c: Likewise.
19197         * time/setitimer.c: Likewise.
19198         * time/settimeofday.c: Likewise.
19199         * time/stime.c: Likewise.
19200         * time/time.c: Likewise.
19202 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
19204         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19205         /usr/old/bin.
19207         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19208         instead of spaces.
19209         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19211 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
19213         [BZ #14796]
19214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19215         FE_TONEAREST before applying Dekker multiplication and Knuth
19216         addition.  Clear inexact exceptions and check for exact zero
19217         results afterwards.
19218         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19219         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19221         * math/libm-test.inc (fma_test): Add more tests.
19222         (fma_test_towardzero): Likewise.
19223         (fma_test_downward): Likewise.
19224         (fma_test_upward): Likewise.
19225         * sysdeps/generic/math_private.h (default_libc_fesetround): New
19226         function.
19227         (libc_fesetround): New macro.
19228         (libc_fesetroundf): Likewise.
19229         (libc_fesetroundl): Likewise.
19230         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19231         function.
19232         (libc_fesetround_387): Likewise.
19233         (libc_fesetroundf): New macro.
19234         (libc_fesetround): Likewise.
19235         (libc_fesetroundl): Likewise.
19236         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19237         function.
19238         (libc_fesetroundf): New macro.
19239         (libc_fesetround): Likewise.
19240         (libc_fesetroundl): Likewise.
19241         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19242         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19243         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19244         libm_hidden_ver.
19245         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19246         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19247         libm_hidden_def.
19248         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19249         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19250         libm_hidden_ver.
19251         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19252         libm_hidden_def.
19254         [BZ #3439]
19255         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19256         integer constant usable in #if and use that to give value to enum
19257         constant.
19258         (FE_DIVBYZERO): Likewise.
19259         (FE_UNDERFLOW): Likewise.
19260         (FE_OVERFLOW): Likewise.
19261         (FE_INVALID): Likewise.
19262         (FE_INVALID_SNAN): Likewise.
19263         (FE_INVALID_ISI): Likewise.
19264         (FE_INVALID_IDI): Likewise.
19265         (FE_INVALID_ZDZ): Likewise.
19266         (FE_INVALID_IMZ): Likewise.
19267         (FE_INVALID_COMPARE): Likewise.
19268         (FE_INVALID_SOFTWARE): Likewise.
19269         (FE_INVALID_SQRT): Likewise.
19270         (FE_INVALID_INTEGER_CONVERSION): Likewise.
19271         (FE_TONEAREST): Likewise.
19272         (FE_TOWARDZERO): Likewise.
19273         (FE_UPWARD): Likewise.
19274         (FE_DOWNWARD): Likewise.
19275         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19276         (FE_DIVBYZERO): Likewise.
19277         (FE_OVERFLOW): Likewise.
19278         (FE_UNDERFLOW): Likewise.
19279         (FE_INEXACT): Likewise.
19280         (FE_TONEAREST): Likewise.
19281         (FE_DOWNWARD): Likewise.
19282         (FE_UPWARD): Likewise.
19283         (FE_TOWARDZERO): Likewise.
19284         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19285         (FE_UNDERFLOW): Likewise.
19286         (FE_OVERFLOW): Likewise.
19287         (FE_DIVBYZERO): Likewise.
19288         (FE_INVALID): Likewise.
19289         (FE_TONEAREST): Likewise.
19290         (FE_TOWARDZERO): Likewise.
19291         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19292         (FE_OVERFLOW): Likewise.
19293         (FE_UNDERFLOW): Likewise.
19294         (FE_DIVBYZERO): Likewise.
19295         (FE_INEXACT): Likewise.
19296         (FE_TONEAREST): Likewise.
19297         (FE_TOWARDZERO): Likewise.
19298         (FE_UPWARD): Likewise.
19299         (FE_DOWNWARD): Likewise.
19300         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19301         (FE_DIVBYZERO): Likewise.
19302         (FE_OVERFLOW): Likewise.
19303         (FE_UNDERFLOW): Likewise.
19304         (FE_INEXACT): Likewise.
19305         (FE_TONEAREST): Likewise.
19306         (FE_DOWNWARD): Likewise.
19307         (FE_UPWARD): Likewise.
19308         (FE_TOWARDZERO): Likewise.
19310 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
19312         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19314 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
19316         * scripts/cross-test-ssh.sh (command): Use newlines to separate
19317         commands.  Quote $PWD.
19318         (blacklist_exports): Don't use remove_newlines.  Replace "declare
19319         -x" by "export".
19320         (remove_newlines): Remove.
19322 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
19324         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19325         * stdlib/stdlib.h (atof): Moved to ...
19326         * include/bits/stdlib-float.h: Here.  New file.
19327         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19328         * stdlib/bits/stdlib-float.h: New file.
19329         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19330         -mno-sse -mno-mmx.
19331         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19332         <xmmintrin.h>.
19334 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
19336         * conform/conformtest.pl (@headers): Add fenv.h.
19337         * conform/data/fenv.h-data: New file.
19338         * include/fenv.h [_ISOMAC]: Disable all contents of file except
19339         include of <math/fenv.h>.
19341         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19342         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19343         && !UNIX98].  Enables tests for XOPEN2K8.
19344         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19345         POSIX2008]: Likewise.
19347         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19348         (struct rusage): Do not expect type or its members.
19350         [BZ #3439]
19351         * math/math.h (FP_NAN): Define macro to integer constant usable in
19352         #if and use that to give value to enum constant.
19353         (FP_INFINITE): Likewise.
19354         (FP_ZERO): Likewise.
19355         (FP_SUBNORMAL): Likewise.
19356         (FP_NORMAL): Likewise.
19358 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
19360         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19361         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19362         arguments.
19364 2012-11-02  Roland McGrath  <roland@hack.frob.com>
19366         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19367         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19368         autoconf-time if not.
19369         * configure.in: Remove AC_PREREQ.
19371 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19373         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19374         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19375         of the internal implementation.
19377 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
19379         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19380         except include of <misc/sys/syslog.h>.
19382 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
19384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19385         function returns with a NULL context exit with zero.
19387 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19389         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19391 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
19393         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19394         (run_program_cmd): This.
19395         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19396         (tst_langinfo): New variable.  Use it.
19398 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
19400         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19401         floating point opcodes.
19403 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
19405         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19406         variable.
19408         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19410         * sysdeps/mach/hurd/powerpc: Remove directory.
19411         * sysdeps/mach/powerpc: Likewise.
19413 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
19415         * scripts/check-local-headers.sh: Ignore c++ headers.
19417 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
19419         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19420         __libc_cleanup_region_start argument.
19422 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
19424         [BZ #14784]
19425         [BZ #14785]
19426         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19427         x * y using scaling, not as x * y + z.
19428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19430         * math/libm-test.inc (fma_test): Add more tests.
19431         (fma_test_towardzero): Likewise.
19432         (fma_test_downward): Likewise.
19433         (fma_test_upward): Likewise.
19435 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
19437         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19439 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
19441         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19442         New variable.
19444 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
19446         * rt/tst-shm.c (worker): Correct checking for mmap failure.
19448 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
19450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19451         Fix sort order.
19452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19453         Likewise.
19455 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19458         Fix the order of the list for glibc 2.17.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19460         Likewise.
19462 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
19464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19466 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
19468         [BZ #14610]
19469         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19470         for low part of x being zero before using __atanl (y).
19471         * math/libm-test.inc (atan2_test): Add another test.
19473         * manual/install.texi (Configuring and compiling): Document
19474         general use of test-wrapper and test-wrapper-env.
19475         * INSTALL: Regenerated.
19477         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19478         (__fma): Do not extract and scale down low bits on after-rounding
19479         systems when result rounded to normal precision would have normal
19480         exponent.
19481         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19482         (__fmal): Do not extract and scale down low bits on after-rounding
19483         systems when result rounded to normal precision would have normal
19484         exponent.
19485         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19486         (__fmal): Do not extract and scale down low bits on after-rounding
19487         systems when result rounded to normal precision would have normal
19488         exponent.
19489         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19490         macro.
19491         (fma_test): Add more tests.
19492         (fma_test_towardzero): Likewise.
19493         (fma_test_downward): Likewise.
19494         (fma_test_upward): Likewise.
19496 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
19498         * sysdeps/i386/tininess.h: Renamed to ...
19499         * sysdeps/x86/tininess.h: This.
19500         * sysdeps/x86_64/tininess.h: Removed.
19502 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
19504         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19505         input.  Use $(build-program-cmd).
19506         ($(objpfx)tst-array1-static.out): Likewise.
19507         ($(objpfx)tst-array2.out): Likewise.
19508         ($(objpfx)tst-array3.out): Likewise.
19509         ($(objpfx)tst-array4.out): Likewise.
19510         ($(objpfx)tst-array5.out): Likewise.
19511         ($(objpfx)tst-array5-static.out): Likewise.
19513 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
19515         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19516         if defined.
19518         * nss/nsswitch.h (nss_interface_function): Provide new
19519         macro for use with NSS functions.
19520         * grp/initgroups.c: Use new macro.
19521         * nss/getXXbyYY.c: Likewise.
19522         * nss/getXXbyYY_r.c: Likewise.
19523         * nss/getXXent.c: Likewise.
19524         * nss/getXXent_r.c: Likewise.
19525         * sysdeps/posix/getaddrinfo.c: Likewise.
19527 2012-10-30  Andreas Jaeger  <aj@suse.de>
19529         * po/ru.po: Update Russion translation from translation project.
19531 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
19533         [BZ #14152]
19534         [BZ #14783]
19535         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19536         result and shift together with sticky bit instead of replicating
19537         round-to-nearest rounding.
19538         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19539         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19540         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
19541         missing underflow exceptions.
19542         (fma_test_towardzero): Add more tests.
19543         (fma_test_downward): Likewise.
19544         (fma_test_upward): Likewise.
19546         [BZ #14047]
19547         * sysdeps/generic/tininess.h: New file.
19548         * sysdeps/i386/tininess.h: Likewise.
19549         * sysdeps/sh/tininess.h: Likewise.
19550         * sysdeps/x86_64/tininess.h: Likewise.
19551         * stdlib/tst-strtod-underflow.c: Likewise.
19552         * stdlib/tst-tininess.c: Likewise.
19553         * stdlib/strtod_l.c: Include <tininess.h>.
19554         (round_and_return): Do not set errno for exact underflow cases.
19555         Force an underflow exception when setting errno for underflow.
19556         Determine underflow based on rounding to normal precision if
19557         TININESS_AFTER_ROUNDING.
19558         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19559         ERANGE for exact underflow cases.
19560         * stdlib/Makefile (tests): Add tst-tininess and
19561         tst-strtod-underflow.
19562         ($(objpfx)tst-tininess): Use $(link-libm).
19563         ($(objpfx)tst-strtod-underflow): Likewise.
19565 2012-10-30  Andreas Jaeger  <aj@suse.de>
19567         [BZ#14767]
19568         * elf/Makefile (tests): Remove conditional for have-initfini-array
19569         since this is now always required and the variable does not exist
19570         anymore.
19571         (tests-static): Likewise.
19572         (modules-names): Likewise.
19574         * po/eo.po: Add Esperanto translation from translation project.
19576         * elf/tst-array1.c (fini_array): Make writeable so that it can be
19577         merged with constructor/destructor.
19578         (init_array): Likewise.
19579         * elf/tst-array2dep.c (fini_array): Likewise.
19580         (init_array): Likewise.
19582 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
19584         * manual/message.texi: Delete @cartouche tags.
19586 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
19588         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19589         EOPNOTSUPP.
19590         * sysdeps/mach/hurd/fsync.c: Likewise.
19592         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19593         [_POSIX_REALTIME_SIGNALS]: Change condition to
19594         [_POSIX_REALTIME_SIGNALS > 0].
19596 2012-10-27  Andreas Jaeger  <aj@suse.de>
19598         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19599         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19601         [__WORDSIZE != 64]: Likewise.
19603 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
19605         *  iconvdata/tst-table.sh: Remove ${SHELL}.
19606         *  iconvdata/tst-tables.sh: Likewise.
19608 2012-10-25  David S. Miller  <davem@davemloft.net>
19610         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19611         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19612         of strtoull.
19614         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19615         ifunc-impl-list.c
19616         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19617         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19618         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19619         file.
19621 2012-10-25  Roland McGrath  <roland@hack.frob.com>
19623         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19624         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19625         __getdirentries.
19627 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
19628             Jim Blandy  <jimb@codesourcery.com>
19630         * scripts/cross-test-ssh.sh: New file.
19631         * manual/install.texi (Configuring and compiling): Document use of
19632         cross-test-ssh.sh.
19633         * INSTALL: Regenerated.
19635 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
19637         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19638         EOPNOTSUPP.
19640 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
19642         * Makeconfig (run-program-prefix): Fix comment.
19644 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
19645             Jim Blandy  <jimb@codesourcery.com>
19647         * Makeconfig (test-wrapper): New variable,
19648         (test-wrapper-env): Likewise.
19649         [$(cross-compiling) = yes && $(test-wrapper) != ""]
19650         (run-built-tests): Define to yes.
19651         (run-program-prefix): Use $(test-wrapper).
19652         (built-program-cmd): Likewise.
19653         * Rules (make-test-out): Use $(test-wrapper-env) and
19654         $(host-built-program-cmd).
19655         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19656         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19657         tst-pathopt.sh.
19658         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19659         $(test-wrapper-env) to tst-rtld-load-self.sh.
19660         ($(objpfx)order2.out): Use $(test-wrapper).
19661         ($(objpfx)tst-initorder.out): Likewise.
19662         ($(objpfx)tst-initorder2.out): Likewise.
19663         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19664         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19665         (test_wrapper_env): New variable.  Use it to run ld.so.
19666         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19667         Use it to run ld.so.
19668         (test_wrapper_env): Likewise.
19669         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19670         $(test-wrapper) to run-iconv-test.sh.
19671         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19672         (ICONV): Use $test_wrapper.
19673         * posix/Makefile ($(objpfx)globtest.out): Pass
19674         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19675         globtest.sh, not $(run-program-prefix).
19676         * posix/globtest.sh (run_via_rtld_prefix): New variable.
19677         (test_wrapper): Likewise.
19678         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
19679         set together with run_via_rtld_prefix.
19680         (run_program_prefix): Define in terms of test_wrapper and
19681         run_via_rtld_prefix.
19683 2012-10-24  Roland McGrath  <roland@hack.frob.com>
19685         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19686         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19687         Targets removed.
19689         [BZ #14743]
19690         * include/time.h: Remove librt_hidden_proto (clock_gettime).
19691         Declare __clock_getres, __clock_gettime, __clock_settime,
19692         __clock_nanosleep, and __clock_getcpuclockid.
19693         * rt/clock_gettime.c: Define __clock_gettime as an alias.
19694         Remove librt_hidden_def (clock_gettime).
19695         * sysdeps/unix/clock_gettime.c: Likewise.
19696         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19697         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19698         * rt/clock_getres.c: Define __clock_getres as an alias.
19699         * sysdeps/posix/clock_getres.c: Likewise.
19700         * rt/clock_settime.c: Define __clock_settime as an alias.
19701         * sysdeps/unix/clock_settime.c: Likewise.
19702         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19703         * sysdeps/unix/clock_nanosleep.c: Likewise.
19704         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19705         * rt/clock-compat.c: New file.
19706         * rt/Makefile (librt-routines): Add clock-compat and move
19707         $(clock-routines) to ...
19708         (routines): ... here, new variable.
19709         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19710         Don't add get_clockfreq here.
19711         * rt/Versions (libc: GLIBC_2.17): New version set.
19712         Add clock_* symbols here.
19713         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
19714         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19715         (GLIBC_2.17): Add clock_* symbols.
19716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19718         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19720         Likewise.
19721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19722         Likewise.
19723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19727         * NEWS: Mention the move.
19729         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19730         Use __open, __read, __close rather than their public counterparts.
19731         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19732         (__get_clockfreq_via_cpuinfo): Likewise.
19733         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19734         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19736         * config.h.in (HAVE_IFUNC): New #undef.
19737         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19738         was successful.
19739         * configure: Regenerated.
19741 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
19743         * configure.in: Move READELF check to start of file.
19744         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19745         libc_cv_asm_gnu_indirect_function in the process.
19746         * configure: Regenerated.
19748 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
19750         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19751         send the output to /dev/null.
19752         (libc_cv_cc_with_libunwind): Likewise.
19753         (libc_cv_as_noexecstack): Likewise.
19754         * configure: Regenerate.
19756 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
19758         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19760         * posix/globtest.sh (TMPDIR): Do not set.
19761         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19762         (testout): Likewise.
19764 2012-10-24  Andreas Jaeger  <aj@suse.de>
19766         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19767         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19768         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19769         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19770         posix_fadvise64, posix_fallocate64.
19772         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19773         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19774         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19775         Likewise.
19776         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19777         Likewise.
19778         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19781         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19782         <bits/fcntl-linux.h>.
19783         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19785         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19786         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19787         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19788         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19789         [__WORDSIZE != 64]: Likewise.
19791 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
19793         * Makeconfig (run-built-tests): New variable.
19794         * Rules [$(cross-compiling) = yes]: Change condition to
19795         [$(run-built-tests) = no].
19796         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19797         to [$(run-built-tests) = yes].
19798         * elf/Makefile [$(cross-compiling) = no]: Likewise
19799         * grp/Makefile [$(cross-compiling) = no]: Likewise.
19800         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19801         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19802         * intl/Makefile [$(cross-compiling) = no]: Likewise.
19803         * io/Makefile [$(cross-compiling) = no]: Likewise.
19804         * libio/Makefile [$(cross-compiling) = no]: Likewise.
19805         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19806         * misc/Makefile [$(cross-compiling) = no]: Likewise.
19807         * posix/Makefile [$(cross-compiling) = no]: Likewise.
19808         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19809         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19810         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19811         * string/Makefile [$(cross-compiling) = no]: Likewise.
19813         * posix/Makefile ($(objpfx)globtest.out): Pass
19814         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19815         $(rtld-installed-name).
19816         * posix/globtest.sh (elf_objpfx): Remove variable.
19817         (rtld_installed_name): Likewise.
19818         (library_path): Likewise.
19819         (run_program_prefix): New variable.  Use for running globtest
19820         binary.
19822 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
19823             Joseph Myers  <joseph@codesourcery.com>
19825         * Makeconfig (host-built-program-cmd): New variable.
19826         * elf/Makefile (tst-stackguard1-ARGS): Use
19827         $(host-built-program-cmd).
19828         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19829         (tst-spawn-ARGS): Likewise.
19830         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19832 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
19833             Jim Blandy  <jimb@codesourcery.com>
19835         * Makeconfig (run-via-rtld-prefix): New variable.
19836         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19837         (built-program-cmd): Likewise.
19839 2012-10-22  Andreas Jaeger  <aj@suse.de>
19841         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19842         __O_RSYNC if it exists, otherwise to O_SYNC.
19844 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
19845             Joseph Myers  <joseph@codesourcery.com>
19847         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19848         /dev/null.
19849         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19850         from /dev/null
19851         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19852         /dev/null.
19854 2012-10-22  Andreas Jaeger  <aj@suse.de>
19856         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19857         Define always.
19858         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19860         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19861         bits/fcntl-linux.h.
19863         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19864         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19866         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19867         to __O_LARGEFILE.
19868         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19869         to __O_LARGEFILE.
19871 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
19872             Joseph Myers  <joseph@codesourcery.com>
19874         * config.make.in (NM): New variable.
19876 2012-10-21  Andreas Jaeger  <aj@suse.de>
19878         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19879         definitions and declarations that are provided by
19880         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19882 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19884         [BZ #14683]
19885         * elf/Makefile (tests-static): Add tst-leaks1-static.
19886         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19887         ($(objpfx)tst-leaks1-static): New rule.
19888         ($(objpfx)tst-leaks1-static-mem): Likewise.
19889         (tst-leaks1-static-ENV): New macro.
19890         * elf/dl-open.c (dl_open_worker): Check the main application
19891         only if SHARED is defined.
19892         * elf/tst-leaks1-static.c: New file.
19894 2012-10-20  Andreas Jaeger  <aj@suse.de>
19896         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19897         generic values for Linux.
19898         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19899         and declarations that are provided by <bits/fcntl-linux.h> and
19900         include <bits/fcntl-linux.h>.
19901         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19902         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19904 2012-10-20  Roland McGrath  <roland@hack.frob.com>
19906         * io/fcntl.h: Move include of <bits/types.h> to the top and
19907         include it unconditionally.
19909 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19911         * wcsmbs/Makefile (tests-ifunc): New variable.
19912         (tests): Add $(tests-ifunc).
19913         * wcsmbs/test-wcschr-ifunc.c: New file.
19914         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19915         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19916         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19917         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19918         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19920         * string/Makefile (tests-ifunc): New variable.
19921         (tests): Add $(tests-ifunc).
19922         * string/test-memccpy.c (TEST_NAME): New macro.
19923         * string/test-memchr.c (TEST_NAME): Likewise.
19924         * string/test-memcmp.c (TEST_NAME): Likewise.
19925         * string/test-memcpy.c (TEST_NAME): Likewise.
19926         * string/test-memmem.c (TEST_NAME): Likewise.
19927         * string/test-memmove.c (TEST_NAME): Likewise.
19928         * string/test-memset.c (TEST_NAME): Likewise.
19929         * string/test-rawmemchr.c (TEST_NAME): Likewise.
19930         * string/test-stpcpy.c (TEST_NAME): Likewise.
19931         * string/test-stpncpy.c (TEST_NAME): Likewise.
19932         * string/test-strcasecmp.c (TEST_NAME): Likewise.
19933         * string/test-strcasestr.c (TEST_NAME): Likewise.
19934         * string/test-strcat.c (TEST_NAME): Likewise.
19935         * string/test-strchr.c (TEST_NAME): Likewise.
19936         * string/test-strcmp.c(TEST_NAME): Likewise.
19937         * string/test-strcpy.c (TEST_NAME): Likewise.
19938         * string/test-strcspn.c (TEST_NAME): Likewise.
19939         * string/test-strlen.c (TEST_NAME): Likewise.
19940         * string/test-strncasecmp.c (TEST_NAME): Likewise.
19941         * string/test-strncmp.c (TEST_NAME): Likewise.
19942         * string/test-strncpy.c (TEST_NAME): Likewise.
19943         * string/test-strnlen.c (TEST_NAME): Likewise.
19944         * string/test-strpbrk.c (TEST_NAME): Likewise.
19945         * string/test-strrchr.c (TEST_NAME): Likewise.
19946         * string/test-strspn.c (TEST_NAME): Likewise.
19947         * string/test-strstr.c (TEST_NAME): Likewise.
19948         * string/test-bcopy-ifunc.c: New file.
19949         * string/test-bzero-ifunc.c: Likewise.
19950         * string/test-memccpy-ifunc.c: Likewise.
19951         * string/test-memchr-ifunc.c: Likewise.
19952         * string/test-memcmp-ifunc.c: Likewise.
19953         * string/test-memcpy-ifunc.c: Likewise.
19954         * string/test-memmem-ifunc.c: Likewise.
19955         * string/test-memmove-ifunc.c: Likewise.
19956         * string/test-mempcpy-ifunc.c: Likewise.
19957         * string/test-memset-ifunc.c: Likewise.
19958         * string/test-rawmemchr-ifunc.c: Likewise.
19959         * string/test-stpcpy-ifunc.c: Likewise.
19960         * string/test-stpncpy-ifunc.c: Likewise.
19961         * string/test-strcasecmp-ifunc.c: Likewise.
19962         * string/test-strcasestr-ifunc.c: Likewise.
19963         * string/test-strcat-ifunc.c: Likewise.
19964         * string/test-strchr-ifunc.c: Likewise.
19965         * string/test-strchrnul-ifunc.c: Likewise.
19966         * string/test-strcmp-ifunc.c: Likewise.
19967         * string/test-strcpy-ifunc.c: Likewise.
19968         * string/test-strcspn-ifunc.c: Likewise.
19969         * string/test-strlen-ifunc.c: Likewise.
19970         * string/test-strncasecmp-ifunc.c: Likewise.
19971         * string/test-strncat-ifunc.c: Likewise.
19972         * string/test-strncmp-ifunc.c: Likewise.
19973         * string/test-strncpy-ifunc.c: Likewise.
19974         * string/test-strnlen-ifunc.c: Likewise.
19975         * string/test-strpbrk-ifunc.c: Likewise.
19976         * string/test-strrchr-ifunc.c: Likewise.
19977         * string/test-strspn-ifunc.c: Likewise.
19978         * string/test-strstr-ifunc.c: Likewise.
19980         * debug/Makefile (tests-ifunc): New variable.
19981         (tests): Add $(tests-ifunc).
19982         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19983         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19984         * debug/test-stpcpy_chk-ifunc.c: New file.
19985         * debug/test-strcpy_chk-ifunc.c: Likewise.
19987 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19989         [BZ #13601]
19990         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19991         header is not read in.
19993 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19995         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19996         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19997         directly.  Pass built executable to script as
19998         $(built-program-cmd).
19999         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
20000         $testprogram without using LD_LIBRARY_PATH and $ldso.
20002         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20003         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20004         $(rtld-installed-name).
20005         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20006         (rtld_installed_name): Likewise.
20007         (library_path): Likewise.
20008         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
20009         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20010         $(run-program-prefix) to tst-tables.sh.
20011         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
20012         it to run tst-table-from and tst-table-to.
20013         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20014         Pass it to tst-table.sh.
20015         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20016         $(run-program-prefix) to tst-gettext.sh.
20017         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20018         tst-translit.sh.
20019         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20020         tst-gettext2.sh.
20021         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
20022         to run tst-gettext.
20023         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
20024         to run tst-gettext2.
20025         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
20026         to run tst-translit.
20027         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20028         $(run-program-prefix) to tst-mtrace.sh.
20029         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
20030         to run tst-mtrace.
20031         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20032         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20033         $(rtld-installed-name).
20034         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20035         (rtld_installed_name): Likewise.
20036         (run_program_prefix): New variable.  Use it to run wordexp-test.
20038         * Makeconfig (ARCH): Remove all definitions.
20039         (machine): Likewise.
20040         [ARCH]: Remove conditional code.
20041         [!objdir]: Give error.
20042         [!objdir] (objpfx): Remove.
20043         [!objdir] (common-objpfx): Likewise.
20044         [!objdir] (common-objdir): Likewise.
20045         * configure.in (config_makefile): Remove.  Hardcode Makefile in
20046         AC_CONFIG_FILES call.
20047         * configure: Regenerated.
20049         [BZ #13888]
20050         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20051         or TMPDIR.
20052         (testout): Likewise.
20054         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20055         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20056         $(rtld-installed-name).
20057         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20058         (rtld_installed_name): Likwise.
20059         (runit): Remove function.
20060         (run_getconf): New variable,  Use it for running getconf binary.
20062 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
20064         [BZ #14716]
20065         * string/test-memmem.c (check_result): New function.
20066         (do_one_test): Use it.
20067         (check1): New function.
20068         (test_main): Use it.
20070 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
20072         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20074 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
20076         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20077         (_G_LSEEK64): Likewise.
20078         (_G_MMAP64): Likewise.
20079         (_G_FSTAT64): Likewise.
20080         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20081         (_G_LSEEK64): Likewise.
20082         (_G_MMAP64): Likewise.
20083         (_G_FSTAT64): Likewise.
20084         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20085         unconditional.  Call __mmap64 directly.
20086         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20087         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
20088         __lseek64 directly.
20089         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20090         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
20091         __mmap64 directly.
20092         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20093         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
20094         __lseek64 directly.
20095         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20096         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
20097         __lseek64 directly.
20098         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20099         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
20100         __lseek64 directly.
20101         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20102         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
20103         __fxstat64 directly.
20104         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20105         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20106         unconditional.
20107         (freopen64) [!_G_OPEN64]: Remove conditional code.
20108         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20109         unconditional.
20110         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20111         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20112         unconditional.
20113         (ftello64) [!_G_LSEEK64]: Remove conditional code.
20114         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20115         unconditional.
20116         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20117         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20118         unconditional.
20119         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20120         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20121         unconditional.
20122         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20123         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20124         unconditional.
20125         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20126         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20127         unconditional.
20128         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20130 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20132         [BZ #12140]
20133         * manual/memory.texi (Malloc Tunable Parameters): Add note
20134         about free list pointers overwriting some perturb bytes.
20135         Wording suggested by Roland McGrath.
20137 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
20139         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20140         (lgamma_test): Likewise.
20141         (tgamma_test): Likewise.
20143 2012-10-16  Florian Weimer  <fweimer@redhat.com>
20145         [BZ #14700]
20146         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20147         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20149 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
20151         * NEWS: Mention BZ #14716.
20152         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20153         when removing AVAILABLE1_USES_J macro.
20155 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
20157         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20158         (__bswap_64): __uint64_t for unsigned 64-bit int.
20160 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
20162         * include/string.h (memmem): Declare libc hidden alias.
20163         * string/memmem.c (memmem): Define libc hidden alias.
20164         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20165         __read, __close instead of open, read, close.
20167 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
20169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20170         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20171         global and hidden.
20172         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20173         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20174         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20175         Likewise.
20176         (__rawmemchr_sse2): Likewise.
20177         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20178         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20179         (__strchr_sse2): Likewise.
20180         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20181         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20182         (__strcasecmp_sse2): Likewise.
20183         (__strncasecmp_sse2): Likewise.
20184         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20185         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20186         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20187         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20188         (__strrchr_sse2): Likewise.
20189         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20190         ifunc-impl-list.c.
20191         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20192         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20193         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20194         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20195         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20196         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20197         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20198         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20199         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20200         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20201         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20202         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20203         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20204         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20205         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20206         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20207         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20208         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20209         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20210         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20211         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20212         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20213         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20214         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20215         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20216         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20217         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20218         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20219         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20220         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20222         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20223         global and hidden.
20224         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20225         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20226         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20227         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20228         Likewise.
20229         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20230         Likewise.
20231         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20232         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20233         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20234         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20235         ifunc-impl-list.c.
20236         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20237         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20238         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20239         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20240         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20241         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20242         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20243         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20244         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20245         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20246         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20247         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20248         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20249         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20250         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20251         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20252         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20253         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20254         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20255         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20256         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20257         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20258         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20259         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20260         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20261         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20262         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20263         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20264         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20265         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20266         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20267         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20268         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20269         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20270         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20271         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20272         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20273         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20274         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20275         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20276         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20278         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20279         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20280         * include/ifunc-impl-list.h: New file.
20281         * misc/ifunc-impl-list.c: Likewise.
20282         * misc/Makefile (routines): Add ifunc-impl-list.
20283         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20284         * string/test-string.h: Include <ifunc-impl-list.h>.
20285         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20286         impl_array): New variables.
20287         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20288         are defined.
20289         (test_init): Call __libc_ifunc_impl_list to initialize
20290         func_list if TEST_IFUNC and TEST_NAME are defined.
20292         * string/Makefile (strop-tests): Add bcopy and bzero.
20293         * string/test-bcopy.c: New file.
20294         * string/test-bzero.c: Likewise.
20295         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20296         defined.
20297         * string/test-memset.c: Support bzero test if TEST_BZERO is
20298         defined.
20299         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20300         __libc_memmove.
20301         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20302         __libc_memset.
20303         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20304         of memset.
20306 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
20308         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20309         * configure: Regenerated.
20311         * Makeconfig (+link-static-before-libc): Don't include
20312         $(link-static-libc).
20314         * libio/libio.h (_IO_pos_t): Remove.
20316 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
20318         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
20319         McGrath.
20321 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
20323         * crypt/crypt-entry.c: Include fips-private.h.
20324         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20325         * crypt/md5c-test.c (main): Tolerate disabled MD5.
20326         * sysdeps/unix/sysv/linux/fips-private.h: New file.
20327         * sysdeps/generic/fips-private.h: New file, dummy fallback.
20329 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
20331         * crypt/crypt-private.h: Include stdbool.h.
20332         (_ufc_setup_salt_r): Return bool.
20333         * crypt/crypt-entry.c: Include errno.h.
20334         (__crypt_r): Return NULL with EINVAL for bad salt.
20335         * crypt/crypt_util.c (bad_for_salt): New.
20336         (_ufc_setup_salt_r): Check that salt is long enough and within
20337         the specified alphabet.
20338         * crypt/badsalttest.c: New file.
20339         * crypt/Makefile (tests): Add it.
20340         ($(objpfx)badsalttest): New.
20342 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
20344         * NEWS: Add entry for BZ #14602.
20346 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
20348         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20349         type-generic.
20350         * math/libm-test.inc: Update comment listing what functions and
20351         macros are tested.
20352         (isgreater_test): New function.
20353         (isgreaterequal_test): Likewise.
20354         (isless_test): Likewise.
20355         (islessequal_test): Likewise.
20356         (islessgreater_test): Likewise.
20357         (isunordered_test): Likewise.
20358         (main): Call the new functions.
20360 2012-10-09  Roland McGrath  <roland@hack.frob.com>
20362         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20363         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20364         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20365         * sysdeps/i386/configure: Regenerated.
20366         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20367         * sysdeps/mach/configure: Regenerated.
20368         * sysdeps/mach/hurd/configure: Regenerated.
20369         * sysdeps/powerpc/configure: Regenerated.
20370         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20371         * sysdeps/powerpc/powerpc64/configure: Regenerated.
20372         * sysdeps/s390/s390-32/configure: Regenerated.
20373         * sysdeps/s390/s390-64/configure: Regenerated.
20374         * sysdeps/sh/configure: Regenerated.
20375         * sysdeps/sparc/configure: Regenerated.
20376         * sysdeps/unix/sysv/linux/configure: Regenerated.
20377         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20378         * sysdeps/x86_64/configure: Regenerated.
20380         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20381         defined.  Don't check if MAP is NULL.
20383 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
20385         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20386         (_G_stat64): Likewise.
20387         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20388         (_G_stat64): Likewise.
20389         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20390         instead of struct _G_stat64.
20391         * libio/fileops.c (mmap_remap_check): Likewise.
20392         (decide_maybe_mmap): Likewise.
20393         (_IO_new_file_seekoff): Likewise.
20394         (_IO_file_stat): Likewise.
20395         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20396         _G_off64_t.
20397         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20398         instead of struct _G_stat64.
20399         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20401 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
20403         [BZ #14602]
20404         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20405         Replace with ...
20406         (CHECK_EOL): New macro.
20407         (two_way_short_needle): Check beginning of haystack for EOL.  Use
20408         CHECK_EOL.
20409         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20410         Replace with CHECK_EOL.
20411         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20412         Replace with CHECK_EOL.
20414 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
20416         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20417         type-generic.
20418         * math/libm-test.inc: Update comment listing what functions and
20419         macros are tested.
20420         (finite_test): New function.
20421         (isinf_test): Likewise.
20422         (isnan_test): Likewise.
20423         (fpclassify_test): Test subnormal input.
20424         (isfinite_test): Likewise.
20425         (isnormal_test): Likewise.
20426         (main): Call the new functions.
20428 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
20430         [BZ #14660]
20431         * Makerules (%.dynsym): Force C locale when running
20432         $(OBJDUMP) --dynamic-syms.
20434 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
20436         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20437         <stdint.h>.
20439 2012-10-06  David S. Miller  <davem@davemloft.net>
20441         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20442         upper 32-bits of the length value in %o2 since we use branch-on-register
20443         tests which consider the entire 64-bit register.
20445 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
20447         * string/test-strstr.c (check2): Add a test for page boundary.
20449 2012-10-05  David S. Miller  <davem@davemloft.net>
20451         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20452         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20453         file.
20454         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20455         sysdep_routines.
20456         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20457         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20458         and bzero when HWCAP_SPARC_CRYPTO is present.
20460 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
20462         [BZ #14602]
20463         * string/test-strstr.c (check2): New function.
20464         (test_main): Call check2.
20466         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20467         and bug-strchr1.
20468         * string/bug-strcasestr1.c (do_test): Moved to ...
20469         * string/test-strcasestr.c (check1): Here.  New function.
20470         (do_one_test): Break out result checking code into ...
20471         (check_result): This.  New function.
20472         (do_one_test): Call check_result.
20473         (test_main): Call check1.
20474         * string/bug-strchr1.c (do_test): Moved to ...
20475         * string/test-strchr.c (check1): Here.  New function.
20476         (do_one_test): Break out result checking code into ...
20477         (check_result): This.  New function.
20478         (do_one_test): Call check_result.
20479         (test_main): Call check1.
20480         * string/bug-strstr1.c (main): Moved to ...
20481         * string/test-strstr.c (check1): Here.  New function.
20482         (do_one_test): Break out result checking code into ...
20483         (check_result): This.  New function.
20484         (do_one_test): Call check_result.
20485         (test_main): Call check1.
20486         * string/bug-strcasestr1.c: Removed.
20487         * string/bug-strchr1.c: Likewise.
20488         * string/bug-strstr1.c: Likewise.
20490         * elf/Makefile (dl-routines): Add hwcaps.
20491         * elf/dl-support.c (_dl_important_hwcaps): Removed.
20492         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20493         (_dl_important_hwcaps): Moved to ...
20494         * elf/dl-hwcaps.c: Here.  New file.
20495         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20497         [BZ #14557]
20498         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20499         if IS_IN_rtld isn't defined.
20501         * elf/dl-support.c (_dl_sysinfo_map): New.
20502         Include "get-dynamic-info.h" and "setup-vdso.h".
20503         (_dl_non_dynamic_init): Call setup_vdso.
20504         * elf/dynamic-link.h: Don't include <assert.h>.
20505         (elf_get_dynamic_info): Moved to ...
20506         * elf/get-dynamic-info.h: Here.  New file.
20507         * elf/dynamic-link.h: Include "get-dynamic-info.h".
20508         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20509         * elf/setup-vdso.h: Here.  New file.
20510         * elf/rtld.c: Include "setup-vdso.h".
20511         (dl_main): Call setup_vdso.
20513 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
20515         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20516         creal in comment listing functions tested.  List finite, isinf,
20517         isnan, isless, islessequal, isgreater, isgreaterequal,
20518         islessgreater, isunordered, lgamma_r and pow10 as functions and
20519         macros not tested.  Mention which functions not tested are aliases
20520         for other functions.  Fix typo.  Note that signs of NaNs are not
20521         tested.
20523         * scripts/config.guess: Update from config.git.
20524         * scripts/config.sub: Likewise.
20526 2012-10-04  Roland McGrath  <roland@hack.frob.com>
20528         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20529         * misc/madvise.c (madvise): Renamed to __madvise.
20530         Make madvise a weak alias.
20531         * include/sys/mman.h: Declare __madvise.
20532         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20533         * sysdeps/unix/syscalls.list
20534         (madvise): Make __madvise the strong name, and madvise a weak alias.
20535         * sysdeps/unix/sysv/linux/syscalls.list
20536         (madvise, mmap): Remove redundant entries.
20537         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20538         * malloc/malloc.c (mtrim): Likewise.
20539         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20541 2012-10-03  Roland McGrath  <roland@hack.frob.com>
20543         * sysdeps/mach/hurd/dl-cache.c: File removed.
20544         * config.h.in (USE_LDCONFIG): New #undef.
20545         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20546         * configure: Regenerated.
20547         * elf/Makefile (dl-routines): Add dl-cache only under
20548         [$(use-ldconfig) = yes].
20549         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20550         cache on [USE_LDCONFIG].
20551         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20552         [USE_LDCONFIG].
20553         * elf/rtld.c (dl_main): Likewise.
20555 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
20557         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20558         _SC_LEVEL4_CACHE_LINESIZE.
20560 2012-10-03  Roland McGrath  <roland@hack.frob.com>
20562         * sysdeps/unix/bsd/confstr.h: File removed.
20564 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
20566         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20567         sys/sdt-config.h.
20569 2012-10-02  Roland McGrath  <roland@hack.frob.com>
20571         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20572         Make 'mapoff' field ElfW(Off) rather than off_t.
20574 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
20576         * nscd/Makefile: Remove nscd-cflags and all its users.
20577         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20578         (CFLAGS-nonlib): Add compiler flags for nscd modules.
20580         [BZ #10631]
20581         * malloc.c (malloc_printerr): Clarify error message.
20583 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
20585         [BZ #14648]
20586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20587         Set bit_FMA_Usable if FMA is supported.
20588         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20589         macro.
20590         (bit_FMA4_Usable): Updated.
20591         (index_FMA_Usable): New macro.
20592         (CPUID_FMA): Likewise
20593         (HAS_FMA): Defined with bit_FMA_Usable.
20595 2012-10-01  Roland McGrath  <roland@hack.frob.com>
20597         * bits/types.h (__swblk_t): Type removed.
20598         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20599         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20600         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20601         (__SWBLK_T_TYPE): Likewise.
20602         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20603         (__SWBLK_T_TYPE): Likewise.
20604         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20605         (__SWBLK_T_TYPE): Likewise.
20606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20607         (__SWBLK_T_TYPE): Likewise.
20609 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
20610             Honza Horak <hhorak@redhat.com>
20612         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20613         (xdr_mapname): Use YPMAXMAP as maxsize.
20614         (xdr_peername): Use YPMAXPEER as maxsize.
20615         (xdr_keydat): Use YPAXRECORD as maxsize.
20616         (xdr_valdat): Use YPMAXRECORD as maxsize.
20618 2012-10-01  Roland McGrath  <roland@hack.frob.com>
20620         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20622         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20623         * csu/init-first.c: ... here.
20624         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20625         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20626         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20627         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20628         * sysdeps/i386/init-first.c: File removed.
20629         * sysdeps/sh/init-first.c: File removed.
20631 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
20633         [BZ #14645]
20634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20635         if x * y might underflow to zero and z is zero.
20636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20637         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20638         * math/libm-test.inc (min_subnorm_value): New variable.
20639         (fma_test): Add more tests.
20640         (fma_test_towardzero): Likewise.
20641         (fma_test_downward): Likewise
20642         (fma_test_upward): Likewise.
20643         (initialize): Set min_subnorm_value.
20645 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
20647         [BZ #14638]
20648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20649         0 + 0.
20650         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20651         mode for addition resulting in exact zero.
20652         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20653         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20654         exact 0 + 0.
20655         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20656         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20657         * math/libm-test.inc (fma_test): Add more tests.
20658         (fma_test_towardzero): New function.
20659         (fma_test_downward): Likewise.
20660         (fma_test_upward): Likewise.
20661         (main): Call the new functions.
20663 2012-09-28  David S. Miller  <davem@davemloft.net>
20665         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20667 2012-09-28  Roland McGrath  <roland@hack.frob.com>
20669         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20670         instead of SIGALRM.
20672         * sysdeps/gnu/_G_config.h: Moved to ...
20673         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20674         * sysdeps/mach/hurd/_G_config.h: Moved to ...
20675         * sysdeps/generic/_G_config.h: ... here.
20677         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
20679         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20681         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20682         Conditionalize target on [libnss_test1.so-version].
20684         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20686         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20687         (elfobjdir): Move out of conditionals.
20689         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20690         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20691         (__nss_lookup_function): Conditionalize label remove_from_tree on
20692         [!DO_STATIC_NSS || SHARED], matching its only use.
20694 2012-09-28  David S. Miller  <davem@davemloft.net>
20696         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20697         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20698         file.
20699         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20700         sysdep_routines.
20701         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20702         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20703         when HWCAP_SPARC_CRYPTO is present.
20705 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
20707         * io/tst-mknodat.c: Create a FIFO instead of a socket.
20709 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
20711         [BZ #6530]
20712         * stdio-common/vfprintf.c (process_string_arg): Revert
20713         2000-07-22 change.
20715 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
20717         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20718         for testcase.
20719         * stdio-common/tst-sprintf.c: Include <locale.h>
20720         (main): Test sprintf's handling of incomplete multibyte
20721         characters.
20723 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
20725         * elf/dl-runtime.c (VERSYMIDX): Removed.
20726         * elf/dl-version.c (VERSYMIDX): Likewise.
20727         * elf/do-rel.h (VERSYMIDX): Likewise.
20728         (VALIDX): Likewise.
20729         * elf/dynamic-link.h (VERSYMIDX): Likewise.
20730         * elf/rtld.c (VALIDX): Likewise.
20731         (ADDRIDX): Likewise.
20732         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20733         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20734         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20735         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20736         (VALIDX): Likewise.
20737         (ADDRIDX): Likewise.
20739 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
20741         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20743 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
20745         [BZ #11438]
20746         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20747         to global scope.
20748         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20749         addresses are in the same scope as 192.0.2/24.
20750         * posix/gai.conf: Document new scope table defaults.
20752 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20754         [BZ #5298]
20755         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20756         for ftell.  Compute offsets from write pointers instead.
20757         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20759 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20761         [BZ #14543]
20762         * libio/Makefile (tests): New test case tst-fseek.
20763         * libio/tst-fseek.c: New test case to verify that fseek/ftell
20764         combination works in wide mode.
20765         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20766         state when the external buffer state changes.
20768 2012-09-27  David S. Miller  <davem@davemloft.net>
20770         [BZ #14376]
20771         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20772         pass reloc->r_addend in as the 'high' argument to
20773         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20777 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
20779         * rt/tst-aio2.c: Include <pthread.h>.
20780         * rt/tst-aio3.c: Likewise.
20782 2012-09-27  Steve Ellcey  <sellcey@mips.com>
20784         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20786 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
20788         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20789         contents on [SHARED].
20791 2012-09-26  Marek Polacek  <polacek@redhat.com>
20793         [BZ #14530]
20794         [BZ #13741]
20795         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20796         for C++ and GCC <4.3 as well as for non GCC compilers.
20798 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20802 2012-09-25  Roland McGrath  <roland@hack.frob.com>
20804         * Makefile.in (all, install): Declare with .PHONY.
20805         Reported by Michael Hope <michael.hope@linaro.org>.
20807 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20809         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20810         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20811         system header.
20812         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20813         Likewise.
20814         (sydep_routines): Add the new and the internal functions.
20815         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20816         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20818         (GLIBC_2.17): Add the new function.
20819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20820         (GLIBC_2.17): Likewise.
20821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20822         (GLIBC_2.17): Likewise.
20823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20824         (GLIBC_2.17): Likewise.
20825         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20827 2012-09-25  Alan Modra  <amodra@gmail.com>
20829         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20830         Add release barrier before setting once_control to say
20831         initialisation is done.  Add hints on lwarx.  Use macro in
20832         place of isync.
20833         (clear_once_control): Add release barrier.
20835 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
20837         [BZ #13629]
20838         * math/s_clog.c (__clog): Handle more values close to |z| = 1
20839         specially.
20840         * math/s_clog10.c (__clog10): Likewise.
20841         * math/s_clog10f.c (__clog10f): Likewise.
20842         * math/s_clog10l.c (__clog10l): Likewise.
20843         * math/s_clogf.c (__clogf): Likewise.
20844         * math/s_clogl.c (__clogl): Likewise.
20845         * math/Makefile (libm-calls): Add x2y2m1.
20846         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20847         (__x2y2m1): Likewise.
20848         (__x2y2m1l): Likewise.
20849         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20850         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20851         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20852         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20853         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20854         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20855         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20856         * sysdeps/i386/fpu/libm-test-ulps: Update.
20857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20859         [BZ #14621]
20860         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20861         int as type of variable DEPTH.
20862         (glob): Use size_t instead of int as type of variables NEWCOUNT
20863         and OLD_PATHC.
20865 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20867         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20868         Add s_sincosf-sse2.
20869         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20870         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20871         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20872         macros for using routine as __sincosf_ia32.
20873         Use macro for function declaration and weak_alias.
20874         * sysdeps/i386/fpu/libm-test-ulps: Update.
20876         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20879         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20880         subnormal argument.
20881         * math/s_cexpf.c (__cexpf): Likewise.
20882         * math/s_csinf.c (__csinf): Likewise.
20883         * math/s_csinhf.c (__csinhf): Likewise.
20884         * math/s_ctanf.c (__ctanf): Likewise.
20885         * math/s_ctanhf.c (__ctanhf): Likewise.
20886         * math/s_ccosh.c (__ccoshf): Likewise.
20887         * math/s_cexp.c (__cexpl): Likewise.
20888         * math/s_csin.c (__csin): Likewise.
20889         * math/s_csinh.c (__csinh): Likewise.
20890         * math/s_ctan.c (__ctan): Likewise.
20891         * math/s_ctanh.c (ctanh): Likewise.
20892         * math/s_ccoshl.c (__ccoshl): Likewise.
20893         * math/s_cexpl.c (__cexpl): Likewise.
20894         * math/s_csinl.c (__csinl): Likewise.
20895         * math/s_csinhl.c (__csinhl): Likewise.
20896         * math/s_ctanl.c (__ctanl): Likewise.
20897         * math/s_ctanhl.c (__ctanhl): Likewise.
20899 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
20901         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20902         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20903         (_IO_off_t): Define to __off_t, not _G_off_t.
20904         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20905         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20906         (_IO_wint_t): Define to wint_t, not _G_wint_t.
20907         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20908         type of __dummy and __dummy2 fields.
20909         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20910         (_G_ssize_t): Likewise.
20911         (_G_off_t): Likewise.
20912         (_G_pid_t): Likewise.
20913         (_G_uid_t): Likewise.
20914         (_G_wchar_t): Likewise.
20915         (_G_wint_t): Likewise.
20916         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20917         (_G_ssize_t): Likewise.
20918         (_G_off_t): Likewise.
20919         (_G_pid_t): Likewise.
20920         (_G_uid_t): Likewise.
20921         (_G_wchar_t): Likewise.
20922         (_G_wint_t): Likewise.
20923         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20924         (_G_ssize_t): Likewise.
20925         (_G_off_t): Likewise.
20926         (_G_pid_t): Likewise.
20927         (_G_uid_t): Likewise.
20928         (_G_wchar_t): Likewise.
20929         (_G_wint_t): Likewise.
20931 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20933         * malloc/arena.c: Include malloc-sysdep.h.
20934         (shrink_heap): Use check_may_shrink_heap to decide if madvise
20935         is sufficient to shrink the heap or an unmap is needed.
20936         * sysdeps/generic/malloc-sysdep.h: New file.  Define
20937         new function check_may_shrink_heap.
20938         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
20939         new function check_may_shrink_heap.
20941 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20943         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20944         comments.
20946 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
20948         * catgets/test-gencat.sh: Add "set -e".
20949         * elf/tst-pathopt.sh: Likewise.
20950         * grp/tst_fgetgrent.sh: Likewise.
20951         * iconvdata/run-iconv-test.sh: Likewise.
20952         * intl/tst-gettext.sh: Likewise.
20953         * intl/tst-gettext2.sh: Likewise.
20954         * intl/tst-gettext4.sh: Likewise.
20955         * intl/tst-gettext6.sh: Likewise.
20956         * intl/tst-translit.sh: Likewise.
20957         * io/ftwtest-sh: Likewise.
20958         * libio/test-freopen.sh: Likewise.
20959         * malloc/tst-mtrace.sh: Likewise.
20960         * posix/globtest.sh: Likewise.
20961         * posix/tst-getconf.sh: Likewise.
20962         * posix/wordexp-tst.sh: Likewise.
20963         * stdio-common/tst-printf.sh: Likewise.
20964         * stdio-common/tst-unbputc.sh: Likewise.
20965         * stdlib/tst-fmtmsg.sh: Likewise.
20966         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20967         * catgets/Makefile: Do not specify -e option when running
20968         testsuite shell scripts.
20969         * elf/Makefile: Likewise.
20970         * grp/Makefile: Likewise.
20971         * iconvdata/Makefile: Likewise.
20972         * intl/Makefile: Likewise.
20973         * io/Makefile: Likewise.
20974         * libio/Makefile: Likewise.
20975         * malloc/Makefile: Likewise.
20976         * posix/Makefile: Likewise.
20977         * stdio-common/Makefile: Likewise.
20978         * stdlib/Makefile: Likewise.
20979         * sysdeps/x86_64/Makefile: Likewise.
20981         * io/ftwtest-sh: Add copyright header.
20982         * posix/globtest.sh: Likewise.
20983         * posix/tst-getconf.sh: Likewise.
20984         * posix/wordexp-tst.sh: Likewise.
20985         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20987 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20989         [BZ #13679]
20990         * Makeconfig (+link): Defined as $(+link-static) if
20991         $(build-shared) isn't yes.
20992         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20993         isn't yes.
20994         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20996         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20998         [BZ #14562]
20999         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21000         new chunk size with MALLOC_ALIGN_MASK.
21002 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
21004         [BZ #5044]
21005         * stdio-common/printf_fphex.c: Include <stdbool.h> and
21006         <rounding-mode.h>.
21007         (__printf_fphex): Determine rounding using get_rounding_mode and
21008         round_away.
21009         * stdio-common/tst-printf-round.c (struct hex_test): New
21010         structure.
21011         (hex_tests): New variable.
21012         (test_hex_in_one_mode): New function.
21013         (do_test): Also run tests for hex float output.
21015 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
21017         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21018         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21019         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21020         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21021         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21022         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21023         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21024         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21026 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
21028         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21029         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21030         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21031         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21033 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
21035         [BZ #14579]
21036         * elf/rtld.c (dl_main): Limit the check for self loading to normal
21037         mode only.
21038         * elf/tst-rtld-load-self.sh: New test.
21039         * elf/Makefile: Run it.
21041 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
21043         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21044         (tst-writev-ENV): Remove.
21045         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21047 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
21049         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21051 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
21053         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21054         unconditional.
21055         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21056         Likewise.
21057         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21058         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21059         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21060         Likewise.
21062 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
21064         [BZ #14587]
21065         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21066         * config.make.in (have-cpp-asm-debuginfo): Removed.
21067         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21068         * configure: Regenerated.
21070 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
21072         [BZ #5044]
21073         * stdio-common/printf_fp.c: Include <stdbool.h> and
21074         <rounding-mode.h>.
21075         (___printf_fp): Determine rounding using get_rounding_mode and
21076         round_away.
21077         * stdio-common/tst-printf-round.c: New file.
21078         * stdio-common/Makefile (tests): Add tst-printf-round.
21079         (link-libm): New variable.
21080         ($(objpfx)tst-printf-round): Depend in $(link-libm).
21082 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
21084         [BZ #14576]
21085         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21086         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21087         Likewise.
21088         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21089         Likewise.
21091 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
21093         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21094         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21095         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21096         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21098 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
21100         [BZ #14518]
21101         * include/rounding-mode.h: New file.
21102         * sysdeps/generic/get-rounding-mode.h: Likewise.
21103         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21104         * stdlib/strtod_l.c: Include <rounding-mode.h>.
21105         (MAX_VALUE): New macro.
21106         (MIN_VALUE): Likewise.
21107         (overflow_value): New function.
21108         (underflow_value): Likewise.
21109         (round_and_return): Use overflow_value and underflow_value to
21110         determine return values in overflow and underflow cases.  Use
21111         round_away to determine rounding depending on rounding mode.
21112         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21113         determine return values in overflow and underflow cases.
21114         * stdlib/tst-strtod-round.c: Include <fenv.h>.
21115         (struct test_results): New structure.
21116         (struct test): Use struct test_results to store expected results
21117         for all rounding modes.
21118         (TEST): Include expected results for all rounding modes.
21119         (test_in_one_mode): New function.
21120         (do_test): Use test_in_one_mode to compute and check results.
21121         Check results for all rounding modes.
21122         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21123         $(link-libm).
21125 2012-12-09  Allan McRae  <allan@archlinux.org>
21127         * sysdeps/i386/fpu/libm-test-ulps: Update
21129 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
21131         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21132         (_G_int32_t): Likewise.
21133         (_G_uint16_t): Likewise.
21134         (_G_uint32_t): Likewise.
21135         (_G_HAVE_BOOL): Likewise.
21136         (_G_HAVE_ATEXIT): Likewise.
21137         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21138         (_G_HAVE_IO_FILE_OPEN): Likewise.
21139         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21140         (_G_int32_t): Likewise.
21141         (_G_uint16_t): Likewise.
21142         (_G_uint32_t): Likewise.
21143         (_G_HAVE_BOOL): Likewise.
21144         (_G_HAVE_ATEXIT): Likewise.
21145         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21146         (_G_HAVE_IO_FILE_OPEN): Likewise.
21147         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21148         (_G_int32_t): Likewise.
21149         (_G_uint16_t): Likewise.
21150         (_G_uint32_t): Likewise.
21151         (_G_HAVE_BOOL): Likewise.
21152         (_G_HAVE_ATEXIT): Likewise.
21153         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21154         (_G_HAVE_IO_FILE_OPEN): Likewise.
21156 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
21158         * csu/libc-tls.c: Update copyright years.
21160 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
21162         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21163         [!_G_USING_THUNKS]: Remove conditional code.
21164         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21165         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21167         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21168         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21169         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21170         (_G_VTABLE_LABEL_PREFIX): Likewise.
21171         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21172         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21173         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21174         (_G_VTABLE_LABEL_PREFIX): Likewise.
21175         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21176         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21177         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21178         (_G_VTABLE_LABEL_PREFIX): Likewise.
21179         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21181 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
21183         * libio/Makefile: Include ../Makeconfig before tests.
21184         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21185         only if $(build-shared) is yes.
21187         * iconv/gconv_db.c: Update copyright years.
21189 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21191         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21192         unwind info if defined PIC. Fix special cases description.
21193         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21195         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21196         DP_HI_MASK entry.
21197         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21199 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
21201         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21203         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21204         is NULL.
21206         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21207         (LDLIBS-tst-chk4): This.
21208         (LDFLAGS-tst-chk5): Renamed to ...
21209         (LDLIBS-tst-chk5): This.
21210         (LDFLAGS-tst-chk6): Renamed to ...
21211         (LDLIBS-tst-chk6): This.
21212         (LDFLAGS-tst-lfschk4): Renamed to ...
21213         (LDLIBS-tst-lfschk4): This.
21214         (LDFLAGS-tst-lfschk5): Renamed to ...
21215         (LDLIBS-tst-lfschk5): This.
21216         (LDFLAGS-tst-lfschk6): Renamed to ...
21217         (LDLIBS-tst-lfschk6): This.
21219         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21220         on $(common-objpfx)soversions.mk.
21222 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
21224         [BZ #10014]
21225         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21226         example host name.
21228 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21230         * malloc/arena.c (arena_get_retry): New function that gets
21231         another arena for the caller to try its request on.
21232         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21233         current arena cannot fulfill the request.
21234         (__libc_memalign): Likewise.
21235         (__libc_memalign): Likewise.
21236         (__libc_pvalloc): Likewise.
21237         (__libc_calloc): Likewise.
21239 2012-09-05  John Tobey  <john.tobey@gmail.com>
21241         [BZ #13542]
21242         * manual/arith.texi (Operations on Complex): Fix description
21243         of carg branch cut.
21245 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
21247         [BZ #10014]
21248         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21249         host name.
21251         [BZ #10038]
21252         * manual/memory.texi (Memory): Make order of menu items match
21253         order of sections.
21255 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21257         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21258         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
21259         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21261 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21263         * csu/libc-tls.c (static_dtv): Renamed to ...
21264         (_dl_static_dtv): This.  Make it global.
21265         (_dl_initial_dtv): Removed.
21266         (__libc_setup_tls): Updated.
21267         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21268         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21269         DL_INITIAL_DTV.
21271 2012-09-06  Petr Machata  <pmachata@redhat.com>
21273         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21274         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21275         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21276         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21278 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21280         [BZ #14545]
21281         * csu/libc-tls.c (_dl_initial_dtv): New variable.
21282         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21283         freeing dtv[-1].
21285 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
21287         [BZ #14544]
21288         * Makeconfig (link-static-before-libc): Replace $(+prector)
21289         with $(+prectorT).
21290         (link-static-after-libc): Replace $(+postctor) with
21291         $(+postctorT).
21292         (link-bounded): Replace $(+prector)/$(+postctor) with
21293         $(+prectorT)/$(+postctorT).
21294         (+prectorT): New macro.
21295         (+postctorT): Likewise.
21297 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
21299         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21300         (round_str): Handle values above the maximum for IBM long double
21301         as inexact.
21302         * stdlib/tst-strtod-round.c (tests): Regenerated.
21304 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21306         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21307         assembler flag.
21308         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21309         zarch_nohighgprs around the zarch optimized routines.
21310         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21311         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21312         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21313         for zarch.
21315 2012-09-05  David S. Miller  <davem@davemloft.net>
21317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21319         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21320         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21321         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21322         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21323         entries.
21325 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21327         * malloc/arena.c: Fold copyright years.
21328         * malloc/mcheck.c, malloc/memusage.c: Likewise.
21330 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21332         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21334 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21336         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
21338 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21340         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21341         change internal state upon failure.
21343 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
21345         * malloc/mcheck.c (mcheck_check_all): Fix typo.
21346         * malloc/memusage.c (mmap): Likewise.
21347         (mmap64, mremap): Likewise.  Adjust name in comment.
21349 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21351         * libio/fileops.c: Fix typos in comments.
21352         * libio/oldfileops.c: Likewise.
21353         * libio/wfileops.c: Likewise.
21355 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21357         [BZ #1349]
21358         * malloc/Makefile (tests): Add tst-malloc-usable test case.
21359         (tst-malloc-usable-ENV): Set environment for test case.
21360         * malloc/hooks.c (malloc_check_get_size): New function to get
21361         requested size.
21362         * malloc/malloc.c (musable): Use malloc_check_get_size.
21363         * malloc/tst-malloc-usable.c: New test case.
21365 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
21367         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21369 2012-09-05  Allan McRae  <allan@archlinux.org>
21371         [BZ #13966]
21372         * configure.in (CXX_SYSINCLUDES): Use compiler output to
21373         determine header location.
21374         * configure: Regenerated.
21376 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
21378         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21379         float format.
21380         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21381         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21382         format.
21383         (test): Regenerate.
21385 2012-09-04  David S. Miller  <davem@davemloft.net>
21387         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21388         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21389         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21391 2012-09-04  Florian Weimer  <fweimer@redhat.com>
21393         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21394         failures.
21396         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21398 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
21400         [BZ #9914]
21401         * libio/iogetdelim.c: Include <limits.h>.
21402         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21403         + len + 1 would overflow.
21405 2012-09-03  Andreas Jaeger  <aj@suse.de>
21407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21408         * sysdeps/i386/fpu/libm-test-ulps: Update.
21410 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21412         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21413         Add s_sinf-sse2, s_conf-sse2.
21415         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21416         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21417         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21418         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21420         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21421         for using routine as __sinf_ia32.
21422         Use macro for function declaration and weak_alias.
21423         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21424         for using routine as __cosf_ia32.
21425         Use macro for function declaration and weak_alias.
21427         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21428         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21430         * sysdeps/x86_64/fpu/s_sinf.S: New file.
21431         * sysdeps/x86_64/fpu/s_cosf.S: New file.
21432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21434         * math/libm-test.inc (cos_test): Add more test cases.
21435         (sin_test): Likewise.
21436         (sincos_test): Likewise.
21438 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21440         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21441         (IFUNC_RESOLVE): Make pointers to the specialized implementations
21442         hidden.
21443         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21445 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
21447         [BZ #14538]
21448         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21449         first element of the GOT.
21450         (elf_machine_load_address): Return the difference between
21451         the runtime address of _DYNAMIC and elf_machine_dynamic ().
21453 2012-09-01  Allan McRae  <allan@archlinux.org>
21455         [BZ #13412]
21456         * configure.in (AWK): Require gawk version 3.0 or later.
21457         * configure: Regenerated.
21459 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
21461         * sysdeps/unix/sysv/linux/kernel-features.h
21462         (__ASSUME_POSIX_CPU_TIMERS): Remove.
21463         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21464         [__NR_clock_getres]: Make code unconditional.
21465         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21466         (clock_getcpuclockid): Remove code left unreachable by removal of
21467         conditionals.
21468         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21469         code unconditional.
21470         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21471         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21472         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21473         Make code unconditional.
21474         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21475         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21476         * sysdeps/unix/sysv/linux/clock_settime.c
21477         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21478         conditional code.
21479         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21480         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21482 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
21484         [BZ #14476]
21485         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21486         scripts/test-installation.pl.
21488         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21489         and $ld_so_version if it is set.
21491 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21493         [BZ #14516]
21494         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21495         failure if reading from procfs failed.
21496         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21498 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
21500         * sysdeps/unix/sysv/linux/kernel-features.h
21501         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21502         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21503         Remove conditional code.
21504         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21505         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21506         Remove conditional code.
21507         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21508         * sysdeps/unix/sysv/linux/i386/fxstat.c
21509         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21510         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21511         * sysdeps/unix/sysv/linux/i386/fxstatat.c
21512         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21513         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21514         * sysdeps/unix/sysv/linux/i386/lxstat.c
21515         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21516         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21517         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21518         Remove conditional code.
21519         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21520         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21521         Remove conditional code.
21522         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21523         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21524         <kernel-features.h>.
21525         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21526         Remove.
21527         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21528         Remove conditional code.
21529         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21530         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21531         Remove conditional.
21533 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
21535         [BZ #5400]
21536         * NEWS: Add fixed bug number.
21538 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
21540         [BZ #14519]
21541         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21542         underflowing exponent in case of negative sign.
21543         * stdlib/tst-strtod-round-data: Add more tests.
21544         * stdlib/tst-strtod-round.c (tests): Regenerated.
21546         [BZ #3479]
21547         * stdlib/strtod_l.c (NDIG): Remove.
21548         (HEXNDIG): Likewise.
21549         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21550         smallest representable value.
21551         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21552         lie within an exact representation of 1/2 ulp of the result.
21553         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21554         unconditionally.
21555         (TENS_P9_IDX): Define unconditionally.
21556         (TENS_P9_SIZE): Likewise.
21557         (TENS_P10_IDX): Likewise.
21558         (TENS_P10_SIZE): Likewise.
21559         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21560         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21561         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21562         entries for 10^2^13 and 10^2^14.
21563         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21564         (TENS_P13_IDX): Define.
21565         (TENS_P13_SIZE): Likewise.
21566         (TENS_P14_IDX): Likewise.
21567         (TENS_P14_SIZE): Likewise.
21568         (_fpioconst_pow10): Change array size to
21569         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
21570         unconditional.
21571         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21572         1024]: Add entries for 10^2^13 and 10^2^14.
21573         [LAST_POW10 > _LAST_POW10]: Remove #error.
21574         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21575         (_fpioconst_pow10): Change array size to
21576         FPIOCONST_POW10_ARRAY_SIZE.
21577         * stdlib/gen-fpioconst.c: New file.
21578         * stdlib/gen-tst-strtod-round.c: Likewise.
21579         * stdlib/tst-strtod-round-data: Likewise.
21580         * stdlib/tst-strtod-round.c: Likewise.
21581         * stdlib/Makefile (tests): Add tst-strtod-round.
21583         [BZ #14459]
21584         * stdlib/strtod_l.c: Include <stdint.h>.
21585         (NDEBUG): Do not define.
21586         (round_and_return): Change EXPONENT parameter to type intmax_t.
21587         Rearrange calculations to avoid internal overflow possibilities.
21588         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21589         Rearrange calculations to avoid internal overflow possibilities.
21590         Assert that number fits inside MPNSIZE limbs.
21591         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21592         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
21593         calculations and add assertions to avoid internal overflow
21594         possibilities.  Add casts to avoid signed/unsigned operations.
21595         * stdlib/tst-strtod-overflow.c: New file.
21596         * stdlib/Makefile (tests): Add tst-strtod-overflow.
21598 2012-08-25  Marek Polacek  <polacek@redhat.com>
21600         * time/time.h: Fix some typos in comments.
21602 2012-08-23  Roland McGrath  <roland@hack.frob.com>
21604         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21605         * posix/tst-rfc3484-2.c: Likewise.
21606         * posix/tst-rfc3484-3.c: Likewise.
21608 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
21610         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21611         (EF_ARM_ABI_FLOAT_HARD): Likewise.
21613 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
21615         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21616         #include of fxstatat64.c.
21618 2012-08-22  Roland McGrath  <roland@hack.frob.com>
21620         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21621         * shadow/getspent_r.c: Likewise.
21622         * shadow/getspnam.c: Likewise.
21623         * shadow/getspnam_r.c: Likewise.
21624         * gshadow/getsgent.c: Likewise.
21625         * gshadow/getsgent_r.c: Likewise.
21626         * gshadow/getsgnam.c: Likewise.
21627         * gshadow/getsgnam_r.c: Likewise.
21628         * inet/getnetbyad.c: Likewise.
21629         * inet/getnetbyad_r.c: Likewise.
21630         * inet/getnetbynm.c: Likewise.
21631         * inet/getnetbynm_r.c: Likewise.
21632         * inet/getnetent.c: Likewise.
21633         * inet/getnetent_r.c: Likewise.
21634         * inet/getproto.c: Likewise.
21635         * inet/getproto_r.c: Likewise.
21636         * inet/getprtent.c: Likewise.
21637         * inet/getprtent_r.c: Likewise.
21638         * inet/getprtname.c: Likewise.
21639         * inet/getprtname_r.c: Likewise.
21640         * inet/getrpcbyname.c: Likewise.
21641         * inet/getrpcbyname_r.c: Likewise.
21642         * inet/getrpcbynumber.c: Likewise.
21643         * inet/getrpcbynumber_r.c: Likewise.
21644         * inet/getrpcent.c: Likewise.
21645         * inet/getrpcent_r.c: Likewise.
21646         * inet/getaliasent.c: Likewise.
21647         * inet/getaliasent_r.c: Likewise.
21648         * inet/getaliasname.c: Likewise.
21649         * inet/getaliasname_r.c: Likewise.
21650         * nscd/getgrgid_r.c: Likewise.
21651         * nscd/getgrnam_r.c: Likewise.
21652         * nscd/gethstbyad_r.c: Likewise.
21653         * nscd/gethstbynm3_r.c: Likewise.
21654         * nscd/getpwnam_r.c: Likewise.
21655         * nscd/getpwuid_r.c: Likewise.
21656         * nscd/getsrvbynm_r.c: Likewise.
21657         * nscd/getsrvbypt_r.c: Likewise.
21658         * nscd/gai.c: Likewise.
21660         * configure.in (build_nscd): New substituted variable, set
21661         by --disable-build-nscd and defaults to $use_nscd.
21662         * configure: Regenerated.
21663         * config.make.in (build-nscd): New substituted variable.
21664         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21665         Change conditional to require [$(build-nscd) = yes] as well.
21666         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21668         [BZ# 13696]
21669         * configure.in (use_nscd): New substituted variable, set by
21670         --disable-nscd.  If enabled, define USE_NSCD.
21671         * configure: Regenerated.
21672         * config.h.in: Add USE_NSCD.
21673         * config.make.in (use-nscd): New substituted variable.
21674         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21675         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21676         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21677         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21678         (CFLAGS-getgrnam_r.c): Likewise.
21679         (CFLAGS-initgroups.c): Likewise.
21680         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21681         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21682         Variables removed.
21683         * inet/getnetgrent_r.c
21684         (nscd_setnetgrent): New function, broken out of ...
21685         (setnetgrent): ... here.  Call it.
21686         (innetgr): Conditionalize nscd bits on [USE_NSCD].
21687         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21688         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21689         * nscd/Makefile (routines, aux): Move definitions after include of
21690         Makeconfig.  Conditionalize on [$(use-nscd) != no].
21691         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21692         Conditionalize on [USE_NSCD].
21693         (is_nscd, nscd_init_cb): Likewise.
21694         (nss_load_library): Conditionalize init callback on [USE_NSCD].
21695         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21696         * nss/nss_db/db-init.c: Likewise.
21697         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21698         [USE_NSCD].
21699         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21700         (make_request): Use it.
21701         (cache_valid_p): New function.
21702         (__check_pf): Use it.
21703         * NEWS: Add item for --disable-nscd.
21705 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
21707         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21708         to support sed >= 4.2.1-20-ga9bf076.
21709         * configure: Regenerated.
21711 2012-08-22  Roland McGrath  <roland@hack.frob.com>
21713         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21714         Conditionalize whole body on [IREL].
21716 2012-08-22  Jeff Law <law@redhat.com>
21718         [BZ #14505]
21719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21720         if the family is PF_UNSPEC.
21722 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
21724         * Makerules (lib-version): Rename from V.
21725         (install-lib-nosubdir): Change V to lib-version.
21727 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
21729         [BZ #14252]
21730         * powerpc32/power6/wcschr.c: New file.
21731         * powerpc32/power6/wcscpy.c: New file.
21732         * powerpc32/power6/wcsrchr.c: New file.
21733         * powerpc64/power6/wcschr.c: New file.
21734         * powerpc64/power6/wcscpy.c: New file.
21735         * powerpc64/power6/wcsrchr.c: New file.
21737 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
21739         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21740         (two_way_short_needle): Use it.
21741         * string/strstr.c (AVAILABLE1_USES_J): Define.
21742         * string/strcasestr.c: Likewise.
21744         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21745         array references.
21746         * string/strcasestr.c (TOLOWER): Make side-effect safe.
21748         [BZ #11607]
21749         * NEWS: Add an entry.
21750         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21751         define their defaults.
21752         (two_way_short_needle): Detect end-of-string on-the-fly.
21753         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21754         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21755         * string/bug-strcasestr1.c: New test.
21756         * string/Makefile: Run it.
21758 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
21760         [BZ #11607]
21761         * string/str-two-way.h (two_way_short_needle): Optimize matching of
21762         the first character.
21764 2012-08-21  Roland McGrath  <roland@hack.frob.com>
21766         * csu/elf-init.c (__libc_csu_irel): Function removed.
21767         * csu/libc-start.c (apply_irel): New function.
21768         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21770 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
21772         * sysdeps/unix/sysv/linux/kernel-features.h
21773         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21774         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21775         <kernel-features.h>.
21776         [__NR_fadvise64_64]: Make code unconditional.
21777         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21778         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21779         !__NR_fadvise64_64)]: Likewise.
21780         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21781         !__NR_fadvise64_64))]: Likewise.
21782         [__NR_fadvise64]: Make code unconditional.
21783         [!__NR_fadvise64]: Remove conditional code.
21784         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21785         <kernel-features.h>.
21786         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21787         unconditional.
21788         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21789         conditional code.
21790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21791         not include <kernel-features.h>.
21792         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21793         unconditional.
21794         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21795         conditional code.
21796         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21797         include <kernel-features.h>.
21798         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21799         unconditional.
21800         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21801         conditional code.
21803 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21805         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21806         slight instruction rearrangements per scrollpipe analysis.
21807         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21809 2012-08-20  Roland McGrath  <roland@hack.frob.com>
21811         * manual/syslog.texi (syslog; vsyslog, closelog):
21812         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21813         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21815         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21816         DSOCAPS to match condition on defining it.
21818 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
21820         * sysdeps/unix/sysv/linux/kernel-features.h
21821         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21823         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21824         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21826         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21827         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21829         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21830         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21832         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21833         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21835         * sysdeps/unix/sysv/linux/kernel-features.h
21836         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21837         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21838         unconditional.
21839         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21840         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21841         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21842         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21843         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21844         Make code unconditional.
21845         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21846         (__mmap64) [!__NR_mmap2]: Likewise.
21847         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21848         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21849         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21850         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21851         [__NR_mmap2]: Make code unconditional.
21852         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21853         (__mmap64) [!__NR_mmap2]: Likewise.
21855 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21857         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21859 2012-08-18  Andreas Jaeger  <aj@suse.de>
21861         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21863 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21865         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21866         * include/unistd.h (__have_sock_cloexec): Likewise.
21867         (__have_pipe2): Likewise.
21868         (__have_dup3): Likewise.
21870 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21872         [BZ #9685]
21873         * include/unistd.h (__have_pipe2): Change define into an extern int.
21874         (__have_dup3): Likewise.
21875         * socket/have_sock_cloexec.c: Include fcntl.h.
21876         (__have_pipe2): New variable.
21877         (__have_dup3): Likewise.
21879 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
21881         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21883 2012-08-17  Marek Polacek  <polacek@redhat.com>
21885         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21886         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21888 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21890         * configure.in: Add AC_SUBST for sysheaders.
21891         * configure: Regenerated.
21892         * config.make.in (sysheaders): New substituted variable.
21894         * sysdeps/unix/mkfifo.c: Moved ...
21895         * sysdeps/posix/mkfifo.c: ... here.
21896         * sysdeps/unix/mkfifoat.c: Moved ...
21897         * sysdeps/posix/mkfifoat.c: ... here.
21899         * sysdeps/unix/utime.c: Moved ...
21900         * sysdeps/posix/utime.c: ... here.
21902         * sysdeps/unix/time.c: Moved ...
21903         * sysdeps/posix/time.c: ... here.
21904         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21905         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21907         * sysdeps/unix/nice.c: Moved ...
21908         * sysdeps/posix/nice.c: ... here.
21910         * sysdeps/unix/alarm.c: Moved ...
21911         * sysdeps/posix/alarm.c: ... here.
21913         * intl/Makefile ($(codeset_mo)): Depend on the input file.
21915 2012-08-17  Jeff Law <law@redhat.com>
21917         * intl/Makefile (codeset_mo): New variable.
21918         ($(codeset_mo)): New target.
21919         (tst-codeset.out): Depend on that.  Remove explicit rule.
21920         (tst-gettext3.out, tst-gettext5.out): Likewise.
21921         (LOCPATH-ENV, tst-codeset-ENV): New variables.
21922         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21923         * intl/tst-codeset.sh: Remove.
21924         * intl/tst-gettext3.sh: Likewise.
21925         * intl/tst-gettext5.sh: Likewise.
21927 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21929         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
21930         * sysdeps/unix/syscalls.list: ... here.
21932         * sysdeps/posix/getaddrinfo.c
21933         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21934         (gaiconf_init, gaiconf_reload): Use them.
21935         [!_STATBUF_ST_NSEC]
21936         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21937         Define using time_t rather than struct timespec.
21939         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21940         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21941         Macros removed.
21942         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21943         [!NO_THREADS].
21944         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21945         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21946         Likewise.
21948         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21949         __libc_cleanup_push argument.
21951         * bits/param.h: New file.
21952         * misc/sys/param.h: New file.
21953         * include/sys/param.h: New file.
21954         * misc/Makefile (headers): Add bits/param.h.
21955         * sysdeps/generic/sys/param.h: File removed.
21956         * sysdeps/unix/sysv/linux/bits/param.h: New file.
21957         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21958         * sysdeps/mach/hurd/bits/param.h: New file.
21959         * sysdeps/mach/hurd/sys/param.h: File removed.
21961         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21962         last change.
21964         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21965         [_IO_MTSAFE_IO].
21966         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21967         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21968         New macros.
21970         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21971         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21972         rather than -D_IO_MTSAFE_IO conditionally.
21973         * stdio-common/Makefile (CPPFLAGS): Likewise.
21974         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21975         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21976         Use $(libio-mtsafe).
21977         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21978         of -D_IO_MTSAFE_IO.
21979         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21980         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21981         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21982         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21983         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21984         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21985         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21986         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21987         (CFLAGS-fread_u_chk.c): Likewise.
21988         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21989         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21990         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21991         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21992         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21993         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21994         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21995         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21996         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21998         * libio/Makefile: Test [$(libc-reentrant) = yes]
21999         instead of [$(filter %REENTRANT, $(defines)) nonempty].
22001         * Makeconfig
22002         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22003         * sysdeps/pthread/configure: File removed.
22004         * sysdeps/pthread/Makeconfig: New file.
22005         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22006         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22008 2012-08-16  Gary Benson  <gbenson@redhat.com>
22010         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22011         unmapping the first object in a namespace.
22013 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22015         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22016         (__internal_setnetgrent): ... this.  Add internal_function to
22017         definition.  Add libc_hidden_def.
22018         (setnetgrent): Update caller.
22019         (internal_endnetgrent): Renamed to ...
22020         (__internal_endnetgrent): ... this.  Add internal_function to
22021         definition.  Add libc_hidden_def.
22022         (endnetgrent): Update caller.
22023         (internal_getnetgrent_r): Renamed to ...
22024         (__internal_getnetgrent_r): ... this.  Add internal_function to
22025         definition.  Add libc_hidden_def.
22026         (__getnetgrent_r): Update caller.
22027         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
22029 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
22031         * stdlib/longlong.h: Update from GCC.
22033 2012-08-16  Roland McGrath  <roland@hack.frob.com>
22035         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22036         on _QL, which is set by umul_ppmm but never used.
22037         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22038         variables, which are set by GMP macros but never used.
22039         * stdio-common/_itowa.c (_itowa): Likewise.
22040         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22041         * stdlib/mod_1.c (mpn_mod_1): Likewise.
22043 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
22045         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22046         struct La_sh_regs is not constant.
22047         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22048         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22049         and struct La_sparc64_regs are not constant.
22051 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
22053         * sysdeps/unix/sysv/linux/kernel-features.h
22054         (__ASSUME_POSIX_TIMERS): Remove.
22055         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22056         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22057         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22058         Make code unconditional.
22059         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22060         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22061         Make code unconditional.
22062         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22063         * sysdeps/unix/sysv/linux/clock_nanosleep.c
22064         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22065         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22066         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22067         Make code unconditional.
22068         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22069         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22070         (__libc_missing_posix_timers): Remove.
22072 2012-08-15  Roland McGrath  <roland@hack.frob.com>
22074         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22075         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22077         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22079         * elf/dl-sym.c: Include <stdlib.h>.
22081         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22082         constants, which avoids warnings in 32-bit builds.
22084         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22085         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22087         * misc/lseek.c: File moved to ...
22088         * io/lseek.c: ... here.
22090         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22092         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22093         shifting LEN more than 31 bits at once.
22095 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22097         [BZ #14195]
22098         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22099         segmentation fault for a case of two empty input strings.
22100         * string/test-strncasecmp.c (check1): Renamed to...
22101         (bz12205): ...this.
22102         (bz14195): Add new testcase for two empty input strings and N > 0.
22103         (test_main): Call new testcase, adapt for renamed function.
22105 2012-08-15  Andreas Jaeger  <aj@suse.de>
22107         [BZ #14090]
22108         * crypt/md5test2.c: New test, based on test supplied by Serge
22109         Belyshev <belyshev@depni.sinp.msu.ru>.
22110         * crypt/Makefile (xtests): Add md5test-giant..
22111         * crypt/Makefile ($(objpfx)md5test-giant): Add.
22113 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
22115         [BZ #14090]
22116         * crypt/md5.c (md5_process_block): Don't assume the buffer
22117         length is less than 2**32.
22118         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22119         length is less than 2**64.
22121 2012-08-15  Roland McGrath  <roland@hack.frob.com>
22123         * string/str-two-way.h: Include <sys/param.h>.
22124         (MAX): Macro removed.
22126         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22127         Move #define and #undef of memmove to just before and after
22128         including <string.h>.
22130         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22131         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22132         and after including <string.h>.  Move declarations of
22133         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22134         to before #include "string/memmove.c".
22136         * include/dirent.h: Declare __getdirentries.
22138         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22139         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22141 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
22143         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22144         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22145         * sysdeps/i386/configure: Regenerated.
22146         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22147         STABS_CURRENT_FILE, and STABS_FUN.
22148         (END): Remove call to STABS_FUN_END.
22149         (STABS_CURRENT_FILE1): Delete.
22150         (STABS_CURRENT_FILE): Likewise.
22151         (STABS_FUN): Likewise.
22152         (STABS_FUN_END): Likewise.
22153         (STABS_FUN2): Likewise.
22154         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22155         * sysdeps/x86_64/configure: Regenerated.
22157 2012-08-14  Roland McGrath  <roland@hack.frob.com>
22159         * elf/dl-open.c: Include <atomic.h>.
22160         * elf/dl-lookup.c: Likewise.
22162 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
22164         * sysdeps/unix/sysv/linux/kernel-features.h
22165         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22166         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22167         unconditionally.
22168         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22169         unconditionally.
22170         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22171         condition on __ASSUME_CLONE_THREAD_FLAGS.
22173 2012-08-14  Andreas Jaeger  <aj@suse.de>
22175         * sysdeps/i386/fpu/libm-test-ulps: Update.
22177 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
22179         * include/atomic.h (atomic_exchange_and_add): Split into ...
22180         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22181         New atomic macros.
22183 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
22185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22187 2012-08-13  Jeff Law <law@redhat.com>
22189         * manual/stdio.texi (snprintf): Clarify handling of the trailing
22190         null byte in the output string.
22192 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
22194         * sysdeps/unix/sysv/linux/kernel-features.h
22195         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22196         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22197         (__ASSUME_ARG_MAX_STACK_BASED): Define.
22198         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22199         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22200         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
22201         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22203 2012-08-09  Jeff Law <law@redhat.com>
22205         [BZ #13939]
22206         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22207         When avoid_arena is set, don't retry in the that arena.  Pick the
22208         next one, whatever it might be.
22209         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22210         (arena_lock): Pass in new parameter to arena_get2.
22211         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22212         arena_get2.
22213         (__libc_malloc): Unify retrying after main arena failure with
22214         __libc_memalign version.
22215         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22217 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22219         [BZ #14166]
22220         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22221         to __redirect_strstr.
22222         (__strstr_sse42): Use typeof __redirect_strstr.
22223         (__strstr_ia32): Likewise.
22224         (__libc_strstr): New prototype.
22225         (strstr): Renamed to ...
22226         (__libc_strstr): This.
22227         (strstr): New strong alias of __libc_strstr.
22228         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22229         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22230         __redirect_time.
22231         Include <time.h>.
22232         (__libc_time): New prototype.
22233         (time_ifunc): Replace time with __libc_time.
22234         (time): New strong alias and hidden definition of __libc_time.
22235         (__GI_time): Remove strong alias.
22236         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22237         Include <stddef.h>.
22238         (memmove): Redefined to __redirect_memmove.
22239         (__memmove_sse2): Use typeof __redirect_memmove.
22240         (__memmove_ssse3): Likewise.
22241         (__memmove_ssse3_back): Likewise.
22242         (__libc_memmove): New prototype.
22243         (memmove): Renamed to ...
22244         (__libc_memmove): This.
22245         (memmove): New strong alias of __libc_memmove.
22247 2012-08-08  Mark Salter  <msalter@redhat.com>
22249         * elf/elf.h
22250         (R_MN10300_TLS_GD): Define.
22251         (R_MN10300_TLS_LD): Likewise.
22252         (R_MN10300_TLS_LDO): Likewise.
22253         (R_MN10300_TLS_GOTIE): Likewise.
22254         (R_MN10300_TLS_IE): Likewise.
22255         (R_MN10300_TLS_LE): Likewise.
22256         (R_MN10300_TLS_DTPMOD): Likewise.
22257         (R_MN10300_TLS_DTPOFF): Likewise.
22258         (R_MN10300_TLS_TPOFF): Likewise.
22259         (R_MN10300_SYM_DIFF): Likewise.
22260         (R_MN10300_ALIGN): Likewise.
22261         (R_MN10300_NUM): Update.
22263 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
22265         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22266         Remove.
22268 2012-08-08  Roland McGrath  <roland@hack.frob.com>
22270         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22272         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22273         sysdeps/unix -> sysdeps/posix move.
22274         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22276 2012-08-07      Allan McRae     <allan@archlinux.org>
22278         [BZ #14303]
22279         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22280         (SUNOS_CPP): Likewise.
22281         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22282         not found.
22283         (open_input): Call CPP using execvp.
22285 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
22287         * sysdeps/unix/sysv/linux/kernel-features.h
22288         (__ASSUME_PROT_GROWSUPDOWN): Remove.
22289         (__ASSUME_NO_CLONE_DETACHED): Likewise.
22290         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22291         (__ASSUME_WAITID_SYSCALL): Likewise.
22292         * sysdeps/unix/sysv/linux/dl-execstack.c
22293         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22294         code unconditional.
22295         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22296         conditional code.
22297         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22298         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22299         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22300         code.
22301         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22302         unconditional.
22303         [__ASSUME_WAITID_SYSCALL]: Likewise.
22304         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22306 2012-08-07  Roland McGrath  <roland@hack.frob.com>
22308         * sysdeps/unix/closedir.c: Renamed to ...
22309         * sysdeps/posix/closedir.c: ... here.
22310         * sysdeps/unix/dirfd.c: Renamed to ...
22311         * sysdeps/posix/dirfd.c: ... here.
22312         * sysdeps/unix/dirstream.h: Renamed to ...
22313         * sysdeps/posix/dirstream.h: ... here.
22314         * sysdeps/unix/fdopendir.c: Renamed to ...
22315         * sysdeps/posix/fdopendir.c: ... here.
22316         * sysdeps/unix/opendir.c: Renamed to ...
22317         * sysdeps/posix/opendir.c: ... here.
22318         * sysdeps/unix/readdir.c: Renamed to ...
22319         * sysdeps/posix/readdir.c: ... here.
22320         * sysdeps/unix/readdir_r.c: Renamed to ...
22321         * sysdeps/posix/readdir_r.c: ... here.
22322         * sysdeps/unix/rewinddir.c: Renamed to ...
22323         * sysdeps/posix/rewinddir.c: ... here.
22324         * sysdeps/unix/seekdir.c: Renamed to ...
22325         * sysdeps/posix/seekdir.c: ... here.
22326         * sysdeps/unix/telldir.c: Renamed to ...
22327         * sysdeps/posix/telldir.c: ... here.
22328         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22329         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22330         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22331         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22333         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22334         * bits/fcntl.h: ... here.
22336         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22337         not 0.
22338         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22339         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22340         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22341         (struct flock): Move l_start, l_len to the beginning.
22342         Use __pid_t for l_pid.
22343         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22344         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22345         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22346         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22347         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22348         [__USE_LARGEFILE64] (struct flock64): New type.
22349         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22351         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22352         * bits/dirent.h: ... here.
22354         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22355         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22357 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
22359         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22360         Change from 2.6.0 to 2.6.16.
22361         * sysdeps/unix/sysv/linux/configure: Regenerated.
22362         * sysdeps/unix/sysv/linux/kernel-features.h
22363         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22364         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22365         version.
22366         (__ASSUME_UTIMES): Likewise.
22367         (__ASSUME_CLONE_STOPPED): Remove.
22368         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22369         architectures, not kernel version.
22370         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22371         (__ASSUME_NO_CLONE_DETACHED): Likewise.
22372         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22373         (__ASSUME_WAITID_SYSCALL): Likewise.
22374         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22375         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22376         * README: State 2.6.16 as minimum Linux kernel version.  Do not
22377         refer to older versions.
22379 2012-08-06  Roland McGrath  <roland@hack.frob.com>
22381         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22382         Define alphasort64 as an alias.
22383         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22384         Define versionsort64 as an alias.
22385         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22386         Define scandir64 as an alias.
22387         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22388         Define scandirat64 as an alias.
22389         * dirent/alphasort64.c (alphasort64):
22390         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22391         * dirent/versionsort64.c: Likewise.
22392         * dirent/scandir64.c: Likewise.
22393         * dirent/scandirat64.c: Likewise.
22394         * sysdeps/wordsize-64/alphasort.c: File removed.
22395         * sysdeps/wordsize-64/alphasort64.c: File removed.
22396         * sysdeps/wordsize-64/scandir.c: File removed.
22397         * sysdeps/wordsize-64/scandir64.c: File removed.
22398         * sysdeps/wordsize-64/scandirat.c: File removed.
22399         * sysdeps/wordsize-64/scandirat64.c: File removed.
22400         * sysdeps/wordsize-64/versionsort.c: File removed.
22401         * sysdeps/wordsize-64/versionsort64.c: File removed.
22402         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22403         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22404         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22405         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22406         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22407         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22408         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22409         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22411         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22412         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22413         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22414         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22415         [defined __arch64__ || defined __sparcv9]
22416         (__INO_T_MATCHES_INO64_T): New macro.
22417         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22418         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22419         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22420         * sysdeps/unix/sysv/linux/bits/dirent.h
22421         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22422         (_DIRENT_MATCHES_DIRENT64): New macro.
22424         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22425         Define lockf64 as an alias.
22426         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22427         Define fseeko64 as an alias.
22428         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22429         Define ftello64 as an alias.
22430         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22431         Define _IO_fgetpos64 and fgetpos64 as aliases.
22432         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22433         Define _IO_fsetpos64 and fsetpos64 as aliases.
22434         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22435         Conditionalize body on this.
22436         * libio/fseeko64.c: Likewise.
22437         * libio/ftello64.c: Likewise.
22438         * libio/iofgetpos64.c: Likewise.
22439         * libio/iofsetpos64.c: Likewise.
22440         * sysdeps/wordsize-64/lockf.c: File removed.
22441         * sysdeps/wordsize-64/lockf64.c: File removed.
22442         * sysdeps/wordsize-64/fseeko.c: File removed.
22443         * sysdeps/wordsize-64/fseeko64.c: File removed.
22444         * sysdeps/wordsize-64/ftello.c: File removed.
22445         * sysdeps/wordsize-64/ftello64.c: File removed.
22446         * sysdeps/wordsize-64/iofgetpos.c: File removed.
22447         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22448         * sysdeps/wordsize-64/iofsetpos.c: File removed.
22449         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22450         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22451         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22452         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22453         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22454         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22455         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22456         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22457         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22458         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22459         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22461         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22462         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22463         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22464         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22465         [defined __arch64__ || defined __sparcv9]
22466         (__OFF_T_MATCHES_OFF64_T): New macro.
22467         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22468         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22469         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22470         (__OFF_T_MATCHES_OFF64_T): New macro.
22472 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
22474         * stdlib/secure-getenv.c (__secure_getenv): Replace
22475         GLIBC_2_16 with GLIBC_2_17.
22477 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
22479         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22480         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22482 2012-08-03  David S. Miller  <davem@davemloft.net>
22484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22486 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
22488         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22489         Remove.
22490         (__ASSUME_CORRECT_SI_PID): Likewise.
22491         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22492         (__ASSUME_TMPFS_NAME): Likewise.
22493         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22494         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22495         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22496         (HAVE_AUX_SECURE): Make definition unconditional.
22497         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22498         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22500 2012-08-03  Roland McGrath  <roland@hack.frob.com>
22502         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22503         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22504         * sysdeps/mach/hurd/eloop-threshold.h: New file.
22505         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22506         __eloop_threshold instead of SYMLOOP_MAX.
22508         * sysdeps/generic/eloop-threshold.h: New file.
22509         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22510         of MAXSYMLINKS.
22511         * elf/chroot_canon.c (chroot_canon): Likewise.
22513 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
22515         [BZ #13717]
22516         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22517         Change to 2.6.0 everywhere.
22518         * sysdeps/unix/sysv/linux/configure: Regenerated.
22519         * sysdeps/unix/sysv/linux/kernel-features.h
22520         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22521         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22522         kernel versions.
22523         (__ASSUME_POSIX_TIMERS): Define unconditionally.
22524         (__ASSUME_FUTEX_REQUEUE): Remove.
22525         (__ASSUME_STATFS64): Define unconditionally.
22526         (__ASSUME_AT_SECURE): Likewise.
22527         (__ASSUME_CORRECT_SI_PID): Likewise.
22528         (__ASSUME_TGKILL): Define without depending on kernel version for
22529         i386.
22530         (__ASSUME_UTIMES): Likewise.
22531         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22532         kernel version.
22533         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22534         (__ASSUME_TMPFS_NAME): Likewise.
22535         * README: Update reference to Linux kernel versions.
22537 2012-08-02  Marek Polacek  <polacek@redhat.com>
22539         [BZ# 14150]
22540         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
22541         libc_cv_asm_type_prefix with %.
22542         * configure: Regenerated.
22543         * include/libc-symbols.h: Remove comment about
22544         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22545         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22546         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22547         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22548         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22549         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22550         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22551         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22552         * elf/tst-unique2mod1.c: Likewise.
22553         * elf/tst-unique1mod2.c: Likewise.
22554         * elf/tst-unique1mod1.c: Likewise.
22555         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22556         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22557         Replace ASM_TYPE_DIRECTIVE with .type.
22558         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22559         * sysdeps/i386/sysdep.h: Likewise.
22560         * sysdeps/x86_64/sysdep.h: Likewise.
22561         * sysdeps/sh/sysdep.h: Likewise.
22562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22563         Do not define ASM_TYPE_DIRECTIVE.
22564         * sysdeps/powerpc/sysdep.h: Likewise.
22565         * sysdeps/powerpc/powerpc32/sysdep.h:
22566         Replace ASM_TYPE_DIRECTIVE with .type.
22567         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22568         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22569         * sysdeps/i386/fpu/e_powf.S: Likewise.
22570         * sysdeps/i386/fpu/e_expl.S: Likewise.
22571         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22572         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22573         * sysdeps/i386/fpu/e_pow.S: Likewise.
22574         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22575         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22576         * sysdeps/i386/fpu/s_expm1.S: Likewise.
22577         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22578         * sysdeps/i386/fpu/e_log2.S: Likewise.
22579         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22580         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22581         * sysdeps/i386/fpu/e_powl.S: Likewise.
22582         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22583         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22584         * sysdeps/i386/fpu/e_logl.S: Likewise.
22585         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22586         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22587         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22588         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22589         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22590         * sysdeps/i386/fpu/e_log.S: Likewise.
22591         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22592         * sysdeps/i386/fpu/e_logf.S: Likewise.
22593         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22594         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22595         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22596         * sysdeps/i386/fpu/e_log10.S: Likewise.
22597         * sysdeps/i386/fpu/s_frexp.S: Likewise.
22598         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22599         * sysdeps/i386/fpu/s_asinh.S: Likewise.
22600         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22601         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22602         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22603         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22604         * sysdeps/i386/i686/strtok.S: Likewise.
22605         * sysdeps/i386/i386-mcount.S: Likewise.
22606         * sysdeps/i386/strtok.S: Likewise.
22607         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22608         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22609         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22610         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22611         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22612         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22613         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22614         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22615         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22616         * sysdeps/x86_64/_mcount.S: Likewise.
22617         * sysdeps/x86_64/strtok.S: Likewise.
22618         * sysdeps/sh/_mcount.S: Likewise.
22620 2012-08-01  Roland McGrath  <roland@hack.frob.com>
22622         * libio/iofopen.c: Include <fcntl.h>.
22623         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22624         (_IO_fopen64, fopen64): Define as aliases.
22625         * libio/iofopen64.c: Include <fcntl.h>.
22626         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22627         Conditionalize body on this.
22628         * sysdeps/wordsize-64/iofopen.c: File removed.
22629         * sysdeps/wordsize-64/iofopen64.c: File removed.
22631 2012-08-01  Marek Polacek  <polacek@redhat.com>
22633         * libc/Makeconfig: Use elf in place of binfmt-subdir.
22634         Use dlfcn directly instead of a variable.
22635         (binfmt-subdir): Do not define.
22636         (dlfcn): Likewise.
22638 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
22640         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22641         Remove all definitions.
22642         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22643         <kernel-features.h>.
22644         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22645         (miss_F_GETOWN_EX): Remove all definitions.
22646         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22647         macro definition.
22648         [!__ASSUME_FCNTL64]: Remove conditional code.
22649         [__ASSUME_FCNTL64]: Make code unconditional.
22650         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22651         <kernel-features.h>.
22652         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22653         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22654         (lockf64) [__NR_fcntl64]: Make code unconditional.
22655         (lockf64) [__ASSUME_FCNTL64]: Likewise.
22657         * sysdeps/unix/sysv/linux/kernel-features.h
22658         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22659         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22660         Make code unconditional.
22661         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22662         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22664         [__NR_vfork]: Make code unconditional.
22665         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22666         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22668         [__NR_vfork]: Make code unconditional.
22669         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22670         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22672 2012-08-01  Roland McGrath  <roland@hack.frob.com>
22674         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22675         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22677         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22678         Define mkstemp64 as an alias.
22679         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22680         Define mkstemps64 as an alias.
22681         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22682         Define mkostemp64 as an alias.
22683         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22684         Define mkostemps64 as an alias.
22685         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22686         Conditionalize body on this.
22687         * misc/mkostemp64.c: Likewise.
22688         * misc/mkostemps64.c: Likewise.
22689         * misc/mkstemps64.c: Likewise.
22690         * sysdeps/wordsize-64/mkstemp64.c: File removed.
22691         * sysdeps/wordsize-64/mkostemp64.c: File removed.
22692         * sysdeps/wordsize-64/mkostemp.c: File removed.
22693         * sysdeps/wordsize-64/mkstemp.c: File removed.
22694         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22695         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22696         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22697         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22699         [BZ #14138]
22700         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22701         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22702         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22703         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22705         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22706         compat_symbol macros from <shlib-compat.h> rather than the underlying
22707         default_symbol_version and symbol_version macros, so that DEFAULT
22708         lines in shlib-versions are respected.
22709         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22711 2012-08-01  Florian Weimer  <fweimer@redhat.com>
22713         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22714         Declare with warn_unused_result.
22715         (setgid, setregid, setegid, setresgid): Likewise.
22716         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22717         Likewise.
22718         * WUR-REPORT: Remove set*id functions.
22720 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
22722         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22724 2012-07-31  Roland McGrath  <roland@hack.frob.com>
22726         [BZ #10191]
22727         * include/sys/socket.h (__libc_accept, __libc_accept4):
22728         Add attribute_hidden.
22729         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22731         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22732         use of PTR_MANGLE.
22733         * inet/getnetgrent_r.c (setup): Likewise.
22735         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22737 2012-07-31  David S. Miller  <davem@davemloft.net>
22739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22741 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
22743         [BZ #13629]
22744         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22745         value between 1.0 and 2.0 and smaller part has absolute value less
22746         than 1.0.
22747         * math/s_clog10.c (__clog10): Likewise.
22748         * math/s_clog10f.c (__clog10f): Likewise.
22749         * math/s_clog10l.c (__clog10l): Likewise.
22750         * math/s_clogf.c (__clogf): Likewise.
22751         * math/s_clogl.c (__clogl): Likewise.
22752         * math/libm-test.inc (clog_test): Add more tests.
22753         (clog10_test): Likewise.
22754         * sysdeps/i386/fpu/libm-test-ulps: Update.
22755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22757 2012-07-31  Florian Weimer  <fweimer@redhat.com>
22759         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22760         Exit with zero in case no suitable GID is found, and write a
22761         message to standard error.
22763 2012-07-30  Roland McGrath  <roland@hack.frob.com>
22765         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22766         rather than to 1.
22767         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22768         (MAXPATHLEN): Removed.
22769         (NOGROUP, NODEV): New macros.
22770         (setbit, clrbit, isset, isclr): New macros.
22771         (howmany, roundup, powerof2): New macros.
22772         (DEV_BSIZE): New macro.
22774         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22775         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22777         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22778         definition on [!__NO_LONG_DOUBLE_MATH].
22780         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22781         PTR_MANGLE and PTR_DEMANGLE.
22783         * socket/accept4.c (accept4): Rename to __libc_accept4.
22784         Define accept4 as a weak alias.
22786         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22787         on [_DIRENT_HAVE_D_TYPE].
22788         * io/ftw.c (ftw_dir): Likewise.
22790         * io/xmknod.c (__xmknod): Don't check PATH for being null.
22792         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22794         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22795         Use the BSD numbers rather than the arbitrary ones we had.
22796         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22797         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22798         (SIGXCPU, SIGXFSZ): New macros.
22799         (_NSIG): Now 32.
22801         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22802         initializer on [_LIBC_REENTRANT].
22804         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22805         definitions inside [_POSIX_MAPPED_FILES].
22807         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22809         * dirent/opendir.c: Include <fcntl.h>.
22811         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22812         (__libc_getspecific): Likewise.
22813         (__libc_key_create): Likewise.
22815         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22816         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22817         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22818         (tmpfile64): Define as alias.
22819         * sysdeps/wordsize-64/tmpfile.c: File removed.
22820         * sysdeps/wordsize-64/tmpfile64.c: File removed.
22821         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22822         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22824         * stdio-common/vfscanf.c: Include <stdbool.h>.
22825         * nss/makedb.c: Likewise.
22826         * stdio-common/_i18n_number.h: Likewise.
22827         * argp/argp-help.c: Likewise.
22828         * posix/wordexp.c: Likewise.
22829         * sysdeps/posix/spawni.c: Likewise.
22830         * nss/nss_files/files-initgroups.c: Likewise.
22831         * stdio-common/reg-modifier.c: Include <stdlib.h>.
22832         * nss/nss_files/files-initgroups.c: Likewise.
22833         * nss/nss_db/db-netgrp.c: Likewise.
22834         * nss/nss_db/db-initgroups.c: Likewise.
22835         * io/fchmodat.c: Include <sys/stat.h>.
22837         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22838         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22840         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22841         [HAVE_MMAP].
22843         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22844         Add multiple inclusion protection.
22846 2012-07-27  David S. Miller  <davem@davemloft.net>
22848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22850 2012-07-27  Gary Benson  <gbenson@redhat.com>
22852         [BZ #14298]
22853         * elf/rtld.c: Include <stap-probe.h>.
22854         (dl_main): Added static probes "init_start" and "init_complete".
22855         * elf/dl-load.c: Include <stap-probe.h>.
22856         (lose): Take new parameter "nsid".
22857         Added static probe "map_failed".
22858         (_dl_map_object_from_fd): Pass namespace id to lose.
22859         Added static probe "map_start".
22860         (open_verify): Pass namespace id to lose.
22861         * elf/dl-open.c: Include <stap-probe.h>.
22862         (dl_open_worker) Added static probes "map_complete", "reloc_start"
22863         and "reloc_complete".
22864         * elf/dl-close.c: Include <stap-probe.h>.
22865         (_dl_close_worker): Added static probes "unmap_start" and
22866         "unmap_complete".
22867         * elf/rtld-debugger-interface.txt: New file documenting the above.
22869 2012-07-26  Roland McGrath  <roland@hack.frob.com>
22871         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22872         rather than a string variable.
22873         * sunrpc/rpc_main.c (h_output): Likewise.
22874         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22876 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
22878         * inet/check_native.c: New file.
22880 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
22882         [BZ #13629]
22883         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22884         if larger part has absolute value 1.0.
22885         * math/s_clog10.c (__clog10): Likewise.
22886         * math/s_clog10f.c (__clog10f): Likewise.
22887         * math/s_clog10l.c (__clog10l): Likewise.
22888         * math/s_clogf.c (__clogf): Likewise.
22889         * math/s_clogl.c (__clogl): Likewise.
22890         * math/libm-test.inc (clog_test): Add more tests.
22891         (clog10_test): Likewise.
22892         * sysdeps/i386/fpu/libm-test-ulps: Update.
22893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22895         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22896         (pltexit): Likewise.
22897         (La_regs): Likewise.
22898         (La_retval): Likewise.
22899         (int_retval): Likewise.
22900         Update #error for removed macros to refer only to definitions in
22901         tst-audit.h.
22902         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22903         macro.
22904         (pltexit): Likewise.
22905         (La_regs): Likewise.
22906         (La_retval): Likewise.
22907         (int_retval): Likewise.
22908         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22909         macro.
22910         (pltexit): Likewise.
22911         (La_regs): Likewise.
22912         (La_retval): Likewise.
22913         (int_retval): Likewise.
22914         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22915         macro.
22916         (pltexit): Likewise.
22917         (La_regs): Likewise.
22918         (La_retval): Likewise.
22919         (int_retval): Likewise.
22920         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22921         macro.
22922         (pltexit): Likewise.
22923         (La_regs): Likewise.
22924         (La_retval): Likewise.
22925         (int_retval): Likewise.
22926         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22927         macro.
22928         (pltexit): Likewise.
22929         (La_regs): Likewise.
22930         (La_retval): Likewise.
22931         (int_retval): Likewise.
22932         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22933         macro.
22934         (pltexit): Likewise.
22935         (La_regs): Likewise.
22936         (La_retval): Likewise.
22937         (int_retval): Likewise.
22938         * sysdeps/generic/tst-audit.h: Update comment to refer only to
22939         macro definitions in tst-audit.h.
22940         * sysdeps/i386/tst-audit.h: New file.
22941         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22942         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22943         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22944         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22945         * sysdeps/sh/tst-audit.h: Likewise.
22946         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22947         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22948         * sysdeps/x86_64/tst-audit.h: Likewise.
22950 2012-07-26  Andreas Jaeger  <aj@suse.de>
22952         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22953         ptrace.
22955         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22956         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22957         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22958         PTRACE_O_MASK.
22959         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22960         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22961         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22963         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22964         value.
22966         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22967         _sigsys.
22968         (si_call_addr, si_syscall, si_arch): Define new macro.
22969         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22970         _sigsys.
22971         (si_call_addr, si_syscall, si_arch): Define new marcro.
22972         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22973         _sigsys.
22974         (si_call_addr, si_syscall, si_arch): Define new macro.
22975         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22976         _sigsys.
22977         (si_call_addr, si_syscall, si_arch): Define new macro.
22979 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22981         [BZ #13717]
22982         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22983         Change to 2.4.21 where previously 2.4.1.
22984         * sysdeps/unix/sysv/linux/configure: Regenerated.
22985         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22986         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22987         Linux kernel version.
22988         (__ASSUME_STD_AUXV): Remove.
22989         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22990         kernel version.
22991         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22992         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22993         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22994         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22995         (__ASSUME_NETLINK_SUPPORT): Likewise.
22996         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22997         (__no_netlink_support): Remove conditional definition.
22998         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22999         Remove.
23000         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23001         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23002         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23003         (if_nameindex_ioctl): Remove.
23004         (if_nameindex_netlink): Do not handle __no_netlink_support.
23005         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23006         code.
23007         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23008         Remove conditional code.
23009         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23010         code.
23011         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23012         unconditional.
23013         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23014         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23015         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23016         Remove.
23017         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23018         [!__ASSUME_STD_AUXV]: Remove conditional code.
23019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23020         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23021         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23023         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23024         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23025         code.
23026         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23028         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23029         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23030         conditional code.
23031         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23033         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23034         code.
23035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23036         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23037         conditional code.
23038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23039         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23040         code unconditional.
23041         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23042         conditional code.
23043         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23044         unconditional.
23045         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23046         conditional code.
23047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23048         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23049         unconditional.
23050         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23051         conditional code.
23052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23053         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23054         code unconditional.
23055         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23056         conditional code.
23057         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23058         unconditional.
23059         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23060         conditional code.
23061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23062         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23063         code unconditional.
23064         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23065         conditional code.
23066         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23067         unconditional.
23068         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23069         conditional code.
23071 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
23073         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23074         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23075         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23076         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23077         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23078         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23079         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23080         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23081         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23082         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23083         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23084         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23085         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23086         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23087         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23088         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23089         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23090         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23091         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23093         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23094         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23095         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23097 2012-07-25  Florian Weimer  <fweimer@redhat.com>
23099         * Versions.def: Add GLIBC_2.17.
23100         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23101         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23102         Introduce __libc_secure_getenv.
23103         * stdlib/Versions (2.17): Add secure_getenv
23104         (GLIBC_PRIVATE): Add __libc_secure_getenv.
23105         * stdlib/secure-getenv.c: Rename __secure_getenv to
23106         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
23107         symbol __secure_getenv for GLIBC_2.0.
23108         * stdlib/tst-secure-getenv.c: New.
23109         * stdlib/Makefile (tests): Add testcase.
23110         * manual/startup.texi (Environment Access): Document
23111         secure_getenv.
23112         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23113         __libc_secure_getenv.
23114         * inet/ruserpass.c (ruserpass): Likewise.
23115         * malloc/mtrace.c (mtrace): Likewise.
23116         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23117         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23118         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23119         * sysdeps/posix/tempname.c: Likewise.  Evaluate
23120         HAVE_SECURE_GETENV.
23121         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23122         __secure_getenv to __libc_secure_getenv.
23123         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23125         Likewise.
23126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23127         Likewise.
23128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23130         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23136 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
23138         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23139         (struct La_i86_retval): Likewise.
23140         (struct La_x86_64_regs): Likewise.
23141         (struct La_x86_64_retval): Likewise.
23142         (struct La_x32_regs): Likewise.
23143         (struct La_x32_retval): Likewise.
23144         (struct La_ppc32_regs): Likewise.
23145         (struct La_ppc32_retval): Likewise.
23146         (struct La_ppc64_regs): Likewise.
23147         (struct La_ppc64_retval): Likewise.
23148         (struct La_sh_regs): Likewise.
23149         (struct La_sh_retval): Likewise.
23150         (struct La_s390_32_regs): Likewise.
23151         (struct La_s390_32_retval): Likewise.
23152         (struct La_s390_64_regs): Likewise.
23153         (struct La_s390_64_retval): Likewise.
23154         (struct La_sparc32_regs): Likewise.
23155         (struct La_sparc32_retval): Likewise.
23156         (struct La_sparc64_regs): Likewise.
23157         (struct La_sparc64_retval): Likewise.
23158         (struct audit_ifaces): Remove architecture-specific pltenter and
23159         pltexit members.
23160         * sysdeps/i386/ldsodefs.h: New file.
23161         * sysdeps/powerpc/ldsodefs.h: Likewise.
23162         * sysdeps/s390/ldsodefs.h: Likewise.
23163         * sysdeps/sh/ldsodefs.h: Likewise.
23164         * sysdeps/sparc/ldsodefs.h: Likewise.
23165         * sysdeps/x86_64/ldsodefs.h: Likewise.
23167 2012-07-25  Marek Polacek  <polacek@redhat.com>
23169         [BZ #6808]
23170         * math/libm-test.inc (yn_test): Add another test.
23171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23172         to ERANGE when the result is +-Inf.
23173         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23174         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23175         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23176         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23178 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
23180         * conform/data/time.h-data (NULL): Use macro-constant.  Require
23181         equal to 0.
23182         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
23183         clock_t.
23184         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
23186 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
23188         * configure.in <sysdeps resolving>: Correct printing
23189         Implies_before.
23190         * configure: Regenerate.
23192 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
23194         * math/w_ilogb.c: Include <limits.h>.
23195         * math/w_ilogbl.c: Likewise.
23197 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
23199         * manual/lang.texi (__va_copy): Document primarily as ISO C99
23200         va_copy.  Document allowing for unavailable va_copy only as
23201         pre-C99 compatibility.
23202         * manual/string.texi (Copying and Concatenation): Use va_copy
23203         instead of __va_copy in concat example.
23205 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
23207         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23208         (__sendto): Use create_address_port.  Initialize APORT and deallocate
23209         it if not null.
23211         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23212         with O_NOLINK passed to __file_name_lookup.
23214         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23215         with O_NOLINK passed to __file_name_lookup.
23217         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23218         negative N or less than NGIDS.
23220         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23221         type to string_t.  Set ERANGE as errno and return it if NAME is not big
23222         enough.  Use memcpy instead of strncpy.
23224 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
23226         * elf/Makefile (check-data): Remove.
23227         (localplt.data): New vpath directive.
23228         ($(objpfx)check-localplt.out): Use localplt.data from vpath
23229         instead of $(check-data).
23230         * scripts/data/localplt-generic.data: Move to ...
23231         * sysdeps/generic/localplt.data: ... here.
23232         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23233         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23234         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23236         ... here.
23237         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23239         ... here.
23240         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23242         ... here.
23243         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23245         ... here.
23246         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23248         ... here.
23249         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23251         ... here.
23253 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23255         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23256         PPC32 and PPC64 files.
23257         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23258         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23260 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23262         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23263         __makecontext_ret to ...
23264         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23265         ... here and call exit if uc_link is NULL.  New file.
23266         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23267         __makecontext_ret.S.
23268         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23269         __makecontext_ret to ...
23270         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23271         ... here and call exit if uc_link is NULL.  New file.
23272         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23273         __makecontext_ret.S.
23275 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23277         * elf/elf.h (R_390_IRELATIVE): New definition.
23278         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23279         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
23280         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23281         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23282         (elf_machine_lazy_rel): Likewise.
23283         * sysdeps/s390/dl-irel.h: New file.
23284         * sysdeps/s390/s390-64/memcpy.S: New asm code.
23285         * sysdeps/s390/s390-64/memset.S: New asm code.
23286         * sysdeps/s390/s390-64/memcmp.S: New asm code.
23287         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23288         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23289         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23290         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23291         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23292         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23293         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23294         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23295         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23296         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23297         * sysdeps/s390/s390-32/memcpy.S: New asm code.
23298         * sysdeps/s390/s390-32/memset.S: New asm code.
23299         * sysdeps/s390/s390-32/memcmp.S: New asm code.
23301 2012-07-17  Marek Polacek  <polacek@redhat.com>
23303         [BZ #14349]
23304         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23305         * sysdeps/s390/s390-64/configure.in: Likewise.
23306         * sysdeps/sparc/configure.in: Likewise.
23307         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23308         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23309         * sysdeps/i386/configure.in: Likewise.
23310         * sysdeps/x86_64/configure.in: Likewise.
23311         * sysdeps/sh/configure.in: Likewise.
23312         * sysdeps/s390/s390-32/configure: Regenerated.
23313         * sysdeps/s390/s390-64/configure: Likewise.
23314         * sysdeps/x86_64/configure: Likewise.
23315         * sysdeps/sh/configure: Likewise.
23316         * sysdeps/powerpc/powerpc64/configure: Likewise.
23317         * sysdeps/powerpc/powerpc32/configure: Likewise.
23318         * sysdeps/sparc/configure: Likwise.
23319         * sysdeps/i386/configure: Likewise.
23321         * elf/dl-open.c: Comment fixes.
23323 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
23325         * Makefile [CXX] (check-data): Remove.
23326         [CXX] (c++-types.data): New vpath directive.
23327         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23328         vpath.  Do not allow for C++ type data being missing.
23329         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23330         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23331         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23332         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23333         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23334         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23335         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23337         ... here.
23338         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23340         ... here.
23341         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23343         ... here.
23344         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23346         ... here.
23347         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23349         ... here.
23350         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23352         ... here.
23353         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23355         ... here.
23356         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23359         * elf/tls-macros.h (TLS_LE): Move architecture-specific
23360         definitions to architecture-specific files.
23361         (TLS_IE): Likewise.
23362         (TLS_LD): Likewise.
23363         (TLS_GD): Likewise.
23364         * sysdeps/i386/tls-macros.h: New file.
23365         * sysdeps/powerpc/tls-macros.h: Likewise.
23366         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23367         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23368         * sysdeps/sh/tls-macros.h: Likewise.
23369         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23370         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23371         * sysdeps/x86_64/tls-macros.h: Likewise.
23373 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
23375         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23376         zero value for regular exit case.
23378         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23379         (__start_context): Preserve zero value for regular exit case.
23381 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
23382             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23384         * manual/setjmp.texi (setcontext): Clarify normal process
23385         termination when uc_link is the null pointer.
23386         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23387         exit call.
23389 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
23391         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23392         preprocessor.  Test for each exception mask separately.
23394 2012-07-16  Andreas Jaeger  <aj@suse.de>
23396         * po/ru.po: Update from translation team.
23398 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
23400         * conform/data/string.h-data (NULL): Use macro-constant.  Require
23401         equal to 0.
23402         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23403         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23404         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23405         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23406         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23408 2012-07-13  Andreas Jaeger  <aj@suse.de>
23410         * po/fr.po: Update from translation team.
23412 2012-07-12  Marek Polacek  <polacek@redhat.com>
23414         [BZ #14173]
23415         * math/libm-test.inc (yn_test): Add test for BZ #14173.
23416         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23417         loop condition.
23419 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
23421         [BZ #13717]
23422         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23423         Change to 2.4.1 where previously 2.4.0.
23424         * sysdeps/unix/sysv/linux/configure: Regenerated.
23425         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23426         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23427         version.
23428         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23429         (__ASSUME_AT_CLKTCK): Remove.
23430         (__ASSUME_AT_PAGESIZE): Likewise.
23431         (__ASSUME_AT_XID): Likewise.
23432         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23433         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23434         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23435         unconditionally.
23436         (HAVE_AUX_PAGESIZE): Likewise.
23437         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23438         [__ASSUME_AT_CLKTCK]: Make code unconditional.
23439         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23441 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
23443         [BZ #14307]
23444         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23445         the temporary buffer used to invoke __gethostbyname2_r,
23446         __gethostbyaddr_r and gethostbyname4_r to make room for struct
23447         host_data / struct gaih_addrtuple.
23448         * resolv/nss_dns/dns-host.c (global scope): Move definition of
23449         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23450         header file nss/nsswitch.h.
23451         * nss/nsswitch.h (global scope): Add definition of implementation
23452         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23453         resolv/nss_dns/dns-host.c).
23455 2012-07-11  Andreas Jaeger  <aj@suse.de>
23457         * po/fr.po: Update from translation team.
23459         * po/sv.po: Update from translation team
23460         * po/fr.po: Another update from translation team.
23462 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23464         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23465         for subnormals or multiply small sinh result by itself.
23466         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23469 2012-07-11  David S. Miller  <davem@davemloft.net>
23471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23473 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
23475         [BZ #14347]
23476         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23477         (INTERNAL_MARK): Shift it here.
23479 2012-07-10  Marek Polacek  <polacek@redhat.com>
23481         [BZ #14151]
23482         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
23483         libc_cv_asm_global_directive with .globl.
23484         * configure: Regenerated.
23485         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23486         with .globl.
23487         * sysdeps/i386/configure: Regenerated.
23488         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23489         with .globl.
23490         * sysdeps/x86_64/configure: Regenerated.
23491         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23492         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23493         * elf/tst-unique2mod2.c: Likewise.
23494         * elf/tst-unique2mod1.c: Likewise.
23495         * elf/tst-unique1mod2.c: Likewise.
23496         * elf/tst-unique1mod1.c: Likewise.
23497         * sysdeps/s390/s390-32/sysdep.h: Likewise.
23498         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23499         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23500         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23501         * sysdeps/mach/sysdep.h: Likewise.
23502         * sysdeps/i386/sysdep.h: Likewise.
23503         * sysdeps/i386/i386-mcount.S: Likewise.
23504         * sysdeps/x86_64/_mcount.S: Likewise.
23505         * sysdeps/x86_64/sysdep.h: Likewise.
23506         * sysdeps/sh/_mcount.S: Likewise.
23507         * sysdeps/sh/sysdep.h: Likewise.
23508         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23509         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23510         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23511         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23512         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23513         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23514         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23515         * locale/localeinfo.h: Likewise.
23516         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23517         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23519 2012-07-09  Roland McGrath  <roland@hack.frob.com>
23521         [BZ #14336]
23522         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23523         system".
23524         * manual/message.texi (The Uniforum approach): Likewise.
23525         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23526         (glibc iconv Implementation): Likewise.
23528 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
23530         [BZ #14337]
23531         * math/s_clog.c (__clog): Avoid scaling a value down where that
23532         could result in underflow.
23533         * math/s_clog10.c (__clog10): Likewise.
23534         * math/s_clog10f.c (__clog10f): Likewise.
23535         * math/s_clog10l.c (__clog10l): Likewise.
23536         * math/s_clogf.c (__clogf): Likewise.
23537         * math/s_clogl.c (__clogl): Likewise.
23538         * math/libm-test.inc (clog_test): Add more tests.
23539         (clog10_test): Likewise.
23540         * sysdeps/i386/fpu/libm-test-ulps: Update.
23541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23543 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
23545         [BZ #14283]
23546         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23547         by 7 not 8 to examine high bit of fractional part.
23549         [BZ #14042]
23550         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23551         for call to __mcount_internal.
23552         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23553         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23554         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23556 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
23558         [BZ #14154]
23559         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23560         approximation for values within 0x1p-13f of an odd multiple of
23561         pi/4.
23562         * math/libm-test.inc (tan_test): Do not allow spurious underflow
23563         exception.  Add more tests.
23564         * sysdeps/i386/fpu/libm-test-ulps: Update.
23566         [BZ #6778]
23567         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23568         inputs and return -1 for them.  Do not check for +Inf in case not
23569         reachable for +Inf.
23570         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23571         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23572         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23573         and return -1 for them.  Do not check for +Inf in case not
23574         reachable for +Inf.
23575         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23576         define.
23577         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23578         and return -1 for them.  Do not check for +Inf in case not
23579         reachable for +Inf.
23580         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
23581         spurious underflow.
23582         * sysdeps/i386/fpu/libm-test-ulps: Update.
23583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23585 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
23587         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23589 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
23591         [BZ #14157]
23592         [BZ #14331]
23593         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23594         could result in spurious underflow.  Scale down values above
23595         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23596         * math/s_csqrtf.c (__csqrtf): Likewise.
23597         * math/s_csqrtl.c (__csqrtl): Likewise.
23598         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
23599         spurious underflow.
23600         * sysdeps/i386/fpu/libm-test-ulps: Update.
23601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23603 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
23605         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23606         xopen-msg.sed.
23607         * catgets/xopen-msg.awk: New file.
23608         * catgets/xopen-msg.sed: Removed.
23610         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23611         po2text.sed.
23612         * intl/po2test.awk: New file.
23613         * intl/po2test.sed: Removed.
23615 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
23617         [BZ #14328]
23618         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23619         or multiply small sinh result by itself.
23620         * math/s_ctanf.c (__ctanf): Likewise.
23621         * math/s_ctanh.c (__ctanh): Likewise.
23622         * math/s_ctanhf.c (__ctanhf): Likewise.
23623         * math/s_ctanhl.c (__ctanhl): Likewise.
23624         * math/s_ctanl.c (__ctanl): Likewise.
23625         * math/libm-test.inc (ctan_test_tonearest): New function.
23626         (ctan_test_towardzero): Likewise.
23627         (ctan_test_downward): Likewise.
23628         (ctan_test_upward): Likewise.
23629         (ctanh_test_tonearest): Likewise.
23630         (ctanh_test_towardzero): Likewise.
23631         (ctanh_test_downward): Likewise.
23632         (ctanh_test_upward): Likewise.
23633         (main): Call these new functions.
23634         * sysdeps/i386/fpu/libm-test-ulps: Update.
23635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23637 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
23639         * .gitignore: Delete /ports entry.
23641 2012-07-03  Andreas Jaeger  <aj@suse.de>
23643         * po/bg.po: Update from translation team.
23644         * po/cs.po: Likewise.
23645         * po/de.po: Likewise.
23646         * po/hr.po: Likewise.
23647         * po/nl.pl: Likewise.
23648         * po/pl.po: Likewise.
23649         * po/vi.po: Likewise.
23651 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
23653         * Makeconfig [!+link] (+link-before-libc): New variable.
23654         [!+link] (+link-after-libc): Likewise.
23655         [!+link] (+link-tests): Likewise.
23656         [!+link] (+link): Define in terms of $(+link-before-libc) and
23657         $(+link-after-libc).
23658         [!+link-static] (+link-static-before-libc): New variable.
23659         [!+link-static] (+link-static-after-libc): Likewise.
23660         [!+link-static] (+link-static-tests): Likewise.
23661         [!+link-static] (+link-static): Define in terms of
23662         $(+link-static-before-libc) and $(+link-static-after-libc).
23663         [build-shared] (link-libc-before-gnulib): New variable.
23664         [build-shared] (link-libc-tests): Likewise.
23665         [build-shared] (link-libc): Define in terms of
23666         $(link-libc-before-gnulib).
23667         [!build-shared] (link-libc-tests): New variable.
23668         (link-libc-static-tests): New variable.
23669         [!gnulib] (gnulib-arch): New variable.
23670         [!gnulib] (gnulib-tests): Likewise.
23671         [!gnulib] (static-gnulib-arch): Likewise.
23672         [!gnulib] (static-gnulib-tests): Likewise.
23673         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
23674         Define with "=" instead of ":=".
23675         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
23676         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
23677         * Rules (binaries-all-notests): New variable.
23678         (binaries-all-tests): Likewise.
23679         (binaries-static-notests): Likewise.
23680         (binaries-static-tests): Likewise.
23681         (binaries-all): Define using $(binaries-all-notests) and
23682         $(binaries-all-tests).
23683         (binaries-static): Define using $(binaries-static-notests) and
23684         $(binaries-static-tests).
23685         (binaries-shared-tests): New variable.
23686         (binaries-shared-notests): Likewise.
23687         (binaries-shared): Remove variable.
23688         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23689         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23690         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23691         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23692         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23693         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23694         * elf/Makefile (sln-modules): New variable.
23695         (extra-objs): Add $(sln-modules:=.o).
23696         (ldconfig-modules): Add static-stubs.
23697         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23698         * elf/static-stubs.c: New file.
23700         [BZ #14283]
23701         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23702         by 7 not 8 to examine high bit of fractional part.  Use volatile
23703         variables when splitting into final array of floats if
23704         __FLT_EVAL_METHOD__ != 0.
23705         * math/libm-test.inc (cos_test): Add another test.
23706         (sin_test): Likewise.
23707         * sysdeps/i386/fpu/libm-test-ulps: Update.
23709         [BZ #14273]
23710         * math/libm-test.inc (cosh_test): Add more tests.
23712         * version.h (RELEASE): Set to "development".
23713         (VERSION): Set to "2.16.90".
23715 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
23717         * NEWS: Update copyright. Remove last-updated date.
23718         Mention math library bug fixes and timezone data changes.
23719         * README: Mention GNU/Hurd, x32, and HPPA support status.
23721 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
23723         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23725 2012-06-27  Andreas Jaeger  <aj@suse.de>
23727         * manual/contrib.texi (Contributors): Add Samuel Thibault.
23729 2012-06-25  Andreas Jaeger  <aj@suse.de>
23731         * sysdeps/s390/fpu/libm-test-ulps: Update.
23733 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
23734             Thomas Schwinge  <thomas@codesourcery.com>
23736         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23737         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23738         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23739         fanotify_mark.
23741 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
23743         * sysdeps/mach/start.c: Remove file.
23744         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23745         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23746         * sysdeps/sh/init-first.c: Likewise.
23748         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23749         registers for frame unwinding purposes, add CFI directives.
23750         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23751         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23752         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23753         Likewise.
23755         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23756         __fortify_fail returning.
23757         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23759         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23760         sysdeps/sh/____longjmp_chk.S.
23761         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23762         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23763         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23764         (gen-as-const-headers): Append sigaltstack-offsets.sym.
23766         * sysdeps/sh/abort-instr.h: New file.
23767         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23768         process in case exit returns.
23770         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23771         initialize the GOT register before use.
23773         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23774         calculation of ARGC > 4.
23776         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23777         meaningful names to some local labels.
23779 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23780             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23782         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23783         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23784         (__arch_compare_and_exchange_val_16_acq): Likewise.
23785         (__arch_compare_and_exchange_val_32_acq): Likewise.
23786         (atomic_exchange_and_add): Fix gUSA sequence.
23787         (atomic_add): Likewise.
23788         (atomic_add_negative): Likewise.
23789         (atomic_add_zero): Likewise.
23790         (atomic_bit_test_set): Likewise.
23792 2012-06-22  Andreas Schwab  <schwab@redhat.com>
23794         [BZ #13579]
23795         * include/link.h (struct link_map): Add l_free_initfini.
23796         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23797         l_initfini.
23798         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23799         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23800         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23801         set.
23803 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
23805         * configure.in: Use AC_LANG_SOURCE.
23806         * configure: Regenerate.
23808 2012-06-22  Roland McGrath  <roland@hack.frob.com>
23810         * configure.in (libc_cv_localstatedir): New substituted variable.
23811         * configure: Regenerated.
23812         * config.make.in (localstatedir): New variable, substituted from
23813         libc_cv_localstatedir.
23814         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23815         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23816         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23817         * sysdeps/gnu/configure: Regenerated.
23819 2012-06-21  Jeff Law  <law@redhat.com>
23821         [BZ #14277]
23822         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23823         free.  Simplify list management for _LIBC case.
23825 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
23827         [BZ #14273]
23828         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23829         Clear sign bit of 64-bit integer value before comparing against
23830         overflow value.
23832         * sysdeps/mach/configure: Regenerated.
23834 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
23836         [BZ #14278]
23837         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23839 2012-06-21  Jeff Law  <law@redhat.com>
23841         [BZ #13882]
23842         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
23843         uint16_t for elements in the "seen" array to avoid char overflows.
23844         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23845         * elf/dl-open.c (dl_open_worker): Likewise.
23847 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
23849         * scripts/list-sources.sh: Scan PORTS for translations.
23850         * po/libc.pot: Regenerated.
23852 2012-06-21  Andreas Jaeger  <aj@suse.de>
23854         [BZ #12194]
23855         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23856         warning.
23857         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23858         * bits/byteswap-16.h (__bswap_16): Likewise.
23859         * bits/byteswap.h (__bswap_constant_16): Likewise.
23861 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
23863         [BZ #14117]
23864         * sysdeps/i386/fpu_control.h: Removed.
23865         * sysdeps/x86_64/fpu_control.h: Moved to ...
23866         * sysdeps/x86/fpu_control.h: Here.
23868         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23869         (_FPU_SETCW): Likewise.
23871 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
23873         [BZ #14117]
23874         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23875         * sysdeps/x86/fpu/bits/mathinline.h: This.
23876         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23878         [BZ #14050]
23879         [BZ #14117]
23880         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23881         functions if __x86_64__ is defined.
23883 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
23885         * string/endian.h: Add !__ASSEMBLER__ condition for including
23886         conversion interfaces.
23888 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
23890         [BZ #14241]
23891         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23892         of ABS(x) in calculating zero to negative powers other than odd
23893         integers.
23894         * math/libm-test.inc (pow_test): Add more tests.
23896 2012-06-15  Andreas Jaeger  <aj@suse.de>
23898         * manual/contrib.texi (Contributors): Update entry of Liubov
23899         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23900         Machado Filho.
23902 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
23904         * string/string.h: Add __wur to GNU version of strerror_r.
23906 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
23908         [BZ #14229]
23909         * string/Makefile (tests): Add tst-strtok_r.
23910         * string/tst-strtok_r.c: New file.
23911         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23912         RAX_LP/RDX_LP on SAVE_PTR.
23914 2012-06-14  Roland McGrath  <roland@hack.frob.com>
23916         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23918 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
23920         * libm_test.inc (csqrt_test): Allow more spurious underflow
23921         exceptions.
23922         (j0_test): Likewise.
23923         (j1_test): Likewise.
23924         (y0_test): Likewise.
23925         (y1_test): Likewise.
23927 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
23929         * po/Makefile (libc.pot): Use UTF-8 charset.
23931 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
23933         [BZ #14210]
23934         Suppress sign-conversion warning from FD_SET.
23935         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23936         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23937         not unsigned long int.
23938         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23940 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
23942         [BZ #14050]
23943         [BZ #14117]
23944         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23945         __extern_always_inline instead of __extern_inline.
23946         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23947         (__signbit): Likewise.
23948         (__signbitl): Support C++ namespace.
23949         (lrintf): New inline function.
23950         (lrint): Likewise.
23951         (llrintf): Likewise.
23952         (llrint): Likewise.
23953         (fmaxf): Likewise.
23954         (fmax): Likewise.
23955         (fminf): Likewise.
23956         (fmin): Likewise.
23957         (rint): Likewise.
23958         (rintf): Likewise.
23959         (ceil): Likewise.
23960         (ceilf): Likewise.
23961         (floor): Likewise.
23962         (floorf): Likewise.
23963         (nearbyint): Likewise.
23964         (nearbyintf): Likewise.
23966 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
23968         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23969         non-default versions.
23971 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23973         [BZ #14218]
23974         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23976 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23978         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23979         (FE_UPWARD, FE_DOWNWARD): Don't define.
23980         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23981         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23983         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23984         reading it.
23985         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23986         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23988 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23990         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23991         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23992         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23993         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23995 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23997         [BZ #14117]
23998         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23999         * sysdeps/i386/fpu/Implies: New file.
24000         * sysdeps/x86_64/fpu/Implies: Likewise.
24001         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24002         * sysdeps/x86/fpu/bits/fenv.h: This.
24004         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24005         __SSE_MATH__.
24007 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24009         [BZ #14134]
24010         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24011         character 0xffff that matches the last element of the
24012         conversion table.
24014 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24016         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24017         fmodl commit.
24019 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24021         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24022         values higher than 25.6283.
24024 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24026         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24027         subnormal exponent extraction and add some __builtin_expect.
24028         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24029         Fix for subnormal mantissa calculation.
24031 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
24033         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24034         cpu2 is -1 and errno is not ENOSYS.
24036 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
24038         [BZ #14117]
24039         * sysdeps/i386/i486/bits/string.h: Renamed to ...
24040         * sysdeps/x86/bits/string.h: This.
24041         * sysdeps/x86_64/bits/string.h: Removed.
24043         * sysdeps/i386/i486/bits/string.h: Define inline functions only
24044         if not compiling for x86-64, but compiling for >= i486.
24046         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24047         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24049         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24050         New macro from Linux kernel 3.4.0.
24051         (FP_XSTATE_MAGIC2): Likewise.
24052         (FP_XSTATE_MAGIC2_SIZE): Likewise.
24053         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24054         (struct _fpx_sw_bytes): New struct.
24055         (struct _xsave_hdr): Likewise.
24056         (struct _ymmh_state): Likewise.
24057         (struct _xstate): Likewise.
24059         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24060         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24061         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24062         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24063         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24064         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24066         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24067         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24068         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24069         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24070         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24071         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24073 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24075         [BZ #13743]
24076         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24077         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24078         (sysdep_headers): Include sys/platform/ppc.h.
24079         * sysdeps/powerpc/test-gettimebase.c: Test for
24080         __ppc_get_timebase() to catch future ISA opcode/insn changes.
24081         * manual/Makefile (appendices): Include platform.texi.
24082         * manual/contrib.texi (Contributors): Update @node pointers.
24083         * manual/maint.texi (Maintenance): Likewise.
24084         (Platform): New node.
24085         * manual/platform.texi: New file.  Document the new features.
24087 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24088             Jakub Jelinek  <jakub@redhat.com>
24090         [BZ #14188]
24091         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24092         where __builtin_expect is unavailable.
24094 2012-06-03  David S. Miller  <davem@davemloft.net>
24096         * stdlib/longlong.h: Updated from GCC.
24098 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
24100         [BZ #14042]
24101         * sysdeps/powerpc/powerpc32/mcount.c: New file.
24102         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24103         __mcount_internal.
24104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24105         (GLIBC_2.16): Likewise.
24107 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
24109         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24111 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
24113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24114         (default-abi): New variable.
24115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24116         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24117         variable.
24118         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24119         Likewise.
24120         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24121         Likewise.
24122         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24123         Likewise.
24125         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24126         definition.  Document in comment.
24128 2012-06-01  David S. Miller  <davem@davemloft.net>
24130         * stdlib/longlong.h: Updated from GCC.
24132 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
24134         [BZ #14117]
24135         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24136         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24137         sys/debugreg.h sys/io.h here.
24138         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24139         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24140         sys/io.h.
24141         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24142         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24143         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24144         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24145         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24146         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24148         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24149         Define only if __x86_64__ is defined.
24151 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
24153         [BZ #14048]
24154         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24155         Use int64_t for variable i.
24156         * math/libm-test.inc (fmod_test): Add more tests.
24158         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24159         z computation is not scheduled after fetestexcept.
24160         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24161         Use math_force_eval instead of asm to ensure calculation scheduled
24162         before exception test.
24163         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24164         Ensure a1 + u.d computation is not scheduled after fetestexcept.
24166 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
24168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24169         computation is not scheduled after fetestexcept.
24171 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
24173         [BZ #14117]
24174         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24175         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24177 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24179         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24180         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24182 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
24184         [BZ #14117]
24185         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24186         <bits/wordsize.h>.
24187         (__WCHAR_MIN): Support __WORDSIZE == 64.
24188         (__WCHAR_MAX): Likewise.
24190         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24191         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24193         [BZ #14183]
24194         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24195         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24197         [BZ #14117]
24198         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24199         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24201         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24202         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24204         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24205         Defined to 1 if __x86_64__ isn't defined.
24206         (_STAT_VER_LINUX_OLD): New.
24207         (st_atime): Remove duplicate.
24208         (st_mtime): Likewise.
24209         (st_ctime): Likewise.
24211 2012-05-31  David S. Miller  <davem@davemloft.net>
24213         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24214         entries.
24216 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
24218         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24219         gen-libm-test.pl.
24221         [BZ #14132]
24222         * elf/dl-reloc.c: Include <_itoa.h>.
24223         (_dl_reloc_bad_type): Remove use of INTUSE.
24224         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24225         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24226         * stdio-common/psiginfo.c (psiginfo): Likewise.
24227         * stdio-common/psignal.c (psignal): Likewise.
24228         * string/strsignal.c (strsignal): Likewise.
24229         * include/signal.h (_sys_siglist): Declare hidden proto.
24230         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
24231         INTVARDEF with libc_hidden_data_def.
24232         * stdio-common/itoa-udigits.c: Likewise.
24233         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24234         (_itoa_lower_digits_internal): Remove declaration.
24235         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24236         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24237         (_sys_sigabbrev_internal): Remove aliases.
24238         (_sys_siglist): Define hidden alias.
24240 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
24242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24243         bits/sysctl.h.
24245 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
24247         [BZ #14117]
24248         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24249         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24251         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24252         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24253         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24254         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24255         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24256         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24258         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24259         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24260         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24262         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24263         with __addr.
24264         (insw): Likewise.
24265         (insl): Likewise.
24266         (outsb): Likewise.
24267         (outsw): Likewise.
24268         (outsl): Likewise.
24270         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24271         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24272         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24274         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24275         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24276         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24277         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24278         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24279         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24281         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24282         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24284         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24285         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24287         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24288         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24289         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24291         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24292         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24293         to ...
24294         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24296         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24297         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24298         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24300         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24301         for x86-64.
24302         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24304 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
24306         * math/math.h (M_El): Use two more decimal places.
24307         (M_LOG2El): Likewise.
24308         (M_LOG10El): Likewise.
24309         (M_LN2l): Likewise.
24310         (M_LN10l): Likewise.
24311         (M_PIl): Likewise.
24312         (M_PI_2l): Likewise.
24313         (M_PI_4l): Likewise.
24314         (M_1_PIl): Likewise.
24315         (M_2_PIl): Likewise.
24316         (M_2_SQRTPIl): Likewise.
24317         (M_SQRT2l): Likewise.
24318         (M_SQRT1_2l): Likewise.
24320 2012-05-31  David S. Miller  <davem@davemloft.net>
24322         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24323         values between float registers.
24324         * sysdeps/sparc/sparc64/memset.S: Likewise.
24325         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24327 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
24329         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24330         -D_FORTIFY_SOURCE=1.
24331         (CPPFLAGS-tst-longjmp_chk.c): Define.
24332         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24333         (CPPFLAGS-tst-longjmp_chk2.c): Define.
24334         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24335         CFLAGS-tst-wchar-h.c.
24337 2012-05-31  Marek Polacek  <polacek@redhat.com>
24339         [BZ #14132]
24340         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24341         __endmntent_internal): Remove declaration.
24342         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24343         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24344         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24346 2012-05-30  David S. Miller  <davem@davemloft.net>
24348         * sysdeps/sparc/sparc32/soft-fp/q_util.c
24349         (___Q_simulate_exceptions): Use real FP ops rather than writing
24350         into the %fsr.
24351         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24352         Likewise.
24354 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24356         [BZ #14117]
24357         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24358         * sysdeps/x86/bits/xtitypes.h: This.
24360         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24361         * sysdeps/x86/bits/wordsize.h: This.
24363         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24364         * sysdeps/x86/bits/huge_vall.h: This.
24366         * sysdeps/i386/bits/select.h: Removed.
24367         * sysdeps/x86_64/bits/select.h: Renamed to ...
24368         * sysdeps/x86/bits/select.h: This.
24370         * sysdeps/i386/bits/setjmp.h: Removed.
24371         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24372         * sysdeps/x86/bits/setjmp.h: This.
24374         * sysdeps/i386/bits/mathdef.h: Removed.
24375         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24376         * sysdeps/x86/bits/mathdef.h: This.
24378 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
24380         [BZ #14132]
24381         * include/sys/socket.h (__connect_internal)
24382         (__libc_sa_len_internal): Remove declaration.
24383         (__connect, __libc_sa_len): Declare hidden_proto.
24384         (SA_LEN): Remove use of INTUSE.
24385         * socket/connect.c: Add libc_hidden_def.
24386         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24387         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24388         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24389         alias.
24390         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24391         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24392         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24393         of adding _internal alias.
24395 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24397         [BZ #14117]
24398         * sysdeps/i386/bits/link.h: Removed.
24399         * sysdeps/i386/bits/linkmap.h: Likewise.
24400         * sysdeps/x86_64/bits/link.h: Renamed to ...
24401         * sysdeps/x86/bits/link.h: This.
24402         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24403         * sysdeps/x86/bits/linkmap.h: This.
24405         * sysdeps/i386/bits/endian.h: Removed.
24406         * sysdeps/x86_64/bits/endian.h: Renamed to ...
24407         * sysdeps/x86/bits/endian.h: This.
24409         * sysdeps/i386/bits/byteswap.h: Removed.
24410         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24411         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24412         * sysdeps/x86/bits/byteswap.h: This.
24413         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24414         * sysdeps/x86/bits/byteswap-16.h: This.
24415         * sysdeps/i386/Implies: Add x86.
24416         * sysdeps/x86_64/Implies: Likewise.
24418 2012-05-30  David S. Miller  <davem@davemloft.net>
24420         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24421         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24422         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24423         (FP_TRAPPING_EXCEPTIONS): Define.
24424         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24425         (FP_TRAPPING_EXCEPTIONS): Define.
24426         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24427         subnormals only when inexact has been signalled or underflow
24428         exceptions are enabled.
24429         (_FP_PACK_CANONICAL): Likewise.
24431 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24433         [BZ #14183]
24434         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24435         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24437 2012-05-30  Richard Henderson  <rth@twiddle.net>
24439         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24440         with #ifndef NOT_IN_libc.
24442         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
24443         marked to avoid plt entry.
24445 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
24447         [BZ #14112]
24448         * Makeconfig (default-abi): New macro.
24449         (abi-includes): Likewise.
24450         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
24451         $(abi-$(default-abi)-lib-soname) for soname if defined.
24452         ($(common-objpfx)gnu/lib-names.stmp): Generate from
24453         abi-variants.
24454         * Makefile (installed-stubs): Likewise.
24455         * include/stubs-biarch.h: Removed.
24456         * scripts/lib-names.awk: Only handle one library at a time.
24457         * scripts/soversions.awk: Remove WORDSIZE support.
24458         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24459         entries.
24460         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24461         Removed.
24462         (syscall-list-default-condition): Likewise.
24463         (syscall-list-default-condition): Likewise.
24464         (syscall-list-includes): Likewise.
24465         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24466         syscall-list-* with abi-*.  Handle undefined abi-variants.
24467         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24468         * sysdeps/unix/sysv/linux/i386/Implies: New file.
24469         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24470         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24471         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24472         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24473         Removed.
24474         (syscall-list-32-options): Likewise.
24475         (syscall-list-32-condition): Likewise.
24476         (syscall-list-64-options): Likewise.
24477         (syscall-list-64-condition): Likewise.
24478         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24479         macro.
24480         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24481         Renamed to ...
24482         (abi-*): This.
24483         (abi-64-ld-soname): New macro.
24484         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24485         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24486         Renamed to ...
24487         (abi-*): This.
24488         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24489         * sysdeps/x86_64/x32/shlib-versions: Likewise.
24491 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
24493         * sysdeps/unix/sysv/linux/kernel-features.h
24494         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24495         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24496         include <kernel-features.h>.
24497         [!__NR_ftruncate64]: Remove conditional code.
24498         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24499         [__NR_ftruncate64]: Make code unconditional.
24500         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24501         * sysdeps/unix/sysv/linux/truncate64.c: Do not
24502         include <kernel-features.h>.
24503         [!__NR_ftruncate64]: Remove conditional code.
24504         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24505         [__NR_ftruncate64]: Make code unconditional.
24506         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24508         include <kernel-features.h>.
24509         [!__NR_ftruncate64]: Remove conditional code.
24510         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24511         [__NR_ftruncate64]: Make code unconditional.
24512         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24514         include <kernel-features.h>.
24515         [!__NR_ftruncate64]: Remove conditional code.
24516         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24517         [__NR_ftruncate64]: Make code unconditional.
24518         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24520         * configure.in (libc_cv_fpie): Weaken to a compile test using
24521         LIBC_TRY_CC_OPTION.
24522         * configure: Regenerated.
24524 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24530         Refreshed.
24531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24537         Refreshed.
24539 2012-05-27  David S. Miller  <davem@davemloft.net>
24541         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24542         (___Q_zero): New.
24543         (__Q_simulate_exceptions): Return void.  Change to simulate
24544         exceptions by writing into the %fsr.
24545         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24546         (__Qp_handle_exceptions): Likewise.
24547         (numbers): Delete.
24548         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24549         __Qp_handle_exceptions.
24550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24551         __Qp_handle_exceptions.
24552         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24553         as unused and give dummy FP_RND_NEAREST initializer.
24554         (FP_INHIBIT_RESULTS): Define.
24555         (___Q_simulate_exceptions): Update declaration.
24556         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24557         formatting.
24558         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24559         as unused and give dummy FP_RND_NEAREST initializer.
24560         (__Qp_handle_exceptions): Update declaration.
24561         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24562         formatting.
24564 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
24566         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24567         the temporary FPU control word.
24568         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24569         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24570         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24571         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24572         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24573         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24574         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24575         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24576         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24577         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24578         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24580 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24582         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24583         fields.
24585 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
24587         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24588         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24589         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24590         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24591         Likewise.
24592         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24593         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24594         Likewise.
24596 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
24598         * po/h.po: Update from translation team.
24600 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
24602         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24604         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24605         handling of denormals.
24606         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24607         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24608         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24609         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24610         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24611         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24613         Likewise.
24615 2012-05-26  Marek Polacek  <polacek@redhat.com>
24617         [BZ #14152]
24618         * math/libm-test.inc (fma_test): Don't always expect underflow
24619         exception.
24621 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24623         [BZ #12416]
24624         * elf/tst-execstack.c: Include stackinfo.h.
24625         (do_test): Adjust test case to ensure that pthread_getattr_np
24626         behaviour remains the same after marking stack executable.
24628 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
24630         * sysdeps/unix/sysv/linux/kernel-features.h
24631         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24632         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24633         kernel-features.h.
24634         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24635         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24636         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24637         kernel-features.h.
24638         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24639         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24641 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
24643         * configure.in: Define the default includes to being none.
24644         * configure: Regenerated.
24646 2012-05-25  Roland McGrath  <roland@hack.frob.com>
24648         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24649         * sysdeps/x86_64/setjmp.S: Likewise.
24650         * sysdeps/i386/bsd-setjmp.S: Likewise.
24651         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24652         * sysdeps/i386/setjmp.S: Likewise.
24653         * sysdeps/i386/__longjmp.S: Likewise.
24654         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24655         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24657         * include/stap-probe.h: New file.
24658         * configure.in: Handle --enable-systemtap.
24659         * configure: Regenerated.
24660         * config.h.in (USE_STAP_PROBE): New #undef.
24661         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24662         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24663         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24665 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
24667         [BZ #13717]
24668         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24669         to 2.4.0 where earlier.
24670         * sysdeps/unix/sysv/linux/configure: Regenerated.
24671         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24672         <kernel-features.h>.
24673         [__ASSUME_32BITUIDS]: Make code unconditional.
24674         [!__ASSUME_32BITUIDS]: Remove conditional code.
24675         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24676         <kernel-features.h>.
24677         [__ASSUME_32BITUIDS]: Make code unconditional.
24678         [!__ASSUME_32BITUIDS]: Remove conditional code.
24679         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24680         [__ASSUME_32BITUIDS]: Make code unconditional.
24681         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24682         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24683         <kernel-features.h>.
24684         [__ASSUME_32BITUIDS]: Make code unconditional.
24685         [!__ASSUME_32BITUIDS]: Remove conditional code.
24686         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24687         <kernel-features.h>.
24688         [__ASSUME_32BITUIDS]: Make code unconditional.
24689         [!__ASSUME_32BITUIDS]: Remove conditional code.
24690         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24691         <kernel-features.h>.
24692         [__ASSUME_32BITUIDS]: Make code unconditional.
24693         [!__ASSUME_32BITUIDS]: Remove conditional code.
24694         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24695         <kernel-features.h>.
24696         [__ASSUME_32BITUIDS]: Make code unconditional.
24697         [!__ASSUME_32BITUIDS]: Remove conditional code.
24698         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24699         <kernel-features.h>.
24700         [__ASSUME_32BITUIDS]: Make code unconditional.
24701         [!__ASSUME_32BITUIDS]: Remove conditional code.
24702         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24703         <kernel-features.h>.
24704         [__ASSUME_32BITUIDS]: Make code unconditional.
24705         [!__ASSUME_32BITUIDS]: Remove conditional code.
24706         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24707         <kernel-features.h>.
24708         [__ASSUME_32BITUIDS]: Make code unconditional.
24709         [!__ASSUME_32BITUIDS]: Remove conditional code.
24710         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24711         <kernel-features.h>.
24712         [__ASSUME_32BITUIDS]: Make code unconditional.
24713         [!__ASSUME_32BITUIDS]: Remove conditional code.
24714         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24715         <kernel-features.h>.
24716         [__ASSUME_32BITUIDS]: Make code unconditional.
24717         [!__ASSUME_32BITUIDS]: Remove conditional code.
24718         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24719         <kernel-features.h>.
24720         [__ASSUME_32BITUIDS]: Make code unconditional.
24721         [!__ASSUME_32BITUIDS]: Remove conditional code.
24722         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24723         <kernel-features.h>.
24724         [__NR_setresgid] (__setresgid): Do not declare.
24725         [__ASSUME_32BITUIDS]: Make code unconditional.
24726         [!__ASSUME_32BITUIDS]: Remove conditional code.
24727         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24728         <kernel-features.h>.
24729         [__NR_setresuid] (__setresuid): Do not declare.
24730         [__ASSUME_32BITUIDS]: Make code unconditional.
24731         [!__ASSUME_32BITUIDS]: Remove conditional code.
24732         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24733         <kernel-features.h>.
24734         [__ASSUME_32BITUIDS]: Make code unconditional.
24735         [!__ASSUME_32BITUIDS]: Remove conditional code.
24736         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24737         <kernel-features.h>.
24738         [__ASSUME_32BITUIDS]: Make code unconditional.
24739         [!__ASSUME_32BITUIDS]: Remove conditional code.
24740         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24741         <kernel-features.h>.
24742         [__ASSUME_32BITUIDS]: Make code unconditional.
24743         [!__ASSUME_32BITUIDS]: Remove conditional code.
24744         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24745         <kernel-features.h>.
24746         [__ASSUME_32BITUIDS]: Make code unconditional.
24747         [!__ASSUME_32BITUIDS]: Remove conditional code.
24748         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24749         <kernel-features.h>.
24750         [__ASSUME_32BITUIDS]: Make code unconditional.
24751         [!__ASSUME_32BITUIDS]: Remove conditional code.
24752         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24753         <kernel-features.h>.
24754         [__ASSUME_32BITUIDS]: Make code unconditional.
24755         [!__ASSUME_32BITUIDS]: Remove conditional code.
24756         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24757         <kernel-features.h>.
24758         [__ASSUME_32BITUIDS]: Make code unconditional.
24759         [!__ASSUME_32BITUIDS]: Remove conditional code.
24760         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24761         <kernel-features.h>.
24762         [__ASSUME_32BITUIDS]: Make code unconditional.
24763         [!__ASSUME_32BITUIDS]: Remove conditional code.
24764         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24765         <kernel-features.h>.
24766         [__ASSUME_32BITUIDS]: Make code unconditional.
24767         [!__ASSUME_32BITUIDS]: Remove conditional code.
24768         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24769         <kernel-features.h>.
24770         [__ASSUME_32BITUIDS]: Make code unconditional.
24771         [!__ASSUME_32BITUIDS]: Remove conditional code.
24772         * sysdeps/unix/sysv/linux/kernel-features.h
24773         (__ASSUME_SETRESUID_SYSCALL): Remove.
24774         (__ASSUME_SETRESGID_SYSCALL): Likewise.
24775         (__ASSUME_32BITUIDS): Likewise.
24776         (__ASSUME_LDT_WORKS): Likewise.
24777         (__ASSUME_O_DIRECTORY): Likewise.
24778         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24779         architecture but not kernel version.
24780         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24781         (__ASSUME_MMAP2_SYSCALL): Likewise.
24782         (__ASSUME_STAT64_SYSCALL): Likewise.
24783         (__ASSUME_IPC64): Likewise.
24784         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24785         <kernel-features.h>.
24786         [__ASSUME_32BITUIDS]: Make code unconditional.
24787         [!__ASSUME_32BITUIDS]: Remove conditional code.
24788         * sysdeps/unix/sysv/linux/opendir.c: Do not include
24789         <kernel-features.h>.
24790         [__ASSUME_O_DIRECTORY]: Make code unconditional.
24791         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24792         132096]: Remove conditional code.
24793         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24794         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24795         <kernel-features.h>.
24796         [__ASSUME_32BITUIDS]: Make code unconditional.
24797         [!__ASSUME_32BITUIDS]: Remove conditional code.
24798         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24799         <kernel-features.h>.
24800         [__ASSUME_32BITUIDS]: Make code unconditional.
24801         [!__ASSUME_32BITUIDS]: Remove conditional code.
24802         * sysdeps/unix/sysv/linux/setegid.c: Do not include
24803         <kernel-features.h>.
24804         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24805         unconditional.
24806         (__setresgid): Do not declare.
24807         [__ASSUME_32BITUIDS]: Make code unconditional.
24808         [!__ASSUME_32BITUIDS]: Remove conditional code.
24809         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24810         <kernel-features.h>.
24811         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24812         unconditional.
24813         (__setresuid): Do not declare.
24814         [__ASSUME_32BITUIDS]: Make code unconditional.
24815         [!__ASSUME_32BITUIDS]: Remove conditional code.
24816         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24817         <kernel-features.h>.
24818         [__ASSUME_32BITUIDS]: Make code unconditional.
24819         [!__ASSUME_32BITUIDS]: Remove conditional code.
24820         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24821         <kernel-features.h>.
24822         [__ASSUME_32BITUIDS]: Make code unconditional.
24823         [!__ASSUME_32BITUIDS]: Remove conditional code.
24825 2012-05-25  Richard Henderson  <rth@twiddle.net>
24827         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24828         dl_hwcap to ifunc resolver.
24829         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24830         elf_ifunc_invoke.
24831         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24832         dl_hwcap to ifunc resolver.
24833         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24835 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24837         [BZ #14153]
24838         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24839         for |x| <= 2**-26, not 2**-57.
24840         * math/libm-test.inc (acos_test): Do not allow spurious underflow
24841         exception.
24843 2012-05-24  Jeff Law  <law@redhat.com>
24845         * stdio-common/Makefile (tests): Add bug25.
24846         * stdio-common/bug25.c: New test.
24848 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24850         [BZ #13576]
24851         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24852         multiple of MALLOC_ALIGNMENT in size.
24853         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24855 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24857         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24858         Require >= 256.
24859         (FILENAME_MAX): Use macro-int-constant.
24860         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
24861         (_IOFBF): Use macro-int-constant.
24862         (_IOLBF): Likewise.
24863         (_IONBF): Likewise.
24864         (SEEK_CUR): Likewise.
24865         (SEEK_END): Likewise.
24866         (SEEK_SET): Likewise.
24867         (TMP_MAX): Likewise.
24868         (EOF): Use macro-int-constant.  Require < 0.
24869         (NULL): Use macro-constant.  Require == 0.
24870         (stdin): Require type to be FILE *.
24871         (stdout): Likewise.
24872         (stderr): Likewise.
24873         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24874         macro-int-constant.
24875         (EXIT_SUCCESS): Likewise.
24876         (NULL): Use macro-constant.  Require == 0.
24877         (RAND_MAX): Use macro-int-constant.
24878         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24879         [C99-based standards] (strtof): Require function.
24880         [C99-based standards] (strtold): Likewise.
24881         [C99-based standards] (strtoll): Likewise.
24882         [C99-based standards] (strtoull): Likewise.
24883         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24884         [ISO || ISO99 || ISO11] (limits.h): Likewise.
24885         [ISO || ISO99 || ISO11] (math.h): Likewise.
24886         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24887         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24888         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24890 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
24892         [BZ #14132]
24893         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24894         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24895         * intl/dgettext.c (DCGETTEXT): Likewise.
24896         * intl/gettext.c (DCGETTEXT): Likewise.
24897         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24898         * posix/regex_internal.h (gettext): Likewise.
24899         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24900         Remove declaration.
24901         * include/argz.h (__argz_count_internal)
24902         (__argz_stringify_internal): Remove declaration.
24903         (__argz_count, __argz_stringify): Declare hidden proto.
24904         * intl/dcgettext.c: Remove use of INTDEF.
24905         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24906         * string/argz-stringify.c: Likewise.
24907         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24908         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24909         Declare hidden proto.
24910         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24911         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24912         Declare hidden proto.
24913         * include/stdio.h (__asprintf_internal): Don't declare.
24914         (__asprintf): Don't define as macro.  Declare hidden proto.
24915         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24916         (__fsetlocking): Declare hidden proto.
24917         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24918         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24919         hidden proto.
24920         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24921         (_IO_setlinebuf): Remove use of INTUSE.
24922         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24923         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24924         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24925         Remove declaration.
24926         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24927         (_IO_do_flush): Remove use of INTUSE.
24928         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24929         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24930         (_IO_adjust_column, _IO_least_wmarker)
24931         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24932         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24933         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24934         (_IO_default_doallocate, _IO_wdefault_doallocate)
24935         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24936         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24937         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24938         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24939         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24940         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24941         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24942         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24943         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24944         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24945         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24946         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24947         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24948         proto.
24949         (_IO_flush_all_internal, _IO_adjust_column_internal)
24950         (_IO_default_uflow_internal, _IO_default_finish_internal)
24951         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24952         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24953         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24954         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24955         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24956         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24957         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24958         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24959         (_IO_file_close_internal, _IO_file_close_it_internal)
24960         (_IO_file_underflow_internal, _IO_file_overflow_internal)
24961         (_IO_file_init_internal, _IO_file_attach_internal)
24962         (_IO_file_fopen_internal, _IO_file_read_internal)
24963         (_IO_file_sync_internal, _IO_file_seek_internal)
24964         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24965         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24966         (_IO_str_underflow_internal, _IO_str_overflow_internal)
24967         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24968         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24969         (_IO_list_all_internal, _IO_link_in_internal)
24970         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24971         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24972         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24973         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24974         (_IO_do_write_internal, _IO_padn_internal)
24975         (_IO_getline_info_internal, _IO_getline_internal)
24976         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24977         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24978         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24979         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24980         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24981         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24982         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24983         with libc_hidden_ver, remove use of INTUSE.
24984         * libio/genops.c: Likewise.
24985         * libio/freopen.c: Likewise.
24986         * libio/freopen64.c: Likewise.
24987         * libio/iofclose.c: Likewise.
24988         * libio/iofdopen.c: Likewise.
24989         * libio/iofflush.c: Likewise.
24990         * libio/iofflush_u.c: Likewise.
24991         * libio/iofgets.c: Likewise.
24992         * libio/iofgets_u.c: Likewise.
24993         * libio/iofopen.c: Likewise.
24994         * libio/iofopncook.c: Likewise.
24995         * libio/iofread.c: Likewise.
24996         * libio/iofread_u.c: Likewise.
24997         * libio/ioftell.c: Likewise.
24998         * libio/iofwrite.c: Likewise.
24999         * libio/iogetline.c: Likewise.
25000         * libio/iogets.c: Likewise.
25001         * libio/iogetwline.c: Likewise.
25002         * libio/iopadn.c: Likewise.
25003         * libio/iopopen.c: Likewise.
25004         * libio/ioseekoff.c: Likewise.
25005         * libio/ioseekpos.c: Likewise.
25006         * libio/iosetbuffer.c: Likewise.
25007         * libio/iosetvbuf.c: Likewise.
25008         * libio/ioungetc.c: Likewise.
25009         * libio/ioungetwc.c: Likewise.
25010         * libio/iovdprintf.c: Likewise.
25011         * libio/iovsprintf.c: Likewise.
25012         * libio/iovsscanf.c: Likewise.
25013         * libio/memstream.c: Likewise.
25014         * libio/obprintf.c: Likewise.
25015         * libio/oldfileops.c: Likewise.
25016         * libio/oldiofclose.c: Likewise.
25017         * libio/oldiofdopen.c: Likewise.
25018         * libio/oldiofopen.c: Likewise.
25019         * libio/oldiopopen.c: Likewise.
25020         * libio/oldstdfiles.c: Likewise.
25021         * libio/putc.c: Likewise.
25022         * libio/setbuf.c: Likewise.
25023         * libio/setlinebuf.c: Likewise.
25024         * libio/stdfiles.c: Likewise.
25025         * libio/strops.c: Likewise.
25026         * libio/vasprintf.c: Likewise.
25027         * libio/vscanf.c: Likewise.
25028         * libio/vsnprintf.c: Likewise.
25029         * libio/vswprintf.c: Likewise.
25030         * libio/wfiledoalloc.c: Likewise.
25031         * libio/wfileops.c: Likewise.
25032         * libio/wgenops.c: Likewise.
25033         * libio/wmemstream.c: Likewise.
25034         * libio/wstrops.c: Likewise.
25035         * libio/__fpurge.c: Likewise.
25036         * libio/__fsetlocking.c: Likewise.
25037         * assert/assert.c: Likewise.
25038         * debug/fgets_chk.c: Likewise.
25039         * debug/fgets_u_chk.c: Likewise.
25040         * debug/fread_chk.c: Likewise.
25041         * debug/fread_u_chk.c: Likewise.
25042         * debug/gets_chk.c: Likewise.
25043         * debug/obprintf_chk.c: Likewise.
25044         * debug/vasprintf_chk.c: Likewise.
25045         * debug/vdprintf_chk.c: Likewise.
25046         * debug/vsnprintf_chk.c: Likewise.
25047         * debug/vsprintf_chk.c: Likewise.
25048         * malloc/mtrace.c: Likewise.
25049         * misc/error.c: Likewise.
25050         * misc/syslog.c: Likewise.
25051         * stdio-common/asprintf.c: Likewise.
25052         * stdio-common/fxprintf.c: Likewise.
25053         * stdio-common/getw.c: Likewise.
25054         * stdio-common/isoc99_fscanf.c: Likewise.
25055         * stdio-common/isoc99_scanf.c: Likewise.
25056         * stdio-common/isoc99_vfscanf.c: Likewise.
25057         * stdio-common/isoc99_vscanf.c: Likewise.
25058         * stdio-common/isoc99_vsscanf.c: Likewise.
25059         * stdio-common/printf-prs.c: Likewise.
25060         * stdio-common/printf_fp.c: Likewise.
25061         * stdio-common/printf_fphex.c: Likewise.
25062         * stdio-common/printf_size.c: Likewise.
25063         * stdio-common/putw.c: Likewise.
25064         * stdio-common/scanf.c: Likewise.
25065         * stdio-common/sprintf.c: Likewise.
25066         * stdio-common/tmpfile.c: Likewise.
25067         * stdio-common/vfprintf.c: Likewise.
25068         * stdio-common/vfscanf.c: Likewise.
25069         * stdlib/strfmon_l.c: Likewise.
25070         * sunrpc/openchild.c: Likewise.
25071         * sunrpc/xdr_stdio.c: Likewise.
25072         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25073         * sysdeps/mach/hurd/tmpfile.c: Likewise.
25075 2012-05-24  Roland McGrath  <roland@hack.frob.com>
25077         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25079         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25080         in the third column, to generate for the shared library an IFUNC
25081         that uses _dl_vdso_vsym.
25082         * Makerules (COMPILE.c, compile-stdin.c): New variables.
25083         * Makeconfig (object-suffixes-noshared): New variable.
25085         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25086         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25087         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25088         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25090         [BZ #14132]
25091         * include/sys/time.h (__gettimeofday): Remove macro.
25092         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25093         * time/gettimeofday.c (__gettimeofday): Remove #undef.
25094         Remove INTDEF.
25095         (__gettimeofday): Add libc_hidden_def.
25096         (gettimeofday): Add libc_hidden_weak.
25097         * sysdeps/mach/gettimeofday.c: Likewise.
25098         * sysdeps/posix/gettimeofday.c: Likewise.
25099         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25100         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25101         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25102         (__gettimeofday_internal): Remove strong_alias.
25103         (__gettimeofday): Add libc_hidden_def.
25104         (gettimeofday): Add libc_hidden_weak.
25105         * sysdeps/unix/syscalls.list (gettimeofday):
25106         Remove __gettimeofday_internal alias.
25108 2012-05-24  Daniel Jacobowitz  <drow@false.org>
25109             H.J. Lu  <hongjiu.lu@intel.com>
25111         [BZ #12495]
25112         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25113         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25114         (largebin_index_32_big): New.
25115         (largebin_index): Use it for 16-byte alignment.
25116         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
25117         correction with front_misalign.
25119 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
25121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25123         Likewise.
25124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25125         Likewise.
25126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25127         Likewise.
25128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25129         Likewise.
25130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25131         Likewise.
25132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25133         Likewise.
25134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25135         Likewise.
25136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25137         Likewise.
25138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25139         Likewise.
25140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25141         Likewise.
25142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25143         Likewise.
25144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25145         Likewise.
25147         * scripts/data/c++-types-x32-linux-gnu.data: New file.
25148         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25150 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
25152         [BZ #10846]
25153         [BZ #14036]
25154         * math/libm-test.inc (exp_test): Add test from bug 14036.
25155         (pow_test): Add test from bug 10846.
25157         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25158         and other flags.
25159         (special_function): Do not include flags in test name.
25160         (parse_args): Likewise.
25161         * sysdeps/i386/fpu/libm-test-ulps: Update.
25162         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25163         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25164         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25167         * math/gen-libm-test.pl (%beautify): Add entries for underflow
25168         exceptions.
25169         * math/libm-test.inc ("Philosophy"): Update comment about
25170         exception testing.
25171         (UNDERFLOW_EXCEPTION): New macro.
25172         (UNDERFLOW_EXCEPTION_OK): Likewise.
25173         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25174         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25175         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25176         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25177         (INVALID_EXCEPTION_OK): Update value.
25178         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25179         (OVERFLOW_EXCEPTION_OK): Likewise.
25180         (IGNORE_ZERO_INF_SIGN): Likewise.
25181         (test_exceptions): Handle underflow exceptions.
25182         (acos_test): Update for underflow exception expectations.
25183         (cexp_test): Likewise.
25184         (clog_test): Likewise.
25185         (clog10_test): Likewise.
25186         (csqrt_test): Likewise.
25187         (ctan_test): Likewise.
25188         (ctanh_test): Likewise.
25189         (exp_test): Likewise.
25190         (exp10_test): Likewise.
25191         (exp2_test): Likewise.
25192         (expm1_test): Likewise.
25193         (fma_test): Likewise.
25194         (j0_test): Likewise.
25195         (jn_test): Likewise.
25196         (nexttoward_test): Likewise.
25197         (pow_test): Likewise.
25198         (scalbn_test): Likewise.
25199         (scalbln_test): Likewise.
25200         (tan_test): Likewise.
25201         (y1_test): Likewise.
25202         * sysdeps/i386/fpu/libm-test-ulps: Update.
25203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25205 2012-05-23  David S. Miller  <davem@davemloft.net>
25207         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25208         (__libc_sigaction): Remove unused local variables.
25210 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
25212         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25214 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
25216         mktime: avoid signed integer overflow
25217         * time/mktime.c (__mktime_internal): Do not mishandle the case
25218         where diff == INT_MIN.
25220         mktime: simplify computation of average
25221         * time/mktime.c (ranged_convert): Use new time_t_avg function
25222         instead of rolling our own (probably-slower) code.
25224         mktime: do not assume signed right shift propagates sign bit
25225         * time/mktime.c (isdst_differ): New static function.
25226         (__mktime_internal): No need to normalize tm_isdst now.
25227         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25228         tm_isdst values.
25230         mktime: merge another wrapv change from gnulib
25231         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25232         from some compilers.
25234         mktime: remove incorrect attempt at unusual arithmetics
25235         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25236         The code didn't really work on such machines anyway.
25237         (TYPE_MINIMUM): Assume two's complement.
25238         (twos_complement_arithmetic): Verify that long_int and time_t
25239         are two's complement (or unsigned, in the latter case).
25241         mktime: check signed shifts on long_int and time_t, too
25242         * time/mktime.c (SHR): Check that shifts work as desired
25243         on the types long_int and time_t too, as SHR is used on
25244         such types.
25246         mktime: do not assume 'long' is wide enough
25247         * time/mktime.c (verify): Move decl up.
25248         (long_int): New type.
25249         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25250         to remove assumption in the code that 'long' is wide enough to
25251         store year values.  This assumption is not true on x32 and on
25252         some non-glibc platforms.
25254         mktime: merge wrapv change from gnulib
25255         * time/mktime.c (WRAPV): New macro.
25256         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25257         (guess_time_tm, __mktime_internal): Do not assume that signed
25258         integer overflow wraps around; modern compilers generate code
25259         where this assumption is no longer valid.
25261 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
25263         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25264         Replace "jmp L(pseudo_end)" with "ret".
25265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25266         Likewise.
25268 2012-05-23  Andreas Jaeger  <aj@suse.de>
25270         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25271         * sysdeps/unix/sysv/linux/poll.c: Remove file.
25273 2012-05-23  Andreas Jaeger  <aj@suse.de>
25274             Maximilian Attems  <max@stro.at>
25276         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25277         New macros.
25279 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
25281         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25282         code so that pseudo_end is just ret and the stack pointer is
25283         correct also for static library in error case.
25285 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
25287         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25288         move to syscalls.list.
25289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25294         * manual/install.texi (Running make install): Do not mention Linux
25295         kernel version for which pt_chown is not needed.
25296         (Linux): Do not mention problems with nscd with 2.0 kernels.
25297         * INSTALL: Regenerated.
25299 2012-05-23  Andreas Jaeger  <aj@suse.de>
25301         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25302         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25303         macro.
25304         * sysdeps/unix/sysv/linux/s390/bits/mman.h
25305         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25306         * sysdeps/unix/sysv/linux/sh/bits/mman.h
25307         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25308         * sysdeps/unix/sysv/linux/i386/bits/mman.h
25309         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25310         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25311         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25312         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25313         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25314         * sysdeps/unix/sysv/linux/bits/in.h
25315         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25317 2012-05-22  Roland McGrath  <roland@hack.frob.com>
25319         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25320         (PREPARE_VERSION): Just use assert instead, it will be elided
25321         under [NDEBUG] anyway.
25323 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25325         * sysdeps/unix/sysv/linux/Makefile: Include
25326         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25327         (sysdep_routines): Remove sysctl.
25328         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25329         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25330         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25331         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25332         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25334 2012-05-22  Andreas Jaeger  <aj@suse.de>
25336         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25337         that pseudo_end is just ret and the stack pointer is correct also
25338         for static library in error case.
25340 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25342         [BZ #14122]
25343         * nss/nsswitch.c (defconfig_entries): New variable.
25344         (__nss_database_lookup): Don't leak defconfig entries.
25345         (nss_parse_service_list): Don't leak on error paths.
25346         (free_database_entries): New function.
25347         (free_defconfig): New function.
25348         (free_mem): Move common code to free_database_entries.
25350 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25352         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25353         Add arch_prctl.
25354         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25356         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25357         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25359         New macro.
25360         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25361         (INTERNAL_SYSCALL_TYPES): Likewise.
25362         (LOAD_ARGS_TYPES_[1-6]): Likewise.
25363         (LOAD_REGS_TYPES_[1-6]): Likewise.
25364         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25365         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25367 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25369         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25370         copysignl for GLIBC_2_0.
25371         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25372         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25373         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25374         logbl for GLIBC_2_0.
25375         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25376         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25378 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25380         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25381         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25383         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25384         Use "neg %eax".
25386         * time/mktime.c: Update copyright years.
25388 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25390         mktime: merge comment-quoting-style change from gnulib
25391         * time/mktime.c: Quote 'like this' in comments.
25392         The GNU coding standards suggest that we no longer quote `like this',
25393         as "`" and "'" are typically rendered asymmetrically nowadays.
25394         The typical gnulib style is to quote 'like this' when quoting
25395         code, and "like this" when quoting English.
25397         * time/mktime.c (compile-command): Add "-I.".
25399         mktime: merge mktime-internal.h change from gnulib
25400         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25402         mktime: merge time_r change from gnulib
25403         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25405         mktime: merge DEBUG change from gnulib
25406         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25407         case system <time.h> has a #define.
25409         mktime: merge <sys/types.h> change from gnulib
25410         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25411         since <time.t> is now guaranteed to define time_t.
25413         mktime: merge HAVE_CONFIG_H change from gnulib
25414         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25416 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25418         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25419         Use "neg %eax".
25421         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25422         __rlim_t cast.
25423         (struct rusage): Use anonymous union to pad each field to
25424         __syscall_slong_t.
25426 2012-05-21  David S. Miller  <davem@davemloft.net>
25428         * Makefules (o-iterator): Remove .s cases.
25429         (compile-command.s): Delete.
25430         (COMPILE.s): Delete.
25431         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25433 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
25435         * configure.in (libc_cv_predef_stack_protector): Only consider
25436         "foobar" and "__stack_chk_fail" lines in libc_undefs.
25437         * configure: Regenerated.
25439 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
25441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25442         New macro.  Use R*LP on int and pointer.
25443         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25444         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25445         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25446         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25448         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25449         [__WORDSIZE_TIME64_COMPAT32] instead of
25450         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25451         (struct utmp): Likewise.
25452         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25453         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25454         Renamed to ...
25455         (__WORDSIZE_TIME64_COMPAT32): This.
25456         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25457         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25458         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25459         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25460         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25461         (__WORDSIZE_TIME64_COMPAT32): New macro.
25463 2012-05-21  Andreas Jaeger  <aj@suse.de>
25465         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25466         only if [SHARED]. Add prototype for __wcschr_ia32.
25468 2012-05-21  Roland McGrath  <roland@hack.frob.com>
25470         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25471         of %rbp unmolested in the jmp_buf while mangling the low bits.
25472         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25473         unmolested high bits of %rbp while demangling the low bits.
25474         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25476 2012-05-21  Andreas Jaeger  <aj@suse.de>
25478         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25479         * sunrpc/svc_simple.c: Use it for registerrpc.
25480         * sunrpc/xcrypt.c: Use it for passwd2des.
25482         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25484 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
25486         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25487         Don't define if [__SYSCALL_WORDSIZE != 32].
25488         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25489         New macro.
25491 2012-05-21  Bruno Haible  <bruno@clisp.org>
25492             Andreas Jaeger  <aj@suse.de>
25494         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25495         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25496         inptr and inend for must_buffer_ch.
25497         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25498         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25499         * stdio-common/Makefile (tests): Remove bug15.
25500         (bug15-ENV): Remove macro.
25501         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25502         anymore.
25504 2012-05-19  Andreas Jaeger  <aj@suse.de>
25505             Roland McGrath  <roland@hack.frob.com>
25507         * manual/contrib.texi: Completely rewritten. It contains now an
25508         alphabetical list of contributors and their contributions.
25510 2012-05-21  Richard Henderson  <rth@twiddle.net>
25512         * misc/getauxval.c (__getauxval): Use unsigned long int.
25513         * misc/sys/auxv.h: Include <sys/cdefs.h>.
25514         (getauxval): Use unsigned long int.
25516 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
25518         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25520 2012-05-21  Roland McGrath  <roland@hack.frob.com>
25522         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25523         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25524         __alignof__ (long double).
25526 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25530 2012-05-20  Richard Henderson  <rth@twiddle.net>
25532         * misc/getauxval.c: New file.
25533         * misc/sys/auxv.h: New file.
25534         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25535         (routines): Add getauxval.
25536         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25537         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25538         * elf/dl-sysdep.c (_dl_auxv): Remove.
25539         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25540         * elf/dl-support.c (_dl_auxv): New variable.
25541         (_dl_aux_init): Initialize it.
25542         * manual/startup.texi (Auxiliary Vector): New node.
25543         * sysdeps/generic/bits/hwcap.h: New file.
25544         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25545         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
25546         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25547         * sysdeps/sparc/sysdep.h: ... here.  Include it.
25548         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25549         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25551         Update.
25552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25555         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25561 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25565 2012-05-19  David S. Miller  <davem@davemloft.net>
25567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25569 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
25571         [BZ #14123]
25572         * math/s_ccosh.c: Include <float.h>
25573         (__ccosh): Avoid internal overflow calculating sinh and cosh
25574         values before multiplying by sin and cos values.
25575         * math/s_ccoshf.c: Likewise.
25576         * math/s_ccoshl.c: Likewise.
25577         * math/s_csin.c: Likewise.
25578         * math/s_csinf.c: Likewise.
25579         * math/s_csinl.c: Likewise.
25580         * math/s_csinh.c: Likewise.
25581         * math/s_csinhf.c: Likewise.
25582         * math/s_csinhl.c: Likewise.
25583         * math/libm-test.inc (ccos_test): Add more tests.
25584         (ccosh_test): Likewise.
25585         (csin_test): Likewise.
25586         (csinh_test): Likewise.
25587         * sysdeps/i386/fpu/libm-test-ulps: Update.
25588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25590 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
25592         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25593         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25595         * sysdeps/x86_64/x32/_itoa.h: Add comment.
25597 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
25599         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25600         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25601         * sysdeps/powerpc/soft-fp/Versions: Likewise.
25602         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25603         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25604         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25605         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25606         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25607         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25608         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25609         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25610         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25611         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25612         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25613         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25614         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25615         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25616         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25617         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25618         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25619         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25620         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25621         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25622         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25623         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25624         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25625         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25626         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25627         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25628         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25629         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25631 2012-05-18  Andreas Jaeger  <aj@suse.de>
25633         * csu/.gitignore: Delete.
25635 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
25637         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25638         (timex): Use __syscall_slong_t.
25640 2012-05-18  Andreas Jaeger  <aj@suse.de>
25641             Carlos O'Donell  <carlos_odonell@mentor.com>
25643         * manual/install.texi (Configuring and compiling): Update
25644         description about files modified in the source directory.
25645         * INSTALL: Regenerated.
25647 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
25649         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25650         value.  Use "or" to set return value to -1.
25651         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25652         negate return value.
25654 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25656         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25657         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25658         failure if the compiler has Graphite support disabled.
25659         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25660         Likewise.
25661         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25662         CFLAGS-memmove.c): Likewise.
25663         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25664         Likewise.
25666 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
25668         * sysdeps/x86_64/x32/_itoa.h: New file.
25670         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25671         getdents system call only if kernel and user dirents have the
25672         same d_ino and d_off.
25674         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25675         LLONG_MAX != LONG_MAX.
25676         (_itoa_word): Use _ITOA_WORD_TYPE on value.
25677         (_fitoa_word): Likewise.
25679         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25680         years.
25681         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25682         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25683         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25685         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25686         include <bits/wordsize.h>.  Check __x86_64__ instead of
25687         __WORDSIZE.
25688         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25689         if __x86_64__ is defined.  Use anonymous union on fpstate.
25691         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25692         anonymous union.
25694 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
25696         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25697         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25698         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25699         Refer to _rtld_local_ro instead of _rtld_global_ro.
25700         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25701         Likewise.
25702         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25703         Likewise.
25704         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25705         Likewise.
25706         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25707         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25708         of _rtld_global, and rtld_progname instead of _dl_argv[0].
25710         * sysdeps/powerpc/powerpc32/dl-machine.c
25711         (__elf_machine_runtime_setup) [PROF]: Don't reference
25712         _dl_prof_resolve.
25714 2012-05-18  Andreas Jaeger  <aj@suse.de>
25716         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25717         function only available for GCCs before 3.4 since GCC 3.4
25718         introduced a builtin.
25719         (lrint): Likewise.
25720         (llrintf): Likewise.
25721         (llrint): Likewise.
25722         (fmaxf): Likewise.
25723         (fmax): Likewise.
25724         (fminf): Likewise.
25725         (fmin): Likewise.
25726         (rint): Likewise.
25727         (rintf): Likewise.
25728         (nearbyint): Likewise.
25729         (nearbyintf): Likewise.
25730         (ceil): Likewise.
25731         (ceilf): Likewise.
25732         (floor): Likewise.
25733         (floorf): Likewise.
25735 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25737         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25738         on both fields and cast pointer to __syscall_ulong_t.
25740         * bits/types.h (__fsword_t): New type.
25741         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25742         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25743         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25744         (__FSWORD_T_TYPE): Likewise.
25745         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25746         (__FSWORD_T_TYPE): Likewise.
25747         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25748         (__FSWORD_T_TYPE): Likewise.
25749         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25750         (__FSWORD_T_TYPE): Likewise.
25751         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25752         __SWORD_TYPE with __fsword_t.
25753         (statfs64): Likewise.
25755 2012-05-17  David S. Miller  <davem@davemloft.net>
25757         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25759 2012-05-17  Andreas Jaeger  <aj@suse.de>
25761         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25762         warning.
25764 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25766         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25768 2012-05-17  Andreas Jaeger  <aj@suse.de>
25770         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25771         when it is used.
25773 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
25775         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25777 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25779         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25780         * sysdeps/x86_64/tst-mallocalign1.c: New file.
25782 2012-05-17  Andreas Jaeger  <aj@suse.de>
25783             Carlos O'Donell  <carlos_odonell@mentor.com>
25785         [BZ #14059]
25786         * sysdeps/x86_64/multiarch/init-arch.h
25787         (bit_YMM_Usable): Rename to...
25788         (bit_AVX_Usable): ... this.
25789         (bit_FMA4_Usable): New macro.
25790         (bit_XMM_state): New macro.
25791         (bit_YMM_state): New macro.
25792         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25793         [__ASSEMBLER__] (index_AVX_Usable): ... this.
25794         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25795         (CPUID_OSXSAVE): New macro.
25796         (CPUID_AVX): New macro.
25797         (CPUID_FMA4): New macro.
25798         (index_YMM_Usable): Rename to...
25799         (index_AVX_Usable): ... this.
25800         (HAS_AVX): Use HAS_ARCH_FEATURE.
25801         (HAS_FMA4): Likewise.
25802         (HAS_YMM_USABLE): Remove.
25803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25804         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25805         are present.
25806         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25807         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25808         * sysdeps/x86_64/multiarch/Makefile: Likewise.
25809         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25810         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25812 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
25814         * math/libm-test.c: Support platforms without multiple rounding modes.
25815         * math/bug-nextafter.c: Support platforms without FP exceptions.
25816         * math/bug-nexttoward.c: Likewise.
25817         * math/test-fenv.c: Likewise.
25818         * math/test-misc.c: Likewise.
25819         * stdlib/bug-getcontext.c: Likewise.
25821 2012-05-17  Andreas Jaeger  <aj@suse.de>
25823         * manual/examples/search.c (critter_cmp): Change signature to
25824         avoid warnings.
25825         * manual/string.texi (Collation Functions): Likewise.
25827 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25829         * bits/types.h: Fold copyright years.
25830         * bits/typesizes.h: Likewise.
25831         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25832         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25833         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25834         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25835         * time/time.h: Likewise.
25837 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
25839         [BZ #208]
25840         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25841         in instead of returning them.  Return void.
25842         (__libc_mallinfo): Accumulate over all arenas.
25843         (__malloc_stats): Adjust for change in int_mallinfo interface.
25845 2012-05-16  Roland McGrath  <roland@hack.frob.com>
25847         [BZ #10375]
25848         * configure.in (NM): Add AC_CHECK_TOOL for it.
25849         (libc_extra_cflags): New substituted variable.
25850         Check for -fstack-protector being used implicitly.
25851         * configure: Regenerated.
25852         * config.make.in (config-extra-cflags): New variable,
25853         gets @libc_extra_cflags@.
25854         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25856         [BZ #10375]
25857         * configure.in: Check for _FORTIFY_SOURCE being predefined.
25858         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25859         * configure: Regenerated.
25860         * config.make.in (CPPUNDEFS): New substituted variable.
25861         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25862         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25863         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25865 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25867         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25868         (mq_attr): Use __syscall_slong_t.
25870 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25872         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25873         Check __x86_64__ instead of __WORDSIZE.
25874         (_STAT_VER_LINUX): Likewise.
25875         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
25876         __syscall_ulong_t and __syscall_slong_t.
25877         (stat64): Likewise.
25879 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25881         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25885         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25887 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25889         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25890         __syscall_ulong_t.
25892         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25893         include <bits/wordsize.h>.  Check __x86_64__ instead of
25894         __WORDSIZE.
25895         (greg_t): Use "__extension__ long long int" if __x86_64__ is
25896         defined.
25897         (mcontext_t): Replace "unsigned long" with "unsigned long long".
25899         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25900         include <bits/wordsize.h>.  Check __x86_64__ instead of
25901         __WORDSIZE.
25902         (user_regs_struct): Use "__extension__ unsigned long long"
25903         instead of "unsigned long" if __x86_64__ is defined.
25904         (user): Likewise.  Pad after pointer field if __ILP32__ is
25905         defined.
25907 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
25909         * configure.in (makeinfo): Require version 4.5 or later.  Allow
25910         versions 5 to 9.
25911         * configure: Regenerated.
25912         * manual/install.texi (texinfo): Increase version requirement to
25913         4.5 or later.
25914         * INSTALL: Regenerated.
25916         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25918 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25920         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25922         * sysdeps/x86_64/x32/ffs.c: New file.
25924         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25925         __syscall_ulong_t.
25926         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25927         defined.  Use __syscall_ulong_t.
25928         (shminfo): Use __syscall_ulong_t.
25929         (shm_info): Likewise.
25931         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25932         __syscall_ulong_t.
25934         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25935         <bits/wordsize.h>.
25936         (msgqnum_t): Use __syscall_ulong_t.
25937         (msglen_t): Likewise.
25938         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
25939         __syscall_ulong_t.
25941         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25942         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25944         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25946         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25947         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25949         * sysvipc/sys/msg.h (msgbuf): Replace long int with
25950         __syscall_slong_t.
25952         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25953         include <bits/wordsize.h>.  Check __x86_64__ instead of
25954         __WORDSIZE.
25956         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25957         "unsigned long long int" if __x86_64__ is defined.
25958         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25960         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25961         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25962         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25964         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25965         <stdint.h>.
25966         (GET_PC): Cast to uintptr_t first.
25967         (GET_FRAME): Likewise.
25968         (GET_STACK): Likewise.
25970         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25971         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25972         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25973         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25974         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25975         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25976         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25977         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25978         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25979         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25980         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25981         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25982         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25983         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25984         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25985         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25986         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25987         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25988         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25989         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25990         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25991         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25992         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25993         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25994         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25995         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25996         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25997         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25998         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26000 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
26002         * Makerules (+depfiles): Also collect depfiles from .oS in
26003         $(extra-objs).
26004         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26005         .oS, $(libnldbl-routines)).
26007         * Makerules (native-compile-mkdep-flags): Define.
26008         * sunrpc/Makefile (extra-objs): Add $(addprefix
26009         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26010         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26011         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
26012         calling $(make-target-directory).
26014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26016         * bits/types.h (__snseconds_t): Removed.
26017         * time/time.h (struct timespec): Replace __snseconds_t with
26018         __syscall_slong_t.
26019         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26020         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26021         Likewise.
26022         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26023         (__SNSECONDS_T_TYPE): Likewise.
26024         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26025         (__SNSECONDS_T_TYPE): Likewise.
26026         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26027         (__SNSECONDS_T_TYPE): Likewise.
26029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26031         * sysdeps/mach/hurd/bits/typesizes.h
26032         (__SYSCALL_SLONG_TYPE): New macro.
26033         (__SYSCALL_ULONG_TYPE): Likewise.
26035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26037         * bits/types.h (__syscall_slong_t): New type.
26038         (__syscall_ulong_t): Likewise.
26040         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26041         (__SYSCALL_ULONG_TYPE): Likewise.
26042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26043         (__SYSCALL_SLONG_TYPE): Likewise.
26044         (__SYSCALL_ULONG_TYPE): Likewise.
26045         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26046         (__SYSCALL_SLONG_TYPE): Likewise.
26047         (__SYSCALL_ULONG_TYPE): Likewise.
26048         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26049         (__SYSCALL_SLONG_TYPE): Likewise.
26050         (__SYSCALL_ULONG_TYPE): Likewise.
26052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26054         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26055         Add sigaltstack-offsets.sym.
26056         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26057         <sigaltstack-offsets.h>.
26058         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
26059         longjmp_msg pointer.
26060         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
26061         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26062         signal stack.
26063         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26065 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
26067         * elf/stackguard-macros.h: Remove file.
26068         * sysdeps/generic/stackguard-macros.h: New file.
26069         * sysdeps/i386/stackguard-macros.h: Likewise.
26070         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26071         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26072         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26073         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26074         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26075         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26076         * sysdeps/x86_64/stackguard-macros.h: Likewise.
26077         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26078         <elf/stackguard-macros.h>.
26080         [BZ #14109]
26081         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26082         __aligned__ in attribute.
26083         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26084         (gregset_t): Likewise.
26086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26088         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26089         * sysdeps/x86_64/64/Implies-after: Here.  New file.
26090         * sysdeps/x86_64/x32/Implies-after: New file.
26092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26094         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26095         and access return value for _dl_profile_fixup.  Use R10_LP to
26096         load frame size.
26098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26100         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26104         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26105         * sysdeps/x86_64/x32/sysdep.h: New file.
26107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26109         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26110         * sysdeps/x86_64/setjmp.S: Likewise.
26112 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26114         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26116         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26117         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26118         remove unused global constant.
26120 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
26122         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26123         include of <not-cancel.h>.
26125 2012-05-15  Roland McGrath  <roland@hack.frob.com>
26127         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26129 2012-05-15  Jeff Law  <law@redhat.com>
26130             Andreas Jaeger  <aj@suse.de>
26132         [BZ #13594]
26133         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26134         out from...
26135         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26136         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26137         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26138         code changing __hst_map_handle.map.
26140 2012-05-15  Roland McGrath  <roland@hack.frob.com>
26142         * configure.in (sysnames): Look for Implies-before and Implies-after
26143         files.
26144         * configure: Regenerated.
26146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26148         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26149         8-byte data alignment with LP_SIZE alignment.
26151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26153         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26154         into R10_LP.
26156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26158         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26162         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26163         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26164         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26165         Likewise.
26166         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26170         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26171         (stackinfo_sub_sp): Likewise.
26173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26175         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26176         RAX_LP.
26178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26180         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26181         into R*_LP.
26183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26185         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26186         sizes into R*_LP.
26188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26190         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26194         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26195         into R11_LP and load __x86_64_shared_cache_size_half into
26196         R8_LP.
26198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26200         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26201         R8_LP.
26203 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26206         logb for POWER7.
26207         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26208         logbf for POWER7.
26209         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26210         logbl for POWER7.
26211         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26212         powerpc32/power7/fpu/s_logb.c via #include.
26213         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26214         powerpc32/power7/fpu/s_logbf.c via #include.
26215         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26216         powerpc32/power7/fpu/s_logbl.c via #include.
26218 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
26220         * README.libm: Remove file.
26222 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26224         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26225         count for x32.  Use R*_LP and omit operand-size suffix.
26227 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26229         * shlib-versions: Move x86_64-.*-linux.* entries to ...
26230         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
26231         * sysdeps/x86_64/x32/shlib-versions: New file.
26233 2012-05-14  Roland McGrath  <roland@hack.frob.com>
26235         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26236         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26237         Use _dl_fatal_printf instead.
26239 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
26241         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26242         set if not set by the user.  Do not allow for being unset.
26243         * sysdeps/unix/sysv/linux/configure: Regenerated.
26245 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26247         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26248         the `q' suffix from lea and replace .quad with ASM_ADDR.
26250 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26253         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
26254         instead of $17.
26255         (PTR_DEMANGLE): Likewise.
26257 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26259         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26260         (LP_OP): Likewise.
26261         (ASM_ADDR): Likewise.
26262         (RAX_LP): Likewise.
26263         (RBP_LP): Likewise.
26264         (RBX_LP): Likewise.
26265         (RCX_LP): Likewise.
26266         (RDI_LP): Likewise.
26267         (RSI_LP): Likewise.
26268         (RSP_LP): Likewise.
26269         (R8_LP): Likewise.
26270         (R9_LP): Likewise.
26271         (R10_LP): Likewise.
26272         (R10_LP): Likewise.
26273         (R11_LP): Likewise.
26274         (R12_LP): Likewise.
26275         (R13_LP): Likewise.
26276         (R14_LP): Likewise.
26277         (R15_LP): Likewise.
26279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26281         * sysdeps/x86_64/x32/dl-machine.h: New file.
26283 2012-05-14  Andreas Jaeger  <aj@suse.de>
26285         * manual/Makefile (subdir): Remove export of subdir.
26286         (all): Remove target.
26287         (.PHONY): Remove all from list.
26288         (mkinstalldirs): Remove.
26289         (.PHONY): Remove installdirs from list.
26290         ($(inst_infodir)/libc.info): Use make-target-directory.
26291         (installdirs): Remove.
26292         (subdir_%): Remove.
26293         (glibc-targets): Remove.
26294         (lib): Remove.
26295         (stubs): Remove.
26296         ($(objpfx)stubs ../po/manual.pot): Remove.
26297         ($(objpfx)stamp%): Remove.
26298         (make-target-directory): Remove.
26299         (subdir_install): Remove.
26300         (routines): Remove.
26301         (aux): Remove.
26302         (sources): Remove.
26303         (objects): Remove.
26304         (headers): Remove.
26306         [BZ #13750]
26307         * manual/.gitignore: Remove, it's not needed anymore.
26308         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26309         all files in it.
26310         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26311         directory.
26312         (texis): Renamed to $(objpfx)texis.
26313         (texis-path): New, contains path to generated files.
26314         (chapters.%): Use texis-path for complete path, add extra argument
26315         libc-texinfo.sh.
26316         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26317         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26318         (summary,texi, stamp-summary): Use complete path of
26319         files. Generate files in build dir.
26320         (dir-add.texi): Build in build dir.
26321         (libm-err.texi,stamp-libm-err): Likewise.
26322         (version.texi, stamp-version): Likewise.
26323         (.%c.texi): Likewise.
26324         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26325         (mostlyclean): Remove target.
26326         (realclean): Remove target.
26327         (generated): Add new variable with contents from mostlyclean and
26328         realclean, remove entries duplicated in common-mostlyclean, add
26329         stamp-libm-err and stamp-version.
26330         (generated-dirs): Add libc directory.
26331         ($(inst_infodir)/libc.info): Install files from build dir.
26333         * manual/install.texi (Configuring and compiling): Adjust since
26334         the info files are not part of the tar ball anymore.
26336 2012-05-14  Andreas Jaeger  <aj@suse.de>
26338         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26339         variable.
26341 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
26343         [BZ #13717]
26344         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26345         to 2.2.0 where earlier.
26346         * sysdeps/unix/sysv/linux/configure: Regenerated.
26347         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26348         Remove conditional code.
26349         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26350         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26351         Remove conditional code.
26352         [!__NR_lchown]: Likewise.
26353         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26354         [__NR_lchown]: Likewise.
26355         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26356         comment referencing __ASSUME_LCHOWN_SYSCALL.
26357         * sysdeps/unix/sysv/linux/i386/sigaction.c
26358         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26359         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26360         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26361         Remove conditional code.
26362         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26363         (__protocol_available): Remove #if 0 code.
26364         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26365         conditional code.
26366         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26367         * sysdeps/unix/sysv/linux/kernel-features.h
26368         (__ASSUME_GETCWD_SYSCALL): Don't define.
26369         (__ASSUME_REALTIME_SIGNALS): Likewise.
26370         (__ASSUME_PREAD_SYSCALL): Likewise.
26371         (__ASSUME_PWRITE_SYSCALL): Likewise.
26372         (__ASSUME_POLL_SYSCALL): Likewise.
26373         (__ASSUME_LCHOWN_SYSCALL): Likewise.
26374         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26375         non-SPARC.
26376         (__ASSUME_SIOCGIFNAME): Don't define.
26377         (__ASSUME_MSG_NOSIGNAL): Likewise.
26378         (__ASSUME_SENDFILE): Define unconditionally.
26379         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26380         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26381         conditional code.
26382         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26383         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26384         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26385         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26386         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26387         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26388         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26390         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26393         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26396         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26399         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26400         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26402         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26403         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26405         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26406         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26408         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26409         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26411         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26412         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26413         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26414         Remove conditional code.
26415         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26416         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26417         Remove conditional code.
26418         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26419         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26420         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26421         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26422         Remove conditional code.
26423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26424         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26425         Remove conditional code.
26426         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26427         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26428         Remove conditional code.
26429         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26430         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26431         Remove conditional code.
26432         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26433         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26434         Remove conditional code.
26435         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26436         * sysdeps/unix/sysv/linux/sh/pwrite64.c
26437         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26438         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26439         * sysdeps/unix/sysv/linux/sigaction.c
26440         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26441         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26442         * sysdeps/unix/sysv/linux/sigpending.c
26443         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26444         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26445         * sysdeps/unix/sysv/linux/sigprocmask.c
26446         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26447         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26448         * sysdeps/unix/sysv/linux/sigsuspend.c
26449         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26450         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26451         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26452         (__libc_missing_rt_sigs): Remove.
26453         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26454         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26455         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26456         Remove conditional code.
26457         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26458         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26459         return 1.
26460         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26461         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26462         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26463         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26465 2012-05-14  Andreas Jaeger  <aj@suse.de>
26467         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26468         it's not used in glibc.
26469         (__coshm1): Likewise.
26470         (__acosh1p): Likewise.
26471         (__sgn): Likewise.
26473         * manual/string.texi (Copying and Concatenation): Add missing
26474         variable in concat example.
26475         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26477 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26479         [BZ #14103]
26480         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26481         __builtin_clzl with __builtin_clzll.
26483 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
26485         [BZ #14104]
26486         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26487         libc_freeres_ptr.
26489 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26491         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26492         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26493         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26494         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26496 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
26498         * NEWS: Update ia64 info.
26500 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
26502         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26503         used as bcopy.
26505 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
26507         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26508         * sysdeps/unix/syscalls.list (dup3): Likewise.
26509         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26510         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26512 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
26514         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26515         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26517 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
26519         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26520         thread pointer.
26521         (TLS_IE): Use mov/add instead of movq/addq to load thread
26522         pointer.
26523         (TLS_GD_PREFIX): New.
26524         (TLS_GD): Use it.
26526 2012-05-11  David S. Miller  <davem@davemloft.net>
26528         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26529         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26530         (_FPU_SETCW): Likewise.
26532 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26534         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26535         is 32-byte aligned.
26537 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
26539         [BZ #11837]
26540         * iconvdata/gb18030.c: Update tables.
26541         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
26542         characters specially.
26543         (BODY for TO_LOOP): Add encoding of missing ranges.
26545 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
26547         [BZ #13673]
26548         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26549         * sysdeps/mach/hurd/dup3.c: Likewise.
26550         * sysdeps/mach/hurd/readlinkat.c: Likewise.
26551         * sysdeps/powerpc/memmove.c:: Likewise.
26553 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26555         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26556         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26558 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26560         * elf/elf.h (R_X86_64_RELATIVE64): New.
26561         (R_X86_64_NUM): Updated.
26562         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26563         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
26564         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26565         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26566         tst-quad1pie tst-quad2pie
26567         (modules-names): Add tst-quadmod1 tst-quadmod2.
26568         ($(objpfx)tst-quad1): New dependency.
26569         ($(objpfx)tst-quad2): Likewise.
26570         ($(objpfx)tst-quad1pie): Likewise.
26571         ($(objpfx)tst-quad2pie): Likewise.
26572         * sysdeps/x86_64/tst-quad1.c: New file.
26573         * sysdeps/x86_64/tst-quad1pie.c: New file.
26574         * sysdeps/x86_64/tst-quad2.c: Likewise.
26575         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26576         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26577         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26578         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26579         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26581 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26583         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26584         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26585         * streams/stropts.h (t_scalar_t): Define type.
26587         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26588         (_PATH_PRESERVE): Set to "/var/lib".
26589         (_PATH_RWHODIR): Set to "/var/spool/rwho".
26591         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26592         instead of int.
26594         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26595         if __dir_mkfile succeeded.
26597         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26598         checking for _hurd_dtablesize.  Unlock it right after having
26599         finished _hurd_dtable allocation.
26601 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26603         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26604         * sysdeps/mach/hurd/configure: Regenerated.
26605         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26606         special-casing to...
26607         * sysdeps/gnu/configure.in: ... this new file.
26608         * sysdeps/unix/sysv/linux/configure: Regenerated.
26609         * sysdeps/gnu/configure: New generated file.
26611         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26612         for Linux: use nsec instead of usec, as well as:
26613         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26614         members of type struct timespec.
26615         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26616         New macros.
26617         (struct stat64): Likewise.
26618         (_STATBUF_ST_NSEC): New macro.
26619         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26621         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26622         __strtoul_internal rather than strtoul.
26624 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26626         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26627         and reject them.
26629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26631         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26632         which preserves existing values.
26633         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26635 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26637         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26638         TIMEOUT values.  Return EINVAL for NFDS values either negative or
26639         greater than FD_SETSIZE.
26641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26643         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26644         allocated, call __vm_protect to finish enabling the existing space, and
26645         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26646         allocate the remainder.
26648 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26650         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26651         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
26653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26655         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26656         sysdeps/mach/hurd/readlink.c.
26658         * posix/tst-sysconf.c (posix_options): Only use
26659         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26660         _POSIX_SYNCHRONIZED_IO when they are defined
26661         * sysdeps/mach/hurd/bits/posix_opt.h:
26662         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26663         (_XOPEN_REALTIME): Undefine macro.
26664         (_XOPEN_REALTIME_THREADS): Undefine macro.
26665         (_XOPEN_SHM): Undefine macro.
26666         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26667         macro to -1.
26668         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26669         macro to -1.
26670         (_POSIX_ASYNC_IO): Undefine macro.
26671         (_POSIX_PRIORITIZED_IO): Undefine macro.
26672         (_POSIX_SPIN_LOCKS): Define macro to -1.
26674         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26675         SA_NODEFER, SA_RESETHAND.
26676         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26677         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26678         F_DUPFD_CLOEXEC.
26680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26682         * elf/Makefile (pldd-modules): Define unconditionally.
26684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26686         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26688 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26690         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26691         Return ENOENT when name is empty.
26692         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26696         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26698         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26702         Fix mlock in all cases except non-readable pages.
26703         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26704         instead of VM_PROT_ALL as parameter to __vm_wire function.
26706         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26707         (__mkdir): When path is `/', just fail with EEXIST.
26708         * sysdeps/mach/hurd/mkdirat.c: Likewise.
26710 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26712         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26713         <sys/uio.h> (for writev).
26714         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26715         and <sys/param.h> (for MIN).
26717 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26719         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26720         REQUESTED_TIME.  Properly set the remaining time and return EINTR
26721         if interrupted.
26723 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26725         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26726         Depend on against $(link-rpcuserlibs).
26728 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26730         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26731         (__libc_stack_end): Do not use attribute_relro.
26732         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26733         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26734         to libthread-provided value.
26735         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26736         attribute_relro.
26738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26740         [BZ #3748]
26741         * bits/libc-lock.h (__libc_once_get): New macro.
26742         * sysdeps/mach/bits/libc-lock.h: Likewise.
26743         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26744         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26745         instead of using implementation details.
26747         * libio/fileops.c: Unconditionally include <kernel-features.h>.
26748         * libio/freopen.c: Likewise.
26749         * libio/freopen64.c: Likewise.
26750         * misc/syslog.c: Likewise.
26751         * nscd/connections.c: Likewise.
26752         * nscd/netgroupcache.c: Likewise.
26753         * sysdeps/posix/getcwd.c: Likewise.
26755 2012-05-10  Roland McGrath  <roland@hack.frob.com>
26757         * math/w_ilogbf.c: Add #include <limits.h>.
26759 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26761         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26762         path instead of returning without unlocking.
26764         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26765         immediate-write ioctls.
26766         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26770         * sysdeps/mach/hurd/i386/init-first.c (init): Use
26771         __builtin_frame_address instead of making assumptions about the
26772         location of the return address relative to DATA.  Force early load of
26773         the return address.
26774         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26775         __builtin_frame_address.
26777         dup3 for GNU Hurd.
26778         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26779         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
26780         implement dup3 and do some further code clean-ups.
26781         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26782         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26784 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26786         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26788         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26789         HURD_CRITICAL_END around holding _hurd_dtable_lock.
26790         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26791         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26792         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26793         d->port.lock.
26795         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26796         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
26797         when handler == SIG_ERR, not when handler != SIG_ERR.
26799 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26801         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26802         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26803         definitions.
26805         accept4 for GNU Hurd.
26806         * include/sys/socket.h (__libc_accept4): New prototype.
26807         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
26808         to implement __libc_accept4.
26809         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26810         __libc_accept4.
26811         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26813         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26814         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26815         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26816         signal-defines.sym.
26818 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26820         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
26824         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26825         assertion on O_CLOEXEC flag.
26826         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26827         * hurd/intern-fd.c: Likewise.
26828         * hurd/port2fd.c: Likewise.
26830 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26832         [BZ #3906]
26833         * bits/in.h (IPV6_PKTINFO): Define new macro.
26834         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26836 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26838         [BZ #13954]
26839         [BZ #13955]
26840         [BZ #13956]
26841         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26842         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26843         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26844         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26845         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26846         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26847         * math/libm-test.inc (logb_test) : Additional logb tests.
26849 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
26850             Andreas Jaeger  <aj@suse.de>
26852         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26853         * configure: Regenerated.
26854         * config.h.in (LINK_OBSOLETE_RPC): New macro.
26855         * config.make.in (link-obsolete-rpc): New substituted variable.
26856         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26857         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26858         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26859         (shared-only-routines): Don't set it under [link-obsolete-rpc],
26860         so that libc.a contains the symbols.
26861         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26862         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26863         * sunrpc/auth_none.c: Likewise.
26864         * sunrpc/auth_unix.c: Likewise.
26865         * sunrpc/authdes_prot.c: Likewise.
26866         * sunrpc/authuxprot.c: Likewise.
26867         * sunrpc/clnt_gen.c: Likewise.
26868         * sunrpc/clnt_perr.c: Likewise.
26869         * sunrpc/clnt_raw.c: Likewise.
26870         * sunrpc/clnt_simp.c: Likewise.
26871         * sunrpc/clnt_tcp.c: Likewise.
26872         * sunrpc/clnt_udp.c: Likewise.
26873         * sunrpc/clnt_unix.c: Likewise.
26874         * sunrpc/des_crypt.c: Likewise.
26875         * sunrpc/des_soft.c: Likewise.
26876         * sunrpc/get_myaddr.c: Likewise.
26877         * sunrpc/key_call.c: Likewise.
26878         * sunrpc/key_prot.c: Likewise.
26879         * sunrpc/netname.c: Likewise.
26880         * sunrpc/pm_getmaps.c: Likewise.
26881         * sunrpc/pm_getport.c: Likewise.
26882         * sunrpc/pmap_clnt.c: Likewise.
26883         * sunrpc/pmap_prot.c: Likewise.
26884         * sunrpc/pmap_prot2.c: Likewise.
26885         * sunrpc/pmap_rmt.c: Likewise.
26886         * sunrpc/publickey.c: Likewise.
26887         * sunrpc/rpc_cmsg.c: Likewise.
26888         * sunrpc/rpc_common.c: Likewise.
26889         * sunrpc/rpc_dtable.c: Likewise.
26890         * sunrpc/rpc_prot.c: Likewise.
26891         * sunrpc/rpc_thread.c: Likewise.
26892         * sunrpc/rtime.c: Likewise.
26893         * sunrpc/svc.c: Likewise.
26894         * sunrpc/svc_auth.c: Likewise.
26895         * sunrpc/svc_raw.c: Likewise.
26896         * sunrpc/svc_run.c: Likewise.
26897         * sunrpc/svc_tcp.c: Likewise.
26898         * sunrpc/svc_udp.c: Likewise.
26899         * sunrpc/svc_unix.c: Likewise.
26900         * sunrpc/svcauth_des.c: Likewise.
26901         * sunrpc/xcrypt.c: Likewise.
26902         * sunrpc/xdr.c: Likewise.
26903         * sunrpc/xdr_array.c: Likewise.
26904         * sunrpc/xdr_float.c: Likewise.
26905         * sunrpc/xdr_intXX_t.c: Likewise.
26906         * sunrpc/xdr_mem.c: Likewise.
26907         * sunrpc/xdr_rec.c: Likewise.
26908         * sunrpc/xdr_ref.c: Likewise.
26909         * sunrpc/xdr_sizeof.c: Likewise.
26910         * sunrpc/xdr_stdio.c: Likewise.
26912 2012-05-10  Roland McGrath  <roland@hack.frob.com>
26914         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26915         change.  Update copyright years.
26917 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26919         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26921 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
26922             Joseph Myers  <joseph@codesourcery.com>
26923             Paul Pluzhnikov  <ppluzhnikov@google.com>
26925         [BZ #14012]
26926         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26927         requiring rpcgen.
26928         [cross-compiling] (extra-libs): Likewise.
26929         [cross-compiling] (extra-libs-others): Likewise.
26930         [cross-compiling] (librpcsvc-routines): Likewise.
26931         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26932         [cross-compiling] (omit-deps): Likewise.
26933         (sunrpc-CPPFLAGS): New variable.
26934         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26935         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26936         (cross-rpcgen-objs): New variable.
26937         (extra-objs): Append $(cross-rpcgen-objs).
26938         ($(cross-rpcgen-objs)): New rule.
26939         ($(objpfx)cross-rpcgen): Likewise.
26940         (rpcgen-cmd): Define to use $(built-program-file).  Expand
26941         comment.
26942         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26943         ($(objpfx)x%.stmp): Likewise.
26944         * sunrpc/proto.h [IS_IN_build] (_): Define.
26945         [IS_IN_build] (_libc_intl_domainname): Likewise.
26947 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26949         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26950         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26951         and R_X86_64_TPOFF64.
26953 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26955         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26956         sysdeps/unix/sysv/syscalls.list.
26957         (stime): Likewise.
26958         (utime): Likewise.
26959         * sysdeps/unix/sysv/syscalls.list: Remove file.
26961 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
26963         [BZ #3440]
26964         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26965         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26966         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26967         (__LC_IDENTIFICATION): Make these macros useful in #if
26968         expressions, as required by C99.
26970 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
26972         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26973         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26974         after this.
26976 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26978         * stdlib/longlong.h: Updated from GCC.
26980 2012-05-09  Andreas Jaeger  <aj@suse.de>
26982         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26983         default is first entry.
26984         (run_mode): Set type.
26985         (main): Remove informal message about syslog.
26986         (options): Fix typo.
26988         [BZ #14053]
26989         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26990         to asm.
26991         (lrint): Likewise.
26992         (llrintf): Likewise.
26993         (llrint): Likewise.
26994         (rint): Likewise.
26995         (rintf): Likewise.
26996         (nearbyint): Likewise.
26997         (nearbyintf): Likewise.
26999 2012-05-09  Andreas Jaeger  <aj@suse.de>
27000             Pedro Alves  <palves@redhat.com>
27002         * nscd/nscd.c (run_mode): Use enum.
27003         (main): Cleanup coding style issue.
27005 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
27006             Andreas Jaeger  <aj@suse.de>
27008         * nscd/nscd.c (go_background): Replaced with...
27009         (run_mode): ... this.
27010         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27011         (options): Add -F --foreground.
27012         (main): Implement it.
27013         (parse_opt): Parse it.
27015 2012-05-09  Andreas Jaeger  <aj@suse.de>
27017         [BZ #14083]
27018         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27019         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27020         -Wconversion warning.
27021         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27022         Likewise.
27024 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
27026         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
27027         == 0.
27028         (LC_ALL): Use macro-int-constant.
27029         (LC_COLLATE): Likewise.
27030         (LC_CTYPE): Likewise.
27031         (LC_MESSAGES): Likewise.
27032         (LC_MONETARY): Likewise.
27033         (LC_NUMERIC): Likewise.
27034         (LC_TIME): Likewise.
27035         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27036         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27037         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27038         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27039         Specify type.
27040         [C99-based standards] (float_t): Expect type.
27041         [C99-based standards] (double_t): Expect type.
27042         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
27043         type.
27044         [C99-based standards] (HUGE_VALL): Likewise.
27045         [C99-based standards] (INFINITY): Likewise.
27046         [C99-based standards] (NAN): Likewise.
27047         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27048         [C99-based standards] (FP_NAN): Likewise.
27049         [C99-based standards] (FP_NORMAL): Likewise.
27050         [C99-based standards] (FP_SUBNORMAL): Likewise.
27051         [C99-based standards] (FP_ZERO): Likewise.
27052         [C99-based standards] (FP_FAST_FMA): Use
27053         optional-macro-int-constant.  Specify type.  Require == 1.
27054         [C99-based standards] (FP_FAST_FMAF): Likewise.
27055         [C99-based standards] (FP_FAST_FMAL): Likewise.
27056         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27057         [C99-based standards] (FP_ILOGBNAN): Likewise.
27058         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27059         Specify type.
27060         [C99-based standards] (MATH_ERREXCEPT): Likewise.
27061         [C99-based standards] (math_errhandling): Specify type.
27062         [ISO99 || ISO11] (signgam): Do not allow.
27063         [non-C99-based standards] (copysignf): Do not allow.
27064         [non-C99-based standards] (exp2f): Likewise.
27065         [non-C99-based standards] (log2f): Likewise.
27066         [non-C99-based standards] (modff): Allow.
27067         [non-C99-based standards] (erff): Do not allow.
27068         [non-C99-based standards] (erfcf): Likewise.
27069         [non-C99-based standards] (gammaf): Likewise.
27070         [non-C99-based standards] (hypotf): Likewise.
27071         [non-C99-based standards] (j0f): Likewise.
27072         [non-C99-based standards] (j1f): Likewise.
27073         [non-C99-based standards] (jnf): Likewise.
27074         [non-C99-based standards] (lgammaf): Likewise.
27075         [non-C99-based standards] (tgammaf): Likewise.
27076         [non-C99-based standards] (y0f): Likewise.
27077         [non-C99-based standards] (y1f): Likewise.
27078         [non-C99-based standards] (ynf): Likewise.
27079         [non-C99-based standards] (isnanf): Likewise.
27080         [non-C99-based standards] (acoshf): Likewise.
27081         [non-C99-based standards] (asinhf): Likewise.
27082         [non-C99-based standards] (atanhf): Likewise.
27083         [non-C99-based standards] (cbrtf): Likewise.
27084         [non-C99-based standards] (expm1f): Likewise.
27085         [non-C99-based standards] (ilogbf): Likewise.
27086         [non-C99-based standards] (log1pf): Likewise.
27087         [non-C99-based standards] (logbf): Likewise.
27088         [non-C99-based standards] (nextafterf): Likewise.
27089         [non-C99-based standards] (remainderf): Likewise.
27090         [non-C99-based standards] (rintf): Likewise.
27091         [non-C99-based standards] (scalbf): Likewise.
27092         [non-C99-based standards] (copysignl): Likewise.
27093         [non-C99-based standards] (exp2l): Likewise.
27094         [non-C99-based standards] (log2l): Likewise.
27095         [non-C99-based standards] (modfl): Allow.
27096         [non-C99-based standards] (erfl): Do not allow.
27097         [non-C99-based standards] (erfcl): Likewise.
27098         [non-C99-based standards] (gammal): Likewise.
27099         [non-C99-based standards] (hypotl): Likewise.
27100         [non-C99-based standards] (j0l): Likewise.
27101         [non-C99-based standards] (j1l): Likewise.
27102         [non-C99-based standards] (jnl): Likewise.
27103         [non-C99-based standards] (lgammal): Likewise.
27104         [non-C99-based standards] (tgammal): Likewise.
27105         [non-C99-based standards] (y0l): Likewise.
27106         [non-C99-based standards] (y1l): Likewise.
27107         [non-C99-based standards] (ynl): Likewise.
27108         [non-C99-based standards] (isnanl): Likewise.
27109         [non-C99-based standards] (acoshl): Likewise.
27110         [non-C99-based standards] (asinhl): Likewise.
27111         [non-C99-based standards] (atanhl): Likewise.
27112         [non-C99-based standards] (cbrtl): Likewise.
27113         [non-C99-based standards] (expm1l): Likewise.
27114         [non-C99-based standards] (ilogbl): Likewise.
27115         [non-C99-based standards] (log1pl): Likewise.
27116         [non-C99-based standards] (logbl): Likewise.
27117         [non-C99-based standards] (nextafterl): Likewise.
27118         [non-C99-based standards] (remainderl): Likewise.
27119         [non-C99-based standards] (rintl): Likewise.
27120         [non-C99-based standards] (scalbl): Likewise.
27121         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27122         [non-C99-based standards] (FP_*): Do not allow.
27123         [C99-based standards] (FP_*): Change to
27124         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27125         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27126         allow.
27127         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27128         (SIG_ERR): Likewise.
27129         [X/Open-based standards] (SIG_HOLD): Likewise.
27130         (SIG_IGN): Likewise.
27131         (SIGABRT): Use macro-int-constant.  Specify type.  Require
27132         positive value.
27133         (SIGFPE): Likewise.
27134         (SIGILL): Likewise.
27135         (SIGINT): Likewise.
27136         (SIGSEGV): Likewise.
27137         (SIGTER): Likewise.
27138         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27139         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27140         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27141         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27142         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27143         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27144         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27145         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27146         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27147         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27148         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27149         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27150         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27151         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27152         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27153         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27154         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27155         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27156         [X/Open-based standards] (SIGTRAP): Likewise.
27157         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27158         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27159         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27160         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27161         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27162         allow.
27164 2012-05-08  Ian Wienand  <ianw@vmware.com>
27166         [BZ #14080]
27167         * time/tzset.c (__tzset_parse_tz): Update default rules for
27168         daylight time changes in the Energy Policy Act of 2005.
27170 2012-05-09  Andreas Jaeger  <aj@suse.de>
27172         [BZ #13983]
27173         * elf/ldconfig.c (parse_conf): Change string to make clear that
27174         ldconfig only issued a warning if ld.so.conf does not exist.
27176 2012-05-08  David S. Miller  <davem@davemloft.net>
27178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27179         movxtod instead of popping the value on the stack.
27181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27183 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
27185         * config.h.in: Add HAVE_ARM_PCS_VFP.
27187 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
27189         [BZ #13979]
27190         * include/features.h: Warn if user requests __FORTIFY_SOURCE
27191         checking but the checks are disabled for any reason.
27193 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
27195         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27196         and ELF64_R_TYPE with ELFW(R_TYPE).
27198 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
27200         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27201         (ulimit): Likewise.
27203         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27204         (settimeofday): Likewise.
27206 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
27208         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
27209         a struct th_u2 inside the union, and move tu_block/tu_code into
27210         a new th_u3 union of tu_block/tu_code inside of that.  Move
27211         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
27212         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
27213         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27214         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27215         (th_stuff): Change to th_u1.tu_stuff.
27216         (th_data): Define.
27217         (th_msg): Change to th_u1.th_u2.tu_data.
27219 2012-05-07  David S. Miller  <davem@davemloft.net>
27221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27223         [BZ #14074]
27224         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27225         (SETUP_PIC_REG): Use it.
27226         (SETUP_PIC_REG_LEAF): Use it.
27228 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
27230         [BZ #13885]
27231         [BZ #13923]
27232         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27233         USE_AS_EXPM1L.
27234         (EXPL_FINITE): Likewise.
27235         (FLDLOG): Likewise.
27236         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27237         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27238         e_expl.S.
27239         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27240         USE_AS_EXPM1L.
27241         (EXPL_FINITE): Likewise.
27242         (FLDLOG): Likewise.
27243         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27244         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27245         e_expl.S.
27246         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
27247         test of -max_value argument for long double.
27248         * sysdeps/i386/fpu/libm-test-ulps: Update.
27249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27251 2012-05-06  David S. Miller  <davem@davemloft.net>
27253         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27254         quad soft-float symbols whose references which are compiler
27255         generated.
27256         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27258 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
27260         [BZ #13884]
27261         [BZ #13914]
27262         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27263         USE_AS_EXP10L.
27264         (EXPL_FINITE): Likewise.
27265         (FLDLOG): Likewise.
27266         (c0): Likewise.
27267         (c1): Likewise.
27268         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
27269         Adjust comments for base varying.
27270         (__expl_finite): Change alias to EXPL_FINITE.
27271         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27272         e_expl.S.
27273         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27274         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27275         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27276         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27277         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27278         USE_AS_EXP10L.
27279         (EXPL_FINITE): Likewise.
27280         (FLDLOG): Likewise.
27281         (c0): Likewise.
27282         (c1): Likewise.
27283         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
27284         Adjust comments for base varying.
27285         (__expl_finite): Change alias to EXPL_FINITE.
27286         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
27287         tests for bugs.
27288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27290         [BZ #14064]
27291         * math/libm-test.inc (check_float_internal): Correct ulp
27292         calculation for subnormal expected results.
27294 2012-05-06  Andreas Jaeger  <aj@suse.de>
27296         * Makeconfig (+math-flags): New, set to -frounding-math.
27297         (+cflags): Add +math-flags so that all of glibc gets compiled with
27298         it.
27300         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27302 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
27304         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27305         Disable one test.
27307         [BZ #13787]
27308         [BZ #13922]
27309         [BZ #14036]
27310         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27311         (__ieee754_expl): Allow for and saturate large arguments.
27312         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27313         (u_threshold): Likewise.
27314         (__exp): Call __ieee754_exp before checking for overflow and
27315         underflow.
27316         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27317         (u_threshold): Likewise.
27318         (__expf): Call __ieee754_expf before checking for overflow and
27319         underflow.
27320         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27321         (u_threshold): Likewise.
27322         (__expl): Call __ieee754_expl before checking for overflow and
27323         underflow.
27324         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27325         (__ieee754_expl): Allow for and saturate large arguments.
27326         * math/libm-test.inc (exp_test): Add another test.  Do not allow
27327         missing overflow exception on overflow.
27328         (expm1_test): Do not allow missing overflow exception on overflow.
27330         * sysdeps/i386/fpu/e_expl.c: Move to ...
27331         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
27332         rather than using inline asm.
27333         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27334         * sysdeps/x86_64/fpu/e_expl.S: Copy from
27335         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27337         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27338         (nice): Likewise.
27339         (poll): Likewise.
27340         (signal): Likewise.
27341         (time): Likewise.
27342         (times): Likewise.
27344 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
27346         * sysdeps/unix/syscalls.list (adjtime): Add entry from
27347         sysdeps/unix/common/syscalls.list.
27348         (fchmod): Likewise.
27349         (fchown): Likewise.
27350         (ftruncate): Likewise.
27351         (getrusage): Likewise.
27352         (gettimeofday): Likewise.
27353         (setpgid): Likewise.
27354         (setregid): Likewise.
27355         (setreuid): Likewise.
27356         (sigaction): Likewise.
27357         (truncate): Likewise.
27358         (vhangup): Likewise.
27359         * sysdeps/unix/common/syscalls.list: Remove file.
27360         * sysdeps/unix/bsd/Implies: Don't include unix/common.
27361         * sysdeps/unix/sysv/linux/Implies: Likewise.
27363 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
27365         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27367         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27368         Moved to ...
27369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27370         Here.
27371         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27372         to ...
27373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27374         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27375         to ...
27376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27377         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27378         to ...
27379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27380         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27381         to ...
27382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27383         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27384         to ...
27385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27386         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27387         to ...
27388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27389         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27390         to ...
27391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27392         Here.
27393         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27394         to ...
27395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27396         Here.
27397         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27398         to ...
27399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27400         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27401         Moved to ...
27402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27403         Here.
27404         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27405         to ...
27406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27408 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
27410         * sysdeps/unix/common/bits/dirent.h: Remove file.
27411         * sysdeps/unix/common/bits/fcntl.h: Likewise.
27413         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27414         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27415         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27416         * sysdeps/unix/bsd/isatty.c: Likewise.
27417         * sysdeps/unix/bsd/tcdrain.c: Likewise.
27418         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27419         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27421 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27423         [BZ #13563]
27424         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27425         long double comparison inaccuracies.
27426         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27429 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
27431         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27432         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27434 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
27436         [BZ #14049]
27437         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27438         nonzero digits before rounding a hex value.
27439         * stdlib/tst-strtod.c (tests): Add another test.
27441 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27443         * sysdeps/s390/fpu/libm-test-ulps: Update.
27445 2012-05-03  Andreas Jaeger  <aj@suse.de>
27447         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27448         does not get optimized out.
27449         (malloc_opt_barrier): New.
27451 2012-05-03  Andreas Jaeger  <aj@suse.de>
27452             Roland McGrath  <roland@hack.frob.com>
27454         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27455         intermediate file deletion.
27456         (generated): Add .symlist files.
27458 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
27460         [BZ #13775]
27461         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27462         Redirect under this condition.
27463         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27464         [__USE_GNU] (__dprintf_chk): Not under this condition.
27465         [__USE_GNU] (__vdprintf_chk): Likewise.
27466         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27467         under this condition.
27468         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27469         [__USE_XOPEN2K8] (dprintf): Define under this condition.
27470         [__USE_XOPEN2K8] (vdprintf): Likewise.
27471         [__USE_GNU] (__dprintf_chk): Not under this condition.
27472         [__USE_GNU] (__vdprintf_chk): Likewise.
27473         [__USE_GNU] (dprintf): Likewise.
27474         [__USE_GNU] (vdprintf): Likewise.
27476 2012-05-03  Roland McGrath  <roland@hack.frob.com>
27478         * elf/Makefile (common-generated): Set this instead of generated for
27479         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
27480         $(all-built-dso)-derived lists.
27482 2012-05-03  Andreas Jaeger  <aj@suse.de>
27484         * sysdeps/i386/fpu/libm-test-ulps: Update.
27486         * FAQ: Removed.
27487         * FAQ.in: Likewise.
27488         * scripts/gen-FAQ.pl: Likewise.
27489         * manual/install.texi (Installation): Point to online location of
27490         FAQ.
27491         * Makefile (files-for-dist): Remove FAQ.
27492         (FAQ): Remove.
27494 2012-05-02  Allan McRae  <allan@archlinux.org>
27496         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27497         (LDFLAGS-reldepmod5.so): Likewise.
27498         (LDFLAGS-reldep6mod1.so): Likewise.
27499         (LDFLAGS-reldep6mod4.so): Likewise.
27500         (LDFLAGS-reldep8mod3.so): Likewise.
27501         (LDFLAGS-unload4mod1.so): Likewise.
27502         (LDFLAGS-unload4mod2.so): Likewise.
27503         (LDFLAGS-tst-initorder): Likewise.
27504         (LDFLAGS-tst-initordera2.so): Likewise.
27505         (LDFLAGS-tst-initordera3.so): Likewise.
27506         (LDFLAGS-tst-initordera4.so): Likewise.
27507         (LDFLAGS-tst-initorderb2.so): Likewise.
27508         (LDFLAGS-noload): Likewise.
27509         (LDFLAGS-next): Likewise.
27510         (LDFLAGS-order2mod1.so): Likewise.
27511         (LDFLAGS-order2mod2.so): Likewise.
27512         (LDFLAGS-tst-initorder2): Likewise.
27513         (LDFLAGS-tst-initorder2a.so): Likewise.
27514         (LDFLAGS-tst-initorder2b.so): Likewise.
27515         (LDFLAGS-tst-initorder2c.so): Likewise.
27516         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27518 2012-05-02  David S. Miller  <davem@davemloft.net>
27520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27522 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27524         [BZ #14055]
27525         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27527 2012-05-02  Andreas Jaeger  <aj@suse.de>
27529         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27530         since we manipulate rounding mode.
27531         (CPPFLAGS-test-idouble.c): Likewise.
27532         (CPPFLAGS-test-ifloat.c): Likewise.
27533         (CFLAGS-test-ldouble.c): Likewise.
27534         (CFLAGS-test-double.c): Likewise.
27535         (CFLAGS-test-float.c): Likewise.
27536         (CFLAGS-test-misc.c): Likewise.
27537         (CFLAGS-test-test-fenv.c): Likewise.
27539 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27541         [BZ #2550]
27542         [BZ #2570]
27543         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27544         comparisons to determine direction to adjust input.
27546 2012-05-01  Roland McGrath  <roland@hack.frob.com>
27548         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27549         output to the target.
27551         * scripts/localplt.awk: New file.
27552         * elf/Makefile ($(objpfx)check-localplt): Target removed.
27553         (check-localplt-CFLAGS): Variable removed.
27554         ($(all-built-dso:=.jmprel)): New static pattern rule.
27555         (generated): Add those targets.
27556         (localplt-built-dso): New variable.
27557         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27559         * elf/check-localplt.c: File removed.
27561         * scripts/check-execstack.awk: New file.
27562         * elf/Makefile ($(objpfx)check-execstack): Target removed.
27563         (check-execstack-CFLAGS): Variable removed.
27564         ($(objpfx)check-execstack.h): Target removed.
27565         ($(objpfx)execstack-default): New target.
27566         (generated): Add that instead of check-execstack.h.
27567         ($(all-built-dso:=.phdr)): New static pattern rule.
27568         (generated): Add those targets.
27569         * elf/check-execstack.c: File removed.
27571         * scripts/check-textrel.awk: New file.
27572         * elf/Makefile ($(objpfx)check-textrel): Target removed.
27573         (check-textrel-CFLAGS): Variable removed.
27574         (all-built-dso): Use := to define.o
27575         ($(all-built-dso:=.dyn)): New static pattern rule.
27576         (generated): Add those targets.
27577         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27578         * config.make.in (READELF): New substituted variable.
27579         * elf/check-textrel.c: File removed.
27581 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27583         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27584         allow.
27585         * conform/data/ctype.h-data [C99-based standards] (isblank):
27586         Expect function.
27587         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27588         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27589         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27590         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27591         Specify type.  Require positive value.
27592         (EILSEQ): Likewise.
27593         (ERANGE): Likewise.
27594         [ISO || POSIX] (EILSEQ): Do not expect.
27595         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27596         Specify type.  Require positive value.
27597         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27598         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27599         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27600         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27601         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27602         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27603         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27604         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27605         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27606         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27607         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27608         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27609         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27610         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27611         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27612         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27613         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27614         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27615         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27616         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27617         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27618         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27619         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27620         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27621         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27622         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27623         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27624         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27625         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27626         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27627         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27628         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27629         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27630         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27631         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27632         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27633         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27634         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27635         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27636         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27637         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27638         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27639         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27640         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27641         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27642         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27643         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27644         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27645         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27646         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27647         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27648         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27649         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27650         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27651         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27652         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27653         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27654         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27655         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27656         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27657         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27658         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27659         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27660         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27661         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27662         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27663         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27664         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27665         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27666         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27667         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27668         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27669         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27670         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27671         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27672         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27673         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27674         Require >= 2.
27675         (FLT_ROUNDS): Expect as macro, not constant.
27676         (FLT_MANT_DIG): Use macro-int-constant.
27677         (DBL_MANT_DIG): Likewise.
27678         (LDBL_MANT_DIG): Likewise.
27679         (FLT_DIG): Likewise.
27680         (DBL_DIG): Likewise.
27681         (LDBL_DIG): Likewise.
27682         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
27683         (DBL_MIN_EXP): Likewise.
27684         (LDBL_MIN_EXP): Likewise.
27685         (FLT_MAX_EXP): Use macro-int-constant.
27686         (DBL_MAX_EXP): Likewise.
27687         (LDBL_MAX_EXP): Likewise.
27688         (FLT_MAX_10_EXP): Likewise.
27689         (DBL_MAX_10_EXP): Likewise.
27690         (LDBL_MAX_10_EXP): Likewise.
27691         (FLT_MAX): Use macro-constant.
27692         (DBL_MAX): Likewise.
27693         (LDBL_MAX): Likewise.
27694         (FLT_EPSILON): Use macro-constant.  Give upper bound.
27695         (DBL_EPSILON): Likewise.
27696         (LDBL_EPSILON): Likewise.
27697         (FLT_MIN): Likewise.
27698         (DBL_MIN): Likewise.
27699         (LDBL_MIN): Likewise.
27700         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27701         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27702         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27703         [ISO11] (FLT_HAS_SUBNORM): Likewise.
27704         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27705         [ISO11] (DBL_DECIMAL_DIG): Likewise.
27706         [ISO11] (FLT_DECIMAL_DIG): Likewise.
27707         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27708         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27709         [ISO11] (FLT_TRUE_MIN): Likewise.
27710         [ISO11] (LDBL_TRUE_MIN): Likewise.
27711         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27712         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27713         (SCHAR_MIN): Use macro-int-constant.  Specify type.
27714         (SCHAR_MAX): Likewise.
27715         (UCHAR_MAX): Likewise.
27716         (CHAR_MIN): Likewise.
27717         (CHAR_MAX): Likewise.
27718         (MB_LEN_MAX): Use macro-int-constant.
27719         (SHRT_MIN): Use macro-int-constant.  Specify type.
27720         (SHRT_MAX): Likewise.
27721         (USHRT_MAX): Likewise.
27722         (INT_MAX): Likewise.
27723         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
27724         bound negative.
27725         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
27726         bound with "U".
27727         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
27728         bound with "L".
27729         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
27730         bound negative.  Suffix upper bound with "L".
27731         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
27732         bound with "UL".
27733         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27734         Specify type.
27735         [C99-based standards] (LLONG_MAX): Likewise.
27736         [C99-based standards] (ULLONG_MAX): Likewise.
27737         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
27738         == 0.
27739         [ISO11] (max_align_t): Require type.
27740         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27742         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27743         from $CFLAGS, without defining away __attribute__ calls.
27744         (checknamespace): Use $CFLAGS_namespace.
27746         * conform/conformtest.pl (@keywords): Only include C99 keywords
27747         for standards based on C99 or C11.
27749         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27750         Disable tests.
27751         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27752         UNIX98]: Likewise.
27754         * conform/conformtest.pl: Handle "macro-int-constant" and test for
27755         usability of symbols in #if.
27757         * conform/conformtest.pl: If macro or constant types start
27758         "promoted:", expect the symbol to be of the following type
27759         promoted by the integer promotions.
27761         * conform/conformtest.pl: Parse all "constant" and "macro" lines
27762         in one place.  Also handle "macro-constant".
27764         * conform/conformtest.pl: Only accept expected macro values with
27765         "==".  Parse all "macro" lines in one place.
27766         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27768         * conform/conformtest.pl: Handle braced types on "constant" lines
27769         instead of handling "typed-constant".
27770         * conform/data/signal.h-data: Use "constant" instead of
27771         "typed-constant".
27773         * conform/conformtest.pl: Handle "optional-" at start of lines in
27774         one place rather than duplicating several cases.  Handle each
27775         format of "macro" line with initial "optional-".
27777         * conform/conformtest.pl: Only accept expected constant or
27778         optional-constant values with "==".  Parse all "constant" lines in
27779         one place.  Parse all "optional-constant" lines in one place.
27780         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27781         * conform/data/fmtmsg.h-data: Likewise.
27782         * conform/data/netinet/in.h-data: Likewise.
27783         * conform/data/tar.h-data: Likewise.
27784         * conform/data/limits.h-data: Use "==" form on "constant" and
27785         "optional-constant" lines.
27787         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27788         Use -std=c99 for XOPEN2K.
27789         (@knownproblems): Remove.
27790         (newtoken): Don't check %isknown.
27792         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27793         Do not expect macro.
27794         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27795         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27796         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27797         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27798         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27799         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27800         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27801         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27802         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27803         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27804         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27805         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27806         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27807         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27808         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27809         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27810         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27811         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27812         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27813         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27814         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27815         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27816         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27817         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27818         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27819         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27820         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27821         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27822         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27823         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27824         [XPG3] (acosh): Likewise.
27825         [XPG3] (asinh): Likewise.
27826         [XPG3] (atanh): Likewise.
27827         [XPG3] (cbrt): Likewise.
27828         [XPG3] (expm1): Likewise.
27829         [XPG3] (ilogb): Likewise.
27830         [XPG3] (log1p): Likewise.
27831         [XPG3] (logb): Likewise.
27832         [XPG3] (nextafter): Likewise.
27833         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27834         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27835         [XPG3] (remainder): Likewise.
27836         [XPG3] (rint): Likewise.
27837         [XPG3 || XPG4 || UNIX98] (round): Likewise.
27838         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27839         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27840         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27841         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27842         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27843         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27844         [UNIX98 || XOPEN2K] (scalb): Expect.
27845         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27846         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27847         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27848         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27849         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27850         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27851         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27852         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27853         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27854         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27855         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27856         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27857         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27858         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27859         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27860         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27861         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27862         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27863         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27864         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27865         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27866         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27867         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27868         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27869         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27870         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27871         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27872         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27873         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27874         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27875         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27876         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27877         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27878         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27879         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27880         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27881         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27882         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27883         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27884         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27885         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27886         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27887         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27888         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27889         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27890         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27891         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27892         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27893         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27894         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27895         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27896         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27897         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27898         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27899         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27900         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27901         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27902         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27903         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27904         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27905         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27906         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27907         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27908         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27909         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27910         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27911         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27912         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27913         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27914         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27915         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27916         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27917         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27918         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27919         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27920         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27921         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27922         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27923         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27924         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27925         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27926         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27927         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27928         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27929         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27930         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27931         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27932         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27933         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27934         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27935         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27936         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27937         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27938         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27939         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27940         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27941         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27942         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27943         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27944         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27945         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27946         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27947         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27948         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27949         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27950         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27951         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27952         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27953         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27954         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27955         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27956         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27957         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27958         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27959         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27960         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27961         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27962         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27963         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27964         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27965         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27966         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27967         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27968         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27969         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27970         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27971         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27972         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27973         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27974         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27975         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27976         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27977         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27978         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27979         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27980         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27981         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27983         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27984         _XOPEN_SOURCE_EXTENDED for XPG4.
27986         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27988         * Makeconfig (localtime): Remove variable.
27989         (inst_localtime-file): Likewise.
27991 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27994         Update.
27995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27996         Update.
27997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27998         Update.
27999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28000         Update.
28001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28002         Update.
28003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28004         Update.
28005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28006         Update.
28007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28008         Update.
28009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28010         Update.
28012 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
28014         [BZ #2550]
28015         [BZ #2570]
28016         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28017         comparisons to determine direction to adjust input.
28018         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28019         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28020         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28021         Likewise.
28022         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28023         Likewise.
28024         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28025         Likewise.
28026         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28027         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28028         Likewise.
28029         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28030         Likewise.
28031         * math/libm-test.inc (nexttoward_test): Add more tests.
28033 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28035         [BZ #14040]
28036         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28037         in version GLIBC_2.1, not GLIBC_2.0.
28038         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28039         Likewise.
28041 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
28043         [BZ #13942]
28044         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28045         (1 - x) * (1 + x).
28046         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28047         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28048         * math/libm-test.inc (acos_test): Add more tests.
28049         (asin_test): Likewise.
28050         * sysdeps/i386/fpu/libm-test-ulps: Update.
28051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28053         [BZ #14034]
28054         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28055         of square root.
28056         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28057         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28058         * math/libm-test.inc (acos_test_tonearest): New function.
28059         (acos_test_towardzero): Likewise.
28060         (acos_test_downward): Likewise.
28061         (acos_test_upward): Likewise.
28062         (asin_test_tonearest): Likewise.
28063         (asin_test_towardzero): Likewise.
28064         (asin_test_downward): Likewise.
28065         (asin_test_upward): Likewise.
28066         (main): Call the new functions.
28067         * sysdeps/i386/fpu/libm-test-ulps: Update.
28068         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28070         [BZ #13884]
28071         [BZ #13924]
28072         * math/e_exp10.c: Include <float.h>.
28073         (__ieee754_exp10): Handle underflow here rather than multiplying
28074         large negative argument by M_LN10.
28075         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28076         of __ieee754_expf.
28077         * math/e_exp10l.c: Include <float.h>.
28078         (__ieee754_exp10l): Handle underflow here rather than multiplying
28079         large negative argument by M_LN10l.
28080         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
28081         spurious overflow exception on underflow.
28083 2012-04-29  Marek Polacek  <polacek@redhat.com>
28085         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28086         (__fortify_function): New macro.
28087         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28088         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28089         __extern_always_inline.
28090         * libio/bits/stdio2.h: Likewise.
28091         * libio/bits/stdio.h: Likewise.
28092         * string/string.h: Likewise.
28093         * string/bits/string3.h: Likewise.
28094         * include/stdio.h: Likewise.
28095         * stdlib/bits/stdlib.h: Likewise.
28096         * stdlib/stdlib.h: Likewise.
28097         * rt/bits/mqueue2.h: Likewise.
28098         * rt/mqueue.h: Likewise.
28099         * posix/bits/unistd.h: Likewise.
28100         * posix/unistd.h: Likewise.
28101         * io/bits/poll2.h: Likewise.
28102         * io/bits/fcntl2.h: Likewise.
28103         * io/fcntl.h: Likewise.
28104         * io/sys/poll.h: Likewise.
28105         * misc/bits/syslog.h: Likewise.
28106         * misc/bits/syslog-ldbl.h: Likewise.
28107         * misc/sys/syslog.h: Likewise.
28108         * socket/bits/socket2.h: Likewise.
28109         * socket/sys/socket.h: Likewise.
28110         * debug/tst-chk1.c: Likewise.
28111         * wcsmbs/bits/wchar2.h: Likewise.
28112         * wcsmbs/bits/wchar-ldbl.h: Likewise.
28113         * wcsmbs/wchar.h: Likewise.
28115 2012-04-29  Andreas Jaeger  <aj@suse.de>
28117         * Makerules (tests): Remove enable-check-abi protection.
28118         (check-abi-warn): Remove.
28119         (check-abi-%): Remove check-abi-warn usage.
28121         * configure.in: Remove check-abi configure option.
28122         * configure: Regenerated.
28123         * config.make.in (enable-check-abi): Remove.
28125 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
28127         [BZ #14033]
28128         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28129         double functions to double *_finite functions.
28131         [BZ #13941]
28132         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28133         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28134         LDBL_MIN_EXP.
28135         * stdio-common/Makefile (tests): Add tst-sprintf3.
28136         * stdio-common/tst-sprintf3.c: New file.
28138         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28139         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28141 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
28143         * conform/conformtest.pl: Remove duplicate typed-constant
28144         handling.
28146 2012-04-28  David S. Miller  <davem@davemloft.net>
28148         * Makerules (%.abilist): Add vpath on sysdep_dirs.
28149         (check-abi-%): Remove AWK script prerequisite and explicit
28150         abilist directory.
28151         (check-abi): Rewrite to just diff the symlist with the abilist.
28152         (config-tls, config-abi-config): Delete, no longer used.
28153         (update-abi-%): Remove AWK script and explicit abilist directory.
28154         (update-abi): Rewrite to simply compare and conditionally copy the
28155         symlist and the sysdep abilist file.  Remove update-abi-config
28156         checks.
28157         * abilist/ld.abilist: Remove.
28158         * abilist/libBrokenLocale.abilist: Remove.
28159         * abilist/libanl.abilist: Remove.
28160         * abilist/libcrypt.abilist: Remove.
28161         * abilist/libdl.abilist: Remove.
28162         * abilist/librt.abilist: Remove.
28163         * abilist/libthread_db.abilist: Remove.
28164         * abilist/libutil.abilist: Remove.
28165         * scripts/extract-abilist.awk: Remove.
28166         * scripts/merge-abilist.awk: Remove.
28167         * sysdeps/generic/libcidn.abilist: New file.
28168         * sysdeps/generic/libnss_compat.abilist: New file.
28169         * sysdeps/generic/libnss_db.abilist: New file.
28170         * sysdeps/generic/libnss_dns.abilist: New file.
28171         * sysdeps/generic/libnss_files.abilist: New file.
28172         * sysdeps/generic/libnss_hesiod.abilist: New file.
28173         * sysdeps/generic/libnss_nis.abilist: New file.
28174         * sysdeps/generic/libnss_nisplus.abilist: New file.
28175         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28176         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28177         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28178         file.
28179         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28180         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28181         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28182         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28183         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28184         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28185         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28186         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28187         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28188         file.
28189         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28190         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28191         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28192         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28193         file.
28194         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28195         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28196         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28197         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28198         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28199         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28200         file.
28201         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28202         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28203         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28204         file.
28205         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28207         New file.
28208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28209         New file.
28210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28211         New file.
28212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28213         New file.
28214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28215         New file.
28216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28217         New file.
28218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28219         New file.
28220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28221         New file.
28222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28223         New file.
28224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28225         New file.
28226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28227         New file.
28228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28229         New file.
28230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28231         New file.
28232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28233         file.
28234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28235         New file.
28236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28237         New file.
28238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28239         file.
28240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28241         New file.
28242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28243         New file.
28244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28245         file.
28246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28247         New file.
28248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28249         New file.
28250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28251         New file.
28252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28253         New file.
28254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28255         New file.
28256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28257         New file.
28258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28260         file.
28261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28262         New file.
28263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28264         file.
28265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28266         file.
28267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28268         file.
28269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28270         file.
28271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28272         file.
28273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28274         New file.
28275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28276         file.
28277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28278         file.
28279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28280         New file.
28281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28282         file.
28283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28285         file.
28286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28287         New file.
28288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28289         file.
28290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28291         file.
28292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28293         file.
28294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28295         file.
28296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28297         file.
28298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28299         New file.
28300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28301         file.
28302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28303         file.
28304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28305         New file.
28306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28307         file.
28308         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28309         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28310         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28311         file.
28312         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28313         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28314         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28315         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28316         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28317         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28318         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28319         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28320         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28321         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28324         file.
28325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28326         New file.
28327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28328         file.
28329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28330         file.
28331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28332         file.
28333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28334         file.
28335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28336         file.
28337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28338         New file.
28339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28340         New file.
28341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28342         file.
28343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28344         New file.
28345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28346         file.
28347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28349         file.
28350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28351         New file.
28352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28353         file.
28354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28355         file.
28356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28357         file.
28358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28359         file.
28360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28361         file.
28362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28363         New file.
28364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28365         New file.
28366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28367         file.
28368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28369         New file.
28370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28371         file.
28373 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
28375         * conform/conformtest.pl: Fix typo in handling typed-constant from
28376         allow-header.
28378 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
28380         * README: Cut down references to pre-2.6 Linux kernels and
28381         Linuxthreads.  Update lists of configurations in libc and ports
28382         and sort alphabetically.  Say "or newer" with Linux kernel version
28383         requirements.
28385         * config.h.in [IS_IN_build]: Allow compiling without optimization.
28387 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28389         [BZ #887]
28390         * math/libm-test.inc (logb_test_downward): New test to expose
28391         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28392         rounding mode.
28394 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
28396         [BZ #14027]
28397         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28398         to be done.
28399         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28400         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28402 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
28404         * sysdeps/unix/i386/brk.S: Remove file.
28405         * sysdeps/unix/i386/dl-brk.S: Likewise.
28406         * sysdeps/unix/i386/pipe.S: Likewise.
28407         * sysdeps/unix/i386/sigreturn.S: Likewise.
28408         * sysdeps/unix/i386/syscall.S: Likewise.
28409         * sysdeps/unix/i386/vfork.S: Likewise.
28410         * sysdeps/unix/i386/wait.S: Likewise.
28412         * sysdeps/unix/common/tcsendbrk.c: Move to ...
28413         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28415         * configure.in (arm*-none*): Do not allow without
28416         --enable-hacker-mode.
28417         (netbsd*): Remove case setting base_os.
28418         (386bsd*): Likewise.
28419         (freebsd*): Likewise.
28420         (bsdi*): Likewise.
28421         (osf*): Likewise.
28422         (sunos*): Likewise.
28423         (ultrix*): Likewise.
28424         (newsos*): Likewise.
28425         (dynix*): Likewise.
28426         (*bsd*): Likewise.
28427         (sysv*): Likewise.
28428         (isc*): Likewise.
28429         (esix*): Likewise.
28430         (sco*): Likewise.
28431         (minix*): Likewise.
28432         (irix4*): Likewise.
28433         (irix6*): Likewise.
28434         (solaris[2-9]*): Likewise.
28435         (none): Likewise.
28436         * configure: Regenerated.
28438 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28440         [BZ #11521]
28441         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28442         overflow or cancellation in calculating denominator.
28443         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28444         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28445         down expression to avoid unexpected rounding in newer GCCs.
28446         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28448 2012-04-26  David S. Miller  <davem@davemloft.net>
28450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28451         long-double compat symbols.
28452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28466 2012-04-25  David S. Miller  <davem@davemloft.net>
28468         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28469         HWCAP_* values only after the memory barriers have been defined.
28470         (atomic_full_barrier): Define.
28471         (atomic_read_barrier): Define.
28472         (atomic_write_barrier): Define.
28474 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28476         * shlib-versions: Add libgcc_s version information.
28477         * sysdeps/generic/libgcc_s.h: Remove.
28478         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28479         libgcc_s.h.
28480         * sysdeps/gnu/unwind-resume.c: Likewise.
28481         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28483 2012-04-25  David S. Miller  <davem@davemloft.net>
28485         * sysdeps/unix/sparc/brk.S: Delete.
28486         * sysdeps/unix/sparc/dl-brk.S: Delete.
28487         * sysdeps/unix/sparc/pipe.S: Delete.
28488         * sysdeps/unix/sparc/sysdep.S: Delete.
28489         * sysdeps/unix/sparc/sysdep.h: Delete.
28490         * sysdeps/unix/sparc/vfork.S: Delete.
28491         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28492         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28493         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28494         ret_ERRVAL, r0, r1, MOVE): Define.
28495         (JUMPTARGET): Remove.
28496         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28497         sysdeps/unix/sparc/sysdep.h
28498         (ENTRY, END): Remove.
28499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28501 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
28503         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28504         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28505         -DIS_IN_build.
28507         * timezone/README: Update upstream location and email address for
28508         tzcode and tzdata.
28509         * timezone/zdump.c: Update from tzcode 2012b.
28510         * timezone/zic.c: Likewise.
28512         * configure.in (libc_cv_as_needed): Remove test.
28513         * configure: Regenerated.
28514         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28515         conditional definition.
28516         [$(have-as-needed) != yes] (no-as-needed): Likewise.
28517         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28518         * config.make.in (have-as-needed): Remove variable.
28520 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28521             Paul Pluzhnikov  <ppluzhnikov@google.com>
28523         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28524         strings correctly.
28526 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
28528         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28529         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28530         * sysdeps/sh/strlen.S: Likewise.
28532 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
28534         * sysdeps/unix/fork.S: Remove file.
28535         * sysdeps/unix/i386/fork.S: Likewise.
28536         * sysdeps/unix/sparc/fork.S: Likewise.
28538         * sysdeps/unix/system.c: Remove file.
28539         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28541         * sysdeps/unix/getegid.S: Remove file.
28542         * sysdeps/unix/geteuid.S: Likewise.
28544 2012-04-24  Roland McGrath  <roland@hack.frob.com>
28546         * scripts/check-localplt.awk: New file.
28547         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28548         of diff.
28549         * scripts/data/localplt-generic.data: Add a comment.
28551         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28552         NODE when __dir_mkfile failed.
28553         * sysdeps/mach/hurd/symlinkat.c: Likewise.
28554         Reported by Ludovic Courtès <ludo@gnu.org>.
28556 2012-04-24  Andreas Jaeger  <aj@suse.de>
28558         * Makerules (common-clean): Also remove gen-as-const-headers
28559         files.
28561 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
28563         * Makerules (native-compile): Do not change working directory for
28564         build.  Use $(OUTPUT_OPTION) in command.
28565         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28567 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28569         [BZ #13886]
28570         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28571         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28572         * math/libm-test.inc (floor_test): Add more tests.
28573         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28575 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
28577         * sysdeps/unix/getdents.c: Remove file.
28578         * sysdeps/unix/sysv/getdents.c: Likewise.
28579         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28581         * sysdeps/unix/syscalls.list (madvise): Add syscall from
28582         sysdeps/unix/mman/syscalls.list.
28583         (mmap): Likewise.
28584         (mprotect): Likewise.
28585         (msync): Likewise.
28586         (munmap): Likewise.
28587         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28588         * sysdeps/unix/mman/syscalls.list: Remove.
28589         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28591         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28592         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28593         * configure: Regenerated.
28594         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28595         $(libgcc_s_suffix).
28596         * config.make.in (libgcc_s_suffix): Remove variable.
28598 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
28600         * sysdeps/unix/sysv/gethostname.c: Move to ...
28601         * sysdeps/posix/gethostname.c: ... here.
28603         * sysdeps/unix/execve.S: Remove file.
28605         * sysdeps/unix/_exit.S: Remove file.
28607 2012-04-23  Andreas Jaeger  <aj@suse.de>
28609         [BZ #13739]
28610         * manual/Makefile: Remove make dist support, there's no
28611         need for a stand-alone documentation tar ball.
28612         (TEXI2DVI): Define always, it's not in Makeconfig.
28613         (dist): Removed.
28614         (tar-it): Removed.
28615         (edition): Removed.
28616         (glibc-doc-$(edition).tar): Removed
28617         (%.Z): Removed.
28618         (%.gz): Removed.
28619         (%.uu): Removed.
28620         (ETAGS): Remove, it's in Makeconfig.
28621         (move-if-change): Remove, it's in Makeconfig.
28623 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
28625         [BZ #13970]
28626         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28627         (strtod, strtof, strtold, strtol, strtoul, strtoq)
28628         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28629         (strtod_l, strtof_l, strtold_l): Remove __wur.
28630         It is not necessarily an error to ignore strtol's return value.
28631         One can reliably look at the stored endptr to decide whether
28632         the number had valid syntax.
28634 2012-04-21  Andreas Jaeger  <aj@suse.de>
28636         [BZ #13739]
28637         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28639 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
28641         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28642         * sysdeps/unix/sysv/Versions: Remove file.
28644 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
28646         [BZ #13927]
28647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28649 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
28651         [BZ #7064]
28652         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28653         version from __vm86.
28655 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
28657         * sysdeps/unix/common/lxstat.c: Remove file.
28658         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28660         * sysdeps/unix/sysv/Makefile: Remove file.
28662         * sysdeps/unix/sysv/direct.h: Remove file.
28664         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28665         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28666         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28667         * sysdeps/unix/sysv/bits/signum.h: Likewise.
28668         * sysdeps/unix/sysv/bits/stat.h: Likewise.
28669         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28670         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28672         * sysdeps/unix/sysv/setrlimit.c: Remove file.
28674         * sysdeps/unix/xmknod.c: Remove file.
28675         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28677         * sysdeps/unix/sysv/settimeofday.c: Remove file.
28679         * sysdeps/unix/sysv/i386/time.S: Remove file.
28681         * sysdeps/unix/fxstat.c: Remove file.
28682         * sysdeps/unix/xstat.c: Likewise.
28683         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28685         * sysdeps/unix/sysv/sigaction.c: Remove file.
28687         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28688         (sysdep_headers): Remove variable.
28689         [termio.h not in sysdep_headers] (generated): Likewise.
28690         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28691         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28692         * sysdeps/unix/sysv/tcdrain.c: Likewise.
28693         * sysdeps/unix/sysv/tcflow.c: Likewise.
28694         * sysdeps/unix/sysv/tcflush.c: Likewise.
28695         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28696         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28697         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28698         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28699         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28701         * sysdeps/unix/siglist.c: Remove file.
28703         * sysdeps/unix/getppid.S: Remove file.
28705         * sysdeps/unix/mkdir.c: Remove file.
28706         * sysdeps/unix/rmdir.c: Likewise.
28708 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
28710         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28711         ERR_MAX value.
28712         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28713         errlist-compat value.
28715 2012-04-18  David S. Miller  <davem@davemloft.net>
28717         * sysdeps/generic/memcopy.h (reg_char): Delete.
28718         * debug/strcat_chk.c: Use char, not reg_char.
28719         * debug/strcpy_chk.c: Likewise.
28720         * debug/strncat_chk.c: Likewise.
28721         * debug/strncpy_chk.c: Likewise.
28722         * string/memchr.c: Likewise.
28723         * string/memrchr.c: Likewise.
28724         * string/rawmemchr.c: Likewise.
28725         * string/strcat.c: Likewise.
28726         * string/strchr.c: Likewise.
28727         * string/strchrnul.c: Likewise.
28728         * string/strcmp.c: Likewise.
28729         * string/strcpy.c: Likewise.
28730         * string/strncat.c: Likewise.
28731         * string/strncmp.c: Likewise.
28732         * string/strncpy.c: Likewise.
28734 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
28736         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28737         __builtin_memcopy is called when src and dest ranges are known to not
28738         overlap.
28740 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
28742         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28743         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28744         fwd_align_merge macro call.
28745         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28746         bwd_align_merge macro call.
28747         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28749 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
28751         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28752         bwd_align_merge macros.
28753         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28754         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28755         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28757 2012-04-18  David S. Miller  <davem@davemloft.net>
28759         * sysdeps/sparc/sparc64/memcopy.h: Delete.
28761 2012-04-18  Andreas Jaeger  <aj@suse.de>
28763         [BZ# 6794]
28764         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28765         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28766         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28768         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28769         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28770         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28772         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28773         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28774         Adjust for changed ldbl-128 files.
28776         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28777         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28778         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28780 2012-04-17  David S. Miller  <davem@davemloft.net>
28782         * sysdeps/sparc/sparc32/memcopy.h: Delete.
28784 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
28786         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28787         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28788         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28789         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28790         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28791         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28793 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28795         [BZ #6794]
28796         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28797         * math/libm-test.inc: Add ilogb errno and exception tests.
28798         * math/w_ilogb.c: New file: ilogb wrapper.
28799         * math/w_ilogbf.c: New file: ilogbf wrapper.
28800         * math/w_ilogbl.c: New file: ilogbl wrapper.
28801         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28802         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28803         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28804         exception being thrown with 0.0 as argument.
28805         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28806         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28807         exception being thrown with 0.0 as argument.
28808         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28809         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28810         exception being thrown with 0.0 as argument.
28811         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28812         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28813         exception being thrown with 0.0 as argument.
28814         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28815         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28816         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28817         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28818         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28819         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28820         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28821         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28822         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28824 2012-04-17  Petr Baudis  <pasky@ucw.cz>
28826         * include/sys/uio.h: Change __vector to __iovec to avoid clash
28827         with altivec.
28829 2012-04-16  Marek Polacek  <polacek@redhat.com>
28831         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28833 2012-04-16  Marek Polacek  <polacek@redhat.com>
28835         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28836         operands of fdivp instruction.
28838 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
28840         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28841         * elf/tst-auditmod3b.c: Likewise.
28842         * elf/tst-auditmod4b.c: Likewise.
28843         * elf/tst-auditmod5b.c: Likewise.
28844         * elf/tst-auditmod6b.c: Likewise.
28845         * elf/tst-auditmod6c.c: Likewise.
28846         * elf/tst-auditmod7b.c: Likewise.
28847         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28848         * sysdeps/x86_64/preconfigure.in: Likewise.
28849         * sysdeps/x86_64/preconfigure: Regenerated.
28851 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
28853         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28854         __ILP32__.
28856 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
28858         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28859         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28861 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
28863         [BZ #13973]
28864         * locale/iso-639.def: Fix gl language name. Spotted by
28865         Yaron Shahrabani.
28867 2012-04-12  Roland McGrath  <roland@hack.frob.com>
28869         [BZ #2074]
28870         * libio/libio.h (__io_write_fn): Update comment.
28872 2012-04-12  Petr Baudis  <pasky@ucw.cz>
28874         [BZ #2074]
28875         * stdio.texi (Hook Functions): The user provided writer function
28876         is not allowed to return -1.
28878 2012-04-11  David S. Miller  <davem@davemloft.net>
28880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28882 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
28884         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28885         Add a leading slash to rtkaio.
28887 2012-04-11  Jim Meyering  <meyering@redhat.com>
28889         [BZ #11959]
28890         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28891         It is not necessarily an error to ignore fwrite's return
28892         value.  One can reliably use ferror to test for errors after
28893         the fact.
28895 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28897         * bits/types.h (__snseconds_t): New type.
28898         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28900         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28901         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28902         (__SNSECONDS_T_TYPE): Likewise.
28903         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28904         (__SNSECONDS_T_TYPE): Likewise.
28905         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28906         (__SNSECONDS_T_TYPE): Likewise.
28908 2012-04-10  Andreas Jaeger  <aj@suse.de>
28910         [BZ #2636]
28911         * manual/time.texi (Processor Time): Return type of times is
28912         elapsed real time since an arbitrary point in the past.
28913         (CPU Time): Move CLK_TCK from here...
28914         (Processor Time): ...to here.  Correct description.
28915         * manual/conf.texi (Constants for Sysconf): Correct description of
28916         _SC_CLK_TCK.
28918 2012-04-10  David S. Miller  <davem@davemloft.net>
28920         [BZ #13967]
28921         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28922         where the is a gap between DT_REL(A) and DT_JMPREL.
28924 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28926         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28927         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28928         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28930 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28932         * elf/dl-support.c (_dl_inhibit_cache): New variable.
28933         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28934         (dl_main): Handle --inhibit-cache.
28935         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28936         _dl_inhibit_cache.
28937         * elf/dl-load.c (_dl_map_object): Use it.
28938         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28940 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28942         [BZ #13872]
28943         * sysdeps/i386/fpu/e_powl.S (p78): New object.
28944         (__ieee754_powl): Saturate large exponents rather than testing for
28945         overflow of y*log2(x).
28946         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28947         * math/libm-test.inc (pow_test): Do not permit spurious overflow
28948         exceptions.
28950         [BZ #11521]
28951         * math/s_ctan.c: Include <float.h>.
28952         (__ctan): Avoid internal overflow or cancellation in calculating
28953         denominator.
28954         * math/s_ctanf.c: Likewise.
28955         * math/s_ctanl.c: Likewise.
28956         * math/s_ctanh.c: Likewise.
28957         * math/s_ctanhf.c: Likewise.
28958         * math/s_ctanhl.c: Likewise.
28959         * math/libm-test.inc (ctan_test): Add more tests.
28960         (ctanh_test): Likewise.
28961         * sysdeps/i386/fpu/libm-test-ulps: Update.
28962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28964 2012-04-09  Andreas Jaeger  <aj@suse.de>
28966         [BZ #6894]
28967         * manual/filesys.texi (Directory Entries): Mention that d_namlen
28968         is an optional BSD extension.
28970         [BZ #10254]
28971         * manual/stdio.texi (Opening Streams): Document additional fopen
28972         parameters.
28974 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28976         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28977         %eax without telling the compiler.
28979 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28981         [BZ # 13963]
28982         * manual/install.texi: Use sourceware.org.
28984 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28986         [BZ #13873]
28987         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28988         (__ieee754_pow): Generate overflow and underflow using huge*huge
28989         and tiny*tiny rather than just returning constant infinity or zero
28990         for large exponents.
28991         * math/libm-test.inc (pow_test): Require overflow exceptions for
28992         applicable cases of large exponents.
28994         [BZ #706]
28995         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28996         (__ieee754_pow): Use iterative multiplication algorithm only for
28997         integer exponents with absolute value below 1024.  Check for odd
28998         integer exponents when using algorithm for real exponents.
28999         * math/libm-test.inc (pow_test): Add more tests.
29000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29002 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
29004         [BZ #13705]
29005         * math/libm-test.inc (exp_test): Do not allow overflow exception
29006         on underflow test.
29008 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
29010         [BZ #13705]
29011         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29012         instead of __kernel_standard_f.
29014 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
29016         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29017         * sysdeps/x86_64/memset_chk.S: Likewise.
29019 2012-04-08  Andreas Jaeger  <aj@suse.de>
29021         [BZ #10153]
29022         * manual/startup.texi (Environment Access): Describe return value
29023         for putenv and setenv.
29025         [BZ #6895]
29026         * manual/filesys.texi (Directory Entries): Add description for
29027         DT_LNK.
29029         [BZ #6890]
29030         * manual/filesys.texi (Directory Entries): Clarify that it's file
29031         system not operating system in the description of DT_UNKNOWN.
29033         [BZ #6578]
29034         * manual/syslog.texi (closelog): Fix reference, it's openlog.
29036 2012-04-08  Stephen Compall  <s11@member.fsf.org>
29038         [BZ #6649]
29039         * manual/llio.texi (Opening and Closing Files): Add cross
29040         reference to explain mode argument.
29042 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
29044         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29045         * sysdeps/x86_64/memset_chk.S: Likewise.
29047 2012-04-07  David S. Miller  <davem@davemloft.net>
29049         * elf/elf.h (R_SPARC_WDISP10): Define.
29050         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29051         R_SPARC_SIZE32.
29052         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29053         R_SPARC_SIZE64 and R_SPARC_H34.
29055 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
29057         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29058         conditions and remove no longer applicable assertion.
29060 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
29062         * bits/byteswap.h: Include <features.h>.
29063         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29064         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29066 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
29068         * bits/byteswap.h (__bswap_16): Removed.
29069         Include <bits/byteswap-16.h> to get __bswap_16.
29070         * sysdeps/i386/bits/byteswap.h: Likewise.
29071         * sysdeps/s390/bits/byteswap.h: Likewise.
29072         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29073         * bits/byteswap-16.h: New file.
29074         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29075         * sysdeps/s390/bits/byteswap-16.h: Likewise.
29076         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29077         * string/Makefile (headers): Add bits/byteswap-16.h.
29079 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29081         [BZ #13895]
29082         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29083         extra indirection.
29084         * nss/Makefile (tests-static, tests): Add tst-nss-static.
29085         * nss/tst-nss-static.c: New.
29087 2012-04-06  Robert Millan  <rmh@gnu.org>
29089         [BZ #6486]
29090         * manual/llio.texi (File Position Primitive): lseek
29091         refers to WHENCE when it really means OFFSET.
29093 2012-04-06  Andreas Jaeger  <aj@suse.de>
29095         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29096         strncmp declarations.
29098         * abilist/libc.abilist: Add __poll and __ppoll.
29100 2012-04-05  David S. Miller  <davem@davemloft.net>
29102         * scripts/check-local-headers.sh: Accept a host triplet in the
29103         path matched by the exclude regexp.
29105         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29106         definition.
29107         * sysdeps/powerpc/powerpc32/dl-machine.h
29108         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29109         * sysdeps/s390/s390-32/dl-machine.h
29110         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29111         * sysdeps/sparc/sparc32/dl-machine.h
29112         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29113         * sysdeps/sparc/sparc64/dl-machine.h
29114         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29116         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29117         lazy binding.
29118         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29119         undefined symbol errors.
29121         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29122         DT_NEEDED entries.
29124 2012-04-05  Michael Matz  <matz@suse.de>
29126         [BZ #13592]
29127         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29129 2012-04-05  Andreas Jaeger  <aj@suse.de>
29131         [BZ #13908]
29132         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29133         comment.
29135 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29137         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29138         which ROUND is no valid rounding mode.
29140 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29142         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29143         read again.
29144         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29146 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29148         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29149         an exception using FPU order intentionally.
29151 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29153         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29154         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29155         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29156         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29158 2012-04-05  Simon Josefsson  <simon@josefsson.org>
29160         [BZ #12340]
29161         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29162         EINVAL when BUFLEN is too smal.
29164 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29166         [BZ #13553]
29167         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29168         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29170 2012-04-03  Andreas Jaeger  <aj@suse.de>
29172         [BZ #13938]
29173         * manual/setjmp.texi (System V contexts): Fix sentence.
29175         [BZ #13926]
29176         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29177         New macro for this case.
29178         [!__GNUC__] (__bswap_64): New inline function for this case.
29179         * sysdeps/x86_64/bits/byteswap.h: Likewise.
29180         * bits/byteswap.h: Likewise.
29181         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29182         ull, guard with __GLIBC_HAVE_LONG_LONG.
29184         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29185         __GLIBC_HAVE_LONG_LONG.
29187         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29188         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29190 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29192         [BZ #13691]
29193         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29194         inptr and inend, rather than using last_ch.
29196 2012-04-02  David S. Miller  <davem@davemloft.net>
29198         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29199         * stdio-common/printf-parse.h (read_int): Change return type to
29200         'int', return -1 on INT_MAX overflow.
29201         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29202         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
29203         overflows INT_MAX.  Check for overflow of in-format-string precision
29204         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
29205         SIZE_MAX not INT_MAX for integer overflow test.
29206         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29207         skip the construct in the format string but do not record anything.
29208         * stdio-common/bug22.c: Adjust to test both width/prevision
29209         INT_MAX overflow as well as total length INT_MAX overflow.  Check
29210         explicitly for proper errno values.
29212 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29214         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29215         CHAR_MAX.
29216         * string/test-strcmp.c [! WIDE]: Likewise.
29217         * time/tst-mktime2.c: Likewise for INT_MAX.
29218         * string/test-string.h: #include <sys/param.h> for MIN.
29220         * csu/init-first.c (__libc_init_first): Call __ctype_init.
29221         * sysdeps/i386/init-first.c (init): Likewise.
29222         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29223         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29224         * sysdeps/sh/init-first.c (init): Likewise.
29226 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
29228         * po/ru.po: Update from translation team.
29229         * po/vi.po: Likewise.
29231 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29233         * resolv/nss_dns/dns-host.c: Merge copyright years.
29235 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29237         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29238         Optimize memcpy with prefetch if
29239         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
29240         src, dst pointers have unequal 16 byte alignments.
29242 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29244         [BZ #13928]
29245         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29246         from a CNAME entry and return the minimum ttl for the query.
29247         (gaih_getanswer_slice): Likewise.
29249 2012-03-30  Jeff Law  <law@redhat.com>
29251         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29252         due to long keys.
29253         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29254         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29256         * resolv/nss_dns/dns-host.c: Update copyright year.
29258 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
29260         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29261         requests to save a system call.  Fix check that all bytes are sent.
29263         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29264         comments for sendmmsg.
29266 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29268         [BZ #13691]
29269         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29270         with only 1 character between 0x0041 and 0x01b0.
29271         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29272         * wcsmbs/tst-mbsnrtowcs.c: New file.
29274 2012-03-29  David S. Miller  <davem@davemloft.net>
29276         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29277         small copies by hand.
29279 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29281         [BZ #13761]
29282         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29283         _nss_compat_initgroups_dyn): Fall back to malloc/free
29284         for large group memberships.
29286 2012-03-28  David S. Miller  <davem@davemloft.net>
29288         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29289         that branches into memcpy.
29290         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29291         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29292         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29293         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29294         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29295         bits.
29296         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29297         implementation too.
29298         * sysdeps/sparc/mempcpy.S: New file.
29300         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29301         the IFUNC routine in the libc case.
29302         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29304         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29305         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29306         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29307         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29308         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29309         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29310         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29311         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29313         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29314         loop to 256 bytes instead of 64 bytes and fix test signedness.
29316         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29317         * sysdeps/sparc/sparc32/Makefile: rather than here...
29318         * sysdeps/sparc/sparc64/Makefile: and here.
29320 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
29322         * malloc/mallocbug.c: Avoid warnings about unused variables.
29324 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29326         [BZ #13760]
29327         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29328         in the right place. Discard and retry query if response is
29329         larger than input buffer size.
29331 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
29333         [BZ #369]
29334         [BZ #2678]
29335         [BZ #3866]
29336         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29337         x for large integer exponent.
29338         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29339         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
29340         sign of result as needed afterwards.
29341         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29342         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29343         result for underflowing pow the same as for overflow.
29344         (__kernel_standard_l): Handle powl overflow and underflow here
29345         rather than calling __kernel_standard.
29346         * math/libm-test.inc (pow_test): Add more tests.
29348         [BZ #3868]
29349         [BZ #13879]
29350         [BZ #13910]
29351         [BZ #13911]
29352         [BZ #13912]
29353         [BZ #13913]
29354         [BZ #13915]
29355         [BZ #13916]
29356         [BZ #13917]
29357         [BZ #13918]
29358         [BZ #13919]
29359         [BZ #13920]
29360         [BZ #13921]
29361         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29362         * sysdeps/ieee754/k_standard.c: Include <float.h>.
29363         (__kernel_standard_l): New function.
29364         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29365         __kernel_standard.
29366         * math/w_acosl.c (__acosl): Likewise.
29367         * math/w_asinl.c (__asinl): Likewise.
29368         * math/w_atan2l.c (__atan2l): Likewise.
29369         * math/w_atanhl.c (__atanhl): Likewise.
29370         * math/w_coshl.c (__coshl): Likewise.
29371         * math/w_exp10l.c (__exp10l): Likewise.
29372         * math/w_exp2l.c (__exp2l): Likewise.
29373         * math/w_fmodl.c (__fmodl): Likewise.
29374         * math/w_hypotl.c (__hypotl): Likewise.
29375         * math/w_j0l.c (__j0l, __y0l): Likewise.
29376         * math/w_j1l.c (__j1l, __y1l): Likewise.
29377         * math/w_jnl.c (__jnl, __ynl): Likewise.
29378         * math/w_lgammal.c (__lgammal): Likewise.
29379         * math/w_log10l.c (__log10l): Likewise.
29380         * math/w_log2l.c (__log2l): Likewise.
29381         * math/w_logl.c (__logl): Likewise.
29382         * math/w_powl.c (__powl): Likewise.
29383         * math/w_remainderl.c (__remainderl): Likewise.
29384         * math/w_scalbl.c (sysv_scalbl): Likewise.
29385         * math/w_sinhl.c (__sinhl): Likewise.
29386         * math/w_sqrtl.c (__sqrtl): Likewise.
29387         * math/w_tgammal.c (__tgammal): Likewise.
29388         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29389         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29390         * math/libm-test.inc (acos_test): Add more tests.
29391         (acosh_test): Likewise.
29392         (asin_test): Likewise.
29393         (atanh_test): Likewise.
29394         (exp_test): Likewise.
29395         (exp10_test): Likewise.
29396         (exp2_test): Likewise.
29397         (expm1_test): Likewise.
29398         (lgamma_test): Likewise.
29399         (log_test): Likewise.
29400         (log10_test): Likewise.
29401         (log1p_test): Likewise.
29402         (log2_test): Likewise.
29403         (pow_test): Do not allow some spurious overflow exceptions.
29404         (sqrt_test): Add more tests.
29405         (tgamma_test): Likewise.
29406         (y0_test): Likewise.
29407         (y1_test): Likewise.
29408         (yn_test): Likewise.
29410 2012-03-27  Anton Blanchard  <anton@samba.org>
29412         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29413         MAP_HUGETLB.
29414         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29415         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29416         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29418 2012-03-27  David S. Miller  <davem@davemloft.net>
29420         * conform/Makefile: Run run-conformtest.sh using $(BASH).
29422         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29423         have-as-vis3 check.
29425 2012-03-27  Andreas Jaeger  <aj@suse.de>
29427         * sysdeps/x86_64/elf/configure.in: Moved to ...
29428         * sysdeps/x86_64/configure.in: ... here.
29429         * sysdeps/x86_64/elf/start.S: Moved to ...
29430         * sysdeps/x86_64/start.S: ... here.
29431         * sysdeps/x86_64/elf/configure: Delete.
29433         * sysdeps/x86_64/configure.in: Merge contents from
29434         sysdeps/i386/configure.in (without i686 check).
29436         * sysdeps/i386/elf/Versions: Merge into ...
29437         * sysdeps/i386/Versions: ... this.
29438         * sysdeps/i386/elf/Versions: Delete file.
29439         * sysdeps/i386/elf/start.S: Moved to ...
29440         * sysdeps/i386/start.S: ...here.
29441         * sysdeps/i386/elf/configure.in: Merge into...
29442         * sysdeps/i386/configure.in: ...here.
29443         * sysdeps/i386/elf/configure.in: Delete file.
29444         * sysdeps/i386/elf/configure: Delete file.
29446         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29447         * debug/backtracesyms.c: ... here.
29448         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29449         * debug/backtracesymsfd.c: ... here.
29450         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29451         * sysdeps/generic/ifunc-sel.h: ... here.
29453         * sysdeps/unix/i386/start.c: Delete file.
29454         * sysdeps/unix/sparc/start.c: Delete file.
29455         * sysdeps/unix/start.c: Delete file.
29457         * sysdeps/sh/elf/configure.in: Moved to ...
29458         * sysdeps/sh/configure.in: ... here.
29459         * sysdeps/sh/elf/start.S: Moved to ...
29460         * sysdeps/sh/start.S: ... here.
29461         * sysdeps/sh/elf/configure: Delete file.
29463         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29464         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29465         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29466         * sysdeps/powerpc/powerpc64/entry.h: ... here.
29467         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29468         * sysdeps/powerpc/powerpc64/start.S: here.
29469         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29470         * sysdeps/powerpc/powerpc64/Makefile: ... this.
29471         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29472         * sysdeps/powerpc/powerpc64/configure.in: ... this.
29473         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29475         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29476         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29477         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29478         * sysdeps/powerpc/powerpc32/start.S: ... here.
29479         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29480         * sysdeps/powerpc/powerpc32/configure.in: ... this.
29481         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29483         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29484         * sysdeps/powerpc/ifunc-sel.h: ... here.
29485         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29486         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29488         * sysdeps/sparc/elf/configure.in: Moved to ...
29489         * sysdeps/sparc/configure.in: ... here.
29490         * sysdeps/sparc/elf/configure: Delete file.
29491         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29492         * sysdeps/sparc/sparc32/start.S: ... here.
29493         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29494         * sysdeps/sparc/sparc64/start.S: ... here.
29495         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29496         * sysdeps/sparc/sparc32/Makefile: ... this.
29497         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29498         * sysdeps/sparc/sparc64/Makefile: ... this.
29500         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29501         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29502         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29503         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29504         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29505         * sysdeps/s390/s390-32/setjmp.S: ... here.
29506         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29507         * sysdeps/s390/s390-32/configure.in: ... here.
29508         * sysdeps/s390/s390-32/elf/configure: Delete file.
29509         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29510         * sysdeps/s390/s390-32/start.S: ... here.
29512         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29513         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29514         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29515         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29516         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29517         * sysdeps/s390/s390-64/setjmp.S: ... here.
29518         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29519         * sysdeps/s390/s390-64/configure.in: ... here
29520         * sysdeps/s390/s390-64/elf/configure: Delete file.
29521         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29522         * sysdeps/s390/s390-64/start.S: ... here.
29523         * sysdeps/s390/s390-64/elf/configure: Delete.
29525         * configure.in: Remove support for elf directories in sysdeps.
29527         * configure: Regenerated.
29528         * sysdeps/i386/configure: Regenerated.
29529         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29530         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29531         * sysdeps/s390/s390-32/configure: Regenerated.
29532         * sysdeps/s390/s390-64/configure: Regenerated.
29533         * sysdeps/sh/configure: Regenerated.
29534         * sysdeps/sparc/configure: Regenerated.
29535         * sysdeps/x86_64/configure: Regenerated.
29537 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
29539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29541         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29542         denormal result into account.
29544 2012-03-25  Roland McGrath  <roland@hack.frob.com>
29546         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29547         Reported by Allan McRae <allan@archlinux.org>.
29549 2012-03-23  Jeff Law  <law@redhat.com>
29551         * nss/getnssent.c (__nss_getent): Fix typo.
29553 2012-03-23  David S. Miller  <davem@davemloft.net>
29555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29557 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
29559         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29560         to pad to uint64_t for each field.
29561         (dl_tls_index): Replace unsigned long with uint64_t.
29563 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
29564         Paul Pluzhnikov  <ppluzhnikov@google.com>
29566         [BZ #6528]
29567         * grp/Makefile (otherlibs): Don't set it.
29568         * inet/Makefile (otherlibs): Likewise.
29569         * login/Makefile (otherlibs): Likewise.
29570         * nscd/Makefile (otherlibs): Likewise.
29571         * posix/Makefile (otherlibs): Likewise.
29572         * pwd/Makefile (otherlibs): Likewise.
29573         * rt/Makefile (otherlibs): Likewise.
29574         * sunrpc/Makefile (otherlibs): Likewise.
29575         * nss/Makefile (otherlibs): Likewise.
29576         Add libnss_files to routines and static-only-routines.
29577         ($(objpfx)getent): Remove rule.
29578         * resolv/Makefile: Add libnss_dns and libresolv to routines and
29579         static-only-routines.
29581 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
29583         [BZ #13892]
29584         * math/s_cexp.c: Include <float.h>.
29585         (__cexp): Handle exp result overflowing not necessarily
29586         overflowing both real and imaginary parts of result.
29587         * math/s_cexpf.c: Likewise.
29588         * math/s_cexpl.c: Likewise.
29589         * math/libm-test.inc (cexp_test): Add more tests.
29590         * sysdeps/i386/fpu/libm-test-ulps: Update.
29591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29593 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29595         * include/link.h (ELFW): New macro.
29596         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29597         Replace ELF64_R_TYPE with ELFW(R_TYPE).
29599 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29601         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29602         with uint64_t.
29604 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29606         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29607         declaration.
29608         (struct La_x32_retval): Likewise.
29610 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
29612         * sysdeps/x86_64/preconfigure.in: New file.
29613         * sysdeps/x86_64/preconfigure: New generated file.
29615 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
29617         [BZ #13824]
29618         * math/e_exp2l.c: Include <float.h>.
29619         (__ieee754_exp2l): Handle overflow and underflow cases
29620         separately.  Only pass fractional part of argument to
29621         __ieee754_expl.
29622         * math/libm-test.inc (exp2_test): Add more tests.
29624         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29625         negating x to take absolute value.
29626         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29627         Likewise.
29628         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29629         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29630         Likewise.
29631         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29632         computing low part if x was negated.
29633         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29635 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
29637         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29638         la_x32_gnu_pltexit.
29639         (pltexit): Cast int_retval to ptrdiff_t.
29640         * elf/tst-auditmod3b.c: Likewise.
29641         * elf/tst-auditmod4b.c: Likewise.
29642         * elf/tst-auditmod5b.c: Likewise.
29643         * elf/tst-auditmod6b.c: Likewise.
29644         * elf/tst-auditmod6c.c: Likewise.
29645         * elf/tst-auditmod7b.c: Likewise.
29647         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29648         and x32_gnu_pltexit.
29650         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29651         __ELF_NATIVE_CLASS.
29652         (La_x32_regs): New macro.
29653         (La_x32_retval): Likewise.
29654         (la_x32_gnu_pltenter): New function prototype.
29655         (la_x32_gnu_pltexit): Likewise.
29657 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
29659         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29660         exponent.
29662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29664         * configure.in (libc_cv_cc_nofma): Check for option to disable
29665         generation of FMA instructions.
29666         * configure: Regenerate.
29667         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29668         * sysdeps/ieee754/dbl-64/Makefile: New file.
29669         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29670         Remove brandred-fma4.
29671         (CFLAGS-brandred-fma4.c): Remove.
29672         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29673         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29674         define.
29675         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29676         define.
29678 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
29680         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29681         LLONG_MAX != LONG_MAX.
29682         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29683         (_fitoa_word): Likewise.
29684         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29685         LLONG_MAX != LONG_MAX.
29686         * stdio-common/_itowa.h: Include <_itoa.h>.
29687         (_itowa_word): Use _ITOA_WORD_TYPE on value.
29688         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
29689         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
29690         only if not defined.
29691         (_ITOA_WORD_TYPE): Likewise.
29692         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29693         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29695 2012-03-21  David S. Miller  <davem@davemloft.net>
29697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29699 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
29701         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29702         of x86_64 when setting libc_cv_slibdir, libdir and
29703         libc_cv_localedir.
29704         * sysdeps/unix/sysv/linux/configure: Regenerated.
29706 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
29708         * manual/lang.texi (Old Varargs): Remove section.
29709         (How Variadic): Update menu.
29710         (va_start): Do not mention varargs.h.
29712 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29713             Joseph Myers  <joseph@codesourcery.com>
29715         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29716         link test.
29717         * configure: Regenerated.
29719 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29721         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29722         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29723         conformtest.pl
29725 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
29727         * NOTES: Remove.
29728         * Makefile (files-for-dist): Remove NOTES.
29729         (NOTES): Remove rule.
29730         * README: Don't refer to NOTES.
29731         * manual/creature.texi: Don't include macros.texi.
29732         * manual/intro.texi (creature.texi): Remove comment referring to
29733         NOTES.
29735         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29736         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29737         * configure: Regenerated.
29738         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29739         LIBC_TRY_CC_OPTION.
29740         (libc_cv_as_i686): Likewise.
29741         (libc_cv_cc_avx): Likewise.
29742         (libc_cv_cc_sse2avx): Likewise.
29743         (libc_cv_cc_fma4): Likewise.
29744         (libc_cv_cc_novzeroupper): Likewise.
29745         * sysdeps/i386/configure: Regenerated.
29747         [BZ #13883]
29748         * sysdeps/i386/fpu/s_cexp.S: Remove.
29749         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29750         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29751         * math/libm-test.inc (cexp_test): Add more tests.
29752         * sysdeps/i386/fpu/libm-test-ulps: Update.
29753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29755 2012-03-21  Allan McRae  <allan@archlinux.org>
29757         * timezone/Makefile: Do not install iso3166.tab and zone.tab
29759 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
29761         [BZ #13871]
29762         * math/w_exp2.c: Do not include <float.h>.
29763         (o_threshold, u_threshold): Remove.
29764         (__exp2): Calculate result before checking finiteness and calling
29765         __kernel_standard.
29766         * math/w_exp2f.c: Likewise.
29767         * math/w_exp2l.c: Likewise.
29768         * math/libm-test.inc (exp2_test): Require overflow exception for
29769         1e6 input.
29771         [BZ #3866]
29772         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29773         range of signed 64-bit integers before using fistpll.  Remove
29774         checks for whether integers fit in mantissa bits.
29775         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29776         the range of signed 32-bit integers before using fistpl.  Remove
29777         checks for whether integers fit in mantissa bits.
29778         * sysdeps/i386/fpu/e_powl.S (p64): New object.
29779         (__ieee754_powl): Test for y outside the range of signed 64-bit
29780         integers before using fistpll.  Reduce 64-bit values to 63-bit
29781         ones as needed.
29782         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29783         divide-by-zero is raised for zero to large negative powers.
29784         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29785         (__ieee754_powl): Test for y outside the range of signed 64-bit
29786         integers before using fistpll.  Reduce 64-bit values to 63-bit
29787         ones as needed.
29788         * math/libm-test.inc (pow_test): Add more tests.
29790 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29792         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29793         <stdio-common/_itoa.h>.
29794         * debug/segfault.c: Likewise.
29795         * elf/dl-cache.c: Likewise.
29796         * elf/dl-minimal.c: Likewise.
29797         * elf/dl-misc.c: Likewise.
29798         * elf/dl-sysdep.c: Likewise.
29799         * elf/dl-version.c: Likewise.
29800         * elf/rtld.c: Likewise.
29801         * hurd/hurdsock.c: Likewise.
29802         * hurd/lookup-retry.c: Likewise.
29803         * malloc/malloc.c: Likewise.
29804         * malloc/mtrace.c: Likewise.
29805         * nscd/nscd_getgr_r.c: Likewise.
29806         * nscd/nscd_getpw_r.c: Likewise.
29807         * nscd/nscd_getserv_r.c: Likewise.
29808         * posix/getopt_init.c: Likewise.
29809         * posix/wordexp.c: Likewise.
29810         * stdio-common/_itoa.c: Likewise.
29811         * stdio-common/printf_fphex.c: Likewise.
29812         * stdio-common/vfprintf.c: Likewise.
29813         * string/_strerror.c: Likewise.
29814         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29815         * sysdeps/i386/i686/hp-timing.h: Likewise.
29816         * sysdeps/mach/_strerror.c: Likewise.
29817         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29818         * sysdeps/mach/hurd/sethostid.c: Likewise.
29819         * sysdeps/mach/hurd/xmknodat.c: Likewise.
29820         * sysdeps/mach/xpg-strerror.c: Likewise.
29821         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29822         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29823         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29824         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29825         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29826         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29827         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29828         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29829         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29830         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29831         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29832         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29833         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29834         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29835         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29836         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29837         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29838         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29839         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29840         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29841         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29843         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29845         * stdio-common/_itoa.h: Moved to ...
29846         * sysdeps/generic/_itoa.h: Here.
29848         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29850         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29851         instead of "_itoa.h" and "_itowa.h".
29852         * stdio-common/vfprintf.: Likewise.
29854 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29856         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29857         <bits/wordsize.h>.
29858         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29859         (__signbit): Likwise.
29860         (llrintf): Likwise.
29861         (llrint): Likwise.
29863 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29865         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29866         __WORDSIZE != 64.
29868 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
29870         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29871         OVERFLOW_EXCEPTION_OK.
29872         * math/libm-test.inc ("Philosophy"): Update comment about
29873         exception testing.
29874         (OVERFLOW_EXCEPTION): Define.
29875         (OVERFLOW_EXCEPTION_OK): Likewise.
29876         (INVALID_EXCEPTION_OK): Renumber.
29877         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29878         (IGNORE_ZERO_INF_SIGN): Likewise.
29879         (test_exceptions): Handle FE_OVERFLOW.
29880         (exp10_test): Expect overflow exceptions.
29881         (exp2_test): Likewise.
29882         (expm1_test): Likewise.
29883         (nextafter_test): Likewise.
29884         (pow_test): Likewise.
29885         (scalbn_test): Likewise.
29886         (scalbln_test): Likewise.
29888 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29890         * sysdeps/x86_64/bits/atomic.h
29891         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29892         64bit integer.
29893         (atomic_exchange_acq): Likewise.
29894         (__arch_exchange_and_add_body): Likewise.
29895         (__arch_add_body): Likewise.
29896         (atomic_add_negative): Likewise.
29897         (atomic_add_zero): Likewise.
29899 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29901         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29902         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29904 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29906         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29907         Check __x86_64__ instead of __WORDSIZE.
29909 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29911         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29913 2012-03-19  David S. Miller  <davem@davemloft.net>
29915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29917         * sysdeps/sparc/fpu/fenv_private.h: New file.
29918         * sysdeps/sparc/fpu/math_private.h: Use it.
29919         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29920         Remove.
29921         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29922         (libc_feholdexcept_setroundl): Remove.
29923         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29924         Remove.
29925         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29926         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29928 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29930         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29931         int64_t instead of long int.
29932         (INSERT_WORDS64): Likwise.
29934 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29936         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29937         _Unwind_GetCFA return to _Unwind_Ptr first.
29939 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
29941         [BZ #13629]
29942         * math/s_clog.c: Include <float.h>.
29943         (__clog): Scale large or subnormal inputs.
29944         * math/s_clogf.c: Likewise.
29945         * math/s_clogl.c: Likewise.
29946         * math/s_clog10.c: Include <float.h>.
29947         (M_LOG10_2): Define.
29948         (__clog10): Scale large or subnormal inputs.
29949         * math/s_clog10f.c: Likewise.
29950         * math/s_clog10l.c: Likewise.
29951         * math/libm-test.inc (clog_test): Add more tests.
29952         (clog10_test): Likewise.
29953         * sysdeps/i386/fpu/libm-test-ulps: Update.
29954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29956         [BZ #11451]
29957         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29958         x and y.
29959         * math/libm-test.inc (atan2_test): Add another test.
29961         * Makerules (common-objdir-compile): Remove.
29962         * sysdeps/unix/Makefile (config-generated): Do not add
29963         $(unix-generated) to variable.
29964         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29965         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29966         Remove rule.
29967         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29968         Likewise.
29969         [generic bits/local_lim.h] (before-compile): Do not append to
29970         variable.
29971         [generic bits/local_lim.h] (common-generated): Likewise.
29972         [generic sys/param.h] (before-compile): Do not append to variable.
29973         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29974         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29975         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29976         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29977         include.
29978         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29979         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29980         [generic sys/param.h] ($(addprefix
29981         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29982         [generic sys/param.h] (common-generated): Do not append to
29983         variable.
29984         [generic sys/param.h] (sysdep_headers): Likewise.
29985         [generic bits/errno.h] (before-compile): Do not append to
29986         variable.
29987         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29988         rule.
29989         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29990         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29991         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29992         [generic bits/errno.h] (common-generated): Do not append to
29993         variable.
29994         [generic bits/ioctls.h] (before-compile): Do not append to
29995         variable.
29996         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29997         rule.
29998         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29999         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30000         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30001         rule.
30002         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30003         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30004         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30005         [generic bits/ioctls.h] (common-generated): Do not append to
30006         variable.
30007         [generic sys/syscall.h] (syscall.h): Remove variable.
30008         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30009         rule.
30010         [generic sys/syscall.h] (before-compile): Do not append to
30011         variable.
30012         [generic sys/syscall.h] (common-generated): Likewise.
30013         * sysdeps/unix/errnos-tmpl.c: Remove file.
30014         * sysdeps/unix/errnos.awk: Likewise.
30015         * sysdeps/unix/ioctls-tmpl.c: Likewise.
30016         * sysdeps/unix/ioctls.awk: Likewise.
30017         * sysdeps/unix/mk-local_lim.c: Likewise.
30018         * sysdeps/unix/snarf-ioctls: Likewise.
30020 2012-03-19  Richard Henderson  <rth@twiddle.net>
30022         * sysdeps/i386/fpu/fenv_private.h: New file.
30023         * sysdeps/i386/fpu/math_private.h: Use it.
30024         (math_opt_barrier, math_force_eval): Remove.
30025         (libc_feholdexcept_setround_53bit): Remove.
30026         (libc_feupdateenv_53bit): Remove.
30027         * sysdeps/x86_64/fpu/math_private.h: Likewise.
30028         (math_opt_barrier, math_force_eval): Remove.
30029         (libc_feholdexcept): Remove.
30030         (libc_feholdexcept_setround): Remove.
30031         (libc_fetestexcept, libc_fesetenv): Remove.
30032         (libc_feupdateenv_test): Remove.
30033         (libc_feupdateenv, libc_feholdsetround): Remove.
30034         (libc_feresetround): Remove.
30036         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30037         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30039         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30040         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30041         (libc_feupdateenv_testl): New.
30042         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30043         (libc_feupdateenv_testf): New.
30044         (libc_feupdateenv): Use libc_feupdateenv_test.
30045         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30046         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30048         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30049         (libc_feholdsetroundf, libc_feholdsetroundl): New.
30050         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30051         (libc_feresetround_noex): New.
30052         (libc_feresetround_noexf): New.
30053         (libc_feresetround_noexl): New.
30054         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30055         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30056         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30057         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30058         SET_RESTORE_ROUND.
30059         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30060         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30061         (__cos): Likewise.
30062         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30063         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30064         SET_RESTORE_ROUND_NOEX.
30065         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30066         SET_RESTORE_ROUND_NOEXF.
30067         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30068         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30069         (libc_feholdsetroundf): New.
30070         (libc_feresetround, libc_feresetroundf): New.
30072         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30073         (libc_feholdexcept_setround_53bit): Convert from macro to function.
30074         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
30076         * sysdeps/generic/math_private.h: Include <fenv.h>.
30077         (default_libc_feholdexcept): New.
30078         (default_libc_feholdexcept_setround): New.
30079         (default_libc_fesetenv, default_libc_feupdateenv): New.
30080         (libc_feholdexcept): Only define if undefined.
30081         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30082         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30083         (libc_feholdexcept_setroundl): Likewise.
30084         (libc_feholdexcept_setround_53bit): Likewise.
30085         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30086         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30087         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30088         (libc_feupdateenv_53bit): Likewise.
30089         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30090         (libc_feholdexcept): Convert from macro to inline function.
30091         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30092         (libc_fesetenv, libc_feupdateenv): Likewise.
30094         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30095         not previously defined.
30096         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30097         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30098         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30099         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30100         * sysdeps/ieee754/flt-32/math_private.h: New file.
30101         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30102         math_private.h below SET_FLOAT_WORD.
30103         (__isnan, __isinf_ns, __finite): Remove.
30104         (__isnanf, __isinf_nsf, __finitef): Remove.
30106 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
30108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30110 2012-03-17  David S. Miller  <davem@davemloft.net>
30112         [BZ #6471]
30113         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30114         for 2.16.
30116 2012-03-16  David S. Miller  <davem@davemloft.net>
30118         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30119         warnings.
30121         [BZ #6471]
30122         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30123         properly.
30124         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30125         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30126         sysdep_routines when subdir is sysvipc.
30127         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30128         __getshmlba helper.
30130         * sysdeps/sparc/fpu/libm-test/ulps: Update.
30132 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30134         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30135         [__LP64__].
30137 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30139         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30140         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30141         (__lround): Renamed to ...
30142         (__llround): This.  Replace long int with long long int.
30143         Define lround functions as aliases of llround functions.
30144         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30146 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30148         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30149         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
30150         adresses to uintptr_t.  Replace "long int" and "unsigned long
30151         int" with "greg_t" on va_arg.
30153 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30155         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30156         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30158         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30159         Move e_machine check before EI_CLASS check.  Handle x32
30160         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30161         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30162         SKIP_EM_IA_64 and include
30163         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30165         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30166         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30167         (add_system_dir): New macro.
30169         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30170         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30172 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
30174         [BZ #2551]
30175         [BZ #2552]
30176         [BZ #2553]
30177         [BZ #2554]
30178         [BZ #2562]
30179         [BZ #2563]
30180         [BZ #2565]
30181         [BZ #2566]
30182         [BZ #2576]
30183         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30184         (y0): Likewise.
30185         * math/w_j0f.c (j0f): Likewise.
30186         (y0f): Likewise.
30187         * math/w_j0l.c (__j0l): Likewise.
30188         (__y0l): Likewise.
30189         * math/w_j1.c (j1): Likewise.
30190         (y1): Likewise.
30191         * math/w_j1f.c (j1f): Likewise.
30192         (y1f): Likewise.
30193         * math/w_j1l.c (__j1l): Likewise.
30194         (__y1l): Likewise.
30195         * math/w_jn.c (jn): Likewise.
30196         (yn): Likewise.
30197         * math/w_jnf.c (jnf): Likewise.
30198         (ynf): Likewise.
30199         * math/w_jnl.c (__jnl): Likewise.
30200         (__ynl): Likewise.
30201         * math/libm-test.inc (j0_test): Add more tests.
30202         (j1_test): Likewise.
30203         (jn_test): Likewise.  Add trailing semicolon to existing test.
30204         (y0_test): Likewise.
30205         (y1_test): Likewise.
30206         * sysdeps/i386/fpu/libm-test-ulps: Update.
30207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30209         [BZ #13851]
30210         [BZ #13854]
30211         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30212         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30213         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30214         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30215         (__tanl): Set errno for infinite argument.
30216         * sysdeps/i386/fpu/mptan.c: Remove.
30217         * sysdeps/i386/fpu/s_tan.S: Likewise.
30218         * sysdeps/i386/fpu/s_tanl.S: Likewise.
30219         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30220         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30221         * math/libm-test.inc (tan_test): Add more tests and enable more
30222         tests for double and long double.
30223         * sysdeps/i386/fpu/libm-test-ulps: Update.
30224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30226 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
30228         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30229         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30231 2012-03-16  Roland McGrath  <roland@hack.frob.com>
30233         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30234         * configure.in: Use it for both main tree and add-ons.
30235         * configure: Regenerated.
30237 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30239         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30241 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
30243         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30244         in comment.
30246         [BZ #13851]
30247         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30248         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30249         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30250         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30251         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30252         infinite argument.
30253         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30254         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30255         != 0 for prec == 2.
30256         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30257         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30258         * sysdeps/i386/fpu/s_cosl.S: Likewise.
30259         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30260         * sysdeps/i386/fpu/s_sinl.S: Likewise.
30261         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30262         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30263         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30264         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30265         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30266         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30267         * math/libm-test.inc (cos_test): Add more tests and enable more
30268         tests for long double.
30269         (sin_test): Likewise.
30270         (sincos_test): Likewise.
30271         * sysdeps/i386/fpu/libm-test-ulps: Update.
30272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30274 2012-03-16  David S. Miller  <davem@davemloft.net>
30276         * sysdeps/sparc/fpu/math_private.h: New file.
30278 2012-03-15  David S. Miller  <davem@davemloft.net>
30280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30281         file.
30282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30284         file.
30285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30290         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30291         sysdep routines.
30292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30294         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30295         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30297         * sysdeps/sparc/sparc-ifunc.h: New file.
30298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30299         sparc-ifunc.h
30300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30302         Likewise.
30303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30304         Likewise.
30305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30309         Likewise.
30310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30315         Likewise.
30316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30317         Likewise.
30318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30324         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30325         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30335         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30336         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30337         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30340         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30341         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30343 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
30345         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30346         scaling.
30347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30349 2012-03-15  Andreas Jaeger  <aj@suse.de>
30351         [BZ #13852]
30352         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30353         ieee754/flt-32 implementation for sin, cos and sincos.
30354         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30355         * sysdeps/i386/fpu/s_cosf.S: Likewise.
30356         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30357         * sysdeps/i386/fpu/s_sinf.S: Likewise.
30358         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30359         ieee754/flt-32 implementation for tan.
30361         * math/libm-test.inc (cos_test): Enable some large input tests for
30362         float as well
30363         (sin_test): Likewise.
30364         (sincos_test): Likewise.
30365         (tan_test): Add tests for large input.
30367         * sysdeps/i386/fpu/libm-test-ulps: Update.
30369 2012-03-15  Andreas Jaeger  <aj@suse.de>
30371         [BZ #13658]
30372         * math/libm-test.inc (cos_test): Add more test cases.
30373         (sin_test): Likewise.
30374         (sincos_test): Likewise.
30376 2012-03-15  Andreas Jaeger  <aj@suse.de>
30378         [BZ #13837]
30379         * math/libm-test.inc (cos_test): Add a test case for large input
30380         value.
30381         (sin_test): Likewise.
30382         (sincos_test): Likewise.
30384 2012-03-15  Andreas Jaeger  <aj@suse.de>,
30385         Joseph Myers  <joseph@codesourcery.com>
30387         [BZ #13658]
30388         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30389         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30390         * sysdeps/i386/fpu/branred.c: Likewise.
30391         * sysdeps/i386/fpu/dosincos.c: Likewise.
30392         * sysdeps/i386/fpu/mpa.c: Likewise.
30393         * sysdeps/i386/fpu/s_cos.S: Likewise.
30394         * sysdeps/i386/fpu/s_sin.S: Likewise.
30395         * sysdeps/i386/fpu/s_sincos.S: Likewise.
30396         * sysdeps/i386/fpu/sincos32.c: Likewise.
30398         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30399         Define.
30400         (libc_feupdateenv_53bit): Define.
30401         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30402         Define.
30403         (libc_feupdateenv_53bit): Define.
30405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30406         53 bit (without extend i386 double precision).
30408         * math/libm-test.inc (sincos_test): Add tests for large input.
30409         (sin): Likewise.
30410         (cos): Likewise.
30412         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30414 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
30416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30418 2012-03-15  David S. Miller  <davem@davemloft.net>
30420         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30421         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30422         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30423         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30436         file.
30437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30439         file.
30440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30442         file.
30443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30445         file.
30446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30447         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30448         fmin/fmax sysdep routines.
30449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30451 2012-03-14  David S. Miller  <davem@davemloft.net>
30453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30457         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30458         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30459         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30460         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30473         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30474         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30475         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30476         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30477         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30478         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30479         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30480         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30481         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30482         routines.
30483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30484         file.
30485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30487         file.
30488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30490         file.
30491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30493         file.
30494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30496         file.
30497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30499         file.
30500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30501         file.
30502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30503         file.
30504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30505         file.
30506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30507         New file.
30508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30509         file.
30510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30511         file.
30512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30514         file.
30515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30517         file.
30518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30520         file.
30521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30523         VIS3 routines.
30525         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30526         New file.
30528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30530         * sysdeps/sparc/configure.in: New file.
30531         * sysdeps/sparc/configure: Generate.
30532         * configure.in (libc_cv_sparc_as_vis3): Substitute.
30533         * configure: Regenerate.
30534         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30535         * config.make.in (have-as-vis3): New.
30536         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30537         available use -Av9d instead of -Av9a.
30538         * sysdeps/sparc/sparc64/Makefile: Likewise.
30539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30541         New file.
30542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30543         file.
30544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30545         New file.
30546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30547         file.
30548         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30550         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30551         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30552         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30554         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30555         fzeros/fnegs to load 0x80000000 into a float register instead of
30556         using the stack.
30557         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30559 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
30561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30562         bits/syscall.h.
30563         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30564         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30565         ($(inst_includedir)/bits/syscall.h): Remove rule.
30566         ($(objpfx)bits/syscall.d): Include instead of
30567         $(objpfx)syscall-list.d.
30568         (generated): Change syscall-list.h and syscall-list.d to
30569         bits/syscall.h and bits/syscall.d.
30571 2012-03-14  Roland McGrath  <roland@hack.frob.com>
30573         [BZ #13846]
30574         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30576 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
30578         [BZ #13841]
30579         * math/s_csqrt.c: Include <float.h>.
30580         (__csqrt): Scale large or subnormal inputs.
30581         * math/s_csqrtf.c: Likewise.
30582         * math/s_csqrtl.c: Likewise.
30583         * math/libm-test.inc (csqrt_test): Add more tests.
30584         * sysdeps/i386/fpu/libm-test-ulps: Update.
30585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30587         [BZ #13840]
30588         * math/libm-test.inc (hypot_test): Add more tests.
30590 2012-03-13  David S. Miller  <davem@davemloft.net>
30592         [BZ #13840]
30593         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30594         double-precision for the calculation instead of scaling.
30596 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
30598         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30599         manipulate bits before adding and subtracting TWO52[sx].
30600         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30601         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30602         Likewise.
30603         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30605 2012-03-13  David S. Miller  <davem@davemloft.net>
30607         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30608         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30609         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30610         rtld-global-offsets.h
30611         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30613         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30614         large parameters.
30616         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30618         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30619         'err' in the ifdef scope in which it is actually used.
30621         * nss/nss_db/db-init.c: Include string.h
30623 2012-03-12  David S. Miller  <davem@davemloft.net>
30625         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30626         masking out of the most significant byte of random value used.
30627         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30628         Fix coding style in previous change.
30630         * sysdeps/unix/sysv/linux/kernel-features.h
30631         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30632         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30633         expression.
30634         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30635         later.
30637 2012-03-11  David S. Miller  <davem@davemloft.net>
30639         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30640         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30641         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30642         for 'resultvar' otherwise things get truncated on 64-bit.
30644         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30645         Fix masking out of the most significant byte of random value used.
30647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30649 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
30651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30653 2012-03-09  David S. Miller  <davem@davemloft.net>
30655         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30656         variables with appropriate CPP guards.
30657         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30658         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
30659         on resulting framesize and the management of the outregs buffer for pltexit.
30660         Preserve floating point return values across _dl_call_pltexit call.
30661         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30662         framesize and the management of the outregs buffer for pltexit.
30663         Preserve floating point return values across _dl_call_pltexit
30664         call.
30665         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30666         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30667         (print_exit): Fix format string for return register value.
30669 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
30671         * sunrpc/Makefile (others): Add rpcgen.
30672         ($(objpfx)rpcgen): Remove special build rule and dependency on
30673         libc.
30674         * sunrpc/rpcgen.c: New file.
30676 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
30678         [BZ #13673]
30679         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30680         * stdio-common/bug-vfprintf-nargs.c: Likewise.
30681         * sysdeps/i386/crti.S: Likewise.
30682         * sysdeps/i386/crtn.S: Likewise.
30683         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30684         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30685         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30686         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30687         * sysdeps/sh/crti.S: Likewise.
30688         * sysdeps/sh/crtn.S: Likewise.
30689         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30691         [BZ #13673]
30692         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30693         with URL.
30694         * locale/programs/locfile-kw.gperf: Likewise.
30695         * locale/programs/charmap-kw.h: Regenerated.
30696         * locale/programs/locfile-kw.h: Likewise.
30698         [BZ #13673]
30699         * intl/plural.y: Replace FSF snail mail address with URL.
30700         * intl/plural.c: Regenerated.
30702 2012-03-09  Richard Henderson  <rth@twiddle.net>
30704         * include/math_private.h: Remove file.
30705         * math/math_private.h: Move file ...
30706         * sysdeps/generic/math_private.h: ... here.
30708         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30709         * sysdeps/powerpc/fpu/math_private.h: Likewise.
30710         * sysdeps/x86_64/fpu/math_private.h: Likewise.
30712         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30713         and <math_private.h>.
30714         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30715         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30716         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30717         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30718         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30719         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30720         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30721         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30722         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30723         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30724         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30725         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30726         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30727         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30728         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30729         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30730         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30731         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30732         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30733         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30734         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30735         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30736         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30737         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30738         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30739         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30740         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30741         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30743         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30744         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30745         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30746         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30747         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30748         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30749         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30750         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30751         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30752         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30753         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30754         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30755         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30756         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30757         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30758         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30759         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30760         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30761         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30762         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30763         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30764         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30765         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30766         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30767         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30768         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30769         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30770         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30771         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30772         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30773         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30774         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30775         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30776         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30777         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30778         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30779         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30780         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30781         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30782         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30783         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30784         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30785         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30786         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30787         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30788         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30789         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30790         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30791         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30792         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30793         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30794         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30795         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30796         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30797         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30798         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30799         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30800         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30801         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30802         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30803         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30804         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30805         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30806         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30807         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30808         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30809         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30810         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30811         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30812         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30813         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30814         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30815         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30816         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30817         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30818         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30819         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30820         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30821         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30822         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30823         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30824         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30825         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30826         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30827         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30828         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30829         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30830         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30831         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30832         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30833         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30834         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30835         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30836         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30837         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30838         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30839         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30840         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30841         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30842         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30843         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30844         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30845         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30846         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30847         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30848         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30849         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30850         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30851         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30852         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30853         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30854         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30855         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30856         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30857         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30858         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30859         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30860         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30861         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30862         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30863         * sysdeps/ieee754/k_standard.c: Likewise.
30864         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30865         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30866         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30867         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30868         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30869         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30870         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30871         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30872         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30873         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30874         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30875         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30876         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30877         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30878         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30879         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30880         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30881         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30882         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30883         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30884         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30885         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30886         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30887         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30888         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30889         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30890         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30891         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30892         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30893         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30894         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30895         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30896         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30897         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30898         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30899         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30900         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30901         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30902         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30903         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30904         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30905         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30906         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30907         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30908         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30909         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30910         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30911         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30912         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30913         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30914         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30915         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30916         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30917         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30918         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30919         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30920         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30921         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30922         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30923         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30924         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30925         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30926         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30927         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30928         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30929         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30930         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30931         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30932         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30933         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30934         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30936         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30937         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30938         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30939         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30940         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30941         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30942         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30943         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30944         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30945         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30946         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30947         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30948         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30949         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30950         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30951         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30952         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30954         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30955         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30956         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30957         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30958         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30959         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30960         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30961         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30962         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30963         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30965         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30966         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30967         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30968         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30969         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30970         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30971         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30972         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30973         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30974         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30975         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30976         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30977         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30978         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30979         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30980         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30981         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30982         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30983         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30984         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30985         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30986         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30987         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30988         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30989         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30990         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30991         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30992         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30993         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30994         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30995         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30996         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30997         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30998         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30999         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31000         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31001         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31002         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31003         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31004         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31005         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31006         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31007         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31008         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31009         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31010         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31011         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31012         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31013         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31014         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31015         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31016         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31017         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31018         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31019         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31020         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31021         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31022         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31023         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31024         * sysdeps/ieee754/s_lib_version.c: Likewise.
31025         * sysdeps/ieee754/s_matherr.c: Likewise.
31026         * sysdeps/ieee754/s_signgam.c: Likewise.
31027         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31028         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31029         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31030         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31031         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31032         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31033         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31034         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31035         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31036         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31037         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31038         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31039         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31040         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31041         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31042         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31043         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31044         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31045         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31046         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31047         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31049 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
31051         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31052         * sunrpc/rpc_main.c: Likewise.
31053         * sunrpc/rpc_svcout.c: Likewise.
31055 2012-03-09  David S. Miller  <davem@davemloft.net>
31057         * include/math_private.h: New file.
31059 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
31061         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31062         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31063         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31064         from <bits/socket_type.h>.
31065         (enum __socket_type): Don't define here.
31066         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31067         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31068         bits/socket_type.h.
31070         [BZ #13566]
31071         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31072         checking __USE_GNU.
31074         * Makerules ($(inst_includedir)/%.h): New rule.
31075         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31076         (install-others): Remove variable setting.
31077         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31079 2012-03-08  Richard Henderson  <rth@twiddle.net>
31081         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31082         from macro to inline function; merge with the
31083         !__LIBC_INTERNAL_MATH_INLINES version.
31084         (__ieee754_sqrtf): Likewise.
31086         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31087         to inline function.
31088         (__rintf, __floor, __floorf): Likewise.
31090         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31091         macro to inline function.
31092         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31094         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31095         not <math/math_private.h>.
31097 2012-03-08  David S. Miller  <davem@davemloft.net>
31099         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31100         copyright year.
31101         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31103 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
31105         * resolv/gai_misc.c (handle_requests): Fix struct timespec
31106         normalization.
31107         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31108         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31110 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
31112         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
31113         be defined individually, they must be defined as a block.  Define
31114         S for printing a string instead of hidint the different by using a
31115         macro for adding the 'l'.
31116         * stdio-common/tst-fphex-wide.c: Adjust.
31118 2012-03-07  Marek Polacek  <polacek@redhat.com>
31120         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31122 2012-03-08  Marek Polacek  <polacek@redhat.com>
31124         [BZ #13806]
31125         * stdio-common/Makefile (tests): Add tst-fphex-wide.
31126         * stdio-common/tst-fphex.c: Define a few macros to make the
31127         test reusable.  Use them.
31128         * stdio-common/tst-fphex-wide.c: New file.
31130 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
31132         [BZ #6911]
31133         * manual/macros.texi (gnusystems): New macro.
31134         (nongnusystems): Likewise.
31135         (gnulinuxhurdsystems): Likewise.
31136         (gnuhurdsystems): Likewise..
31137         (gnulinuxsystems): Likewise.
31138         * manual/charset.texi: Use new macros or @theglibc{} to refer to
31139         variants of the GNU system, not "GNU system".
31140         * manual/conf.texi: Likewise.
31141         * manual/errno.texi: Likewise.  Update example of errno macro
31142         expansion.
31143         * manual/filesys.texi: Likewise.
31144         (getumask): Document as specific to GNU/Hurd.
31145         * manual/install.texi: Likewise.  Reword some references to
31146         GNU/Linux.
31147         * manual/intro.texi: Likewise.
31148         * manual/io.texi: Likewise.
31149         (File Name Portability): Detail which constraints are inapplicable
31150         to all GNU systems and which are only inapplicable to GNU/Hurd.
31151         * manual/job.texi: Likewise.
31152         * manual/llio.texi: Likewise.
31153         (O_NOCTTY): Document as present on GNU/Linux.
31154         * manual/maint.texi: Likewise.
31155         * manual/memory.texi: Likewise.
31156         * manual/pattern.texi: Likewise.
31157         * manual/pipe.texi: Likewise.
31158         * manual/process.texi: Likewise.
31159         * manual/resource.texi: Likewise.
31160         (RUSAGE_CHILDREN): Remove statement about specifying a particular
31161         child on GNU/Hurd.
31162         * manual/setjmp.texi: Likewise.
31163         * manual/signal.texi: Likewise.
31164         * manual/startup.texi: Likewise.
31165         * manual/stdio.texi: Likewise.
31166         * manual/terminal.texi: Likewise.
31167         (ONLCR): Document as POSIX.
31168         (OXTABS): Document availability on GNU/Linux as XTABS.
31169         (ONOEOT): Document availability separately from other bits.
31170         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31171         * manual/time.texi: Likewise.
31172         * manual/users.texi: Likewise.
31173         * INSTALL: Regenerated.
31174         * sysdeps/gnu/errlist.c: Regenerated.
31176         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31177         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31178         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
31179         puts.
31180         * configure: Regenerated.
31182 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
31184         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31185         default includes instead of AC_HEADER_CHECK.
31186         * sysdeps/i386/configure: Regenerated.
31188         [BZ #10716]
31189         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31190         * math/s_cacoshf.c (__cacoshf): Likewise.
31191         * math/s_cacoshl.c (__cacoshl): Likewise.
31192         * math/s_casinh.c (__casinh): Set signs of result from argument.
31193         * math/s_casinhf.c (__casinhf): Likewise.
31194         * math/s_casinhl.c (__casinhl): Likewise.
31195         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31196         (casinh_test): Add more tests.
31197         * sysdeps/i386/fpu/libm-test-ulps: Update.
31198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31200 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
31202         * po/zh_TW.po: Update from translation team.
31204         * login/Makefile (distribute): Remove variable.
31205         * catgets/Makefile: Likewise.
31206         * mach/Makefile: Likewise.
31207         * malloc/Makefile: Likewise.
31208         * misc/Makefile: Likewise.
31209         * iconv/Makefile: Likewise.
31210         * nscd/Makefile: Likewise.
31211         * hurd/Makefile: Likewise.
31212         * manual/Makefile: Likewise.
31213         * locale/Makefile: Likewise.
31214         * intl/Makefile: Likewise.
31215         * conform/Makefile: Likewise.
31216         * nss/Makefile: Likewise.
31217         * time/Makefile: Likewise.
31218         * soft-fp/Makefile: Likewise.
31219         * dirent/Makefile: Likewise.
31220         * gmon/Makefile: Likewise.
31221         * po/Makefile: Likewise.
31222         * rt/Makefile: Likewise.
31223         * socket/Makefile: Likewise.
31224         * math/Makefile: Likewise.
31225         * signal/Makefile: Likewise.
31226         * debug/Makefile: Likewise.
31227         * elf/Makefile: Likewise.
31228         * timezone/Makefile: Likewise.
31229         * stdlib/Makefile: Likewise.
31230         * iconvdata/Makefile: Likewise.
31231         * sunrpc/Makefile: Likewise.
31232         * io/Makefile: Likewise.
31233         * argp/Makefile: Likewise.
31234         * inet/Makefile: Likewise.
31235         * hesiod/Makefile: Likewise.
31236         * grp/Makefile: Likewise.
31237         * csu/Makefile: Likewise.
31238         * wctype/Makefile: Likewise.
31239         * crypt/Makefile: Likewise.
31240         * libio/Makefile: Likewise.
31241         * string/Makefile: Likewise.
31242         * nis/Makefile: Likewise.
31243         * resolv/Makefile: Likewise.
31244         * stdio-common/Makefile: Likewise.
31245         * wcsmbs/Makefile: Likewise.
31246         * dlfcn/Makefile: Likewise.
31247         * posix/Makefile: Likewise.
31249         [BZ #6959]
31250         * timezone/Makefile: Don't install timezone files, just the programs
31251         and scripts.
31253 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
31255         * nss/databases.def: Add missing gshadow entry.
31257         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
31259 2012-03-06  Marek Polacek  <polacek@redhat.com>
31261         [BZ #13726]
31262         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31263         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31264         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31265         * stdio-common/tst-long-dbl-fphex.c: New file.
31267 2012-03-06  David S. Miller  <davem@davemloft.net>
31269         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31270         (set_obp_int): New function.
31271         (get_obp_int): New function.
31272         (__get_clockfreq_via_dev_openprom): Likewise.
31273         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31274         Avoid unused variable warnings on 'val' and use builtin_expect.
31275         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31276         __builtin_expect.
31277         (INLINE_CLONE_SYSCALL): Likewise.
31279 2012-03-05  David S. Miller  <davem@davemloft.net>
31281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31283 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
31285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31287         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31288         only for |x| >= 40.
31289         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31291 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31293         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31294         Replace gettimeofday with __vdso_gettimeofday.
31296         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31297         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31298         __vdso_clock_gettime and __vdso_getcpu.
31300         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31301         time with __vdso_time.
31303 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
31305         * manual/lang.texi (size_t): Note types to which size_t may be
31306         equivalent with the GNU C Library, but do not describe when
31307         differences between them are significant.
31309 2012-03-05  Andreas Jaeger  <aj@suse.de>
31311         * sysdeps/i386/fpu/libm-test-ulps: Update.
31313 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
31315         [BZ #3976]
31316         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31317         (__ieee754_pow): Save and restore rounding mode and use
31318         round-to-nearest for main computations.
31319         * math/libm-test.inc (pow_test_tonearest): New function.
31320         (pow_test_towardzero): Likewise.
31321         (pow_test_downward): Likewise.
31322         (pow_test_upward): Likewise.
31323         (main): Call the new functions.
31324         * sysdeps/i386/fpu/libm-test-ulps: Update.
31325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31327         [BZ #3976]
31328         * math/libm-test.inc (cosh_test_tonearest): New function.
31329         (cosh_test_towardzero): Likewise.
31330         (cosh_test_downward): Likewise.
31331         (cosh_test_upward): Likewise.
31332         (sinh_test_tonearest): Likewise.
31333         (sinh_test_towardzero): Likewise.
31334         (sinh_test_downward): Likewise.
31335         (sinh_test_upward): Likewise.
31336         (main): Call the new functions.
31337         * sysdeps/i386/fpu/libm-test-ulps: Update.
31338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31340 2012-03-05  Tom de Vries  <tom@codesourcery.com>
31342         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31343         default stack guard is set in last bytes.
31344         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31346 2012-03-05  Kees Cook  <keescook@chromium.org>
31348         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31350         [BZ #13656]
31351         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31352         possibly allocate from heap instead of stack.
31353         * stdio-common/bug-vfprintf-nargs.c: New file.
31354         * stdio-common/Makefile (tests): Add nargs overflow test.
31356 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
31358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31360 2012-03-03  Marek Polacek  <polacek@redhat.com>
31362         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31363         * math/math_private.h: Likewise.
31364         * stdlib/tst-strtod.c: Likewise.
31365         * sysdeps/i386/i486/bits/atomic.h: Likewise.
31366         * sysdeps/x86_64/bits/atomic.h: Likewise.
31368 2012-03-02  David S. Miller  <davem@davemloft.net>
31370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31374         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31375         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31376         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31377         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31379 2012-03-02  Roland McGrath  <roland@hack.frob.com>
31381         [BZ #13792]
31382         * manual/examples/README: New file, says the example source files
31383         can be used under GPL>=2.
31384         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31385         line containing just "*/".
31386         * manual/examples/add.c: Add copyright header (GPL>=2).
31387         * manual/examples/argp-ex1.c: Likewise.
31388         * manual/examples/argp-ex2.c: Likewise.
31389         * manual/examples/argp-ex3.c: Likewise.
31390         * manual/examples/argp-ex4.c: Likewise.
31391         * manual/examples/atexit.c: Likewise.
31392         * manual/examples/db.c: Likewise.
31393         * manual/examples/dir.c: Likewise.
31394         * manual/examples/dir2.c: Likewise.
31395         * manual/examples/execinfo.c: Likewise.
31396         * manual/examples/filecli.c: Likewise.
31397         * manual/examples/filesrv.c: Likewise.
31398         * manual/examples/fmtmsgexpl.c: Likewise.
31399         * manual/examples/genpass.c: Likewise.
31400         * manual/examples/inetcli.c: Likewise.
31401         * manual/examples/inetsrv.c: Likewise.
31402         * manual/examples/isockad.c: Likewise.
31403         * manual/examples/longopt.c: Likewise.
31404         * manual/examples/memopen.c: Likewise.
31405         * manual/examples/memstrm.c: Likewise.
31406         * manual/examples/mkfsock.c: Likewise.
31407         * manual/examples/mkisock.c: Likewise.
31408         * manual/examples/mygetpass.c: Likewise.
31409         * manual/examples/pipe.c: Likewise.
31410         * manual/examples/popen.c: Likewise.
31411         * manual/examples/rprintf.c: Likewise.
31412         * manual/examples/search.c: Likewise.
31413         * manual/examples/select.c: Likewise.
31414         * manual/examples/setjmp.c: Likewise.
31415         * manual/examples/sigh1.c: Likewise.
31416         * manual/examples/sigusr.c: Likewise.
31417         * manual/examples/stpcpy.c: Likewise.
31418         * manual/examples/strdupa.c: Likewise.
31419         * manual/examples/strftim.c: Likewise.
31420         * manual/examples/strncat.c: Likewise.
31421         * manual/examples/subopt.c: Likewise.
31422         * manual/examples/swapcontext.c: Likewise.
31423         * manual/examples/termios.c: Likewise.
31424         * manual/examples/testopt.c: Likewise.
31425         * manual/examples/testpass.c: Likewise.
31426         * manual/examples/timeval_subtract.c: Likewise.
31428         [BZ #13792]
31429         * manual/time.texi (Elapsed Time): Move timeval_subtract example
31430         function to ...
31431         * manual/timeval_subtract.c.texi: ... here, new file.
31433 2012-03-02  David S. Miller  <davem@davemloft.net>
31435         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31437 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
31439         [BZ #3976]
31440         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31441         (__sin): Save and restore rounding mode and use round-to-nearest
31442         for all computations.
31443         (__cos): Save and restore rounding mode and use round-to-nearest
31444         for all computations.
31445         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31446         <fenv.h>.
31447         (tan): Save and restore rounding mode and use round-to-nearest for
31448         all computations.
31449         * math/libm-test.inc (cos_test_tonearest): New function.
31450         (cos_test_towardzero): Likewise.
31451         (cos_test_downward): Likewise.
31452         (cos_test_upward): Likewise.
31453         (sin_test_tonearest): Likewise.
31454         (sin_test_towardzero): Likewise.
31455         (sin_test_downward): Likewise.
31456         (sin_test_upward): Likewise.
31457         (tan_test_tonearest): Likewise.
31458         (tan_test_towardzero): Likewise.
31459         (tan_test_downward): Likewise.
31460         (tan_test_upward): Likewise.
31461         (main): Call the new functions.
31462         * sysdeps/i386/fpu/libm-test-ulps: Update.
31463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31465         [BZ #10135]
31466         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31467         small n, then large n, before computing and testing k+n.
31468         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31469         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31470         Likewise.
31471         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31472         Likewise.
31473         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31474         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31475         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31476         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31479         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31480         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31481         * math/libm-test.inc (scalbn_test): Add more tests.
31482         (scalbln_test): Likewise.
31484         * manual/filesys.texi (mode_t): Describe constraints on size and
31485         signedness, not exact equivalence to a particular type.
31486         (ino_t): Likewise.
31487         (ino64_t): Likewise.
31488         (dev_t): Likewise.
31489         (nlink_t): Likewise.
31490         (blkcnt_t): Likewise.
31491         (blkcnt64_t): Likewise.
31492         * manual/llio.texi (off_t): Likewise.
31494         [BZ #3976]
31495         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31496         (__ieee754_exp): Save and restore rounding mode and use
31497         round-to-nearest for all computations.
31498         * math/libm-test.inc (exp_test_tonearest): New function.
31499         (exp_test_towardzero): Likewise.
31500         (exp_test_downward): Likewise.
31501         (exp_test_upward): Likewise.
31502         (main): Call the new functions.
31503         * sysdeps/i386/fpu/libm-test-ulps: Update.
31504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31506 2012-03-01  Chris Demetriou  <cgd@google.com>
31508         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31509         have predictable order.
31511 2012-03-01  David S. Miller  <davem@davemloft.net>
31513         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31515         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31516         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31517         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31518         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31520         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31521         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31522         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31524         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31525         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31526         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31527         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31528         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31532         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31533         * sysdeps/sparc/fpu/libm-test-ulps: to here.
31534         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31536         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31537         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31538         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31539         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31540         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31541         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31542         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31543         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31544         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31545         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31546         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31547         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31549         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31550         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31552         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31553         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31554         * sysdeps/sparc/elf/configure: Regenerated.
31556 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
31558         * configure.in (AS, LD): Require binutils 2.20 or later.
31559         * configure: Regenerated.
31560         * manual/install.texi (Tools for Compilation): Give binutils 2.20
31561         as required minimum version.
31562         * INSTALL: Regenerated.
31564         [BZ #2541]
31565         [BZ #4108]
31566         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31567         before squaring exponent.
31568         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31569         bottom long double and 27 bits of top long double before squaring
31570         exponent.
31571         * math/libm-test.inc (erfc_test): Add more tests.
31572         * sysdeps/i386/fpu/libm-test-ulps: Update.
31573         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31576 2012-03-01  Kai Tietz  <ktietz@redhat.com>
31578         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31579         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31580         containing bit-fields.
31581         * soft-fp/extended.h (_FP_UNION_E): Likewise.
31582         * soft-fp/single.h (_FP_UNION_S): Likewise.
31583         * soft-fp/double.h (_FP_UNION_D): Likewise.
31585 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
31587         [BZ #13786]
31588         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31589         not include ../strcmp.S.
31590         [USE_AS_STRNCASECMP_L]: Likewise.
31591         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31592         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31593         * sysdeps/i386/i686/multiarch/strncase_l-c.c
31594         (__strncasecmp_l_ia32): Define as alias to
31595         __strncasecmp_l_nonascii.
31597         [BZ #5794]
31598         * math/libm-test.inc (expm1_test): Add test for bug 5794.
31599         * sysdeps/i386/fpu/libm-test-ulps: Update.
31600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31602         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31605 2012-02-29  Jeff Law  <law@redhat.com>
31607         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31608         out of bounds read.
31610 2012-02-29  Marek Polacek  <polacek@redhat.com>
31612         [BZ #13706]
31613         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31614         * elf/Makefile: Add rules to run tst-unused-dep.out.
31616 2012-02-28  David S. Miller  <davem@davemloft.net>
31618         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31619         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31620         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31621         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31622         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31623         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31625 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
31627         * math/libm-test.inc (llround_test): Move one test from
31628         lround_test.  Use TEST_f_L in moved test.
31629         (lround_test): Move misplaced test to llround_test.  Add testcase
31630         from bug 2561.
31632 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
31634         * sysdeps/x86_64/fpu/e_expf.S: New file.
31635         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31637 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
31639         [BZ #13637]
31640         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31641         of remain_len that may cause incomplete multi-byte character and
31642         false match.
31643         * posix/bug-regex33.c: New file.
31644         * posix/Makefile (tests): Add bug-regex33.
31646 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
31648         * manual/macros.texi: New file.
31649         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31650         * manual/libc.texinfo: Include macros.texi.
31651         * manual/creatute.texi: Likewise.
31652         * manual/install.texi: Likewise.
31653         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31654         @glibcadj{} in references to the GNU C Library.
31655         * manual/charset.texi: Likewise.
31656         * manual/conf.texi: Likewise.
31657         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
31658         when not using those macros.
31659         * manual/creature.texi: Likewise.
31660         * manual/crypt.texi: Likewise.
31661         * manual/errno.texi: Likewise.
31662         * manual/filesys.texi: Likewise.
31663         * manual/header.texi: Likewise.
31664         * manual/install.texi: Likewise.
31665         * manual/intro.texi: Likewise.
31666         * manual/io.texi: Likewise.
31667         * manual/job.texi: Likewise.
31668         * manual/lang.texi: Likewise.
31669         * manual/libc.texiinfo: Likewise.
31670         * manual/llio.texi: Likewise.
31671         * manual/locale.texi: Likewise.
31672         * manual/maint.texi: Likewise.
31673         * manual/math.texi: Likewise.
31674         * manual/memory.texi: Likewise.
31675         * manual/message.texi: Likewise.
31676         * manual/nss.texi: Likewise.
31677         * manual/pattern.texi: Likewise.
31678         * manual/process.texi: Likewise.
31679         * manual/resource.texi: Likewise.
31680         * manual/search.texi: Likewise.
31681         * manual/setjmp.texi: Likewise.
31682         * manual/signal.texi: Likewise.
31683         * manual/socket.texi: Likewise.
31684         * manual/startup.texi: Likewise.
31685         * manual/stdio.texi: Likewise.
31686         * manual/string.texi: Likewise.
31687         * manual/sysinfo.texi: Likewise.
31688         * manual/syslog.texi: Likewise.
31689         * manual/terminal.texi: Likewise.
31690         * manual/time.texi: Likewise.
31691         * manual/users.texi: Likewise.
31692         * INSTALL: Regenerated.
31693         * NOTES: Regenerated.
31694         * sysdeps/gnu/errlist.c: Regenerated.
31696 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
31698         * include/dirent.h: Include <dirstream.h> before
31699         <dirent/dirent.h>.
31701 2012-02-28  David S. Miller  <davem@davemloft.net>
31703         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31704         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31705         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31706         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31708 2012-02-27  David S. Miller  <davem@davemloft.net>
31710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31712         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31713         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31716         frame pointer instead of stack pointer relative arg slot.
31717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31718         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31719         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31721 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
31723         [BZ #3992]
31724         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31726 2012-02-27  David S. Miller  <davem@davemloft.net>
31728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31732         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31733         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31734         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31735         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31737 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
31739         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31740         later.  Allow versions 5-9.
31741         * configure: Regenerated.
31742         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31743         required minimum version and 4.6 as recommended version.  Do not
31744         mention bugs in GCC 2.7 and 2.8.
31745         * INSTALL: Regenerated.
31747 2012-02-27  David S. Miller  <davem@davemloft.net>
31749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31753         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31754         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31755         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31756         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31758         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31759         manipulate bits before adding and subtracting TWO112[sx].
31760         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31762 2012-02-27  Roland McGrath  <roland@hack.frob.com>
31764         [BZ #13775]
31765         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31766         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31767         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31768         being in POSIX, because they are in 1003.1-2008.
31770         * rt/tst-aio.c: Include <fcntl.h>.
31771         * rt/tst-aio7.c: Likewise.
31772         * rt/tst-aio64.c: Likewise.
31774         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31776 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
31778         * manual/install.texi (--with-headers): Describe headers as
31779         interface headers, not private headers.
31780         (Specific advice for GNU/Linux systems): Describe use of headers
31781         from "make headers_install", not private headers from older
31782         kernels.
31783         * INSTALL: Regenerated.
31784         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31785         Change to 2.6.19.
31786         * sysdeps/unix/sysv/linux/configure: Regenerated.
31788         * manual/llio.texi (fclean): Remove documentation.
31790         * manual/Makefile (libc-texi-generated): New variable.  Include
31791         version.texi.
31792         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31793         $(libc-texi-generated), not duplicated list of files.
31794         (version.texi, stamp-version): New rules.
31795         (realclean): Remove $(libc-texi-generated), not individual files
31796         from that list.  Do not remove dir-add.texinfo.
31797         * manual/libc.texinfo: Comment out uses of edition numbers and
31798         references to printed manual.  Remove last-updated dates.
31799         (EDITION): Comment out.
31800         (ISBN): Likewise.
31801         (VERSION, UPDATED): Remove.
31802         (version.texi): Include.
31804 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
31806         * sysdeps/posix/spawni.c: Include <signal.h>.
31807         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31808         * sysdeps/pthread/aio_fsync.c: Likewise.
31810 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
31812         * conform/Makefile (tests): Run only when not cross-compiling and
31813         when fast-check is not defined.
31815         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31816         * conform/data/limits.h-data: Fixes for POSIX2008.
31817         * conform/run-conformtest.sh: Run all tests.
31818         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31819         headers.
31820         * include/bits/dlfcn.h: Likewise.
31821         * include/langinfo.h: Likewise.
31822         * include/monetary.h: Likewise.
31823         * include/sys/poll.h: Likewise.
31825         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31826         for __USE_GNU.
31827         * posix/spawn.h: Define __need_sigset_t.
31828         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31829         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31830         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
31831         to get sigevent_t only.
31832         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31833         only for __USE_GNU.
31834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31835         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31836         process_vm_writev only for __USE_GNU.
31837         * termios/termios.h: Declare tcgetsid also for POSIX2008.
31839         * conform/Makefile: For now ignore errors from run-conformtest.
31840         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
31841         POSIX to avoid namespace pollution.  Don't prepend headers.
31842         * conform/data/aio.h-data: Fixes for POSIX testing.
31843         * conform/data/fcntl.h-data: Likewise.
31844         * conform/data/glob.h-data: Likewise.
31845         * conform/data/grp.h-data: Likewise.
31846         * conform/data/pthread.h-data: Likewise.
31847         * conform/data/pwd.h-data: Likewise.
31848         * conform/data/signal.h-data: Likewise.
31849         * conform/data/spawn.h-data: Likewise.
31850         * conform/data/stdio.h-data: Likewise.
31851         * conform/data/stdlib.h-data: Likewise.
31852         * conform/data/stropts.h-data: Likewise.
31853         * conform/data/sys/mman.h-data: Likewise.
31854         * conform/data/sys/stat.h-data: Likewise.
31855         * conform/data/sys/types.h-data: Likewise.
31856         * conform/data/sys/wait.h-data: Likewise.
31857         * conform/data/time.h-data: Likewise.
31858         * conform/data/unistd.h-data: Likewise.
31859         * conform/data/utime.h-data: Likewise.
31861         * io/sys/stat.h: fchmod was always in POSIX.
31862         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31863         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31864         * rt/aio.h: Define __need_timespec before including <time.h>.
31865         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31866         struct.  Add forward declaration of pthread_attr_t and use it in
31867         sigevent.
31868         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31869         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31870         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31871         always remove CLK_TCK definition.
31873 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
31875         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31877 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
31879         * conform/run-conformtest.sh: New file.
31880         * conform/Makefile: Run run-conformtest for tests.
31881         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
31882         support.
31884         * conform/data/uchar.h-data: New file.
31885         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31886         * conform/data/arpa/inet.h-data: Likewise.
31887         * conform/data/assert.h-data: Likewise.
31888         * conform/data/complex.h-data: Likewise.
31889         * conform/data/cpio.h-data: Likewise.
31890         * conform/data/ctype.h-data: Likewise.
31891         * conform/data/dirent.h-data: Likewise.
31892         * conform/data/dlfcn.h-data: Likewise.
31893         * conform/data/errno.h-data: Likewise.
31894         * conform/data/fcntl.h-data: Likewise.
31895         * conform/data/float.h-data: Likewise.
31896         * conform/data/fmtmsg.h-data: Likewise.
31897         * conform/data/fnmatch.h-data: Likewise.
31898         * conform/data/ftw.h-data: Likewise.
31899         * conform/data/glob.h-data: Likewise.
31900         * conform/data/grp.h-data: Likewise.
31901         * conform/data/iconv.h-data: Likewise.
31902         * conform/data/inttypes.h-data: Likewise.
31903         * conform/data/langinfo.h-data: Likewise.
31904         * conform/data/libgen.h-data: Likewise.
31905         * conform/data/limits.h-data: Likewise.
31906         * conform/data/locale.h-data: Likewise.
31907         * conform/data/math.h-data: Likewise.
31908         * conform/data/monetary.h-data: Likewise.
31909         * conform/data/mqueue.h-data: Likewise.
31910         * conform/data/ndbm.h-data: Likewise.
31911         * conform/data/net/if.h-data: Likewise.
31912         * conform/data/netdb.h-data: Likewise.
31913         * conform/data/netinet/in.h-data: Likewise.
31914         * conform/data/nl_types.h-data: Likewise.
31915         * conform/data/poll.h-data: Likewise.
31916         * conform/data/pthread.h-data: Likewise.
31917         * conform/data/pwd.h-data: Likewise.
31918         * conform/data/regex.h-data: Likewise.
31919         * conform/data/sched.h-data: Likewise.
31920         * conform/data/search.h-data: Likewise.
31921         * conform/data/semaphore.h-data: Likewise.
31922         * conform/data/setjmp.h-data: Likewise.
31923         * conform/data/signal.h-data: Likewise.
31924         * conform/data/spawn.h-data: Likewise.
31925         * conform/data/stdarg.h-data: Likewise.
31926         * conform/data/stdio.h-data: Likewise.
31927         * conform/data/stdlib.h-data: Likewise.
31928         * conform/data/string.h-data: Likewise.
31929         * conform/data/strings.h-data: Likewise.
31930         * conform/data/stropts.h-data: Likewise.
31931         * conform/data/sys/ipc.h-data: Likewise.
31932         * conform/data/sys/mman.h-data: Likewise.
31933         * conform/data/sys/msg.h-data: Likewise.
31934         * conform/data/sys/resource.h-data: Likewise.
31935         * conform/data/sys/select.h-data: Likewise.
31936         * conform/data/sys/sem.h-data: Likewise.
31937         * conform/data/sys/shm.h-data: Likewise.
31938         * conform/data/sys/socket.h-data: Likewise.
31939         * conform/data/sys/stat.h-data: Likewise.
31940         * conform/data/sys/statvfs.h-data: Likewise.
31941         * conform/data/sys/time.h-data: Likewise.
31942         * conform/data/sys/timeb.h-data: Likewise.
31943         * conform/data/sys/times.h-data: Likewise.
31944         * conform/data/sys/types.h-data: Likewise.
31945         * conform/data/sys/uio.h-data: Likewise.
31946         * conform/data/sys/un.h-data: Likewise.
31947         * conform/data/sys/utsname.h-data: Likewise.
31948         * conform/data/sys/wait.h-data: Likewise.
31949         * conform/data/syslog.h-data: Likewise.
31950         * conform/data/tar.h-data: Likewise.
31951         * conform/data/termios.h-data: Likewise.
31952         * conform/data/utime.h-data: Likewise.
31953         * conform/data/utmpx.h-data: Likewise.
31954         * conform/data/varargs.h-data: Likewise.
31955         * conform/data/wchar.h-data: Likewise.
31956         * conform/data/wctype.h-data: Likewise.
31957         * conform/data/wordexp.h-data: Likewise.
31959         * include/stropts.h: New file.
31960         * include/uchar.h: New file.
31961         * include/aio.h: Changes to allow conformtest.pl to use the headers.
31962         * include/assert.h: Likewise.
31963         * include/ctype.h: Likewise.
31964         * include/dirent.h: Likewise.
31965         * include/dlfcn.h: Likewise.
31966         * include/fcntl.h: Likewise.
31967         * include/fnmatch.h: Likewise.
31968         * include/glob.h: Likewise.
31969         * include/grp.h: Likewise.
31970         * include/libio.h: Likewise.
31971         * include/locale.h: Likewise.
31972         * include/math.h: Likewise.
31973         * include/net/if.h: Likewise.
31974         * include/netdb.h: Likewise.
31975         * include/netinet/in.h: Likewise.
31976         * include/pthread.h: Likewise.
31977         * include/pwd.h: Likewise.
31978         * include/regex.h: Likewise.
31979         * include/sched.h: Likewise.
31980         * include/search.h: Likewise.
31981         * include/setjmp.h: Likewise.
31982         * include/signal.h: Likewise.
31983         * include/stdio.h: Likewise.
31984         * include/stdlib.h: Likewise.
31985         * include/string.h: Likewise.
31986         * include/sys/cdefs.h: Likewise.
31987         * include/sys/mman.h: Likewise.
31988         * include/sys/msg.h: Likewise.
31989         * include/sys/resource.h: Likewise.
31990         * include/sys/select.h: Likewise.
31991         * include/sys/socket.h: Likewise.
31992         * include/sys/stat.h: Likewise.
31993         * include/sys/statvfs.h: Likewise.
31994         * include/sys/time.h: Likewise.
31995         * include/sys/times.h: Likewise.
31996         * include/sys/uio.h: Likewise.
31997         * include/sys/utsname.h: Likewise.
31998         * include/sys/wait.h: Likewise.
31999         * include/termios.h: Likewise.
32000         * include/time.h: Likewise.
32001         * include/ulimit.h: Likewise.
32002         * include/unistd.h: Likewise.
32003         * include/utime.h: Likewise.
32004         * include/wchar.h: Likewise.
32005         * include/wctype.h: Likewise.
32006         * include/wordexp.h: Likewise.
32008         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32010         * time/time.h: TIME_UTC must be a macro.
32011         Make timespec_get available for ISO C11 only as well.
32013 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
32015         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32016         Reported by Peng Haitao <penght@cn.fujitsu.com>.
32018 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32020         * configure.in: Use -o not -a in test for unsupported multi-arch.
32022 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32024         * manual/texinfo.tex: Update to version 2012-01-19.16.
32026 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
32028         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32030 2012-02-24  Roland McGrath  <roland@hack.frob.com>
32032         [BZ #13738]
32033         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32034         * manual/fdl-1.3.texi: New file.
32035         * manual/fdl-1.1.texi: File removed.
32037         [BZ #13738]
32038         * manual/libc.texinfo (FDL_VERSION): New @set.
32039         Use it for mention of FDL in cover text.
32040         (Documentation License): Use it in @include file name.
32042 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32043             Roland McGrath  <roland@hack.frob.com>
32045         [BZ #5461]
32046         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32047         not LONG_LONG_MAX and LONG_LONG_MIN.
32048         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32049         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
32050         name.
32051         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32053 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32055         [BZ #2547]
32056         [BZ #11365]
32057         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32058         manipulate bits before adding and subtracting TWO23[sx].
32059         * math/libm-test.inc (nearbyint_test): Add more tests.
32061 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32063         [BZ #2548]
32064         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32065         bits before adding and subtracting TWO23[sx].
32066         * math/libm-test.inc (rint_test): Add more tests.
32067         (rint_test_tonearest): Likewise.
32068         (rint_test_towardzero): Likewise.
32069         (rint_test_downward): Likewise.
32070         (rint_test_upward: Likewise.
32072 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32074         [BZ #10110]
32075         * include/stdc-predef.h: New file.  Extracted from features.h.
32076         * include/features.h: Include stdc-predef.h.
32077         * Makefile (headers): Add stdc-predef.h.
32078         * CONFORMANCE (Compiler limitations): Update.
32080 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
32082         * manual/libc.texinfo (VERSION, UPDATED): Revert.
32084 2012-02-21  David S. Miller  <davem@davemloft.net>
32086         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32087         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32089 2012-02-20  David S. Miller  <davem@davemloft.net>
32091         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32092         using a normal save/restore sequence, rather than allocating a
32093         dummy stack frame just to store a frame pointer and restore.
32094         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32096 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
32098         * manual/install.texi: Fix stray word in line-wrapped comment.
32100 2012-02-20  David S. Miller  <davem@davemloft.net>
32102         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32103         both binutils and gcc support GOTDATA.
32105         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32106         "rd %pc" in the PIC register setup sequences.
32108         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32109         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32110         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32111         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32112         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32114         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32115         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32117         (SYSCALL_ERROR_HANDLER): Likewise.
32118         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32119         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32120         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32121         (SYSCALL_ERROR_HANDLER): Likewise.
32123         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32124         (HAVE_GCC_GOTDATA): New.
32125         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32126         relocation support in both binutils and gcc.
32127         * sysdeps/sparc/elf/configure: Regenerate.
32129         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32130         * sysdeps/sparc/sparc32/elf/configure: Delete.
32131         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32132         * sysdeps/sparc/sparc64/elf/configure: Delete.
32133         * sysdeps/sparc/elf/configure.in: New file.
32134         * sysdeps/sparc/elf/configure: Generate.
32136         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32137         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32138         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32139         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32140         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32142 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
32144         * manual/install.texi: Do not mention specific glibc version
32145         numbers.
32146         * manual/libc.texinfo (VERSION, UPDATED): Update.
32147         (@copying): Use @copyright{} and range of years.
32149 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
32151         [BZ #13695]
32152         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32153         [crti.S not in sysdirs] (generated): Do not append.
32154         [crti.S not in sysdirs] (omit-deps): Likewise.
32155         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32156         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32157         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32158         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32159         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32160         Likewise.
32161         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32162         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32163         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32164         * csu/defs.awk: Remove file.
32165         * sysdeps/generic/initfini.c: Likewise.
32166         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32167         variable.
32168         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32169         Likewise.
32171 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
32173         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32174         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32175         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32176         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32177         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32178         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32179         <bits/epoll.h>.
32180         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32181         (__EPOLL_PACKED): Define to empty if not defined by
32182         <bits/epoll.h>.
32183         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32185         bits/epoll.h.
32187 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
32189         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32190         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32191         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32192         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32193         <bits/timerfd.h>.
32194         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32196         bits/timerfd.h.
32198 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
32200         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32201         in C locale.
32202         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32203         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32204         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32207 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
32209         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32210         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32212 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
32214         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32215         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32216         defined.
32217         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32218         Likewise.
32219         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32220         entry for 2.16.
32222 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
32224         * math/w_acos.c: Use non-signaling floating-point comparisons.
32225         * math/w_acosf.c: Likewise.
32226         * math/w_acosh.c: Likewise.
32227         * math/w_acoshf.c: Likewise.
32228         * math/w_acoshl.c: Likewise.
32229         * math/w_acosl.c: Likewise.
32230         * math/w_asin.c: Likewise.
32231         * math/w_asinf.c: Likewise.
32232         * math/w_asinl.c: Likewise.
32233         * math/w_atanh.c: Likewise.
32234         * math/w_atanhf.c: Likewise.
32235         * math/w_atanhl.c: Likewise.
32236         * math/w_exp2.c: Likewise.
32237         * math/w_exp2f.c: Likewise.
32238         * math/w_exp2l.c: Likewise.
32239         * math/w_j0.c: Likewise.
32240         * math/w_j0f.c: Likewise.
32241         * math/w_j0l.c: Likewise.
32242         * math/w_j1.c: Likewise.
32243         * math/w_j1f.c: Likewise.
32244         * math/w_j1l.c: Likewise.
32245         * math/w_jn.c: Likewise.
32246         * math/w_jnf.c: Likewise.
32247         * math/w_log.c: Likewise.
32248         * math/w_log10.c: Likewise.
32249         * math/w_log10f.c: Likewise.
32250         * math/w_log10l.c: Likewise.
32251         * math/w_log2.c: Likewise.
32252         * math/w_log2f.c: Likewise.
32253         * math/w_log2l.c: Likewise.
32254         * math/w_logf.c: Likewise.
32255         * math/w_logl.c: Likewise.
32256         * math/w_sqrt.c: Likewise.
32257         * math/w_sqrtf.c: Likewise.
32258         * math/w_sqrtl.c: Likewise.
32259         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32260         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32261         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32262         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32263         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32265 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
32267         [BZ #9739]
32268         * manual/string.texi (strnlen): Use correct parameter name in
32269         equivalent expression.
32271 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
32273         [BZ #11174]
32274         * manual/users.texi (seteuid): Consistently use neweuid for
32275         argument name.
32277 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
32279         [BZ #13704]
32280         * manual/nss.texi (Services in the NSS configuration): Correct
32281         list of services in example configuration file.
32283 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
32285         [BZ #11322]
32286         * manual/arith.texi: Remove statements about negative zero
32287         behaving identically to zero.
32289 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
32291         [BZ #5993]
32292         * manual/install.texi: Do not document upgrading from libc5.
32294 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
32296         [BZ #4596]
32297         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32299 2012-02-18  David S. Miller  <davem@davemloft.net>
32301         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32302         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32303         %o7 across the call.
32304         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32305         instead.
32306         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32307         SETUP_PIC_REG_LEAF.
32308         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32309         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32310         * sysdeps/sparc/crtn.S: Likewise.
32312 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
32314         * aout/Makefile: Remove.
32316 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
32318         [BZ #13058]
32319         * manual/examples/argp-ex1.c (main): Format definition in GNU
32320         style.
32321         * manual/examples/argp-ex2.c (main): Likewise.
32322         * manual/examples/argp-ex3.c (main): Likewise.
32323         * manual/examples/argp-ex4.c (main): Likewise.
32324         * manual/examples/longopt.c (main): Use new-style prototype
32325         definition.
32326         * manual/examples/strncat.c (main): Specify return type and use
32327         (void) for arguments.
32328         * manual/examples/subopt.c (main): Use char **argv argument.
32330 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32332         [BZ #5077]
32333         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32334         rounding modes.
32336 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
32338         [BZ #6907]
32339         * manual/string.texi (strchr): Change when strchrnul is
32340         recommended.
32342 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
32344         [BZ #174]
32345         * manual/locale.texi (setlocale): Document LOCPATH.
32347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32349         [BZ #10210]
32350         * manual/process.texi (execle): Move @dots{} before last argument.
32352 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
32354         [BZ #12047]
32355         * manual/charset.texi (Generic Charset Conversion): Fix typo
32356         (LC_TYPE -> LC_CTYPE).
32358 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
32360         [BZ #5805]
32361         * manual/arith.texi (scalbn): Use @var{} on parameter names.
32362         (scalbnf): Likewise.
32363         (scalbnl): Likewise.
32364         (scalbln): Likewise.
32365         (scalblnf): Likewise.
32366         (scalblnl): Likewise.
32367         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32368         (vwarnx): Likewise.
32369         (verr): Likewise.
32370         (verrx): Likewise.
32371         * manual/filesys.texi (telldir): Use braces around return type.
32372         * manual/llio.texi (mmap): Add space after comma.
32373         (mmap64): Likewise.
32374         * manual/math.texi (jn): Use @var{} on parameter names.
32375         (jnf): Likewise.
32376         (jnl): Likewise.
32377         (yn): Likewise.
32378         (ynf): Likewise.
32379         (ynl): Likewise.
32380         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32381         line.
32382         * manual/resource.texi (ulimit): Use @dots{} instead of literal
32383         "...".
32384         (sched_get_priority_min): Remove semicolon on @deftypefun line.
32385         (sched_get_priority_max): Likewise.
32386         * manual/signal.texi (sigvec): Add space after comma.
32387         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32388         names.
32389         (if_indextoname): Likewise.
32390         (if_freenameindex): Likewise.
32391         (sendto): Use ',' instead of '.' in prototype.
32392         * manual/startup.texi (syscall): Use @dots{} instead of literal
32393         "...".
32394         * manual/stdio.texi (__fpending): Separate initial words of
32395         paragraph from @deftypefun line.
32396         * manual/syslog.texi (syslog): Use @dots{} instead of literal
32397         "...".
32398         (vsyslog): Use @var{} on parameter names.
32399         * manual/terminal.texi (stty): Use @var{} on parameter names.
32400         * manual/users.texi (getutmp): Use @var{} on parameter names.
32401         (getutmpx): Likewise.
32403 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32405         [BZ #6884]
32406         * manual/stdio.texi (fopen): Fix typos in description of
32407         ",ccs=STRING".
32409 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
32411         [BZ #4026]
32412         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32413         get clock_id definition.
32415 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
32417         [BZ #4822]
32418         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32419         (madvise): Cast every argument to void on its own.
32421 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32423         [BZ #9902]
32424         * manual/startup.texi (Exit Status): Fix typo.
32426 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
32428         [BZ #10140]
32429         * manual/examples/argp-ex1.c: Include <stdlib.h>.
32430         * manual/examples/argp-ex2.c: Likewise.
32431         * manual/examples/argp-ex3.c: Likewise.
32433 2012-02-16  Richard Henderson  <rth@redhat.com>
32435         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32436         * sysdeps/s390/s390-32/initfini.c: Remove.
32437         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32438         * sysdeps/s390/s390-64/initfini.c: Remove.
32440 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32442         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32443         compiler output for sysdeps/generic/initfini.c.
32444         * sysdeps/sh/elf/initfini.c: Remove file.
32446 2012-02-16  David S. Miller  <davem@davemloft.net>
32448         [BZ #11494]
32449         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32451         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32452         * sysdeps/sparc/crti.S: New file.
32453         * sysdeps/sparc/crtn.S: New file.
32454         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32455         * sysdeps/sparc/sparc64/Makefile: Likewise.
32457 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
32459         [BZ #3335]
32460         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32462 2012-02-15  Roland McGrath  <roland@hack.frob.com>
32464         [BZ #4822]
32465         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32467         * mach/devstream.c (cookie_io_functions_t): Macro removed.
32468         (write, read, close): Likewise.
32469         Patch by Aurelien Jarno <aurelien@aurel32.net>.
32471 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
32473         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32474         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32475         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32476         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32477         <bits/signalfd.h>.
32478         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32480         bits/signalfd.h.
32482 2012-02-14  Marek Polacek  <polacek@redhat.com>
32484         * sysdeps/x86_64/crti.S: New file.
32485         * sysdeps/x86_64/crtn.S: New file.
32486         * sysdeps/x86_64/elf/initfini.c: Remove file.
32488 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
32490         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32491         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32492         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32493         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32494         <bits/inotify.h>.
32495         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32497         bits/inotify.h.
32499 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
32501         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32502         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32503         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32504         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32505         <bits/eventfd.h>.
32506         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32508         bits/eventfd.h.
32510 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
32512         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32513         __feraiseexcept instead of feraiseexcept.
32515         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32516         nanosleep invocations.
32517         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32518         strings, and add error checking for a nanosleep invocations.
32520 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
32522         Replace FSF snail mail address with URLs, as per GNU coding standards.
32523         Most of the snail mail addresses were wrong anyway, and omitting
32524         them makes the source code easier to maintain.  Almost all of the
32525         changes are to license notices and to locale LC_IDENTIFICATION
32526         addresses, except for this one:
32527         * manual/libc.texinfo: In "Published by", give the FSF's URL,
32528         not its snail mail address.
32530 2012-02-09  Richard Henderson  <rth@twiddle.net>
32532         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32533         of kernel-features.h.
32535         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32537 2012-02-08  Marek Polacek  <polacek@redhat.com>
32539         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32540         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32541         * sysdeps/gnu/_G_config.h: Likewise.
32542         * sysdeps/generic/_G_config.h: Likewise.
32544 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
32546         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32547         tests.
32548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32550         * sysdeps/powerpc/powerpc32/crti.S: New file.
32551         * sysdeps/powerpc/powerpc32/crtn.S: New file.
32552         * sysdeps/powerpc/powerpc64/crti.S: New file.
32553         * sysdeps/powerpc/powerpc64/crtn.S: New file.
32555         * Makeconfig (have-initfini): Don't set.
32556         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32557         * configure.in (nopic_initfini): Don't substitute.
32558         * config.h.in (HAVE_INITFINI): Don't #undef.
32559         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32560         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32562 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
32564         Support crti.S and crtn.S provided directly by architectures.
32565         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32566         [crti.S in sysdirs] (omit-deps): Likewise.
32567         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32568         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32569         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32570         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32571         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32572         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32573         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32574         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32575         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32576         compiler output for sysdeps/generic/initfini.c.
32577         * sysdeps/i386/elf/Makefile: Remove file.
32578         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32580 2012-02-07  Marek Polacek  <polacek@redhat.com>
32582         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32583         * sysdeps/gnu/_G_config.h: Likewise.
32584         * sysdeps/mach/hurd/_G_config.h: Likewise.
32586 2012-02-07  Marek Polacek  <polacek@redhat.com>
32588         * math/Makefile (tests): Add tst-CMPLX2.
32589         * math/tst-CMPLX2.c: New file.
32591 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
32593         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32595         * math/libm-test.inc (jn_test): Add missing L suffix.
32597 2012-02-06  Marek Polacek  <polacek@redhat.com>
32599         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32600         * sysdeps/i386/fpu/e_powf.S: Likewise.
32601         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32602         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32603         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32604         * sysdeps/i386/fpu/e_pow.S: Likewise.
32605         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32606         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32607         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32608         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32609         * sysdeps/i386/fpu/e_log2.S: Likewise.
32610         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32611         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32612         * sysdeps/i386/fpu/e_powl.S: Likewise.
32613         * sysdeps/i386/fpu/s_log1p.S: Likewise.
32614         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32615         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32616         * sysdeps/i386/fpu/e_logl.S: Likewise.
32617         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32618         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32619         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32620         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32621         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32622         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32623         * sysdeps/i386/fpu/e_log.S: Likewise.
32624         * sysdeps/i386/fpu/s_cexp.S: Likewise.
32625         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32626         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32627         * sysdeps/i386/fpu/e_logf.S: Likewise.
32628         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32629         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32630         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32631         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32632         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32633         * sysdeps/i386/fpu/e_log10.S: Likewise.
32634         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32635         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32636         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32637         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32638         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32639         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32640         * sysdeps/i386/asm-syntax.h: Likewise.
32641         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32642         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32643         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32644         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32645         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32646         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32647         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32648         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32649         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32650         * sysdeps/powerpc/sysdep.h: Likewise.
32651         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32652         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32654 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
32656         [BZ #411]
32657         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32659 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
32661         * sysdeps/i386/sysdep.h: Include <features.h>.
32662         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32663         version.
32665 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
32667         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32668         Define.
32669         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32670         LOAD_PIC_REG_STR.
32672 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
32674         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32675         (SETUP_PIC_REG): Use GET_PC_THUNK.
32676         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32677         macro.
32679 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
32681         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32682         for non-PIC compilation.
32683         (SETUP_PIC_REG): Add .p2align directive.
32684         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32685         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32686         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32687         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32688         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32689         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32690         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32691         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32692         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32693         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32694         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32695         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32696         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32697         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32698         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32699         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32700         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32701         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32702         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32703         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32704         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32705         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32706         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32707         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32708         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32709         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32710         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32711         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32712         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32713         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32714         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32715         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32716         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32717         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32718         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32719         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32720         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32721         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32722         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32723         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32724         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32726 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
32728         * math/tst-CMPLX.c: Include <stdio.h>.
32730 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
32732         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32733         float.
32734         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32735         * sysdeps/sparc/bits/mathdef.h: Likewise.
32737 2012-01-31  Marek Polacek  <polacek@redhat.com>
32739         * libio/libio.h: Don't define _PARAMS.
32740         * locale/programs/config.h: Don't define PARAMS.
32741         * stdlib/strtol_l.c: Likewise.
32742         (__strtol_l): Remove PARAMS from the prototype.
32744 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
32746         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
32747         names.  Just use the correct names.  Remove unnecessary wrapper
32748         functions.
32749         * malloc/arena.c: Likewise.
32750         * malloc/hooks.c: Likewise.
32752         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32753         ARENA_TEST says not to.  Simplify test for creation of a new arena.
32754         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32756 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
32758         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32759         into tail calls.
32760         (update_get_addr): New function.
32761         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32762         GET_ADDR_MODULE parameter.
32764 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
32766         * crypt/cert.c: Remove __STDC__ conditionals.
32767         * crypt/crypt-entry.c: Likewise.
32768         * crypt/crypt_util.c: Likewise.
32769         * libio/filedoalloc.c: Likewise.
32770         * libio/fileops.c: Likewise.
32771         * libio/genops.c: Likewise.
32772         * libio/iofclose.c: Likewise.
32773         * libio/iofdopen.c: Likewise.
32774         * libio/iofopen.c: Likewise.
32775         * libio/iofopen64.c: Likewise.
32776         * libio/iogetdelim.c: Likewise.
32777         * libio/iopopen.c: Likewise.
32778         * libio/obprintf.c: Likewise.
32779         * libio/oldfileops.c: Likewise.
32780         * libio/oldiofclose.c: Likewise.
32781         * libio/oldiofdopen.c: Likewise.
32782         * libio/oldiofopen.c: Likewise.
32783         * libio/oldiopopen.c: Likewise.
32784         * libio/wfiledoalloc.c: Likewise.
32785         * libio/wgenops.c: Likewise.
32786         * locale/programs/xmalloc.c: Likewise.
32787         * misc/syslog.c: Likewise.
32788         * stdio-common/xbug.c: Likewise.
32789         * string/memchr.c: Likewise.
32790         * string/memcmp.c: Likewise.
32791         * string/memrchr.c: Likewise.
32792         * string/rawmemchr.c: Likewise.
32793         * sysdeps/posix/getcwd.c: Likewise.
32794         * time/strftime_l.c: Likewise.
32796 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
32798         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32799         * config.make.in (config-cflags-sse2avx): Define.
32800         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32801         Fix typo.
32803 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
32805         * scripts/config.guess: Update from upstream config git repository.
32806         * scripts/config.sub: Likewise.
32808 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
32810         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32811         (EM_NUM): Update.
32812         (R_TILEPRO_*, R_TILEGX_*): New macros.
32814         * scripts/firstversions.awk: Fix bug in version range handling.
32816         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32818         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32820         * include/sys/epoll.h: New file.
32821         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32822         libc_hidden_def.
32824 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
32826         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32827         Avoid unnecessary __WORDSIZE == 64 test.
32828         (fmaxf): Use VEX format if possible.
32829         (fmax): Likewise.
32830         (fminf): Likewise.
32831         (fmin): Likewise.
32833         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32834         * math/math_private.h: Remove libc_fegetround* and
32835         libc_fesetround*.
32836         * sysdeps/i386/configure.in: Check for -msse2avx.
32837         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32838         also if SSE2AVX is defined.
32839         Remove libc_fegetround* and libc_fesetround*.
32840         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32841         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
32842         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32843         of HAS_YMM_USABLE.
32844         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32845         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32846         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32847         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32848         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32850         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32852 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32854         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32855         size is not set.
32856         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32858 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
32860         [BZ #13618]
32861         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32862         relocation.
32863         * Makeconfig (libm): Define.
32864         * elf/Makefile: Add rules to build and run tst-relsort1.
32865         * elf/tst-relsort1.c: New file.
32866         * elf/tst-relsort1mod1.c: New file.
32867         * elf/tst-relsort1mod2.c: New file.
32869 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
32871         * math/s_ldexp.c: Remove __STDC__ conditionals.
32872         * math/s_ldexpf.c: Likewise.
32873         * math/s_ldexpl.c: Likewise.
32874         * math/s_nextafter.c: Likewise.
32875         * math/s_nexttowardf.c: Likewise.
32876         * math/s_significand.c: Likewise.
32877         * math/s_significandf.c: Likewise.
32878         * math/s_significandl.c: Likewise.
32879         * math/w_jnl.c: Likewise.
32880         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32881         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32882         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32883         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32884         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32885         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32886         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32887         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32888         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32889         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32890         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32891         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32892         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32893         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32894         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32895         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32896         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32897         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32898         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32899         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32900         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32901         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32902         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32903         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32904         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32905         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32906         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32907         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32908         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32909         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32910         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32911         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32912         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32913         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32914         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32915         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32916         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32917         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32918         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32919         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32920         * sysdeps/ieee754/k_standard.c: Likewise.
32921         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32922         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32923         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32924         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32925         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32926         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32927         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32928         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32929         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32930         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32931         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32932         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32933         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32934         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32935         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32936         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32937         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32938         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32939         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32940         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32941         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32942         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32943         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32944         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32945         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32946         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32947         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32948         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32950         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32951         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32952         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32953         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32954         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32955         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32956         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32957         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32958         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32959         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32960         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32961         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32962         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32963         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32964         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32965         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32966         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32967         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32968         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32969         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32970         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32971         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32972         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32973         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32974         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32975         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32976         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32977         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32978         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32979         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32980         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32981         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32982         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32983         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32984         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32985         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32986         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32987         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32988         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32989         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32990         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32991         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32992         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32993         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32994         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32995         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32996         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32997         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32998         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32999         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33000         * sysdeps/ieee754/s_matherr.c: Likewise.
33001         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33002         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33003         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33004         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33006 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33008         * crypt/md5.h: Remove __STDC__ conditionals.
33009         * libio/libioP.h: Likewise.
33010         * locale/programs/config.h: Likewise.
33011         * sysdeps/generic/sysdep.h: Likewise.
33012         * sysdeps/i386/asm-syntax.h: Likewise.
33013         * sysdeps/s390/asm-syntax.h: Likewise.
33014         * sysdeps/unix/sysdep.h: Likewise.
33015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33018 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
33020         * libio/libio.h: Remove __STDC__ conditionals.
33021         * malloc/obstack.h: Likewise.
33022         * math/complex.h: Likewise.
33023         * math/math.h: Likewise.
33024         * sysdeps/generic/_G_config.h: Likewise.
33025         * sysdeps/gnu/_G_config.h: Likewise.
33026         * sysdeps/mach/hurd/_G_config.h: Likewise.
33027         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33028         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33029         * sysdeps/sparc/bits/mathdef.h: Likewise.
33031 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
33033         [BZ #13583]
33034         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33035         Clean up HAS_* macros.
33036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33037         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33038         possible.
33039         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33040         HAS_AVX.
33041         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33042         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33043         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33044         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33045         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33047 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
33049         * elf/tst-unique3.cc (gets): Remove declaration.
33050         * elf/tst-unique3lib.cc (gets): Likewise.
33051         * elf/tst-unique3lib2.cc (gets): Likewise.
33052         * elf/tst-unique4.cc (gets): Likewise.
33054 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
33056         * include/stdio.h: Add C++ protection.  Add gets declarations and
33057         definitions.
33058         * debug/tst-chk1.c: Don't declare gets here.
33059         * stdio-common/tst-gets.c: Likewise.
33061 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
33063         * posix/glob: Remove directory.
33065 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
33067         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33069 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
33071         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33072         of the non-standard EPFNOSUPPORT.
33074 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33076         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33077         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33078         ANYWHERE set to 1 only on KERN_NO_SPACE error.
33080 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
33082         * wcsmbs/uchar.h: Test __STDC_VERSION__.
33084 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
33086         * nscd/aicache.c (addhstaiX): Do not cache negative results of
33087         transient errors.
33088         * nscd/grpcache.c (cache_addgr): Likewise.
33089         * nscd/hstcache.c (cache_addhst): Likewise.
33090         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33091         * nscd/pwdcache.c (cache_addpw): Likewise.
33092         * nscd/servicescache.c (cache_addserv): Likewise.
33094 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
33096         * malloc/malloc.c: Various cleanups.
33097         * malloc/hooks.c: Likewise.
33099         * stdlib/Makefile (tests): Add bug-fmtmsg1.
33100         * stdlib/bug-fmtmsg1.c: New file.
33102         * stdlib/fmtmsg.c (init): Add missing unlock.
33103         Patch by Peng Haitao <penght@cn.fujitsu.com>.
33105 2012-01-12  Marek Polacek  <polacek@redhat.com>
33107         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33108         and _GNU_SOURCE.
33110 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33112         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33113         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33114         macro to ensure uniqueness of label name.
33115         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33116         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33118 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
33120         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33122         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33123         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33124         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33125         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33127 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
33129         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33131         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33132         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33133         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33135         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33137         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33138         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33139         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33140         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33142         * math/bits/math-finite.h: Add ldexp support.
33144 2012-01-10  Marek Polacek  <polacek@redhat.com>
33146         * locale/programs/localedef.h (show_archive_content): Add noreturn
33147         attribute.
33149 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
33151         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33153 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
33155         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33157         * io/Makefile (headers): Add bits/poll2.h.
33159 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
33161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33162         typo #include statement.
33164 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
33166         * include/sys/cdefs.h: Define __attribute_alloc_size.
33167         * catgets/gencat.c: Add alloc_size attribute and apply consistently
33168         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33169         * elf/pldd.c: Likewise.
33170         * iconv/iconv_charmap.c: Likewise.
33171         * iconv/iconvconfig.c: Likewise.
33172         * iconv/strtab.c: Likewise.
33173         * locale/programs/locale.c: Likewise.
33174         * locale/programs/localedef.h: Likewise.
33175         * locale/programs/simple-hash.c: Likewise.
33176         * nscd/nscd.h: Likewise.
33177         * nss/makedb.c: Likewise.
33178         * sysdeps/generic/ldconfig.h: Likewise.
33179         * locale/programs/localedef.c: Remove xmalloc prototype.
33180         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33182 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33184         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33185         appropriate.
33187 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
33189         * math/Makefile (tests): Add tst-CMPLX.
33190         * math/tst-CMPLX.c: New file.
33192         * math/complex.h (CMPLXL): Fix typo.
33194         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33195         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33196         GLIBC_2.16.
33197         * debug/tst-chk1.c: Add poll and ppoll tests.
33198         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33199         * include/sys/poll.h: Add hidden proto for ppoll.
33200         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33201         * sysdeps/mach/hurd/ppoll.c: Likewise.
33202         * io/ppoll.c: Likewise.
33203         * debug/poll_chk.c: New file.
33204         * debug/ppoll_chk.c: New file.
33205         * include/bits/poll2.h: New file.
33206         * io/bits/poll2.h: New file.
33208         [BZ #1350]
33209         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33211         * configure.in: static is always set to yes.  Remove.
33212         * config.make.in: Don't set build-static.
33213         * Makeconfig: Remove use of build-static.
33214         * dlfcn/Makefile: Likewise.
33215         * elf/Makefile: Likewise.
33216         * math/Makefile: Likewise.
33217         * misc/Makefile: Likewise.
33218         * nptl/Makefile: Likewise.
33219         * sysdeps/mach/hurd/Makefile: Likewise.
33221         * configure.in: PWD_P is not used anymore.
33222         * config.make.in: Remove PWD_P entry.
33224         * configure.in: Remove last remnants of RANLIB.
33225         No need to check for signed size_t anymore.
33226         Don't set libc_commonpagesize and libc_relro_required here for Alpha
33227         and IA-64.
33228         Remove __builtin_expect test because we require at least gcc 3.4.
33229         * aclocal.m4: Likewise.
33231         * wcsmbs/mbrtoc16.c: Implement using towc function.
33232         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33233         * wcsmbs/wcsmbsload.c: Likewise.
33234         * iconv/gconv_simple.c: Likewise.
33235         * iconv/gconv_int.h: Likewise.
33236         * iconv/gconv_builtin.h: Likewise.
33237         * iconv/iconv_prog.c: Remove CHAR16 handling.
33239         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33241         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33243         * configure.in: Remove --with-elf and --enable-bounded options.
33244         Dont set base_machine for ia64.  More non-ELF conditions removed.
33245         Remove testing and setting of leading underscore information.
33246         * config.make.in (build-bounded): Set to no.
33247         * config.h.in: Remove NO_UNDERSCORES entry.
33248         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
33249         them.
33250         * csu/start.c: Remove !NO_UNDERSCORE code.
33251         * locale/localeinfo.h: Likewise.
33252         * sysdeps/generic/machine-gmon.h: Likewise.
33253         * sysdeps/generic/sysdep.h: Likewise.
33254         * sysdeps/i386/sysdep.h: Likewise.
33255         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33256         * sysdeps/mach/sysdep.h: Likewise.
33257         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33258         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33259         * sysdeps/sh/sysdep.h: Likewise.
33260         * sysdeps/sparc/sparc32/alloca.S: Likewise.
33261         * sysdeps/unix/i386/sysdep.S: Likewise.
33262         * sysdeps/unix/sparc/start.c: Likewise.
33263         * sysdeps/unix/sparc/sysdep.S: Likewise.
33264         * sysdeps/unix/sparc/sysdep.h: Likewise.
33265         * sysdeps/unix/start.c: Likewise.
33266         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33267         * sysdeps/x86_64/sysdep.h: Likewise.
33269 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
33271         [BZ #13553]
33272         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33273         for non-gcc.
33274         * argp/argp-fmtstream.h: Use const instead __const.
33275         * argp/argp.h: Likewise.
33276         * assert/assert.h: Likewise.
33277         * bits/fenv.h: Likewise.
33278         * bits/sched.h: Likewise.
33279         * bits/sigset.h: Likewise.
33280         * bits/sigthread.h: Likewise.
33281         * catgets/nl_types.h: Likewise.
33282         * conform/data/pthread.h-data: Likewise.
33283         * crypt/crypt-private.h: Likewise.
33284         * crypt/crypt.h: Likewise.
33285         * crypt/crypt_util.c: Likewise.
33286         * ctype/ctype.h: Likewise.
33287         * debug/execinfo.h: Likewise.
33288         * debug/mbsnrtowcs_chk.c: Likewise.
33289         * debug/mbsrtowcs_chk.c: Likewise.
33290         * debug/wcsnrtombs_chk.c: Likewise.
33291         * debug/wcsrtombs_chk.c: Likewise.
33292         * debug/wcstombs_chk.c: Likewise.
33293         * dirent/dirent.h: Likewise.
33294         * dlfcn/dlfcn.h: Likewise.
33295         * elf/neededtest4.c: Likewise.
33296         * grp/grp.h: Likewise.
33297         * gshadow/gshadow.h: Likewise.
33298         * iconv/gconv.h: Likewise.
33299         * iconv/gconv_int.h: Likewise.
33300         * iconv/gconv_simple.c: Likewise.
33301         * iconv/iconv.h: Likewise.
33302         * iconv/loop.c: Likewise.
33303         * iconv/skeleton.c: Likewise.
33304         * include/aio.h: Likewise.
33305         * include/aliases.h: Likewise.
33306         * include/argz.h: Likewise.
33307         * include/arpa/inet.h: Likewise.
33308         * include/assert.h: Likewise.
33309         * include/dirent.h: Likewise.
33310         * include/dlfcn.h: Likewise.
33311         * include/execinfo.h: Likewise.
33312         * include/fcntl.h: Likewise.
33313         * include/fenv.h: Likewise.
33314         * include/glob.h: Likewise.
33315         * include/grp.h: Likewise.
33316         * include/libintl.h: Likewise.
33317         * include/mntent.h: Likewise.
33318         * include/netdb.h: Likewise.
33319         * include/pwd.h: Likewise.
33320         * include/rpc/netdb.h: Likewise.
33321         * include/sched.h: Likewise.
33322         * include/search.h: Likewise.
33323         * include/shadow.h: Likewise.
33324         * include/signal.h: Likewise.
33325         * include/stdio.h: Likewise.
33326         * include/stdlib.h: Likewise.
33327         * include/string.h: Likewise.
33328         * include/sys/socket.h: Likewise.
33329         * include/sys/stat.h: Likewise.
33330         * include/sys/statfs.h: Likewise.
33331         * include/sys/statvfs.h: Likewise.
33332         * include/sys/syslog.h: Likewise.
33333         * include/sys/time.h: Likewise.
33334         * include/sys/uio.h: Likewise.
33335         * include/time.h: Likewise.
33336         * include/unistd.h: Likewise.
33337         * include/utmp.h: Likewise.
33338         * include/wchar.h: Likewise.
33339         * include/wctype.h: Likewise.
33340         * inet/aliases.h: Likewise.
33341         * inet/arpa/inet.h: Likewise.
33342         * inet/netinet/ether.h: Likewise.
33343         * inet/netinet/in.h: Likewise.
33344         * intl/libintl.h: Likewise.
33345         * io/bits/fcntl2.h: Likewise.
33346         * io/fcntl.h: Likewise.
33347         * io/ftw.h: Likewise.
33348         * io/sys/poll.h: Likewise.
33349         * io/sys/stat.h: Likewise.
33350         * io/sys/statfs.h: Likewise.
33351         * io/sys/statvfs.h: Likewise.
33352         * io/utime.h: Likewise.
33353         * libio/bits/stdio.h: Likewise.
33354         * libio/bits/stdio2.h: Likewise.
33355         * libio/libio.h: Likewise.
33356         * libio/libioP.h: Likewise.
33357         * libio/stdio.h: Likewise.
33358         * locale/lc-ctype.c: Likewise.
33359         * locale/locale.h: Likewise.
33360         * login/utmp.h: Likewise.
33361         * malloc/arena.c: Likewise.
33362         * malloc/malloc.c: Likewise.
33363         * malloc/malloc.h: Likewise.
33364         * malloc/mcheck.c: Likewise.
33365         * malloc/mtrace.c: Likewise.
33366         * math/bits/mathcalls.h: Likewise.
33367         * math/fenv.h: Likewise.
33368         * math/math_private.h: Likewise.
33369         * misc/bits/error.h: Likewise.
33370         * misc/bits/syslog.h: Likewise.
33371         * misc/err.h: Likewise.
33372         * misc/error.h: Likewise.
33373         * misc/fstab.h: Likewise.
33374         * misc/mntent.h: Likewise.
33375         * misc/regexp.h: Likewise.
33376         * misc/search.h: Likewise.
33377         * misc/sgtty.h: Likewise.
33378         * misc/sys/mman.h: Likewise.
33379         * misc/sys/syslog.h: Likewise.
33380         * misc/sys/uio.h: Likewise.
33381         * misc/sys/xattr.h: Likewise.
33382         * misc/ttyent.h: Likewise.
33383         * nis/rpcsvc/ypclnt.h: Likewise.
33384         * nss/nss.h: Likewise.
33385         * posix/bits/unistd.h: Likewise.
33386         * posix/fnmatch.h: Likewise.
33387         * posix/glob.h: Likewise.
33388         * posix/sched.h: Likewise.
33389         * posix/spawn.h: Likewise.
33390         * posix/sys/wait.h: Likewise.
33391         * posix/unistd.h: Likewise.
33392         * posix/wordexp.h: Likewise.
33393         * pwd/pwd.h: Likewise.
33394         * resolv/netdb.h: Likewise.
33395         * resource/sys/resource.h: Likewise.
33396         * rt/aio.h: Likewise.
33397         * rt/bits/mqueue2.h: Likewise.
33398         * rt/mqueue.h: Likewise.
33399         * shadow/shadow.h: Likewise.
33400         * signal/signal.h: Likewise.
33401         * socket/send.c: Likewise.
33402         * socket/sendto.c: Likewise.
33403         * socket/sys/socket.h: Likewise.
33404         * stdio-common/printf.h: Likewise.
33405         * stdlib/bits/stdlib.h: Likewise.
33406         * stdlib/fmtmsg.h: Likewise.
33407         * stdlib/monetary.h: Likewise.
33408         * stdlib/stdlib.h: Likewise.
33409         * stdlib/ucontext.h: Likewise.
33410         * streams/stropts.h: Likewise.
33411         * string/argz.h: Likewise.
33412         * string/bits/string2.h: Likewise.
33413         * string/string.h: Likewise.
33414         * string/strings.h: Likewise.
33415         * sunrpc/rpc/auth.h: Likewise.
33416         * sunrpc/rpc/auth_des.h: Likewise.
33417         * sunrpc/rpc/clnt.h: Likewise.
33418         * sunrpc/rpc/netdb.h: Likewise.
33419         * sunrpc/rpc/pmap_clnt.h: Likewise.
33420         * sunrpc/rpc/xdr.h: Likewise.
33421         * sysdeps/generic/inttypes.h: Likewise.
33422         * sysdeps/generic/net/if.h: Likewise.
33423         * sysdeps/generic/sys/swap.h: Likewise.
33424         * sysdeps/gnu/net/if.h: Likewise.
33425         * sysdeps/gnu/utmpx.h: Likewise.
33426         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33427         * sysdeps/i386/i486/bits/string.h: Likewise.
33428         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33429         * sysdeps/s390/bits/string.h: Likewise.
33430         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33431         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33432         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33433         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33434         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33435         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33436         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33437         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33438         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33439         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33440         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33441         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33442         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33443         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33444         * sysdeps/unix/sysv/linux/readv.c: Likewise.
33445         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33446         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33447         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33448         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33449         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33450         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33451         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33452         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33453         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33454         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33455         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33456         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33457         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33458         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33459         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33460         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33461         * sysvipc/sys/ipc.h: Likewise.
33462         * sysvipc/sys/msg.h: Likewise.
33463         * sysvipc/sys/sem.h: Likewise.
33464         * sysvipc/sys/shm.h: Likewise.
33465         * termios/termios.h: Likewise.
33466         * time/sys/time.h: Likewise.
33467         * time/time.h: Likewise.
33468         * wcsmbs/bits/wchar2.h: Likewise.
33469         * wcsmbs/uchar.h: Likewise.
33470         * wcsmbs/wchar.h: Likewise.
33471         * wctype/wctype.h: Likewise.
33473         [BZ #13551]
33474         * Makeconfig: Remove all but ELF support including AIX support.
33475         * Makerules: Likewise.
33476         * config.h.in: Likewise.
33477         * config.make.in: Likewise.
33478         * configure: Likewise.
33479         * configure.in: Likewise.
33480         * csu/Makefile: Likewise.
33481         * csu/version.c: Likewise.
33482         * debug/Makefile: Likewise.
33483         * dlfcn/Makefile: Likewise.
33484         * elf/Makefile: Likewise.
33485         * extra-lib.mk: Likewise.
33486         * iconv/Makefile: Likewise.
33487         * include/libc-symbols.h: Likewise.
33488         * include/shlib-compat.h: Likewise.
33489         * resolv/Makefile: Likewise.
33490         * resolv/res_libc.c: Likewise.
33491         * rt/Makefile: Likewise.
33492         * sysdeps/i386/asm-syntax.h: Likewise.
33493         * sysdeps/i386/sysdep.h: Likewise.
33494         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33495         * sysdeps/mach/sysdep.h: Likewise.
33496         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33497         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33498         * sysdeps/s390/asm-syntax.h: Likewise.
33499         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33500         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33501         * sysdeps/sh/sysdep.h: Likewise.
33502         * sysdeps/unix/sparc/sysdep.h: Likewise.
33503         * sysdeps/wordsize-32/divdi3.c: Likewise.
33504         * sysdeps/x86_64/sysdep.h: Likewise.
33506         * argp/Versions: Remove _argp_unlock_xxx.
33508         [BZ #13559]
33509         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
33510         * abilist/libBrokenLocale.abilist: Likewise.
33511         * abilist/libanl.abilist: Likewise.
33512         * abilist/libc.abilist: Likewise.
33513         * abilist/libcrypt.abilist: Likewise.
33514         * abilist/libdl.abilist: Likewise.
33515         * abilist/libm.abilist: Likewise.
33516         * abilist/libnsl.abilist: Likewise.
33517         * abilist/libpthread.abilist: Likewise.
33518         * abilist/libresolv.abilist: Likewise.
33519         * abilist/librt.abilist: Likewise.
33520         * abilist/libthread_db.abilist: Likewise.
33521         * abilist/libutil.abilist: Likewise.
33522         * abilist/libnss_db.abilist: New file.
33524         * scripts/abilist.awk: Add support for indirect functions.
33526         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33528         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33530         * shlib-versions: Remove entries for ports architectures.
33532         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
33533         files in ports.
33534         * elf/stackguard-macros.h: Remove support for IA-64.
33535         * elf/tst-auditmod1.c: Likewise.
33536         * sysdeps/generic/ldsodefs.h: Likewise.
33538         * sysdeps/unix/sysv/linux/configure.in: Ports should define
33539         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33540         configure files.
33542         [BZ #13552]
33543         * configure.in: Remove --enable-omitfp support.
33544         * FAQ.in: Adjust.
33545         * config.make.in: Likewise.
33546         * Makeconfig: Likewise.
33547         * manual/install.texi: Likewise.
33549         In case anyone cares, the IA-64 architecture could move to ports.
33550         * sysdeps/ia64/*: Removed.
33551         * sysdeps/unix/sysv/linux/ia64/*: Removed.
33552         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33554         [BZ #13555]
33555         * configure.in: Remove entries for unsupported architectures.
33557         [BZ #13533]
33558         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33559         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
33560         routines.
33561         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33562         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33563         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
33564         fall back to using wcrtomb.
33565         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33566         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
33567         renaming.
33568         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33569         * wcsmbs/tst-c16c32-1.c: New file.
33571         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33572         local variable.
33574         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33576         * elf/tst-unique3.cc: Add explicit declaration of gets.
33577         * elf/tst-unique3lib.cc: Likewise.
33578         * elf/tst-unique3lib2.cc: Likewise.
33579         * elf/tst-unique4.cc: Likewise.
33581         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33583 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
33585         [BZ #13566]
33586         * assert/assert.h (static_assert): Don't define for C++.
33587         * libio/stdio.h (gets): Do declare for C++ <= C++11.
33588         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33590 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
33592         * iconv/loop.c (single loop): Fix assertion in storing of
33593         remaining bytes.
33595         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33597 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
33599         * posix/getconf.c: Update copyright year.
33600         * nss/getent.c: Likewise.
33601         * nss/makedb.c: Likewise.
33602         * iconv/iconvconfig.c: Likewise.
33603         * iconv/iconv_prog.c: Likewise.
33604         * elf/ldconfig.c: Likewise.
33605         * elf/pldd.c: Likewise.
33606         * elf/sotruss.ksh: Likewise.
33607         * catgets/gencat.c: Likewise.
33608         * csu/version.c: Likewise.
33609         * elf/ldd.bash.in: Likewise.
33610         * elf/sprof.c (print_version): Likewise.
33611         * locale/programs/locale.c: Likewise.
33612         * locale/programs/localedef.c: Likewise.
33613         * login/programs/pt_chown.c: Likewise.
33614         * nscd/nscd.c (print_version): Likewise.
33615         * debug/xtrace.sh: Likewise.
33616         * malloc/memusage.sh: Likewise.
33617         * malloc/mtrace.pl: Likewise.
33618         * debug/catchsegv.sh: Likewise.
33620 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
33622         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33623         pure attribute.
33625 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
33627         [BZ #13533]
33628         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33629         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33630         transformations.
33631         * iconv/gconv_int.h: Likewise.
33632         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33633         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33634         from libc for GLIBC_2.16.
33635         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33636         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33637         * wcsmbs/uchar.h: Really define mbstate_t.
33638         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33639         * wcsmbs/c16rtomb.c: New file.
33640         * wcsmbs/mbrtoc16.c: New file.
33641         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33642         for C/POSIX locale.
33643         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33644         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33646         * wcsmbs/wchar.h: Add missing __restrict.
33648 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
33650         [BZ #13532]
33651         * time/Makefile (routines): Add timespec_get.
33652         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33653         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
33654         timespec for ISO C11.
33655         * time/timespec_get.c: New file.
33656         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33657         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33659         [BZ #13531]
33660         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33661         * stdlib/stdlib.h: Declare aligned_alloc.
33662         * Versions.def: Add GLIBC_2.16 for libc.
33663         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33665         [BZ 13527]
33666         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33667         ISO C11.
33669         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33670         code.
33672         [BZ #13528]
33673         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33675         [BZ #13529]
33676         * assert/assert.h (static_assert): Define.
33678         * version.h: Update for 2.16 development version.
33680         [BZ #13526]
33681         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33682         _ISOC11_SOURCE.
33684         * version.h (RELEASE): Bump for 2.15 release.
33685         * include/features.h (__GLIBC_MINOR__): Bump to 15.
33687         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33688         Patch by Marek Polacek <mpolacek@redhat.com>.
33690         * bits/byteswap.h: Protect long long constants with __extension__.
33691         * sysdeps/i386/bits/byteswap.h: Likewise.
33692         * sysdeps/ia64/bits/byteswap.h: Likewise.
33693         * sysdeps/s390/bits/byteswap.h: Likewise.
33694         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33696 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33698         [BZ #13540]
33699         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33700         destination buffer.
33701         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33703 2011-12-23  Marek Polacek  <polacek@redhat.com>
33705         * elf/dl-addr.c (determine_info): Add inline keyword.
33706         * elf/tst-auditmod4b.c (check_avx): Likewise.
33707         * elf/tst-auditmod6b.c (check_avx): Likewise.
33708         * elf/tst-auditmod6c.c (check_avx): Likewise.
33709         * elf/tst-auditmod7b.c (check_avx): Likewise.
33711 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
33713         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33714         !__SSE_MATH__.
33716 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33718         [BZ #13540]
33719         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33720         processing for last bytes.
33722 2011-08-06  Bruno Haible  <bruno@clisp.org>
33724         [BZ #13061]
33725         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33726         U+0385, not to U+1FEE.
33728         [BZ #13062]
33729         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33730         entry for U+00A5 U+0301.
33732 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
33734         [BZ #13166]
33735         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33736         buffer for the output is too small.
33738         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33739         optimization.
33741         [BZ #13185]
33742         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33743         SSE flags if possible.
33745 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33747         [BZ #13540]
33748         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33749         processing for last bytes.
33751 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
33753         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33754         (syscall-list-default-options, syscall-list-default-condition)
33755         (syscall-list-includes): Define.
33756         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33757         list of ABIs and options and #if conditions for each ABI.  Do not
33758         handle common syscalls between ABIs specially.
33759         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33760         Remove.
33761         (syscall-list-variants, syscall-list-32bit-options)
33762         (syscall-list-32bit-condition, syscall-list-64bit-options)
33763         (syscall-list-64bit-condition): Define.
33764         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33765         (syscall-list-variants, syscall-list-32bit-options)
33766         (syscall-list-32bit-condition, syscall-list-64bit-options)
33767         (syscall-list-64bit-condition): Define.
33768         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33769         Remove.
33770         (syscall-list-variants, syscall-list-32bit-options)
33771         (syscall-list-32bit-condition, syscall-list-64bit-options)
33772         (syscall-list-64bit-condition): Define.
33773         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33774         Remove.
33775         (syscall-list-variants, syscall-list-32bit-options)
33776         (syscall-list-32bit-condition, syscall-list-64bit-options)
33777         (syscall-list-64bit-condition): Define.
33779 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
33781         * locale/iso-639.def: Add brx entry.
33783         [BZ #13328]
33784         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33785         Proposed by Mariusz_Cukr <marcukr@op.pl>.
33787         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33788         __feraiseexcept_renamed.
33790 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
33792         [BZ #13538]
33793         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33794         EPOLLET with unsigned values.
33795         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33796         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33798         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33799         to large cancellation.
33800         * math/s_cacoshf.c: Likewise.
33801         * math/s_cacoshl.c: Likewise.
33803 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
33805         [BZ #13305]
33806         [BZ #12786]
33807         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33808         * math/s_cacoshf.c: Likewise.
33809         * math/s_cacoshl.c: Likewise.
33811 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
33813         [BZ #13439]
33814         * iconv/gconv.h: Define __GCONV_SWAP.
33815         * iconvdata/unicode.c: The swap bit must be stored in __flags.
33816         * iconvdata/utf-16.c: Likewise.
33817         * iconvdata/utf-32.c: Likewise.
33819 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33821         [BZ #13524]
33822         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33823         numerator after shifting it by one limb.
33825 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
33827         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33828         under [__USE_EXTERN_INLINES].
33830 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
33832         [BZ #13446]
33833         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33835 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33837         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33838         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33839         optimized code.
33840         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33841         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33842         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33843         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33844         for strncasecmp/strncasecmp_l compilation.
33845         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33846         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33848 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
33850         [BZ #13484]
33851         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33852         of __asm__.
33854 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
33856         [BZ #13506]
33857         * time/tzfile.c (__tzfile_read): Check values from file header.
33859 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33861         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33862         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33863         * powerpc/powerpc32/dl-start.S: Likewise.
33864         * powerpc/powerpc32/elf/start.S: Likewise.
33865         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33866         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33867         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33868         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33869         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33870         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33871         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33872         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33873         * powerpc/powerpc32/fpu/s_round.S: Likewise.
33874         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33875         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33876         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33877         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33878         * powerpc/powerpc32/memset.S: Likewise.
33879         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33880         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33881         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33882         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33883         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33884         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33885         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33886         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33887         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33888         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33889         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33890         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33891         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33893 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33895         * math/libm-test.inc: Added more nearbyint tests.
33896         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33898         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33901 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
33903         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33904         FD_CLOEXEC.
33906 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33908         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33909         Add wcscpy-ssse3 wcscpy-c.
33910         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33911         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33912         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33913         * sysdeps/x86_64/wcschr.S: New file.
33914         * sysdeps/x86_64/wcsrchr.S: New file.
33915         * string/test-strcmp.c: Remove checking of wcscmp function for
33916         wrong alignments.
33917         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33918         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33919         wcsrchr-sse2 wcsrchr-c.
33920         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33921         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33922         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33923         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33924         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33925         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33926         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33927         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33928         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33929         * wcsmbc/wcschr.c (WCSCHR): New macro.
33931 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33933         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33934         * wcsmbs/test-wcsrchr.c: New file.
33935         * string/test-strrchr.c: Add wcsrchr support.
33936         (WIDE): New macro.
33937         * wcsmbs/test-wcscpy.c: New file.
33938         * string/test-strcpy.c: Add wcscpy support.
33939         (WIDE): New macro.
33941 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
33943         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33944         the inner loop.
33946 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
33948         [BZ #13472]
33949         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33951 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
33953         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33954         Minor optimizations.
33956         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33957         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33958         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33960 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
33962         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33963         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33964         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33965         for gcc to avoid warnings.
33966         * inet/Makefile (tests): Add tst-checks.
33967         * inet/tst-checks.c: New file.
33969         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33970         warning.
33972         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33973         __wmemcmp_sse2.
33975         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33976         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33978         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33980 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33982         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33983         problem.
33985         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33987 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33989         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33990         conditional on GCC version.
33991         (__arch_compare_and_exchange_val_8_acq)
33992         (__arch_compare_and_exchange_val_16_acq)
33993         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33994         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33995         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33997 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33999         * sysdeps/sh/backtrace.c: New file.
34001 2011-12-02  Andreas Schwab  <schwab@redhat.com>
34003         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
34004         parenthesis.
34006 2011-12-01  Andreas Schwab  <schwab@redhat.com>
34008         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34009         falling back to utime.
34011 2011-11-30  Andreas Schwab  <schwab@redhat.com>
34013         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34014         expectations for float.
34016 2011-11-29  Andreas Schwab  <schwab@redhat.com>
34018         * locale/weight.h (findidx): Add parameter len.
34019         * locale/weightwc.h (findidx): Likewise.
34020         * posix/fnmatch_loop.c (FCT): Adjust caller.
34021         * posix/regcomp.c (build_equiv_class): Likewise.
34022         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34023         * posix/regexec.c (check_node_accept_bytes): Likewise.
34024         * string/strcoll_l.c (STRCOLL): Likewise.
34025         * string/strxfrm_l.c (STRXFRM): Likewise.
34027 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
34029         * Makefile.in: Remove CVSOPT handling.
34030         * configure.in: Remove use of AC_REVISION.
34031         * iconvdata/Makefile (distribute): No need to filter out CVS.
34032         * scripts/list-sources.sh: Remove CVS, subversion and monotone
34033         handling.
34035 2011-11-16  Andreas Schwab  <schwab@redhat.com>
34037         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34038         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34039         [USE_AS_STRNCASECMP_L]: Likewise.
34040         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34041         NO_TLS_DIRECT_SEG_REFS.
34042         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34043         Fix argument offsets for non-PIC.
34044         [USE_AS_STRNCASECMP_L]: Likewise.
34045         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34046         NO_TLS_DIRECT_SEG_REFS.
34048 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
34050         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34051         O_CLOEXEC.
34052         * locale/loadlocale.c (_nl_load_locale): Likewise.
34054 2011-11-15  Andreas Schwab  <schwab@redhat.com>
34056         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34057         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34058         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34059         (SYSCALL_GETTIME): Set errno on error.
34061         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34062         count references to noai6ai_cached.
34064 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
34066         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34068         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34069         FD_CLOEXEC for /proc/self/maps.
34071         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34072         FD_CLOEXEC for /proc/meminfo.
34074         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34075         gai.conf.
34077         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
34078         FD_CLOEXEC for given file.
34080         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34082         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34083         FD_CLOEXEC for /etc/hosts.
34084         (_gethtent): Likewise.
34086         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34088         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34089         cancellation and set FD_CLOEXEC for /etc/netgroup.
34091         * nss/nss_files/files-key.c (search): Don't allow cancellation when
34092         reading /etc/publickey.
34094         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34095         allow cancellation when reading /etc/group.
34097         * nss/nss_files/files-alias.c (internal_setent): Don't allow
34098         cancellation.
34099         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
34101         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34102         when using data file.
34104         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34106         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34107         (write_nis_obj): Use "c" and "e" in fopen.
34109         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34111         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34113         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34115         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34117         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34118         locale.alias.
34120         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34122         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34124         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34126         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34127         file parsing and set FD_CLOEXEC.
34129 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
34131         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34133 2011-11-14  Andreas Schwab  <schwab@redhat.com>
34135         * malloc/arena.c (arena_get2): Don't call reused_arena when
34136         _int_new_arena failed.
34138 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
34140         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34141         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34142         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34143         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34144         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34145         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34146         to compile strcasecmp and strncasecmp.
34147         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34148         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34150         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34152 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
34154         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34155         locale-defines.sym to gen-as-const-headers.
34156         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34157         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34158         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34159         to compile strcasecmp and strncasecmp.
34160         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34161         strcasecmp_l and strncasecmp_l.
34162         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34163         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34164         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34165         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34166         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34167         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34168         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34169         * sysdeps/i386/i686/multiarch/strncase.S: New file.
34170         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34171         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34172         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34174 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
34176         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34177         result of SYSDEP_GETTIME_CPU to retval.
34178         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34179         parameter list to macro.  Remove trailing semicolon.  Adjust users.
34181         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34182         variable.
34184         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34185         mantissa words.
34186         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34188         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34189         from unused variable.
34191         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34192         DWARF definitions.
34193         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34194         for assembling.
34196         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34197         over namespaces.
34199         * sunrpc/rpc_prot.c (rejected): Fix case value.
34201         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34202         unsigned long long int to avoid warnings in shift.
34204         * posix/regex_internal.c (re_string_reconstruct): Actually use result
34205         of use of trans.
34206         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34207         variable tmp.
34209         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34210         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34211         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34213         * nis/nis_table.c (nis_list): Use variable of correct type for
34214         result of __follow_path call.
34216 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34218         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34219         of math functions ceil, trunc, floor, round, and sqrt, when
34220         avaliable on the platform.
34221         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34222         name clash.
34223         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34224         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34225         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34227 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
34229         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34230         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34232 2011-11-11  Roland McGrath  <roland@hack.frob.com>
34234         * include/unistd.h: Fix __readlink return type.
34235         Reported by Chris Metcalf <cmetcalf@tilera.com>.
34237 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
34239         * stdlib/ucontext.h: Undo last change for makecontext.
34241 2011-11-11  Andreas Schwab  <schwab@redhat.com>
34243         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34245         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34246         * setjmp/setjmp.h: Mark functions as non-leaf.
34247         * setjmp/bits/setjmp2.h: Likewise.
34248         * stdlib/ucontext.h: Likewise.
34250 2011-11-10  Andreas Schwab  <schwab@redhat.com>
34252         * malloc/arena.c (_int_new_arena): Don't increment narenas.
34253         (reused_arena): Don't check arena limit.
34254         (arena_get2): Atomically check arena limit.
34256 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
34258         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34259         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34261         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34262         instructions.
34264 2011-11-07  Andreas Schwab  <schwab@redhat.com>
34266         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34267         handler when locking.
34269         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34270         Fix size of allocated buffer.
34272 2011-11-04  Andreas Schwab  <schwab@redhat.com>
34274         [BZ #10103]
34275         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34276         declarations for long double functions.
34277         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34279         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34281 2011-11-03  Andreas Schwab  <schwab@redhat.com>
34283         * nscd/nscd.c (main): Don't start AVC thread until credentials are
34284         installed.
34286         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34287         is disabled.
34289 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34291         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34293 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34295         * include/alloca.h (stackinfo_alloca_round): Define.
34296         (extend_alloca): Use it.
34297         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34298         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34299         here.
34301         * scripts/check-local-headers.sh: Ignore libaudit.h.
34303         * nscd/Makefile (extra-objs): Make recursively expanded.
34305 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
34307         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34308         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34310         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34311         * posix/tst-rfc3484-2.c: Likewise.
34312         * posix/tst-rfc3484-3.c: Likewise.
34314         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34315         process_vm_writev.
34316         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34317         process_vm_writev.
34318         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34319         process_vm_writev from libc using GLIBC_2.15 version.
34321         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34323 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
34325         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34326         stack usage.
34328 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
34330         [BZ #13367]
34331         * nss/getent.c (initgroups_keys): Show error message in case no group
34332         names are given.
34334         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34335         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34336         __bump_nl_timestamp.
34337         * nscd/connections (nscd_init): When host database is served open
34338         netlink socket and request notification about configuration changes.
34339         (main_loop_poll): Track netlink file descriptor and bump timestamp
34340         in case data becomes available.
34341         (main_loop_epoll): Likewise.
34342         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34343         (database_pers_head): Add extra_data fileds.
34344         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34345         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34346         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34347         Adjust caller.
34348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34349         in6ai data, call __free_in6ai.
34350         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34351         Add -DHAVE_NETLINK.
34352         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
34353         interface information.  Reuse previous data if netlink timestamp
34354         is not changed.
34355         (__bump_nl_timestamp): New function.
34356         (__free_in6ai): New function.
34358 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
34360         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34361         close_not_cancel_no_status here.
34362         (__check_pf): Reorganize code a bit to not call close twice if OOM.
34364 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
34366         [BZ #13276]
34367         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34368         return value.
34370         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34371         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34372         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34374 2011-07-03  Andreas Jaeger  <aj@suse.de>
34376         [BZ #10709]
34377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34378         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34379         * math/libm-test.inc (sin_test): Add test case.
34381 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
34383         [BZ #13337]
34384         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34385         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34387         * elf/chroot_canon.c (chroot_canon): Cleanups.
34389         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34391         [BZ #13335]
34392         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34393         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34395         * string/test-strchr.c: Make usable for strchrnul testing.
34396         * string/test-strchrnul.c: New file.
34397         * string/Makefile (strop-tests): Add strchrnul.
34399         * po/it.po: Update from translation team.
34400         * po/es.po: Likewise.
34402 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
34404         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34405         the three constants needed as parameters.  Drop the others.
34406         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34407         __m128i_strloadu_tolower.
34408         Create and initialize variable zero and use it in all the places
34409         where _mm_setzero_si128 was used.
34411         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34412         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34413         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34414         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34415         anymore.
34416         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34417         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34418         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34419         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34420         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34421         __mpranred, __mptan.
34422         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34423         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34424         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34425         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34426         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34427         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34428         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34429         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34430         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34432 2011-10-28  Andreas Schwab  <schwab@redhat.com>
34434         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34435         redefine if SHARED.
34436         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34438         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34439         wide char related routines to wcsmbs subdir.
34441 2011-10-27  Andreas Schwab  <schwab@redhat.com>
34443         [BZ #13344]
34444         * misc/sys/cdefs.h (__THROWNL): Define.
34445         * posix/unistd.h: Use __THREADNL instead of __THREAD
34446         for memory synchronization functions.
34448 2011-10-26  Roland McGrath  <roland@hack.frob.com>
34450         [BZ #13349]
34451         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34452         doesn't exist.
34453         * manual/stdio.texi (Obstack Streams): Node removed.
34455 2011-10-26  Andreas Schwab  <schwab@redhat.com>
34457         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34458         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34459         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34461         * math/math_private.h (math_force_eval): Allow non-addressable
34462         arguments.
34463         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34465 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
34467         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34468         file is not needed.
34470         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34471         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34472         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34473         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34474         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34475         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34476         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34477         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34478         Add AVX variants.
34479         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34480         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34481         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34482         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34483         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34484         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34485         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34486         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34487         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34488         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34489         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34490         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34491         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34492         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34493         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34494         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34495         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34496         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34497         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34499         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34500         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
34502         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34503         place.  Use VEX encoding when compiling for AVX.
34505 2011-10-25  Andreas Schwab  <schwab@redhat.com>
34507         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34508         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34510         * string/test-strchr.c (do_test): Don't generate NUL bytes.
34512 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
34514         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34515         useless if() expression.
34516         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34517         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34518         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34519         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34520         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34521         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34522         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34523         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34524         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34525         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34526         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34527         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34528         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34529         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34530         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34531         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34532         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34533         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34534         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34536         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34538 2011-10-25  Andreas Schwab  <schwab@redhat.com>
34540         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34541         condition.
34542         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34544 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
34546         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34547         .text section.  Avoid duplicate constants.
34548         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34549         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34550         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34551         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34552         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34554         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34555         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34556         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34557         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34558         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34559         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34560         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34561         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34562         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34563         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34564         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34565         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34566         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34567         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34568         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34569         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34570         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34571         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34572         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34573         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34574         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34575         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34576         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34577         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34578         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34579         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34580         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34581         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34582         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34583         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34584         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34585         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34586         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34587         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34588         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34589         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34590         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34591         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34592         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34594 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
34596         * sysdeps/x86_64/dla.h: Move to ...
34597         * sysdeps/x86_64/fpu/dla.h: ...here.
34598         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34599         situations.  Use __builtin_fma only for gcc 4.6 and up.
34601         * config.make.in: Add have-mfma4 entry.
34602         * configure.in: Substitute libc_cv_cc_fma4.
34603         * math/Makefile (dbl-only-routines): Add sincostab.
34604         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34605         Use __sincostab not sincos.
34606         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34607         name is a macro.
34608         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34611         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
34612         using __copysign.
34613         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
34614         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
34615         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34616         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34617         and __inv.
34618         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34619         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34620         __copysign.
34621         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
34622         define aliases when function name is a macro.
34623         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34624         sysdeps/ieee754/dbl-64/sincos.tbl.
34625         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34626         fma4-enabled routines.
34627         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34628         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34629         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34630         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34631         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34632         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34633         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34634         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34635         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34636         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34637         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34638         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34639         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34640         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34641         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34642         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34643         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34644         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34645         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34646         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34647         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34648         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34649         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34650         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34651         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34652         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34653         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34654         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34655         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34656         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34658         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34659         rename.
34660         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34662         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34665         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34666         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34667         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34669 2011-10-24  Andreas Schwab  <schwab@redhat.com>
34671         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34673 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
34675         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34677         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34678         prediction.
34679         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34681         * string/strnlen.c: Don't define STRNLEN, reverse logic.
34682         Remove unused variable magic_bits.
34683         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34685         * string/strnlen.c: Define and use STRNLEN macro.
34686         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34687         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34688         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34689         * wcsmbs/wcslen.c: Define and use WCSLEN.
34690         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34691         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34692         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34693         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34694         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34695         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34696         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34698 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34701         strnlen-sse2-no-bsf.
34702         Rename strlen-no-bsf to strlen-sse2-no-bsf.
34703         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34704         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34705         Add strnlen support.
34706         (USE_AS_STRNLEN): New macro.
34707         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34708         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34709         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34710         * sysdeps/x86_64/wcslen.S: New file.
34712 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
34714         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34715         XMM-moves are used for copying on small sizes.
34717 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34719         * wcsmbs/Makefile (strop-tests): Add wcschr.
34720         * wcsmbs/test-wcschr.c: New file.
34721         * string/test-strchr.c: Update.
34722         Add wcschr support.
34723         (WIDE): New macro.
34725 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34727         * wcsmbs/Makefile (strop-tests): Add wcslen.
34728         * wcsmbs/test-wcslen.c: New file.
34729         * string/test-strlen.c: Update.
34730         Add wcslen support.
34731         (WIDE): New macro.
34733 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
34735         * po/it.po: Update from translation team.
34737 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34739         * sysdeps/x86_64/wcscmp.S: Update.
34740         Fix wrong comparison semantics.
34741         wcscmp shall use signed comparison not unsigned.
34742         Don't use substraction to avoid overflow bug.
34743         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34744         * wcsmbc/wcscmp.c: Likewise.
34745         * string/test-strcmp.c: Likewise.
34746         Add new tests to check cases with negative values.
34748 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
34750         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34751         * sysdeps/x86_64/dla.h: ...here.  New file.
34752         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34755         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34756         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34757         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34758         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34759         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34760         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34762 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
34764         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34765         __ynl_finite aliases.
34767 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
34769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34771         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34772         define DLA_FMA.
34773         [DLA_FMA] (EMULV): Use DLA_FMA.
34774         [DLA_FMA] (MUL12): Use EMULV.
34775         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34776         that are not needed.
34777         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34778         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34779         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34780         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34781         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34782         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34783         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34785 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
34787         * math/s_nan.c: Undef __nan.
34788         * math/s_nanf.c: Undef __nanf.
34789         * math/s_nanl.c: Undef __nanl.
34790         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34791         "math_private.h".
34793 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
34795         * math/s_catan.c: Add branch predictions.
34796         * math/s_catanf.c: Likewise.
34797         * math/s_catanh.c: Likewise.
34798         * math/s_catanhf.c: Likewise.
34799         * math/s_catanhl.c: Likewise.
34800         * math/s_catanl.c: Likewise.
34801         * math/s_cexp.c: Likewise.
34802         * math/s_cexpf.c: Likewise.
34803         * math/s_cexpl.c: Likewise.
34804         * math/s_clog.c: Likewise.
34805         * math/s_clog10.c: Likewise.
34806         * math/s_clog10f.c: Likewise.
34807         * math/s_clog10l.c: Likewise.
34808         * math/s_clogf.c: Likewise.
34809         * math/s_clogl.c: Likewise.
34810         * math/s_csqrt.c: Likewise.
34811         * math/s_csqrtf.c: Likewise.
34812         * math/s_csqrtl.c: Likewise.
34813         * math/s_ctanf.c: Likewise.
34814         * math/s_ctanh.c: Likewise.
34815         * math/s_ctanhf.c: Likewise.
34816         * math/s_ctanhl.c: Likewise.
34817         * math/s_ctanl.c: Likewise.
34819         * math/math_private.h: Define __nan, __nanf, __nanl.
34820         * math/s_cacosh.c: Include <math_private.h>.
34821         * math/s_cacoshl.c: Likewise.
34822         * math/s_casinh.c: Likewise.
34823         * math/s_casinhf.c: Likewise.
34824         * math/s_casinhl.c: Likewise.
34825         * math/s_ccos.c: Rely entire on ccosh.
34826         * math/s_ccosf.c: Rely entire on ccoshf.
34827         * math/s_ccosl.c: Rely entirely on ccoshl.
34828         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
34829         Remove tests for FE_INVALID.
34830         * math/s_ccoshf.c: Likewise.
34831         * math/s_ccoshl.c: Likewise.
34832         * math/s_csin.c: Likewise.
34833         * math/s_csinf.c: Likewise.
34834         * math/s_csinh.c Likewise.
34835         * math/s_csinhf.c: Likewise.
34836         * math/s_csinhl.c: Likewise.
34837         * math/s_csinl.c: Likewise.
34838         * math/s_ctan.c: Likewise.
34839         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34840         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34841         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34843 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
34845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34846         compilation problems.
34848         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34849         __builtin_expect.
34851 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
34853         * sysdeps/i386/configure.in: Test for -mfma4 option.
34854         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34855         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34856         COMMON_CPUID_INDEX_80000001.
34857         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34858         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34859         use it if FMA3 is not supported.
34860         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34862         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34863         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34865 2011-10-20  Andreas Schwab  <schwab@redhat.com>
34867         [BZ #12892]
34868         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34869         it would create a cycle with a link time dependency.
34871 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
34873         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34874         instruction.
34875         * string/Makefile (strop-tests): Add rawmemchr.
34876         * string/test-rawmemchr.c: New file.
34878         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34879         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
34880         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
34881         when compiling str{,n}casecmp and when AVX is available.  Hook up
34882         new optimized code in initializers.
34884 2011-10-19  Andreas Schwab  <schwab@redhat.com>
34886         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34887         __feraiseexcept instead of feraiseexcept.
34889 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
34891         * math/math_private.h: Define defaults for libc_fetestexcept and
34892         libc_feupdateenv.
34893         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34894         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34895         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34896         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34897         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34898         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34899         libc_fetestexcept and libc_feupdateenv.
34901         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34902         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34903         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34904         * sysdeps/x86_64/fpu/math_private.h: Define special version of
34905         libc_feholdexcept_setround.
34907         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34908         Add s_nearbyint-c and s_nearbyintf-c.
34909         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34910         nearbyintf inlines.
34911         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34912         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34913         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34914         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34916         * math/math_private.h: Define defaults for libc_fegetround,
34917         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34918         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34919         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34920         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34921         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34922         standard functions.
34923         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34924         Remove comments and hacks for old compiler versions.
34925         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34926         libc_fegetround, libc_fesetround, libc_feholdexcept, and
34927         libc_feholdexceptl.
34929 2011-10-18  Andreas Schwab  <schwab@redhat.com>
34931         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34932         (__feraiseexcept_renamed): Add __NTH.
34933         (feraiseexcept): Add __NTH.  Rename local variables to fix
34934         namespace violations.
34936 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
34938         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34940         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34942         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34943         recently added interfaces.
34944         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34946         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34947         about macro parameter expansion.
34949         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34950         __NO_MATH_INLINES is defined.  Cleanups.
34952         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34953         and __floorf is target has SSE4.1.
34954         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34955         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34956         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34957         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34959         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34960         name.
34961         (floorf): Likewise.
34963         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34965 2011-10-17  Andreas Schwab  <schwab@redhat.com>
34967         * misc/sys/cdefs.h: Fix last change.
34969         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34970         database lookup.
34972 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34974         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34976         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34977         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34978         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34979         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34980         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34981         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34982         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34983         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34984         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34985         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34986         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34987         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34988         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34989         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34990         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34991         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34992         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34993         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34994         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34995         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34996         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34997         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34999         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35000         ceil, ceilf, floor, floorf.
35002         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35003         Perform IRELATIVE relocations last.
35005         * elf/do-rel.h: Add another parameter nrelative, replacing the
35006         local variable with the same name.  Change name of the function
35007         to end in Rel or Rela (uppercase).
35008         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35009         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
35010         elf_dynamic_do_##reloc function.
35012 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
35014         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35015         is sufficient, at least on modern CPUs.
35017         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35019         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35020         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35022         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35023         __expl_finite.
35024         * math/bits/math-finite.h: Add entries for exp.
35025         * math/e_expl.c: Add __*_finite alias.
35026         * sysdeps/i386/fpu/e_exp.S: Likewise.
35027         * sysdeps/i386/fpu/e_expf.S: Likewise.
35028         * sysdeps/i386/fpu/e_expl.c: Likewise.
35029         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35030         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35031         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35032         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35033         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35034         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35035         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35037         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35038         is sufficient, at least on modern CPUs.
35040         * ctype/ctype-info.c (__ctype_init): Define.
35041         * include/ctype.h (__ctype_init): Declare.
35042         (__ctype_b_loc): The variable is always initialized.
35043         (__ctype_toupper_loc): Likewise.
35044         (__ctype_tolower_loc): Likewise.
35045         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35046         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35048 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
35050         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35052         * configure.in: Also look in $cxxmachine/include for C++ system
35053         headers.
35055 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35057         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35058         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35059         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35060         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
35061         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35062         (USE_AS_WMEMCMP): New macro.
35063         Fixing indents.
35064         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35065         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35066         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35067         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35069         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35070         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35071         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35072         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35073         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35074         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35075         (USE_AS_WMEMCMP): New macro.
35076         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35077         * sysdeps/string/test-memcmp.c: Update.
35078         Fix simple_wmemcmp.
35079         Add new tests.
35080         * wcsmbs/wmemcmp.c: Update.
35081         (WMEMCMP): New macro.
35082         Fix overflow bug.
35084 2011-10-12  Andreas Jaeger  <aj@suse.de>
35086         [BZ #13268]
35087         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35089 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
35091         * libio/iofwide.c (do_length): Avoid warning.
35093         * ctype/ctype.h (__isctype_f): Add missing __THROW.
35095 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
35097         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35099         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35100         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35101         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35102         * sysdeps/i386/i686/fpu/e_log.S: New file.
35103         * sysdeps/i386/i686/fpu/e_logf.S: New file.
35104         * sysdeps/i386/i686/fpu/e_logl.S: New file.
35106         * ctype/ctype.h: Add support for inlined isXXX functions when
35107         compiling C++ code.
35109 2011-10-14  Andreas Schwab  <schwab@redhat.com>
35111         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35113         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35115 2011-10-13  Roland McGrath  <roland@hack.frob.com>
35117         [BZ #13291]
35118         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35120 2011-10-13  Andreas Schwab  <schwab@redhat.com>
35122         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35123         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35124         feraiseexcept.
35126         * sysdeps/x86_64/memrchr.S: Check for zero size.
35128         * string/stratcliff.c: Add memrchr tests.
35130 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35133         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35134         rawmemchr-sse2 rawmemchr-sse2-bsf.
35135         * sysdeps/i386/i686/multiarch/memchr.S: New file.
35136         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35137         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35138         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35139         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35140         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35141         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35142         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35143         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35144         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35145         * string/memrchr.c (MEMRCHR): New macro.
35147 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
35149         Add integration with gcc's -ffinite-math-only and optimize wrapper
35150         functions in libm.
35151         * Versions.def: Define GLIBC_2.15 version for libm.
35152         * math/Makefile (headers): Add bits/math-finite.h.
35153         * math/bits/math-finite.h: New file.
35154         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35155         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35156         * math/e_acoshl.c: Add __*_finite alias.
35157         * math/e_acosl.c: Likewise.
35158         * math/e_asinl.c: Likewise.
35159         * math/e_atan2l.c: Likewise.
35160         * math/e_atanhl.c: Likewise.
35161         * math/e_coshl.c: Likewise.
35162         * math/e_exp10.c: Likewise.
35163         * math/e_exp10f.c: Likewise.
35164         * math/e_exp10l.c: Likewise.
35165         * math/e_exp2l.c: Likewise.
35166         * math/e_fmodl.c: Likewise.
35167         * math/e_gammal_r.c: Likewise.
35168         * math/e_hypotl.c: Likewise.
35169         * math/e_j0l.c: Likewise.
35170         * math/e_j1l.c: Likewise.
35171         * math/e_jnl.c: Likewise.
35172         * math/e_lgammal_r.c: Likewise.
35173         * math/e_log10l.c: Likewise.
35174         * math/e_log2l.c: Likewise.
35175         * math/e_logl.c: Likewise.
35176         * math/e_powl.c: Likewise.
35177         * math/e_sinhl.c: Likewise.
35178         * math/e_sqrtl.c: Likewise.
35179         * math/e_scalb.c: Completely rewritten and optimized.
35180         * math/e_scalbf.c: Likewise.
35181         * math/e_scalbl.c: Likewise.
35182         * math/w_acos.c: Likewise.
35183         * math/w_acosf.c: Likewise.
35184         * math/w_acosl.c: Likewise.
35185         * math/w_acosh.c: Likewise.
35186         * math/w_acoshf.c: Likewise.
35187         * math/w_acoshl.c: Likewise.
35188         * math/w_asin.c: Likewise.
35189         * math/w_asinf.c: Likewise.
35190         * math/w_asinl.c: Likewise.
35191         * math/w_atan2.c: Likewise.
35192         * math/w_atan2f.c: Likewise.
35193         * math/w_atan2l.c: Likewise.
35194         * math/w_atanh.c: Likewise.
35195         * math/w_atanhf.c: Likewise.
35196         * math/w_atanhl.c: Likewise.
35197         * math/w_exp10.c: Likewise.
35198         * math/w_exp10f.c: Likewise.
35199         * math/w_exp10l.c: Likewise.
35200         * math/w_fmod.c: Likewise.
35201         * math/w_fmodf.c: Likewise.
35202         * math/w_fmodl.c: Likewise.
35203         * math/w_j0.c: Likewise.
35204         * math/w_j0f.c: Likewise.
35205         * math/w_j0l.c: Likewise.
35206         * math/w_j1.c: Likewise.
35207         * math/w_j1f.c: Likewise.
35208         * math/w_j1l.c: Likewise.
35209         * math/w_jn.c: Likewise.
35210         * math/w_jnf.c: Likewise.
35211         * math/w_log.c: Likewise.
35212         * math/w_logf.c: Likewise.
35213         * math/w_logl.c: Likewise.
35214         * math/w_log10.c: Likewise.
35215         * math/w_log10f.c: Likewise.
35216         * math/w_log10l.c: Likewise.
35217         * math/w_log2.c: Likewise.
35218         * math/w_log2f.c: Likewise.
35219         * math/w_log2l.c: Likewise.
35220         * math/w_pow.c: Likewise.
35221         * math/w_powf.c: Likewise.
35222         * math/w_powl.c: Likewise.
35223         * math/w_remainder.c: Likewise.
35224         * math/w_remainderf.c: Likewise.
35225         * math/w_remainderl.c: Likewise.
35226         * math/w_scalb.c: Likewise.
35227         * math/w_scalbf.c: Likewise.
35228         * math/w_scalbl.c: Likewise.
35229         * math/w_sqrt.c: Likewise.
35230         * math/w_sqrtf.c: Likewise.
35231         * math/w_sqrtl.c: Likewise.
35232         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35233         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
35234         used.
35235         * math/math_private.h: Declare __kernel_standard_f.
35236         * math/w_cosh.c: Remove cruft and optimize a bit.
35237         * math/w_coshf.c: Likewise.
35238         * math/w_coshl.c: Likewise.
35239         * math/w_exp2.c: Likewise.
35240         * math/w_exp2f.c: Likewise.
35241         * math/w_exp2l.c: Likewise.
35242         * math/w_hypot.c: Likewise.
35243         * math/w_hypotf.c: Likewise.
35244         * math/w_hypotl.c: Likewise.
35245         * math/w_lgamma.c: Likewise.
35246         * math/w_lgamma_r.c: Likewise.
35247         * math/w_lgammaf.c: Likewise.
35248         * math/w_lgammaf_r.c: Likewise.
35249         * math/w_lgammal.c: Likewise.
35250         * math/w_lgammal_r.c: Likewise.
35251         * math/w_sinh.c: Likewise.
35252         * math/w_sinhf.c: Likewise.
35253         * math/w_sinhl.c: Likewise.
35254         * math/w_tgamma.c: Likewise.
35255         * math/w_tgammaf.c: Likewise.
35256         * math/w_tgammal.c: Likewise.
35257         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35258         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35259         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35260         Minor optimizations.  Pretty printing.  Remove cruft.
35261         * sysdeps/i386/fpu/e_acosf.S: Likewise.
35262         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35263         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35264         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35265         * sysdeps/i386/fpu/e_acosl.c: Likewise.
35266         * sysdeps/i386/fpu/e_asin.S: Likewise.
35267         * sysdeps/i386/fpu/e_asinf.S: Likewise.
35268         * sysdeps/i386/fpu/e_atan2.S: Likewise.
35269         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35270         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35271         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35272         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35273         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35274         * sysdeps/i386/fpu/e_exp10.S: Likewise.
35275         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35276         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35277         * sysdeps/i386/fpu/e_exp2.S: Likewise.
35278         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35279         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35280         * sysdeps/i386/fpu/e_fmod.S: Likewise.
35281         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35282         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35283         * sysdeps/i386/fpu/e_hypot.S: Likewise.
35284         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35285         * sysdeps/i386/fpu/e_log.S: Likewise.
35286         * sysdeps/i386/fpu/e_log10.S: Likewise.
35287         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35288         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35289         * sysdeps/i386/fpu/e_log2.S: Likewise.
35290         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35291         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35292         * sysdeps/i386/fpu/e_logf.S: Likewise.
35293         * sysdeps/i386/fpu/e_logl.S: Likewise.
35294         * sysdeps/i386/fpu/e_pow.S: Likewise.
35295         * sysdeps/i386/fpu/e_powf.S: Likewise.
35296         * sysdeps/i386/fpu/e_powl.S: Likewise.
35297         * sysdeps/i386/fpu/e_remainder.S: Likewise.
35298         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35299         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35300         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35301         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35302         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35303         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35304         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35305         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35306         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35307         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35308         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35309         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35310         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35311         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35312         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35313         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35314         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35315         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35316         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35317         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35318         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35319         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35320         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35321         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35322         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35323         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35324         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35325         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35326         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35327         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35328         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35329         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35330         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35331         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35332         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35333         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35334         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35335         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35336         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35337         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35338         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35339         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35340         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35341         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35342         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35343         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35344         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35345         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35346         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35347         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35348         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35349         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35350         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35351         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35352         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35353         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35354         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35355         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35356         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35357         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35358         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35359         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35360         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35361         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35362         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35363         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35364         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35365         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35366         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35367         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35370         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35371         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35373         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35374         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35375         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35376         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35377         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35378         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35379         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35380         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35381         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35382         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35383         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35384         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35385         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35386         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35387         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35388         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35389         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35390         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35391         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35392         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35393         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35394         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35395         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35396         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35397         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35398         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35399         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35400         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35401         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35402         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35403         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35404         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35405         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35406         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35407         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35408         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35409         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35410         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35411         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35412         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35413         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35414         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35415         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35416         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
35417         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35418         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35419         (__isnanf): Likewise.
35420         (__isinf_ns): Likewise.
35421         (__isinf_nsf): Likewise.
35422         (__finite): Likewise.
35423         (__finitef): Likewise.
35424         (__ieee754_sqrt): Define as macro.
35425         (__ieee754_sqrtf): Define as macro.
35426         (__ieee754_sqrtl): Define as macro.
35427         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35428         inlined copy.
35429         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35430         __FINITE_MATH_ONLY__ consistent.
35431         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35433 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
35435         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35436         of rawmemchr.
35438         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35440 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
35442         * po/ja.po: Update from translation team.
35444 2011-10-08  Roland McGrath  <roland@hack.frob.com>
35446         * locale/programs/locarchive.c (prepare_address_space): New function.
35447         (create_archive, enlarge_archive, open_archive): Use it.
35449         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35450         inside [SHARED], where it is used.
35452         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35454         * nss/getent.c (netgroup_keys): Remove unused variable.
35455         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35457 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
35459         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35460         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35461         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35462         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35463         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35464         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35465         * math/Makefile (libm-calls): Add s_isinf_ns.
35466         * math/divtc3.c: Use __isinf_nsl instead of isinf.
35467         * math/multc3.c: Likewise.
35468         * math/s_casin.c: Likewise.
35469         * math/s_casinf.c: Likewise.
35470         * math/s_casinl.c: Likewise.
35471         * math/s_ccos.c: Likewise.
35472         * math/s_ccosf.c: Likewise.
35473         * math/s_ccosl.c: Likewise.
35474         * math/s_ctan.c: Likewise.
35475         * math/s_ctanf.c: Likewise.
35476         * math/s_ctanh.c: Likewise.
35477         * math/s_ctanhf.c: Likewise.
35478         * math/s_ctanhl.c: Likewise.
35479         * math/s_ctanl.c: Likewise.
35480         * math/w_fmod.c: Likewise.
35481         * math/w_fmodf.c: Likewise.
35482         * math/w_fmodl.c: Likewise.
35483         * math/w_remainder.c: Likewise.
35484         * math/w_remainderf.c: Likewise.
35485         * math/w_remainderl.c: Likewise.
35486         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35487         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35488         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35489         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35490         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35491         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35492         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35493         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35495         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35496         of the number.
35497         * stdio-common/printf_fphex.c: Likewise.
35498         * stdio-common/printf_size.c: Likewise.
35500         * math/e_exp10.c: Include math_private.h using <...> not "...".
35501         * math/e_exp10f.c: Likewise.
35502         * math/e_exp10l.c: Likewise.
35503         * math/e_exp2l.c: Likewise.
35504         * math/e_j0l.c: Likewise.
35505         * math/e_j1l.c: Likewise.
35506         * math/e_jnl.c: Likewise.
35507         * math/e_lgammal_r.c: Likewise.
35508         * math/e_rem_pio2l.c: Likewise.
35509         * math/e_scalb.c: Likewise.
35510         * math/e_scalbf.c: Likewise.
35511         * math/e_scalbl.c: Likewise.
35512         * math/k_cosl.c: Likewise.
35513         * math/k_sinl.c: Likewise.
35514         * math/k_tanl.c: Likewise.
35515         * math/s_cacoshf.c: Likewise.
35516         * math/s_catan.c: Likewise.
35517         * math/s_catanf.c: Likewise.
35518         * math/s_catanh.c: Likewise.
35519         * math/s_catanhf.c: Likewise.
35520         * math/s_catanhl.c: Likewise.
35521         * math/s_catanl.c: Likewise.
35522         * math/s_ccosh.c: Likewise.
35523         * math/s_ccoshf.c: Likewise.
35524         * math/s_ccoshl.c: Likewise.
35525         * math/s_cexp.c: Likewise.
35526         * math/s_cexpf.c: Likewise.
35527         * math/s_cexpl.c: Likewise.
35528         * math/s_clog.c: Likewise.
35529         * math/s_clog10.c: Likewise.
35530         * math/s_clog10f.c: Likewise.
35531         * math/s_clog10l.c: Likewise.
35532         * math/s_clogf.c: Likewise.
35533         * math/s_clogl.c: Likewise.
35534         * math/s_csin.c: Likewise.
35535         * math/s_csinf.c: Likewise.
35536         * math/s_csinh.c: Likewise.
35537         * math/s_csinhf.c: Likewise.
35538         * math/s_csinhl.c: Likewise.
35539         * math/s_csinl.c: Likewise.
35540         * math/s_csqrt.c: Likewise.
35541         * math/s_csqrtf.c: Likewise.
35542         * math/s_csqrtl.c: Likewise.
35543         * math/s_ctan.c: Likewise.
35544         * math/s_ctanf.c: Likewise.
35545         * math/s_ctanh.c: Likewise.
35546         * math/s_ctanhf.c: Likewise.
35547         * math/s_ctanhl.c: Likewise.
35548         * math/s_ctanl.c: Likewise.
35549         * math/s_ldexp.c: Likewise.
35550         * math/s_ldexpf.c: Likewise.
35551         * math/s_ldexpl.c: Likewise.
35552         * math/s_significand.c: Likewise.
35553         * math/s_significandf.c: Likewise.
35554         * math/s_significandl.c: Likewise.
35555         * math/w_acos.c: Likewise.
35556         * math/w_acosf.c: Likewise.
35557         * math/w_acosh.c: Likewise.
35558         * math/w_acoshf.c: Likewise.
35559         * math/w_acoshl.c: Likewise.
35560         * math/w_acosl.c: Likewise.
35561         * math/w_asin.c: Likewise.
35562         * math/w_asinf.c: Likewise.
35563         * math/w_asinl.c: Likewise.
35564         * math/w_atan2.c: Likewise.
35565         * math/w_atan2f.c: Likewise.
35566         * math/w_atan2l.c: Likewise.
35567         * math/w_atanh.c: Likewise.
35568         * math/w_atanhf.c: Likewise.
35569         * math/w_atanhl.c: Likewise.
35570         * math/w_cosh.c: Likewise.
35571         * math/w_coshf.c: Likewise.
35572         * math/w_coshl.c: Likewise.
35573         * math/w_dremf.c: Likewise.
35574         * math/w_exp10.c: Likewise.
35575         * math/w_exp10f.c: Likewise.
35576         * math/w_exp10l.c: Likewise.
35577         * math/w_exp2.c: Likewise.
35578         * math/w_exp2f.c: Likewise.
35579         * math/w_fmod.c: Likewise.
35580         * math/w_fmodf.c: Likewise.
35581         * math/w_fmodl.c: Likewise.
35582         * math/w_hypot.c: Likewise.
35583         * math/w_hypotf.c: Likewise.
35584         * math/w_hypotl.c: Likewise.
35585         * math/w_j0.c: Likewise.
35586         * math/w_j0f.c: Likewise.
35587         * math/w_j0l.c: Likewise.
35588         * math/w_j1.c: Likewise.
35589         * math/w_j1f.c: Likewise.
35590         * math/w_j1l.c: Likewise.
35591         * math/w_jn.c: Likewise.
35592         * math/w_jnf.c: Likewise.
35593         * math/w_jnl.c: Likewise.
35594         * math/w_lgamma.c: Likewise.
35595         * math/w_lgamma_r.c: Likewise.
35596         * math/w_lgammaf.c: Likewise.
35597         * math/w_lgammaf_r.c: Likewise.
35598         * math/w_lgammal.c: Likewise.
35599         * math/w_lgammal_r.c: Likewise.
35600         * math/w_log.c: Likewise.
35601         * math/w_log10.c: Likewise.
35602         * math/w_log10f.c: Likewise.
35603         * math/w_log10l.c: Likewise.
35604         * math/w_log2.c: Likewise.
35605         * math/w_log2f.c: Likewise.
35606         * math/w_log2l.c: Likewise.
35607         * math/w_logf.c: Likewise.
35608         * math/w_logl.c: Likewise.
35609         * math/w_pow.c: Likewise.
35610         * math/w_powf.c: Likewise.
35611         * math/w_powl.c: Likewise.
35612         * math/w_remainder.c: Likewise.
35613         * math/w_remainderf.c: Likewise.
35614         * math/w_remainderl.c: Likewise.
35615         * math/w_scalb.c: Likewise.
35616         * math/w_scalbf.c: Likewise.
35617         * math/w_scalbl.c: Likewise.
35618         * math/w_sinh.c: Likewise.
35619         * math/w_sinhf.c: Likewise.
35620         * math/w_sinhl.c: Likewise.
35621         * math/w_sqrt.c: Likewise.
35622         * math/w_sqrtf.c: Likewise.
35623         * math/w_sqrtl.c: Likewise.
35624         * math/w_tgamma.c: Likewise.
35625         * math/w_tgammaf.c: Likewise.
35626         * math/w_tgammal.c: Likewise.
35628         * po/ja.po: Update from translation team.
35630 2011-09-29  Andreas Jaeger  <aj@suse.de>
35632         [BZ #13179]
35633         * sunrpc/netname.c (netname2host): Fix logic.
35635         [BZ #6779]
35636         [BZ #6783]
35637         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35638         correctly.
35639         * math/w_remainder.c (__remainder): Likewise.
35640         * math/w_remainderf.c (__remainderf): Likewise.
35641         * math/libm-test.inc (remainder_test): Add test cases.
35643 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35645         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
35646         sdiv_qrnnd.
35648 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
35650         * string/test-memcmp.c: Avoid unncessary #defines.
35651         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35653 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35655         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35656         Use new sse2 version for core i3 - i7 as it's faster
35657         than sse42 version.
35658         (bit_Prefer_PMINUB_for_stringop): New.
35659         * sysdeps/x86_64/rawmemchr.S: Update.
35660         Replace with faster SSE2 version.
35661         * sysdeps/x86_64/memrchr.S: New file.
35662         * sysdeps/x86_64/memchr.S: Update.
35663         Replace with faster SSE2 version.
35665 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
35667         * elf/dl-load.c (lose): Add cast to avoid warning.
35669 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
35671         * po/ca.po: Update from translation team.
35673         * inet/getnetgrent_r.c: Hook up nscd.
35674         * nscd/Makefile (routines): Add nscd_netgroup.
35675         (nscd-modules): Add netgroupcache.
35676         (CFLAGS-netgroupcache.c): Define.
35677         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35678         (cache_search): Add const to second parameter.
35679         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35680         INNETGR.
35681         (dbs): Add netgrdb entry.
35682         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35683         (verify_persistent_db): Handle netgrdb.
35684         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35685         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35686         GETFDNETGR.
35687         (netgroup_response_header): Define.
35688         (innetgroup_response_header): Define.
35689         (datahead): Add netgroup_response_header and innetgroup_response_header
35690         elements.
35691         * nscd/nscd.conf: Add entries for netgroup cache.
35692         * nscd/nscd.h (dbtype): Add netgrdb.
35693         (_PATH_NSCD_NETGROUP_DB): Define.
35694         (netgroup_iov_disabled): Declare.
35695         (xmalloc, xcalloc, xrealloc): Move declarations here.
35696         (cache_search): Adjust prototype.
35697         Add netgroup-related prototypes.
35698         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35699         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35700         (__nscd_innetgr): Declare.
35701         * nscd/selinux.c (perms): Use access_vector_t as element type and
35702         add netgroup-related initializers.
35703         * nscd/netgroupcache.c: New file.
35704         * nscd/nscd_netgroup.c: New file.
35705         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35706         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35707         For four parameters use innetgr.
35708         * nss/nss_files/files-init.c: Add definition and callback for netgr.
35709         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35710         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35711         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35713         * nscd/connections.c (register_traced_file): Don't register file
35714         for disabled databases.
35716 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
35718         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35720         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35721         from tree and freeing node.
35723 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
35725         * nss/nsswitch.c (__nss_database_lookup): Handle
35726         nss_parse_service_list out of memory case.
35728 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
35730         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35731         out of memory case.
35733 2011-10-04  Andreas Schwab  <schwab@redhat.com>
35735         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35736         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35737         pass it down.
35738         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35739         elf_machine_rela, elf_machine_lazy_rel.
35740         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35741         (ELF_DYNAMIC_DO_REL): Likewise.
35742         (ELF_DYNAMIC_DO_RELA): Likewise.
35743         (ELF_DYNAMIC_RELOCATE): Likewise.
35744         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35745         to ELF_DYNAMIC_DO_REL.
35746         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35747         (dl_main): In trace mode always set __RTLD_NOIFUNC.
35748         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35749         elf_machine_rela.
35750         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35751         skip_ifunc, don't call ifunc function if non-zero.
35752         (elf_machine_rela): Likewise.
35753         (elf_machine_lazy_rel): Likewise.
35754         (elf_machine_lazy_rela): Likewise.
35755         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35756         (elf_machine_lazy_rel): Likewise.
35757         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35758         Likewise.
35759         (elf_machine_lazy_rel): Likewise.
35760         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35761         Likewise.
35762         (elf_machine_lazy_rel): Likewise.
35763         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35764         (elf_machine_lazy_rel): Likewise.
35765         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35766         (elf_machine_lazy_rel): Likewise.
35767         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35768         (elf_machine_lazy_rel): Likewise.
35769         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35770         (elf_machine_lazy_rel): Likewise.
35771         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35772         (elf_machine_lazy_rel): Likewise.
35773         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35774         (elf_machine_lazy_rel): Likewise.
35776 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
35778         * nss/nss_files/files-init.c (_nss_files_init): Use static
35779         initialization for all the *_traced_file variables.
35781 2011-09-28  Andreas Schwab  <schwab@redhat.com>
35783         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35785 2011-09-27  Roland McGrath  <roland@hack.frob.com>
35787         [BZ #13226]
35788         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35790 2011-09-27  Andreas Schwab  <schwab@redhat.com>
35792         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35793         Reread the line before reparsing it.
35795 2011-09-26  Andreas Schwab  <schwab@redhat.com>
35797         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35799 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
35800             Maxim Kuvyrkov  <maxim@codesourcery.com>
35801             Joseph Myers  <joseph@codesourcery.com>
35803         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35804         if needed for __stack_chk_guard.
35806 2011-09-19  Roland McGrath  <roland@hack.frob.com>
35808         * sysdeps/posix/spawni.c (script_execute): Always define it.
35809         It will be optimized away if unused.
35810         (maybe_script_execute): New function.
35811         (__spawni): Call it.
35813         * Makerules: Don't include tls.make.
35814         (config-tls): Always set to thread.
35815         * tls.make.c: File removed.
35817 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
35819         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35820         * config.make.in (CPPFLAGS-config): New substituted variable.
35822 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
35824         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35826         [BZ #13192]
35827         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35828         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35830 2011-09-15  Roland McGrath  <roland@hack.frob.com>
35832         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35833         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35834         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35835         (CALL_FAIL): Likewise.
35836         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35837         (CALL_FAIL): Macro removed.
35838         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35840 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
35842         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35843         for __FINITE_MATH_ONLY__ == 1.
35845 2011-09-15  Andreas Schwab  <schwab@redhat.com>
35847         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35848         __ieee754_sqrt instead of sqrt.
35849         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35850         __ieee754_sqrtf instead of sqrtf.
35851         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35852         __floorf instead of floorf.
35853         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35854         __floorf, __truncf instead of floorf, truncf.
35856 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
35858         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35860         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35861         __extern_always_inline.
35862         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35863         32-bit.
35865 2011-09-14  Andreas Schwab  <schwab@redhat.com>
35867         * elf/rtld.c (dl_main): Also relocate in dependency order when
35868         doing symbol dependency testing.
35870 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
35872         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35873         Always define `refsym'.
35875 2011-09-13  Andreas Schwab  <schwab@redhat.com>
35877         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35878         (__FD_ELT): Renamed from __FDELT.
35879         * misc/bits/select2.h (__FD_ELT): Likewise.
35880         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35881         __FD_MASK instead of __FDELT, __FDMASK.
35882         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35883         Likewise.
35884         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35885         Likewise.
35887         * elf/Makefile (gen-ldd): Fix pattern.
35889         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35890         (init_tls): Likewise.
35892 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
35894         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35896 2011-09-12  Andreas Schwab  <schwab@redhat.com>
35898         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35899         `struct cmsghdr *' instead of `void *'.
35900         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35901         Likewise.
35903 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
35905         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35906         if non-absolute.
35907         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35908         ldd_rewrite_script.
35910 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
35912         * configure.in: Remove --with-tls option.
35913         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35914         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35915         out in case it is missing.
35916         * sysdeps/ia64/elf/configure.in: Likewise.
35917         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35918         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35919         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35920         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35921         * sysdeps/sh/elf/configure.in: Likewise.
35922         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35923         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35924         * sysdeps/x86_64/elf/configure.in: Likewise.
35925         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35926         * sysdeps/mach/hurd/tls.h: Likewise.
35928         [BZ #13067]
35929         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35931         [BZ #13090]
35932         * configure.in: Fix use of AC_INIT.
35934         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35936 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
35938         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35939         __set_errno.
35940         * malloc/hooks.c: Likewise.
35942         [BZ #11929]
35943         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
35944         variables statically.
35945         (narenas): Initialize.
35946         (list_lock): Initialize.
35947         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
35948         initializtion of main_arena and list_lock.  Small cleanups.
35949         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35950         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
35951         Add initializers to main_arena and mp_.
35952         (malloc_state): Remove pagesize member.  Change all users to use
35953         GLRO(dl_pagesize).
35955         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35956         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
35957         is always initialized.
35959         * malloc/malloc.c: Removed unused configurations and dead code.
35960         * malloc/arena.c: Likewise.
35961         * malloc/hooks.c: Likewise.
35962         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35964         * include/tls.h: Removed.  USE___THREAD must always be defined.
35965         * bits/libc-tsd.h: Don't handle !USE___THREAD.
35966         * elf/dl-libc.c: Likewise.
35967         * elf/dl-tsd.c: Likewise.
35968         * include/errno.h: Likewise.
35969         * include/netdb.h: Likewise.
35970         * include/resolv.h: Likewise.
35971         * inet/herrno-loc.c: Likewise.
35972         * inet/herrno.c: Likewise.
35973         * malloc/arena.c: Likewise.
35974         * malloc/hooks.c: Likewise.
35975         * malloc/malloc.c: Likewise.
35976         * resolv/res-state.c: Likewise.
35977         * resolv/res_libc.c: Likewise.
35978         * sysdeps/i386/dl-machine.h: Likewise.
35979         * sysdeps/ia64/dl-machine.h: Likewise.
35980         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35981         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35982         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35983         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35984         * sysdeps/sh/dl-machine.h: Likewise.
35985         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35986         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35987         * sysdeps/unix/i386/sysdep.S: Likewise.
35988         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35989         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35991         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35992         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35993         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35994         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35995         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35996         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35997         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35998         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35999         * sysdeps/x86_64/dl-machine.h: Likewise.
36000         * tls.make.c: Likewise.
36002         * configure.in: Remove --with-__thread option.  Make tests for
36003         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36004         tls_model attribute fail if no support is available.  Remove
36005         USE_IN_LIBIO.
36006         * Makeconfig: Adjust for dropped configure option.  All features are
36007         now mandatory.
36008         * Makerules: Likewise.
36009         * Versions.def: Likewise.
36010         * argp/argp-fmtstream.c: Likewise.
36011         * argp/argp-fmtstream.h: Likewise.
36012         * argp/argp-help.c: Likewise.
36013         * assert/assert.c: Likewise.
36014         * config.h.in: Likewise.
36015         * config.make.in: Likewise.
36016         * configure: Likewise.
36017         * configure.in: Likewise.
36018         * csu/Versions: Likewise.
36019         * csu/init.c: Likewise.
36020         * elf/tst-audit2.c: Likewise.
36021         * elf/tst-tls10.c: Likewise.
36022         * elf/tst-tls10.h: Likewise.
36023         * elf/tst-tls11.c: Likewise.
36024         * elf/tst-tls12.c: Likewise.
36025         * elf/tst-tls14.c: Likewise.
36026         * elf/tst-tlsmod11.c: Likewise.
36027         * elf/tst-tlsmod12.c: Likewise.
36028         * elf/tst-tlsmod13.c: Likewise.
36029         * elf/tst-tlsmod13a.c: Likewise.
36030         * elf/tst-tlsmod14a.c: Likewise.
36031         * elf/tst-tlsmod15b.c: Likewise.
36032         * elf/tst-tlsmod16a.c: Likewise.
36033         * elf/tst-tlsmod16b.c: Likewise.
36034         * elf/tst-tlsmod7.c: Likewise.
36035         * elf/tst-tlsmod8.c: Likewise.
36036         * elf/tst-tlsmod9.c: Likewise.
36037         * gmon/gmon.c: Likewise.
36038         * grp/fgetgrent_r.c: Likewise.
36039         * grp/putgrent.c: Likewise.
36040         * hurd/fopenport.c: Likewise.
36041         * include/libc-symbols.h: Likewise.
36042         * include/tls.h: Likewise.
36043         * intl/gettextP.h: Likewise.
36044         * intl/loadinfo.h: Likewise.
36045         * locale/global-locale.c: Likewise.
36046         * locale/localeinfo.h: Likewise.
36047         * mach/devstream.c: Likewise.
36048         * malloc/arena.c: Likewise.
36049         * malloc/set-freeres.c: Likewise.
36050         * misc/err.c: Likewise.
36051         * misc/getttyent.c: Likewise.
36052         * misc/mntent_r.c: Likewise.
36053         * posix/getopt.c: Likewise.
36054         * posix/wordexp.c: Likewise.
36055         * pwd/fgetpwent_r.c: Likewise.
36056         * resolv/Versions: Likewise.
36057         * resolv/res_hconf.c: Likewise.
36058         * shadow/fgetspent_r.c: Likewise.
36059         * shadow/putspent.c: Likewise.
36060         * stdio-common/printf_fphex.c: Likewise.
36061         * stdio-common/tmpfile.c: Likewise.
36062         * stdlib/abort.c: Likewise.
36063         * stdlib/fmtmsg.c: Likewise.
36064         * sunrpc/auth_unix.c: Likewise.
36065         * sunrpc/clnt_perr.c: Likewise.
36066         * sunrpc/clnt_tcp.c: Likewise.
36067         * sunrpc/clnt_udp.c: Likewise.
36068         * sunrpc/clnt_unix.c: Likewise.
36069         * sunrpc/openchild.c: Likewise.
36070         * sunrpc/svc_simple.c: Likewise.
36071         * sunrpc/svc_tcp.c: Likewise.
36072         * sunrpc/svc_udp.c: Likewise.
36073         * sunrpc/svc_unix.c: Likewise.
36074         * sunrpc/xdr.c: Likewise.
36075         * sunrpc/xdr_array.c: Likewise.
36076         * sunrpc/xdr_rec.c: Likewise.
36077         * sunrpc/xdr_ref.c: Likewise.
36078         * sunrpc/xdr_stdio.c: Likewise.
36080 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
36082         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36084 2011-07-03  Andreas Jaeger  <aj@suse.de>
36086         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36087         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36088         regenerate with gen-libm-tests.pl.
36090 2010-05-12  Petr Baudis  <pasky@suse.cz>
36092         [BZ #11589]
36093         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36094         around j0() zero points by switching to j1().
36095         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36096         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36097         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36098         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36100 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
36102         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36103         instead of 0.
36104         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36105         instead of 0.
36106         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36107         Patch in part by Pavel Roskin <proski@gnu.org>.
36109         [BZ #13138]
36110         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36111         realloc.
36112         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
36113         Free memory block if necessary.
36115         [BZ #12847]
36116         * libio/genops.c (INTDEF): For string streams the _lock pointer can
36117         be NULL.  Don't lock in this case.
36119 2011-09-09  Roland McGrath  <roland@hack.frob.com>
36121         * elf/elf.h (ELFOSABI_GNU): New macro.
36122         (ELFOSABI_LINUX): Define to that.
36124 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
36126         * string/strncat.c (strncat): Undef the symbol in case it has been
36127         defined in bits/string.h.
36129 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
36131         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36133         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36134         link map.
36136 2011-08-17  Andreas Jaeger  <aj@suse.de>
36138         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36140 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36141             Ian Lance Taylor  <iant@google.com>
36143         * math/libm-test.inc (lround_test): New testcase.
36144         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36146 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
36148         * Makefile: Remove support for automatic cvs check-ins.
36149         * Makerules: Likewise.
36150         * config.make.in: Likewise.
36151         * configure.in: Likewise.
36152         * intl/Makefile: Likewise.
36153         * locale/Makefile: Likewise.
36154         * po/Makefile: Likewise.
36155         * posix/Makefile: Likewise.
36156         * sysdeps/gnu/Makefile: Likewise.
36157         * sysdeps/mach/hurd/Makefile: Likewise.
36158         * sysdeps/sparc/sparc32/Makefile: Likewise.
36160         [BZ #13118]
36161         * posix/Makefile (bug-regex32-ENV): Define.
36162         Patch by John Stanley <jpsinthemix@verizon.net>.
36164         * misc/Makefile (headers): Add bits/select2.h.
36165         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36166         * misc/bits/select2.h: New file.
36167         * include/bits/select2.h: New file.
36168         * debug/Makefile (routines): Add fdelt_chk.
36169         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36170         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36171         FD_ISSET.
36172         * debug/fdelt_chk.c: New file.
36174         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
36175         * wcsmbs/test-wmemcmp.c: Likewise.
36176         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36177         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36179 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36181         * string/Makefile (strop-tests): Add memcmp.
36182         * string/test-wmemcmp.c: New file.
36183         * string/test-memcmp.c: Add wmemcmp support.
36185 2011-09-08  Roland McGrath  <roland@hack.frob.com>
36187         [BZ #13153]
36188         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36189         2011-07-19 change.
36191         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36192         garbage value in a __mach_port_mod_refs call in the cases of the
36193         task-self and thread-self ports.
36195 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36197         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36199 2011-09-08  Andreas Schwab  <schwab@redhat.com>
36201         * elf/dl-load.c (lose): Check for non-null L.
36203 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
36205         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36207         * elf/dl-libc.c (dlerror_run): Pass back error code from
36208         dl_catch_error.
36210         [BZ #13123]
36211         * elf/dl-load.c (lose): Free l_origin if it is valid.
36213         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36214         names.
36215         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36216         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36217         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36218         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36219         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36220         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36222 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36224         * sysdeps/powerpc/fpu/e_hypot.c: New file.
36225         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36226         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36227         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36228         * sysdeps/powerpc/fpu/k_cosf.c: New file.
36229         * sysdeps/powerpc/fpu/k_sinf.c: New file.
36230         * sysdeps/powerpc/fpu/s_cosf.c: New file.
36231         * sysdeps/powerpc/fpu/s_sinf.c: New file.
36232         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36233         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36235 2011-08-15  Alan Modra  <amodra@gmail.com>
36237         [BZ #13092]
36238         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36239         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36240         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
36241         ppc_mcount to static-only-routines.
36242         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36243         __mcount_internal.
36244         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36245         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
36247 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
36249         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36250         for finite and infinity parameters.
36252 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
36254         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36255         and add nop instructions for throughput optimization.
36256         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36258 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
36260         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36261         aligned copy for power7 with vector-scalar instructions.
36262         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36264 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
36266         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36267         AVX check.
36269 2011-09-07  Andreas Schwab  <schwab@redhat.com>
36271         [BZ #13144]
36272         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36273         last change.
36275 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
36277         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36278         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36279         syscall wrapper around clock_gettime in __vdso_clock_gettime.
36280         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36281         clock_gettime.
36283 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
36285         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36286         Forgot to demangle the pointer.
36288         * sysdeps/i386/sysdep.h: Define atom_text_section.
36289         * sysdeps/x86_64/sysdep.h: Likewise.
36290         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36291         section with atom_text_section.
36292         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36293         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36294         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36295         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36296         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36298         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36299         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36300         already be defined.  Change to take two parameters and don't assign
36301         result to variable.  Adjust all users.
36302         Define INTERNAL_GETTIME if not already defined.
36303         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36304         call.
36305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36306         HAVE_CLOCK_GETTIME_VSYSCALL.
36307         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36309         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36310         gettimeofday vsyscall, just use time.
36312 2011-09-06  Andreas Schwab  <schwab@redhat.com>
36314         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36315         <errno.h>.
36317 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
36319         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36320         syscall on x86-64.
36321         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36322         syscall.
36323         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36324         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36325         syscall if possible.
36327 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
36329         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36330         e_ident.  Don't pass to find_mapsXX.
36331         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36333 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36336         strchr-sse2-no-bsf strrchr-sse2-no-bsf
36337         * sysdeps/x86_64/multiarch/strchr.S: Update.
36338         Check bit_slow_BSF bit.
36339         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36340         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36341         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36343 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
36345         [BZ #13134]
36346         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36347         before glibc 2.15.
36348         (tryshell): Define.
36349         (__spawni): Change last parameter to be flag.  Test
36350         SPAWN_XFLAGS_USE_PATH flag to use path or not.
36351         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36352         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36353         * posix/spawni.c: Likewise.
36354         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36355         * posix/spawnp.c: Likewise.  Change normal version to use
36356         SPAWN_XFLAGS_USE_PATH.
36357         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36358         SPAWN_XFLAGS_TRY_SHELL.
36360         [BZ #13150]
36361         * posix/glob.h: Remove gcc 1.x support.
36363         [BZ #13068]
36364         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36366 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36369         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36370         strrchr-sse2-bsf
36371         * sysdeps/i386/i686/multiarch/strchr.S: New file.
36372         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36373         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36374         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36375         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36376         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36378 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36380         * sysdeps/x86_64/wcscmp.S: New file.
36382         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36383         wcscmp-c wcscmp-sse2
36384         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36385         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36386         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36387         * wcsmbs/wcscmp.c: Allow renaming.
36389 2011-09-05  David S. Miller  <davem@davemloft.net>
36391         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36392         stack slot, rather than the struct return pointer slot.
36393         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36394         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36396         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36398 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
36400         * po/ja.po: Update from translation team.
36402         [BZ #13144]
36403         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36404         kernel in 64-bit binaries.
36406 2011-09-01  David S. Miller  <davem@davemloft.net>
36408         * elf/elf.h (HWCAP_SPARC_*): Move to..
36409         * sysdeps/sparc/sysdep.h: this new file and add new values.
36410         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36411         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36412         _DL_HWCAP_COUNT to 24.
36413         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36414         entries.
36415         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36416         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36417         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36418         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36419         instead of magic constants.
36420         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36422 2011-08-31  David S. Miller  <davem@davemloft.net>
36424         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36425         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36426         Reimplement to do errno handling inline.
36427         (SYSCALL_ERROR_HANDLER): New macro.
36428         (__SYSCALL_STRING): Do not do errno handling in asm.
36429         (__CLONE_SYSCALL_STRING): Delete.
36430         (__INTERNAL_SYSCALL_STRING): Delete.
36431         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36432         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36433         (PSEUDO): Reimplement to do errno handling inline.
36434         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36435         (SYSCALL_ERROR_HANDLER): New macro.
36436         (__SYSCALL_STRING): Do not do errno handling in asm.
36437         (__CLONE_SYSCALL_STRING): Delete.
36438         (__INTERNAL_SYSCALL_STRING): Delete.
36439         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36440         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36441         i386.
36442         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36443         (inline_syscall*): Add 'err' argument.
36444         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36445         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36446         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36447         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36449         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36450         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36452 2011-08-30  Andreas Schwab  <schwab@redhat.com>
36454         * elf/rtld.c (dl_main): Relocate objects in dependency order.
36456 2011-08-29  Jiri Olsa <jolsa@redhat.com>
36458         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36459         directive.
36461 2011-08-24  David S. Miller  <davem@davemloft.net>
36463         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36465 2011-08-24  Andreas Schwab  <schwab@redhat.com>
36467         * elf/Makefile: Add rules to build and run unload8 test.
36468         * elf/unload8.c: New file.
36469         * elf/unload8mod1.c: New file.
36470         * elf/unload8mod1x.c: New file.
36471         * elf/unload8mod2.c: New file.
36472         * elf/unload8mod3.c: New file.
36474         * elf/dl-close.c (_dl_close_worker): Reset private search list if
36475         it wasn't used.
36477 2011-08-23  David S. Miller  <davem@davemloft.net>
36479         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36480         subtract stack bias.
36481         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36482         %sp not %fp in calculations.
36483         (_JMPBUF_UNWINDS_ADJ): Likewise.
36485         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36486         (aio_suspend): Call it to force an exception region around the
36487         AIO_MISC_WAIT() invocation.
36489 2011-08-23  Andreas Schwab  <schwab@redhat.com>
36491         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36492         backslash.
36494 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
36496         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36497         protection macro.
36498         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36499         and <dl-machine.h>.
36500         (Elf64_FuncDesc): Remove.
36502 2011-08-22  David S. Miller  <davem@davemloft.net>
36504         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36505         sigaltstack check, add missing cfi directives.
36506         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36507         missing cfi directives, and sigaltstack handling.
36509 2011-08-16  Andreas Schwab  <schwab@redhat.com>
36511         [BZ #11724]
36512         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36513         object is seen twice.
36514         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36516         * elf/Makefile (distribute): Add tst-initorder2.c.
36517         (tests): Add tst-initorder2.
36518         (modules-names): Add tst-initorder2a tst-initorder2b
36519         tst-initorder2c tst-initorder2d.  Add rules to build them.
36520         ($(objpfx)tst-initorder2.out): New rule.
36521         * elf/tst-initorder2.c: New file.
36522         * elf/tst-initorder2.exp: New file.
36524 2011-08-22  Andreas Schwab  <schwab@redhat.com>
36526         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36528         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36529         dependencies back to end of function.
36531         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36532         $(elfobjdir)/ld.so.
36534 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
36536         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36537         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36538         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36539         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36540         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36541         of __vdso_gettimeofday.
36542         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36543         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
36544         attribute_hidden.
36545         (_libc_vdso_platform_setup): Remove initialization of
36546         __vdso_gettimeofday and __vdso_time.
36548 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
36550         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36551         and fgetc_unlocked.
36552         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36553         getc_unlocked.
36555         * elf/dl-open.c (add_to_global): Report additions to the global scope
36556         for LD_DEBUG=scopes.
36557         (dl_open_worker): Also print scope of newly loaded dependencies.
36558         (_dl_show_scope): Indicate if there is no scope.
36560         [BZ #13114]
36561         * stdio-common/Makefile (tests): Add bug24.
36562         * stdio-common/bug24.c: New file.
36564 2011-08-19  Andreas Jaeger  <aj@suse.de>
36566         [BZ #13114]
36567         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36568         non-existant file when using close-on-exec mode.
36570 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
36572         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36573         the very first instruction.
36575         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36576         the CFI state in the end.
36577         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36578         inclusion of dl-trampoline.h.
36579         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36581 2011-08-19  Andreas Schwab  <schwab@redhat.com>
36583         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36584         expectations for long double.
36586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36587         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36589 2011-08-14  David S. Miller  <davem@davemloft.net>
36591         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36592         artificual limit depends upon the system page size.
36594 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
36596         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36597         * resolv/Makefile: Define CFLAGS-libresolv.
36599 2011-08-17  Andreas Schwab  <schwab@redhat.com>
36601         * nss/makedb.c (compute_tables): Make variables used in nested
36602         function static.
36604 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
36606         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36607         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36608         if buffer was too small.
36610         * elf/pldd.c (main): Attach to all threads in the process.
36611         Rewrite /proc handling to use *at functions.
36613 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
36615         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36616         specifies first scope to show.
36617         (dl_open_worker): Update callers.  Move printing scope of new
36618         object to before the relocation.
36619         * elf/rtld.c (dl_main): Update _dl_show_scope call.
36620         * sysdeps/generic/ldsodefs.h: Update declaration.
36622         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36623         string for the scope number.
36625 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
36627         * nscd/servicescache.c (cache_addserv): Make sure written is always
36628         initialized.
36630 2011-08-14  Roland McGrath  <roland@hack.frob.com>
36632         * sysdeps/i386/i486/bits/atomic.h
36633         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36634         statement expression, so as to suppress "set but not used" warning.
36635         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36637         * string/strncat.c (STRNCAT): Use prototype definition.
36639         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36640         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36641         -Iprograms here.
36642         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36643         (localedef-modules): Add localedef.
36644         (locale-modules): Add locale.
36646         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36647         * elf/rtld.c (dl_main): Invert order of assignment in last change,
36648         to avoid a warning.
36650 2011-08-14  David S. Miller  <davem@davemloft.net>
36652         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36653         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36655 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
36657         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36658         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36659         * elf/rtld.c (dl_main): Set l_name of vDSO.
36660         Call _dl_show_scope when DL_DEBUG_SCOPES.
36661         (process_dl_debug): Recognize scopes flag and also set it for all.
36662         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36663         Declare _dl_show_scope.
36665         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36666         (do_dlopen): Pass caller_dlopen to dl_open.
36667         (__libc_dlopen_mode): Initialize caller_dlopen.
36669         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36670         of libc.  Make tolower call locale-independent.  Optimize a bit by
36671         using isdigit instead of isalnum.
36672         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36674 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
36676         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36677         was a dependency or dynamically loaded.
36679 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
36681         * intl/l10nflist.c: Allow architecture-specific pop function.
36682         * sysdeps/x86_64/l10nflist.c: New file.
36684         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36685         classification.
36687 2011-08-10  Andreas Schwab  <schwab@redhat.com>
36689         * include/dirent.h: Add libc_hidden_proto for scandirat and
36690         scandirat64.  Don't declare __scandirat64.
36691         * dirent/scandirat.c: Add libc_hidden_def.
36692         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36693         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36695 2011-08-10  David S. Miller  <davem@davemloft.net>
36697         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36698         enum.
36699         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36700         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36701         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36703 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
36705         * Versions.def [libc]: Add GLIBC_2.15.
36706         * dirent/Makefile (routines): Add scandirat and scandirat64.
36707         * dirent/Versions [libc]: Export scandirat and scandirat64 for
36708         GLIBC_2.15.
36709         * dirent/dirent.h: Declare scandirat and scandirat64.
36710         * dirent/scandirat.c: New file.
36711         * dirent/scandirat64.c: New file.
36712         * sysdeps/wordsize-64/scandirat.c: New file.
36713         * sysdeps/wordsize-64/scandirat64.c: New file.
36714         * dirent/opendir.c: Define opendirat.
36715         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
36716         using scandirat.
36717         * dirent/scandir64.c: Adjust for scandir.c change.
36718         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
36719         __scandirat64, and __scandir_cancel_handler.
36720         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
36721         additional parameter and use openat instead of open (outside of ld.so).
36722         Add new __opendir as wrapper around __opendirat.
36723         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36724         here without requiring old scandirat implementation.
36726 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
36728         * dirent/scandir.c (cancel_handler): Renamed to
36729         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
36730         defined.  Adjust users.
36731         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36732         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36734 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
36736         * string/test-string.h (IMPL): Use __STRING to expand name and then
36737         stringify it.
36739         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
36740         of cleanups.
36742 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36744         * string/Makefile: Update.
36745         (strop-tests): Append strncat.
36746         * string/test-wcscmp.c: New file.
36747         New comprehensive test for wcscmp.
36748         * string/test-strcmp.c: Update.
36749         (WIDE): New define.
36751 2011-07-22  Andreas Schwab  <schwab@redhat.com>
36753         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36754         line.
36756 2011-07-26  Andreas Schwab  <schwab@redhat.com>
36758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36759         encoding to ACE if AI_IDN.
36761 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
36763         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36764         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36766 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36768         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36769         Fix overflow bug in strncat.
36770         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36772         * string/test-strncat.c: Update.
36773         Add new tests for checking overflow bugs.
36775 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36777         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36778         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36779         * sysdeps/i386/i686/multiarch/strcat.S: New file.
36780         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36781         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36782         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36783         * sysdeps/i386/i686/multiarch/strncat.S: New file.
36784         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36785         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36787         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36788         (USE_AS_STRCAT): Define.
36789         Add strcat and strncat support.
36790         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36792 2011-07-25  Andreas Schwab  <schwab@redhat.com>
36794         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36795         __n bigger than INT_MAX+1.
36796         (__strncmp_g): Likewise.
36798 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
36800         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36801         * libio/stido.h: Likewise.
36803         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36804         (AF_NFC): Define.
36805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36806         (AF_NFC): Define.
36808         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36809         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36810         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36811         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36812         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36814         [BZ #13021]
36815         * scripts/test-installation.pl: Don't expect libnss_test1 to be
36816         installed.
36818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36819         typo.
36820         (_dl_x86_64_save_sse): Likewise.
36822 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
36824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36825         OSXSAVE.
36826         (_dl_x86_64_save_sse): Likewise.
36828         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36830         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36832 2011-07-21  Andreas Schwab  <schwab@redhat.com>
36834         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36835         change.
36836         (_dl_x86_64_save_sse): Use correct AVX check.
36838 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36840         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36841         bug in strncpy/strncat.
36842         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36844 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
36846         * string/tester.c (test_strcat): Add tests for different alignments
36847         of source and destination.
36848         (test_strncat): Likewise.
36850 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
36852         [BZ #12852]
36853         * posix/glob.c (glob): Check passed in values before using them in
36854         expressions to avoid some overflows.
36855         (glob_in_dir): Likewise.
36857         [BZ #13007]
36858         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36859         check for AVX enablement so that we don't crash with old kernels and
36860         new hardware.
36861         * elf/tst-audit4.c: Add same checks here.
36862         * elf/tst-audit6.c: Likewise.
36864         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36866 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
36868         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36870 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
36872         * po/cs.po: Update from translation team.
36873         * po/bg.po: Likewise.
36875 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
36877         * misc/sys/cdefs.h: Add support for const attribute.
36878         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36879         to gnu_dev_{major,minor,makedev} functions.
36881 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
36883         * intl/dcigettext.c (get_output_charset): Add missing bracket.
36885 2011-07-20  Andreas Schwab  <schwab@redhat.com>
36887         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36888         strlen results.
36890 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36892         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36893         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36894         register in order to avoid conflicts with the soft frame pointer
36895         being held in r11 when necessary.
36896         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36897         (INTERNAL_VSYSCALL_NCS): Likewise.
36899 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
36901         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36902         * elf/dl-fini.c (_dl_fini): Adjust caller.
36903         * elf/dl-close.c (_dl_close_worker): Likewise.
36904         * sysdeps/generic/ldsodefs.h: Adjust declaration.
36906 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36908         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36909         "aux_cache->nlibs < 0".
36911         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36912         in the reload-count case.
36914 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36917         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36918         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36919         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36920         * sysdeps/x86_64/multiarch/strcat.S: New file.
36921         * sysdeps/x86_64/multiarch/strncat.S: New file.
36922         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36923         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36924         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36925         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36926         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36927         (USE_AS_STRCAT): Define.
36928         Add strcat and strncat support.
36929         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36930         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36931         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36932         * string/strncat.c: Update.
36933         (USE_AS_STRNCAT): Define.
36934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36935         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36936         and i7.
36937         * sysdeps/x86_64/multiarch/init-arch.h
36938         (bit_Prefer_PMINUB_for_stringop): New.
36939         (index_Prefer_PMINUB_for_stringop): Likewise.
36940         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36941         bit_Prefer_PMINUB_for_stringop.
36943 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36945         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36946         buffer64.
36947         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36948         of casting of buffer.
36949         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36950         buffer32 and buffer64.
36951         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36952         writes instead of casting of buffer.
36953         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36954         buffer32.
36955         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36956         casting of buffer.
36958 2011-07-19  Andreas Schwab  <schwab@redhat.com>
36960         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36962 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36964         * nscd/nscd.c (termination_handler): Don't do anything for a database
36965         if it has not yet been initialized.
36967 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36969         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36971 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36973         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36975 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36977         * po/nl.po: Update from translation team.
36978         * po/sv.po: Likewise.
36980 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36982         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36983         now disallowed by GCC.
36985         * configure.in (use-default-link): Default to yes if a test -shared
36986         link meets our qualifications.
36987         * configure: Regenerated.
36989         * config.make.in (output-format): New variable.
36990         * configure.in: Check for ld --print-output-format support.
36991         * configure: Regenerated.
36992         * Makerules ($(common-objpfx)format.lds)
36993         [$(output-format) != unknown]: Just use $(output-format),
36994         instead of the linker-script munging.
36996 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36998         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36999         of $(common-objpfx)shlib.lds.
37000         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37002         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37003         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37005         * configure.in (-z relro check): Adjust test code to add a large
37006         writable data section after it.
37007         * configure: Regenerated.
37009 2011-07-11  Roland McGrath  <roland@hack.frob.com>
37011         * configure.in (-z relro check): Fix test code to make the variable
37012         truly const.
37013         * configure: Regenerated.
37015 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
37017         * nscd/nscd.h (struct traced_file): Define.
37018         (struct database_dyn): Remove inotify_descr, reset_res, and filename
37019         elements.  Add traced_files.
37020         (inotify_fd): Declare.
37021         (register_traced_file): Declare.
37022         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37023         (inotify_fd): Export.
37024         (resolv_conf_descr): Remove.
37025         (nscd_init): Move inotify descriptor creation to main.
37026         Don't register files for notification here.
37027         (register_traced_file): New function.
37028         (invalidate_cache): Don't use reset_res to determine whether to call
37029         res_init, go through the list of registered files.
37030         (main_loop_poll): The inotify descriptors are now stored in the
37031         structures for the traced files.
37032         (main_loop_epoll): Likewise
37033         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
37034         to __nss_disable_nscd.
37035         * nscd/cache.c (prune_cache): There is no single inotify descriptor
37036         for a database anymore.  Check the records for all the registered
37037         files instead.
37038         * nss/Makefile (libnss_files-routines): Add files-init.
37039         (libnss_db-routines): Add db-init.
37040         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37041         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37042         * nss/nss_db/db-init.c: New file.
37043         * nss/nss_files/files-init.c: New file.
37044         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
37045         __nss_lookup_function.
37046         (__nss_lookup_function): Call nss_load_library.
37047         (nss_load_all_libraries): New function.
37048         (__nss_disable_nscd): Take parameter with callback function for files
37049         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
37050         used for the cached services.
37051         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37052         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37053         options for features to all the files in nscd.
37055         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37057 2011-07-10  Roland McGrath  <roland@hack.frob.com>
37059         * csu/elf-init.c (__libc_csu_init): Comment typo.
37061 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
37063         * po/pl.po: Update from translation team.
37064         * po/ja.po: Likewise.
37065         * po/ru.po: Likewise.
37066         * po/ko.po: Likewise.
37067         * po/fr.po: Likewise.
37069 2011-07-09  Roland McGrath  <roland@hack.frob.com>
37071         * configure.in (.ctors/.dtors header and trailer check):
37072         Use an empirical test on a built program.
37073         * configure: Regenerated.
37075         * configure.in (-z relro check): Use an empirical test on a built DSO.
37076         Detect, but do not require, on ia64.
37077         * configure: Regenerated.
37079         * configure.in (READELF): Find it with AC_CHECK_TOOL.
37080         Update tests that use readelf to use $READELF instead.
37081         * configure: Regenerated.
37083 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
37085         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37086         if the result is not used.
37088 2011-07-05  Andreas Jaeger  <aj@suse.de>
37090         [BZ#9696]
37091         * stdlib/tst-strtod.c: Add testcase.
37093 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
37095         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37096         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37097         The latter has a higher limit.  Take additional parameter to pass to
37098         the new function.
37099         (__pathconf): Pass file to __statfs_link_max.
37100         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37101         __statfs_link_max.
37102         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37103         __statfs_link_max.
37105         [BZ #12868]
37106         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37107         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37108         Handle Lustre.
37109         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37110         (__statfs_filesize_max): Likewise.
37111         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37113 2011-07-05  Andreas Jaeger  <aj@suse.de>
37115         * resolv/res_comp.c (dn_skipname): Remove unused variable.
37117 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
37119         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37120         `status' variable.
37121         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37122         Likewise.
37124 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
37126         * Makefile (strop-tests): Add strncat.
37127         * string/test-strncat.c: New file.
37129 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
37131         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37133 2011-06-21  Andreas Jaeger  <aj@suse.de>
37135         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37136         Copy rule from iconvdata/Makefile.
37138 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
37140         [BZ #12922]
37141         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37142         but no long options are defined, just return 'W'.
37144 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
37146         [BZ #9696]
37147         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37149 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
37151         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37152         netgroups to read.
37153         (innetgr): Likewise.
37155 2011-07-05  Roland McGrath  <roland@hack.frob.com>
37157         * config.make.in (install_root): Default to $(DESTDIR).
37159 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
37161         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37163 2011-07-02  Roland McGrath  <roland@hack.frob.com>
37165         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37167         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37168         containing directory rather than embedding absolute directory names.
37170         * scripts/check-local-headers.sh: Rewritten using awk.
37171         Match by word, not by line.  Print error messages for matches.
37172         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37174         * Makerules [shlib-lds-flags empty]:
37175         ($(common-objpfx)libc_pic.opts): New target.
37176         ($(common-objpfx)libc_pic.os.clean): New target.
37177         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37179         * config.make.in (OBJCOPY): New variable.
37180         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37181         * configure: Regenerated.
37183         * config.make.in (use-default-link): New variable.
37184         * configure.in (use_default_link): Grok --with-default-link to set it.
37185         * configure: Regenerated.
37186         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37187         (shlib-lds, shlib-lds-flags): Define to empty.
37189         * Makerules (shlib-lds): New variable.
37190         (shlib-lds-flags): New variable.
37191         (build-shlib, build-moduile, build-module-asneeded): Use it.
37192         ($(common-objpfx)libc.so): Use $(shlib-lds).
37193         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37194         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37196         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37197         DT_FLAGS/DT_FLAGS_1 with zero flags.
37199         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37200         linker script munging.
37202 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
37204         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37205         as 128-bit value.
37206         * crypt/sha512.c (sha512_process_block): Perform total addition using
37207         128-bit if possible.
37208         (__sha512_finish_ctx): Likewise.
37209         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37210         as 64-bit value.
37211         * crypt/sha256.c (SWAP64): Define.
37212         (sha256_process_block): Perform total addition using 64-bit if
37213         possible.
37214         (__sha256_finish_ctx): Likewise.
37216 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
37218         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
37219         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37220         * nscd/hstcache.c (cache_addhst): Likewise.
37221         * nscd/grpcache.c (cache_addgr): Likewise.
37222         * nscd/aicache.c (addhstaiX): Likewise
37223         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37225 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
37227         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37228         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37229         * nscd/hstcache.c (cache_addhst): Likewise.
37230         * nscd/grpcache.c (cache_addgr): Likewise.
37231         * nscd/aicache.c (addhstaiX): Likewise
37233 2011-07-01  Andreas Schwab  <schwab@redhat.com>
37235         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37236         domain only when needed.
37238 2011-06-30  Andreas Schwab  <schwab@redhat.com>
37240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37241         is always restored.
37243 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
37245         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37246         are re-adding the entry.
37247         * nscd/servicescache.c (cache_addserv): Likewise.
37249 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
37251         * sysdeps/generic/dl-irel.h: fix protection against multiple
37252         inclusions.
37253         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37255 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
37257         [BZ #12935]
37258         * malloc/memusage.sh: Fix quoting in message.
37259         * debug/xtrace.sh: Likewise.
37261         * configure.in: Remove support for --experimental-malloc option, make
37262         it the default.
37263         * config.make.in: Likewise.
37264         * malloc/Makefile: Likewise.
37266 2011-06-27  Andreas Schwab  <schwab@redhat.com>
37268         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37269         two-byte characters.
37271 2011-06-27  Roland McGrath  <roland@hack.frob.com>
37273         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37274         AC_CACHE_CHECK invocation.
37275         * configure: Regenerated.
37277         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37279 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
37281         [BZ #12350]
37282         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
37283         bit from old_res_options.
37285         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37287         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37288         value type for setfct.
37290 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
37292         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37293         __gettimeofday instead of gettimeofday.
37295 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
37297         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37299 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
37301         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37303         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37304         info.
37306 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
37308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37309         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37310         strcpy-sse2-unaligned strncpy-sse2-unaligned
37311         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37312         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37313         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37314         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37315         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37316         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37317         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37318         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37319         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37320         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37321         (STRCPY): Support SSE2 and SSSE3 versions.
37323 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
37325         [BZ #12874]
37326         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37327         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37328         kernels which artificially limit size of requests.
37330 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
37332         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37333         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37334         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37335         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37336         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37337         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37338         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37339         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37340         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37341         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37342         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37343         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37344         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37345         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37346         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37348         Enable unaligned load optimization for Intel Core i3, i5 and i7
37349         processors.
37350         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37351         Define.
37352         (index_Fast_Unaligned_Load): Define.
37353         (HAS_FAST_UNALIGNED_LOAD): Define.
37355 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
37357         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37359 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
37361         [BZ #12907]
37362         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37363         until it is clear that the information is realy needed.
37364         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37366 2011-06-22  Andreas Schwab  <schwab@redhat.com>
37368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37370 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
37372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37373         /sys/devices/system/cpu/online if it is usable.
37375         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37376         reading the information from the /proc filesystem to once a second.
37378 2011-06-21  Andreas Jaeger  <aj@suse.de>
37380         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37381         NULL after inclusion of kernel headers.
37383 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
37385         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37386         calls to internal_setent.
37388         [BZ #12885]
37389         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37390         addresses using gethostbyname4_r ignore IPv4 addresses.
37392         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37393         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
37395         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37397 2011-06-20  David S. Miller  <davem@davemloft.net>
37399         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37400         inclusions.
37401         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37403         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37404         (elf_irel): Use it.
37405         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37406         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37407         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37408         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37409         * sysdeps/x86_64/dl-irel.h: Likewise.
37411         * elf/dl-runtime.c: Use elf_ifunc_invoke.
37412         * elf/dl-sym.c: Likewise.
37414 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
37416         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
37417         need to dereference resplen2.
37419 2011-06-14  Andreas Schwab  <schwab@redhat.com>
37421         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37423 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
37425         * Makeconfig: Define vardbdir and inst_vardbdir.
37426         * nss/Makefile: Add rules to install db-Makefile.
37428         * nss/nss_db/db-XXX.c: Cleanup.
37430         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37431         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37432         GLIBC_PRIVATE.
37433         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37434         * nss/makedb.c: Implement -g option to specify that value strings
37435         are generated and should not be added to table iterated over for
37436         get*ent calls.
37437         * nss/nss_db/db-initgroups.c: New file.
37439         * nss/getent.c: Add support for initgroups lookups through getgrouplist
37440         interface.
37442         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37443         (internal_getgrouplist): Adjust to name change.
37444         Update use_initgroups_entry if this is not the first call.
37445         * nss/databases.def: Add initgroups entry.
37447         * nss/makedb.c (compute_tables): Check result of multiple hash table
37448         sizes to minimize maximum chain length.
37450 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
37452         * Versions.def: Add entry for libnss_db.
37453         * shlib-versions: Likewise.
37454         * nss/Makefile: Add rules to build libnss_db.
37455         * nss/Versions: Add libnss_db information.  Organize libnss_files
37456         entries better.
37457         * nss/db-Makefile: Add gshadow support.  Change rules for the new
37458         makedb progra.  Some minor improvements to generate smaller files.
37459         * nss/nss_db/nss_db.h: Move NSS database header data structures to
37460         here from...
37461         * nss/makedb.c: ...here.
37462         Improve database format to be smaller and require less memory at
37463         runtime.
37464         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
37465         db anymore.
37466         * nss/nss_db/db-netgrp.c: Likewise.
37467         * nss/nss_db/db-open.c: Likewise.
37468         * nss/nss_files/flies-XXX.x: Adjust comments.
37469         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37470         * nss/nss_files/files-grp.c: Likewise.
37471         * nss/nss_files/files-hosts.c: Likewise.
37472         * nss/nss_files/files-network.c: Likewise.
37473         * nss/nss_files/files-proto.c: Likewise.
37474         * nss/nss_files/files-pwd.c: Likewise.
37475         * nss/nss_files/files-rpc.c: Likewise.
37476         * nss/nss_files/files-service.c: Likewise.
37477         * nss/nss_files/files-sgrp.c: Likewise.
37478         * nss/nss_files/files-spwd.c: Likewise.
37479         * nss/nss_db/db-alias.c: Removed.
37480         * nss/nss_db/dummy-db.h: Removed.
37482 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
37484         * nss/makedb.c: Rewritten to not use database library.
37485         * nss/Makefile: Update to build new makedb program.
37487 2011-06-14  Andreas Jaeger  <aj@suse.de>
37489         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37490         memset declaration.
37492 2011-06-10  Andreas Schwab  <schwab@redhat.com>
37494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37495         tmpbuf.
37497 2011-06-10  Roland McGrath  <roland@hack.frob.com>
37499         * Makerules (shlib.lds): Fail if the linker script comes out empty.
37500         * elf/Makefile ($(objpfx)ld.so): Likewise.
37502         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37503         Don't list ld.so twice in dependencies.
37505         * posix/bug-regex31.c: Include <stdlib.h>.
37507         * nscd/hstcache.c (cache_addhst): Remove unused variable.
37509         * nis/nss_compat/compat-spwd.c
37510         (getspent_next_nss_netgr): Remove unused variable.
37511         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37513         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37514         nonmembers" output to use the right array.
37516         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37518         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37520         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37521         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37522         * catgets/gencat.c (read_input_file): Likewise.
37523         * locale/programs/locarchive.c (enlarge_archive): Likewise.
37525         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37526         variable definition inside #if's controlling its use.
37528         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37530         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37532         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37534         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37535         unreachable code.
37537         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37539         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37540         * configure: Regenerated.
37542         * Makerules: Revert last change.
37543         * elf/Makefile: Likewise.
37545 2011-06-09  Roland McGrath  <roland@hack.frob.com>
37547         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37548         * elf/Makefile ($(objpfx)librtld.os): Likewise.
37549         (reloc-link): Likewise.
37551 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
37553         * elf/Makefile: Add rules to build pldd.
37554         * elf/pldd.c: New file.
37555         * elf/pldd-xx.c: New file.
37557 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
37559         * version.h: Update for 2.15 development version.
37561 2011-06-07  David S. Miller  <davem@davemloft.net>
37563         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37564         ifuncs.
37565         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37566         elf_machine_lazy_rel): Likewise.
37567         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37568         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37569         elf_machine_lazy_rel): Likewise.
37570         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37571         dl_hwcap via passed in argument.
37572         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37573         Likewise.
37575 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37577         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
37579 2011-06-06  Roland McGrath  <roland@hack.frob.com>
37581         [BZ #12849]
37582         * manual/fdl-1.1.texi: New file, verbatim from:
37583         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37584         * manual/lgpl-2.1.texi: New file, verbatim from:
37585         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37586         * manual/Makefile (licenses): New variable, list those new file names.
37587         (texis): Use it.
37588         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37590         * manual/fdl.texi: File removed.
37591         * manual/lesser.texi: File removed.
37592         * manual/libc.texinfo (Copying, Documentation License):
37593         Use new @include file names, put @appendix directive before @include.
37595 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
37597         [BZ #12841]
37598         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37599         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37600         (mq_open): Add __NTH.
37602 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
37604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37605         Assume Intel Core i3/i5/i7 processor if AVX is available.
37607 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
37609         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37610         typo.
37612 2011-05-31  Andreas Schwab  <schwab@redhat.com>
37614         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37615         memory.  Use alloca_account.  Fix memory leak when retrying.
37617 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
37619         * version.h (RELEASE): Bump for 2.14 release.
37620         * include/features.h (__GLIBC_MINOR__): Bump to 14.
37622         * config.make.in (RANLIB): Remove entry.
37624 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
37626         * po/Makefile (po-sed-cmd): Add ksh to extensions.
37627         (libc.pot): Work around missing support for .ksh extension in xgettext.
37629         [BZ #12684]
37630         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37631         if both request failed.
37632         (send_dg): In case of server errors clear resplen or *resplen2.
37634         [BZ #12454]
37635         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37636         when there are multiple maps.
37637         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37638         (_dl_fini): Remove test here.
37640         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37642 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
37644         [BZ #12350]
37645         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37646         bit from old_res_options.
37647         (gaih_inet): Likewise.
37649         [BZ #11099]
37650         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37651         as signed.
37653         * resolv/res_init.c (res_setoptions): Make the code more compact.
37655         [BZ #11558]
37656         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37657         set RES_USEVC.
37659         [BZ #11634]
37660         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37662         * malloc/malloc.h: Mark malloc hook variables as deprecated.
37664         [BZ #11781]
37665         * malloc/malloc.h: Declare malloc hook variables as volatile.
37667         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37668         in last patch.
37670         [BZ #11799]
37671         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37672         raise in the comment.
37673         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37674         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37675         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37677 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
37679         [BZ #12811]
37680         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37681         grow the buffers more if it already has to be sufficient.
37682         (build_wcs_upper_buffer): Likewise.
37683         * posix/regexec.c (check_matching): Likewise.
37684         (clean_state_log_if_needed): Likewise.
37685         (extend_buffers): Don't enlarge buffers beyond size of the input
37686         buffer.
37687         Patches mostly by Emil Wojak <emil@wojak.eu>.
37688         * posix/bug-regex32.c: New file.
37689         * posix/Makefile (tests): Add bug-regex32.
37691         * locale/findlocale.c (_nl_find_locale): Return right away if
37692         _nl_explode_name failed.
37693         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37695         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37697         * debug/xtrace.sh: Unify messages.
37698         * malloc/memusage.sh: Likewise.
37700         [BZ #12813]
37701         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37702         time symbol from vDSO.  Substitute with vsyscall if not available.
37703         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37704         __vdso_time.
37706         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37707         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37708         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37709         Add sendmmsg and internal_sendmmsg.
37710         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37711         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37712         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37714         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37715         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37716         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37718 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
37720         [BZ #12813]
37721         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37722         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
37723         available.
37724         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37725         __vdso_getcpu.
37727         [BZ #12814]
37728         * iconvdata/Makefile (tests): Add bug-iconv9.
37729         * iconvdata/bug-iconv9.c: New file.
37731 2011-05-27  Andreas Schwab  <schwab@redhat.com>
37733         [BZ #12814]
37734         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37736 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
37738         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37739         (struct user_regs_struct): Change intcs field back to cs.
37741 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
37743         * po/ja.po: Update from translation team.
37745 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
37747         [BZ #12795]
37748         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37749         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37751 2011-05-20  Andreas Schwab  <schwab@redhat.com>
37753         * stdlib/longlong.h: Update from GCC.
37755 2011-05-23  Andreas Schwab  <schwab@redhat.com>
37757         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37758         parameter name.
37759         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37760         Add parameter name.
37761         (__sysconf): Pass it down.
37763 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
37765         [BZ #12671]
37766         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37767         some situations.
37768         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37769         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37770         add in in __libc_use_alloca calls.  Adjust callers.
37771         (glob): Use malloc in some situations.
37773         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37774         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37775         pltexit.
37777 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
37779         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37780         and CLOCK_BOOTTIME_ALARM.
37782         [BZ #12782]
37783         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37784         is returned.
37786         * string/_strerror.c (__strerror_r): Print negative errors as signed
37787         numbers.
37789         [BZ #12777]
37790         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37791         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37792         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37794         * configure.in: Fix typo in redirection and correct removal of test
37795         files in two cases.
37797         [BZ #12788]
37798         * locale/setlocale.c (new_composite_name): Fix test to check for
37799         identical name of all categories.
37801         [BZ #12792]
37802         * libio/filedoalloc.c (local_isatty): New function.
37803         (_IO_file_doallocate): Use local_isatty.
37804         * stdio-common/perror.c (perror): In case a new stream is used
37805         forward the stream error.
37806         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37807         error flag.
37809 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
37811         [BZ #11869]
37812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37813         alloca.
37814         * include/alloca.h (extend_alloca_account): Define.
37816         [BZ #11857]
37817         * posix/regex.h: Fix comments with documentation of user-accessible
37818         fields after compilation and describe correct free'ing of pattern
37819         after re_compile_pattern.
37820         Patch by Reuben Thomas <rrt@sc3d.org>.
37822 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
37824         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37825         and -mno-altivec to prevent the compiler from using Altivec and/or
37826         VSX instructions when the corresponding registers are not available.
37828 2011-05-19  Andreas Schwab  <schwab@redhat.com>
37830         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37832 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
37834         * libio/freopen.c (freopen): Use __dup2, not dup2.
37835         * libio/freopen64.c (freopen64): Likewise.
37837 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37839         [BZ #12775]
37840         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37841         * math/Makefile (tests): Add test-powl.
37842         (CFLAGS-test-powl.c): Define.
37843         * math/test-powl.c: New file.
37845 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37847         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37849 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
37851         [BZ #11837]
37852         * iconvdata/gb18030.c: Update to GB18020-2005.
37854 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
37856         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37857         RE_SYNTAX_POSIX_AWK): Update to match recent development.
37858         Patch by Aharon Robbins <arnold@skeeve.com>.
37860         [BZ #11892]
37861         * stdlib/putenv.c (putenv): Don't always create copy of the variable
37862         on the stack.
37864         [BZ #11895]
37865         * misc/pselect.c (__pselect): Handle timeout value errors hidden
37866         through underflows.
37868         [BZ #12766]
37869         * misc/error.c (error_at_line): Ensure file_name and old_file_name
37870         point to strings before performing equality test for error_one_per_line
37871         mode.
37873         [BZ #11697]
37874         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37876         [BZ #11820]
37877         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37878         (struct user_fpregs_struct): Avoid __uint*_t types.
37880         [BZ #6420]
37881         * malloc/mtrace.c (tr_where): Add additional parameter to point to
37882         symbol info.  Use it instead of calling _dl_addr locally.
37883         (lock_and_info): New function.
37884         (tr_freehook): Call lock_and_info and pass symbol info as additional
37885         parameter to tr_where.
37886         (tr_mallochook): Likewise.
37887         (tr_reallochook): Likewise.
37888         (tr_memalignhook): Likewise.
37890         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
37891         used and couldn't be at all thread-safe.
37893 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
37895         * libio/freopen.c (freopen): Don't close old file descriptor
37896         before the new one is opened.  Instead dup the new file descriptor
37897         to the old one after the new stream is created.
37898         * libio/freopen64.c (freopen64): Likewise.
37899         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37900         * libio/fileops.c (_IO_new_file_close_it): Handle new
37901         _IO_FLAGS2_NOCLOSE flag.
37902         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37903         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37904         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37905         _IO_FLAGS2_NOCLOSE flag.
37906         * include/unistd.h: Add hidden_proto for dup3.
37907         Define __have_dup3.
37908         * io/dup3.c: Define hidden symbol.
37909         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37911         [BZ #7101]
37912         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37913         when an incomplete long option is used.
37914         * posix/tst-getopt_long1.c: New file.
37915         * posix/Makefile (tests): Add tst-getopt_long1.
37917         [BZ #10138]
37918         * scripts/config.guess: Update from autoconf-2.68.
37919         * scripts/config.sub: Likewise.
37921         [BZ #10157]
37922         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37923         tests into ...
37924         (has_cpuclock): ...this.  New function.
37925         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37926         macro here based on has_cpuclock code.
37928         [BZ #10149]
37929         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37930         First byte (not low byte) is now always NUL.
37931         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37933         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37934         Use non-cancelable interfaces.
37936         [BZ #9809]
37937         * locale/iso-639.def: Add entry for Sorani.
37939         [BZ #11901]
37940         * include/stdlib.h: Move include protection to the right place.
37941         Define abort_msg_s.  Declare __abort_msg with it.
37942         * stdlib/abort.c (__abort_msg): Adjust type.
37943         * assert/assert.c (__assert_fail_base): New function.  Majority
37944         of code from __assert_fail.  Allocate memory for __abort_msg with
37945         mmap.
37946         (__assert_fail): Now call __assert_fail_base.
37947         * assert/assert-perr.c: Remove bulk of implementation.  Use
37948         __assert_fail_base.
37949         * include/assert.hL Declare __assert_fail_base.
37950         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37951         mmap.
37952         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37954 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
37956         [BZ #11952]
37957         [BZ #12453]
37958         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37959         until all modules are registered in the DTV.
37960         * elf/Makefile: Add rules to build and run tst-tls19.
37961         * elf/tst-tls19.c: New file.
37962         * elf/tst-tls19mod1.c: New file.
37963         * elf/tst-tls19mod2.c: New file.
37964         * elf/tst-tls19mod3.c: New file.
37965         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37967         [BZ #12083]
37968         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37969         correctly.
37971         [BZ #12601]
37972         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37973         two-byte sequence errors.
37974         * iconvdata/Makefile (tests): Add bug-iconv8.
37975         * iconvdata/bug-iconv8.c: New file.
37977         [BZ #12626]
37978         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37979         buf2 definition.
37981         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37983         [BZ #12432]
37984         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37985         (dummy_getcfa): New function.
37986         (init): Get _Unwind_GetCFA address, use dummy if not found.
37987         (backtrace_helper): In recursion check, also check whether CFA changes.
37988         (__backtrace): Completely initialize arg.
37990         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37991         storing incomplete byte sequence in state object.  Avoid testing for
37992         guaranteed too small input if we know there is enough data available.
37994 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37996         * Makeconfig (+link-pie): Indent.
37997         * Rules (binaries-pie): Define if $(have-fpie) and
37998         $(build-shared).
37999         (binaries-shared): Also filter out $(binaries-pie).
38000         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38001         * nscd/Makefile (others-pie): Add nscd.
38002         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38003         ($(objpfx)nscd): Remove command override.
38004         * login/Makefile (others-pie): Add pt_chown.
38005         ($(objpfx)pt_chown): Remove command override.
38006         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38007         remove command overrides.
38009 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
38011         * libio/tst_putwc.c: Fix error messages.
38013         [BZ #12724]
38014         * libio/fileops.c (_IO_new_file_close_it): Always flush when
38015         currently writing and seek to current position when not.
38016         * libio/Makefile (tests): Add bug-fclose1.
38017         * libio/bug-fclose1.c: New file.
38019 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
38021         [BZ #12511]
38022         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38023         don't set DF_1_NODELETE here.
38024         (do_lookup_x): When entering new entry test for copy relocation
38025         and if necessary set DF_1_NODELETE flag.
38026         * elf/tst-unique4.cc: New file.
38027         * elf/tst-unique4.h: New file.
38028         * elf/tst-unique4lib.cc: New file.
38029         * elf/Makefile: Add rules to build and run tst-unique4.
38030         Patch by Piotr Bury <pbury@goahead.com>.
38032 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
38034         [BZ #12052]
38035         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38037         [BZ #12625]
38038         * misc/mntent_r.c (addmntent): Flush the stream after the output
38040         [BZ #12393]
38041         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38042         (is_trusted_path_normalize): Skip initial colon.  Append slash
38043         to empty buffer.  Duplicate is_trusted_path code but allow
38044         constructed patch to be prefix.
38045         (is_dst): Allow $ORIGIN followed by /.
38046         (_dl_dst_substitute): Correct clearing of check_for_trusted.
38047         Correct testing of result of is_trusted_path_normalize
38048         (decompose_rpath): Fix warning.
38050 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
38052         [BZ #11257]
38053         * grp/initgroups.c (internal_getgrouplist): When we found the service
38054         list through the initgroups entry in nsswitch.conf do not always
38055         continue on a successful lookup.  Don't always use the
38056         __nss_group_database value if it is set.
38057         * nss/nsswitch.conf (initgroups): Change action for successful db
38058         lookup to continue for compatibility.
38060 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
38062         [BZ #11532]
38063         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38064         and CP774 modules.
38065         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38066         and CP774 modules.
38067         * iconvdata/tst-tables.sh: Likewise.
38068         * iconvdata/cp770.c: New file.
38069         * iconvdata/cp771.c: New file.
38070         * iconvdata/cp772.c: New file.
38071         * iconvdata/cp773.c: New file.
38072         * iconvdata/cp774.c: New file.
38073         * iconvdata/testdata/CP770: New file.
38074         * iconvdata/testdata/CP770..UTF8: New file.
38075         * iconvdata/testdata/CP771: New file.
38076         * iconvdata/testdata/CP771..UTF8: New file.
38077         * iconvdata/testdata/CP772: New file.
38078         * iconvdata/testdata/CP772..UTF8: New file.
38079         * iconvdata/testdata/CP773: New file.
38080         * iconvdata/testdata/CP773..UTF8: New file.
38081         * iconvdata/testdata/CP774: New file.
38082         * iconvdata/testdata/CP774..UTF8: New file.
38084         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38085         END CHARMAP line.
38086         * iconvdata/gen-8bit-gap.sh: Likewise.
38087         * iconvdata/gen-8bit.sh: Likewise.
38089         * locale/iso-639.def: Add ary entry.
38091         [BZ #11258]
38092         * locale/C-translit.h.in: Add U20A1 transliteration.
38094         [BZ #12178]
38095         * locale/iso-639.def: Add wae entry.
38096         Patch by Kevin Bortis <bortis@translate-wae.ch>.
38098         [BZ #12545]
38099         * locale/programs/localedef.c (construct_output_path): Use ssize_t
38100         for n.
38102         [BZ #12711]
38103         * locale/C-translit.h.in: Add entry for U20B9.
38104         Patch by pravin.d.s@gmail.com.
38106 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
38108         [BZ #12713]
38109         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38110         ENAMETOOLONG use generic getcwd.
38111         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
38112         in rtld.  Use *stat64.
38113         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38114         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38115         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38116         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38117         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38118         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38119         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38120         __fstatat64 macros.
38121         * include/dirent.h: Add libc_hidden_proto for rewinddir.
38122         * dirent/rewinddir.c: Add libc_hidden_def.
38123         * sysdeps/mach/hurd/rewinddir.c: Likewise.
38124         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
38126         * include/dirent.h (__alloc_dir): Add flags parameter.
38127         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38128         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38129         __alloc_dir.
38130         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
38131         from fdopendir if O_CLOEXEC is already set.
38133 2011-03-15  Alan Modra  <amodra@gmail.com>
38135         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38136         l_tls_firstbyte_offset non-zero.  Save padding offset in
38137         l_tls_firstbyte_offset for later use.
38138         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38139         freeing static tls block.
38141 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
38143         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38144         where #ifdef was intended.  The intent is to prevent ARG_MAX from
38145         being defined by the kernel headers.
38147 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
38149         [BZ #12734]
38150         * resolv/resolv.h: Define RES_NOTLDQUERY.
38151         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38152         no-tld-query and set RES_NOTLDQUERY.
38153         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38154         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38155         modern BIND to search name as TLD unless forbidden.
38157 2011-05-07  Petr Baudis  <pasky@suse.cz>
38158             Ulrich Drepper  <drepper@gmail.com>
38160         [BZ #12393]
38161         * elf/dl-load.c (fillin_rpath): Move trusted path check...
38162         (is_trusted_path): ...to here.
38163         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38164         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38165         using is_trusted_path_normalize() in setuid scripts.
38167 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38169         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38170         __BEGIN/__END_DECLS.
38172 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
38174         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38175         NSS_STATUS_NOTFOUND if no record was found.
38177 2011-05-05  Andreas Schwab  <schwab@redhat.com>
38179         * sunrpc/Makefile (headers): Add rpc/netdb.h.
38180         (headers-not-in-tirpc): Remove rpc/netdb.h
38181         * resolv/netdb.h: Revert last change.
38183 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38185         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38186         circular dependency between libgcc.a and libc.a.
38188 2011-05-05  Andreas Schwab  <schwab@redhat.com>
38190         * resolv/netdb.h: Don't include <rpc/netdb.h>.
38191         * nis/Makefile: Don't install rpcsvc/*.
38192         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38193         instead of <rpc/types.h>.
38194         (MAXHOSTNAMELEN): Define.
38196 2011-05-03  Andreas Schwab  <schwab@redhat.com>
38198         * elf/ldconfig.c (add_dir): Don't crash on empty path.
38200 2011-04-28  Maciej Babinski  <mbabinski@google.com>
38202         [BZ #12714]
38203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38204         gethostbyname4_r when IPv6 results are possible.
38206 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
38208         [BZ #12723]
38209         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38210         _PC_PIPE_BUF handling.
38212 2011-04-30  Bruno Haible  <bruno@clisp.org>
38214         [BZ #12717]
38215         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38216         * resolv/netdb.h (getnameinfo): Change type of flags parameter
38217         to 'int'.
38218         * inet/getnameinfo.c (getnameinfo): Likewise.
38220 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
38222         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38223         to groups setting in database lookup.
38224         * nss/nsswitch.conf: Add initgroups entry.
38226 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
38228         [BZ #12685]
38229         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38230         mode string.
38231         Patch by Eric Blake <eblake@redhat.com>.
38233 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
38235         * sunrpc/Makefile (need-export-routines): Add svc_run.
38236         (routines): Remove svc_run.
38237         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38238         * sunrpc/clnt_perr.c (clnt_perrno): Export.
38239         * sunrpc/svc_run.c (svc_run): Likewise.
38240         * sunrpc/svc_udp.c (svcudp_create): Likewise.
38242 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
38244         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38245         problem in reallocation in last patch.
38247 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
38249         * sunrpc/Makefile: Move inclusion of Rules.
38251 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
38253         * nss/nss_files/files-initgroups.c: New file.
38254         * nss/Makefile (libnss_files-routines): Add files-initgroups.
38255         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38256         _nss_files_initgroups_dyn.
38258 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
38260         * elf/elf.h (R_ARM_IRELATIVE): Define.
38262 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
38264         * po/ru.po: Update from translation team.
38266 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
38268         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38269         dependencies.
38271 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
38273         [BZ #12653]
38274         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38275         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38276         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38277         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38278         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38280 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
38282         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38283         differing bytes.
38284         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38285         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38286         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38288 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
38290         [BZ #12420]
38291         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38292         storing it.
38293         * stdlib/bug-getcontext.c: New file.
38294         * stdlib/Makefile: Add rules to build and run bug-getcontext.
38296 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38298         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38299         instructions into .machine "z9-109".
38300         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38301         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38303 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38305         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38306         between environment variables and auxiliary vector.
38308 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
38310         * Makefile: Add rules to build linkobj/libc.so.
38311         * include/libc-symbols.h: Define libc_hidden_nolink.
38312         * include/rpc/auth.h: Mark functions which are to be hidden.
38313         * include/rpc/auth_des.h: Likewise.
38314         * include/rpc/auth_unix.h: Likewise.
38315         * include/rpc/clnt.h: Likewise.
38316         * include/rpc/des_crypt.h: Likewise.
38317         * include/rpc/key_prot.h: Likewise.
38318         * include/rpc/pmap_clnt.h: Likewise.
38319         * include/rpc/pmap_prot.h: Likewise.
38320         * include/rpc/pmap_rmt.h: Likewise.
38321         * include/rpc/rpc_msg.h: Likewise.
38322         * include/rpc/svc.h: Likewise.
38323         * include/rpc/svc_auth.h: Likewise.
38324         * include/rpc/xdr.h: Likewise.
38325         * nis/Makefile: Link all DSOs against linkobj/libc.so.
38326         * nss/Makefile: Likewise.
38327         * sunrpc/Makefile: Don't install headers.  Build library with normal
38328         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
38329         * sunrpc/auth_des.c: Hide exported symbols by default, export some
38330         for the compat linking library.  Remove use of INTDEF/INTUSE.
38331         * sunrpc/auth_none.c: Likewise.
38332         * sunrpc/auth_unix.c: Likewise.
38333         * sunrpc/authdes_prot.c: Likewise.
38334         * sunrpc/authuxprot.c: Likewise.
38335         * sunrpc/clnt_gen.c: Likewise.
38336         * sunrpc/clnt_perr.c: Likewise.
38337         * sunrpc/clnt_raw.c: Likewise.
38338         * sunrpc/clnt_simp.c: Likewise.
38339         * sunrpc/clnt_tcp.c: Likewise.
38340         * sunrpc/clnt_udp.c: Likewise.
38341         * sunrpc/clnt_unix.c: Likewise.
38342         * sunrpc/des_crypt.c: Likewise.
38343         * sunrpc/des_soft.c: Likewise.
38344         * sunrpc/get_myaddr.c: Likewise.
38345         * sunrpc/key_call.c: Likewise.
38346         * sunrpc/key_prot.c: Likewise.
38347         * sunrpc/netname.c: Likewise.
38348         * sunrpc/pm_getmaps.c: Likewise.
38349         * sunrpc/pm_getport.c: Likewise.
38350         * sunrpc/pmap_clnt.c: Likewise.
38351         * sunrpc/pmap_prot.c: Likewise.
38352         * sunrpc/pmap_prot2.c: Likewise.
38353         * sunrpc/pmap_rmt.c: Likewise.
38354         * sunrpc/publickey.c: Likewise.
38355         * sunrpc/rpc_cmsg.c: Likewise.
38356         * sunrpc/rpc_common.c: Likewise.
38357         * sunrpc/rpc_dtable.c: Likewise.
38358         * sunrpc/rpc_prot.c: Likewise.
38359         * sunrpc/rpc_thread.c: Likewise.
38360         * sunrpc/rtime.c: Likewise.
38361         * sunrpc/svc.c: Likewise.
38362         * sunrpc/svc_auth.c: Likewise.
38363         * sunrpc/svc_authux.c: Likewise.
38364         * sunrpc/svc_raw.c: Likewise.
38365         * sunrpc/svc_run.c: Likewise.
38366         * sunrpc/svc_simple.c: Likewise.
38367         * sunrpc/svc_tcp.c: Likewise.
38368         * sunrpc/svc_udp.c: Likewise.
38369         * sunrpc/svc_unix.c: Likewise.
38370         * sunrpc/svcauth_des.c: Likewise.
38371         * sunrpc/xcrypt.c: Likewise.
38372         * sunrpc/xdr.c: Likewise.
38373         * sunrpc/xdr_array.c: Likewise.
38374         * sunrpc/xdr_float.c: Likewise.
38375         * sunrpc/xdr_intXX_t.c: Likewise.
38376         * sunrpc/xdr_mem.c: Likewise.
38377         * sunrpc/xdr_rec.c: Likewise.
38378         * sunrpc/xdr_ref.c: Likewise.
38379         * sunrpc/xdr_sizeof.c: Likewise.
38380         * sunrpc/xdr_stdio.c: Likewise.
38382 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
38384         [BZ #12650]
38385         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38386         * sysdeps/ia64/dl-tls.h: Likewise.
38387         * sysdeps/powerpc/dl-tls.h: Likewise.
38388         * sysdeps/s390/dl-tls.h: Likewise.
38389         * sysdeps/sh/dl-tls.h: Likewise.
38390         * sysdeps/sparc/dl-tls.h: Likewise.
38391         * sysdeps/x86_64/dl-tls.h: Likewise.
38392         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38394 2011-03-14  Andreas Schwab  <schwab@redhat.com>
38396         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38397         rpath element also skip the following colon.
38398         (expand_dynamic_string_token): Add is_path parameter and pass
38399         down to DL_DST_REQUIRED and _dl_dst_substitute.
38400         (decompose_rpath): Call expand_dynamic_string_token with
38401         non-zero is_path.  Ignore empty rpaths.
38402         (_dl_map_object_from_fd): Call expand_dynamic_string_token
38403         with zero is_path.
38405 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
38407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38408         Make cancelable.
38410 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
38412         [BZ #12655]
38413         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38414         Patch by Filipe David Manana <fdmanana@apache.org>.
38416 2011-04-07  Andreas Schwab  <schwab@redhat.com>
38418         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38419         Maintain aligned stack.
38420         (CHECK_RSP): Remove unused macro.
38422 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
38424         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38425         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38427 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
38429         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38431         * include/features.h: Mention __USE_XOPEN2K8 in comment.
38433 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
38435         [BZ #12518]
38436         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38437         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38438         * sysdeps/x86_64/memmove.c: New file.
38439         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38440         (memcpy): Renamed to ...
38441         (__new_memcpy): This.
38442         (memcpy): Provide GLIBC_2_14 memcpy.
38443         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38444         (memcpy): Provide GLIBC_2_2_5 memcpy.
38446 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38448         [BZ #12631]
38449         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38451 2011-03-30  Andreas Schwab  <schwab@redhat.com>
38453         * misc/syncfs.c: New file.
38454         * misc/Makefile (routines): Add syncfs.
38455         * posix/unistd.h: Declare syncfs.
38456         * sysdeps/unix/syscalls.list: Add syncfs.
38458 2011-04-01  Andreas Schwab  <schwab@redhat.com>
38460         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38461         open_by_handle_at.
38462         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38463         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38465         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38467         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38468         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38470 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38472         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38473         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38474         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38476         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38477         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38478         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38480         * io/Makefile: Compile fallocate.c, fallocate64.c, and
38481         sync_file_range.c with -fexceptions.
38482         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38483         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38484         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38485         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38486         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38487         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38488         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38489         sync_file_range as cancellation point
38490         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
38491         now a wrapper around __call_sync_file_range with cancellation handling.
38492         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38493         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
38494         function name to __call_sync_file_range.
38495         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38496         Add call_sync_file_range.
38498 2011-04-01  Andreas Schwab  <schwab@redhat.com>
38500         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38501         bits/timex.h.
38503 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
38505         * iconv/iconv.h: Fix typo in comment.
38506         * io/fcntl.h: Likewise.
38507         * libio/stdio.h: Likewise.
38508         * posix/spawn.h: Likewise.
38509         * posix/unistd.h: Likewise.
38510         * stdlib/stdlib.h: Likewise.
38511         * time/time.h: Likewise.
38512         * wcsmbs/wchar.h: Likewise.
38514         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38515         open_by_handle): Add.
38516         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38517         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
38518         Augment a few comments.
38519         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38520         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38521         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38522         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38523         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38524         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38525         open_by_handle.
38527         * io/fcntl.h (AT_EMPTY_PATH): Define.
38529 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
38531         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38532         * sysdeps/unix/sysv/linux/bits/time.h: New file.
38533         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38534         to...
38535         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
38536         * Versions.def: Add GLIBC_2.14.
38537         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38538         Export.
38540 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
38542         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38543         round counter.
38544         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38546 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38548         [BZ #12597]
38549         * string/test-strncmp.c (do_page_test): New function.
38550         (check2): Likewise.
38551         (test_main): Call check2.
38552         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38554 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
38556         [BZ #12587]
38557         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38558         Handle cache information in CPU leaf 4.
38559         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38561 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
38563         [BZ #12583]
38564         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38565         character representation.
38566         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38568 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
38570         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38571         END(__isnan) to END(__isnanf) to match function entry point/label
38572         EALIGN(__isnanf,...).
38574 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
38576         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38578 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
38580         [BZ #12510]
38581         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38582         copy from the symbol referenced in the relocation to initialize the
38583         used variable.
38584         Patch by Piotr Bury <pbury@goahead.com>.
38585         * elf/Makefile: Add rules to build and tst-unique3.
38586         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38587         * elf/tst-unique3.cc: New file.
38588         * elf/tst-unique3.h: New file.
38589         * elf/tst-unique3lib.cc: New file.
38590         * elf/tst-unique3lib2.cc: New file.
38592         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38594 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
38596         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38597         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
38598         to _start.
38600 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
38602         * elf/dl-load.c (_dl_map_object): If we are looking for the first
38603         to-be-loaded object along a path to loader is ld.so.
38605 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
38606             Ulrich Drepper  <drepper@gmail.com>
38608         * sysdeps/x86_64/memset.S: After aligning destination, code
38609         branches to different locations depending on the value of
38610         misalignment, when multiarch is enabled. Fix this.
38612 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
38614         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38615         Set _x86_64_preferred_memory_instruction for AMD processsors.
38616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38617         Set bit_Prefer_SSE_for_memop for AMD processors.
38619 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
38621         * libio/fmemopen.c (fmemopen): Optimize a bit.
38623 2011-03-03  Andreas Schwab  <schwab@redhat.com>
38625         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38627 2011-03-03  Roland McGrath  <roland@redhat.com>
38629         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38631 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
38633         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38634         __bzero_ultra1 instead of __memset_ultra1.
38636 2011-02-23  Andreas Schwab  <schwab@redhat.com>
38637             Ulrich Drepper  <drepper@gmail.com>
38639         [BZ #12509]
38640         * include/link.h (struct link_map): Add l_orig_initfini.
38641         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38642         returning unsuccessfully.
38643         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38644         close of a file loaded at startup, restore the original l_initfini
38645         list.
38646         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38647         list, store the pointer.
38648         * elf/Makefile ($(objpfx)noload-mem): New rule.
38649         (noload-ENV): Define.
38650         (tests): Add $(objpfx)noload-mem.
38651         * elf/noload.c: Include <memcheck.h>.
38652         (main): Call mtrace.  Close all opened handles.
38654 2011-02-17  Andreas Schwab  <schwab@redhat.com>
38656         [BZ #12454]
38657         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38658         dependencies are missing.
38660 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38662         Fix __if_freereq crash: Unlike the generic version which uses free,
38663         Hurd needs munmap.
38664         * sysdeps/mach/hurd/ifreq.h: New file.
38666 2011-01-27  Petr Baudis  <pasky@suse.cz>
38667             Ulrich Drepper  <drepper@gmail.com>
38669         [BZ 12445]#
38670         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38671         to extend_alloca().
38672         * stdio-common/bug23.c: New file.
38673         * stdio-common/Makefile (tests): Add bug23.
38675 2010-09-28  Andreas Schwab  <schwab@redhat.com>
38676             Ulrich Drepper  <drepper@gmail.com>
38678         [BZ #12489]
38679         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38680         before performing relro protection.  At old place add assertion
38681         to make sure nothing changed.
38683 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
38684             Glauber de Oliveira Costa  <glommer@gmail.com>
38686         * elf/elf.h: Add new ARM TLS relocs.
38688 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
38690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38691         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38692         cast from r3.
38693         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
38694         'tests' variable.
38695         * sysdeps/wordsize-64/tst-writev.c: New file.
38697 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
38699         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38700         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38701         insns in _dl_start to prevent a TOC reference before relocs are
38702         resolved.
38704 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
38706         [BZ #12469]
38707         * Makeconfig: Remove RANLIB definition.
38708         * Makerules: Don't use RANLIB.
38709         * aclocal.m4: Remove ranlib test.
38710         * configure.in: No need to check for ranlib.
38711         * elf/rtld-Rules: Don't use RANLIB.
38713 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38715         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38716         protection macro.
38717         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38718         inclusion protection macro.
38720         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38721         SIGRTMIN and SIGRTMAX and print information in that case only when
38722         SIGRTMIN is defined.
38724 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
38726         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38727         arginfo fn returning -1.
38729         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38730         and thousands string is zero terminated.
38732 2011-02-03  Andreas Schwab  <schwab@redhat.com>
38734         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38735         sysdeps/unix/sysv/linux/bits/socket.h.
38737 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38739         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38740         (__CPU_COUNT): Remove old macros.
38741         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38742         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38743         (__CPU_ALLOC, __CPU_FREE): Add macros.
38744         (__sched_cpualloc, __sched_cpufree): Add declarations.
38746 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
38748         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38749         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38750         * nscd/aicache.c (addhstaiX): Return timeout of added value.
38751         (readdhstai): Return value of addhstaiX call.
38752         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38753         (addgrbyX): Return value returned by cache_addgr.
38754         (readdgrbyname): Return value returned by addgrbyX.
38755         (readdgrbygid): Likewise.
38756         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38757         (addpwbyX): Return value returned by cache_addpw.
38758         (readdpwbyname): Return value returned by addhstbyX.
38759         (readdpwbyuid): Likewise.
38760         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38761         (addservbyX): Return value returned by cache_addserv.
38762         (readdservbyname): Return value returned by addservbyX:
38763         (readdservbyport): Likewise.
38764         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38765         (addhstbyX): Return value returned by cache_addhst.
38766         (readdhstbyname): Return value returned by addhstbyX.
38767         (readdhstbyaddr): Likewise.
38768         (readdhstbynamev6): Likewise.
38769         (readdhstbyaddrv6): Likewise.
38770         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38771         (readdinitgroups): Return value returned by addinitgroupsX.
38772         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38773         (prune_cache): Keep track of timeout value of re-added entries.
38774         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38775         * nscd/nscd.h: Adjust prototypes of readd* functions.
38777 2011-02-04  Roland McGrath  <roland@redhat.com>
38779         * nis/nis_server.c (nis_servstate): Use the right name for 0.
38780         (nis_stats): Likewise.
38781         * nis/nis_modify.c (nis_modify): Likewise.
38782         * nis/nis_remove.c (nis_remove): Likewise.
38783         * nis/nis_add.c (nis_add): Likewise.
38785         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38787         * posix/fnmatch_loop.c: Add some consts.
38789         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38791 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
38793         [BZ #12460]
38794         * config.make.in (config-cflags-novzeroupper): Define.
38795         * configure.in: Substitute libc_cv_cc_novzeroupper.
38796         * elf/Makefile (AVX-CFLAGS): Define.
38797         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38798         (CFLAGS-tst-auditmod4a.c): Likewise.
38799         (CFLAGS-tst-auditmod4b.c): Likewise.
38800         (CFLAGS-tst-auditmod6b.c): Likewise.
38801         (CFLAGS-tst-auditmod6c.c): Likewise.
38802         (CFLAGS-tst-auditmod7b.c): Likewise.
38803         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38805 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
38807         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38808         function to the callback.
38809         Patch partly by Jiri Olsa <jolsa@redhat.com>.
38811 2011-02-02  Andreas Schwab  <schwab@redhat.com>
38813         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38814         of errno.
38816 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
38818         [BZ #11724]
38819         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38820         of constructors.
38821         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38822         of destructors.
38823         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38825         [BZ #11724]
38826         * elf/Makefile: Add rules to build and run new test.
38827         * elf/tst-initorder.c: New file.
38828         * elf/tst-initorder.exp: New file.
38829         * elf/tst-initordera1.c: New file.
38830         * elf/tst-initordera2.c: New file.
38831         * elf/tst-initordera3.c: New file.
38832         * elf/tst-initordera4.c: New file.
38833         * elf/tst-initorderb1.c: New file.
38834         * elf/tst-initorderb2.c: New file.
38835         * elf/tst-order-a1.c: New file.
38836         * elf/tst-order-a2.c: New file.
38837         * elf/tst-order-a3.c: New file.
38838         * elf/tst-order-a4.c: New file.
38839         * elf/tst-order-b1.c: New file.
38840         * elf/tst-order-b2.c: New file.
38841         * elf/tst-order-main.c: New file.
38842         New test case by George Gensure <werkt0@gmail.com>.
38844 2010-10-01  Andreas Schwab  <schwab@redhat.com>
38846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38847         decoding ACE if AI_CANONIDN.
38849 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
38851         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38853 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
38855         * version.h (RELEASE): Bump for 2.13 release.
38856         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38858         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38860         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38861         MADV_NOHUGEPAGE.
38862         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38863         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38864         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38865         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38866         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38867         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38869         * posix/getconf.c: Update copyright year.
38870         * catgets/gencat.c: Likewise.
38871         * csu/version.c: Likewise.
38872         * debug/catchsegv.sh: Likewise.
38873         * debug/xtrace.sh: Likewise.
38874         * elf/ldconfig.c: Likewise.
38875         * elf/ldd.bash.in: Likewise.
38876         * elf/sprof.c (print_version): Likewise.
38877         * iconv/iconv_prog.c: Likewise.
38878         * iconv/iconvconfig.c: Likewise.
38879         * locale/programs/locale.c: Likewise.
38880         * locale/programs/localedef.c: Likewise.
38881         * malloc/memusage.sh: Likewise.
38882         * malloc/mtrace.pl: Likewise.
38883         * nscd/nscd.c (print_version): Likewise.
38884         * nss/getent.c: Likewise.
38886         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38887         PF_CAIF, and PF_ALG.
38888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38890 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
38892         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38893         (modules-names): Use them.
38894         (ifunc-test-modules, ifunc-pie-tests): Define.
38895         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38896         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38897         (test-extras): Likewise.
38898         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38899         $(compile-command.c).
38900         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38901         (all-built-dso): Define.
38902         (check-textrel.out, check-execstack.out): Depend on it.
38904         * configure.in: Don't override --enable-multi-arch.
38906 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
38908         [BZ #6812]
38909         * nscd/hstcache.c (tryagain): Define.
38910         (cache_addhst): Return tryagain not notfound for temporary errors.
38911         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38912         failed.
38914 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
38916         [BZ #10563]
38917         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38918         to make the syscall.
38919         * sysdeps/unix/sysv/linux/setgroups.c: New file.
38921         [BZ #12378]
38922         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38923         and fall back to matching as normal character if the string ends before
38924         the matching ']' is found.  This is what POSIX requires.
38925         * posix/testfnm.c: Adjust test result.
38926         * posix/globtest.sh: Adjust test result.  Add new test.
38927         * posix/tst-fnmatch.input: Likewise.
38928         * posix/tst-fnmatch2.c: Add new test.
38930 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
38932         * elf/Makefile (check-execstack): Revert last change.  Depend on
38933         check-execstack.h.
38934         (check-execstack.h): New target.
38935         (generated): Add check-execstack.h.
38936         * elf/check-execstack.c: Include "check-execstack.h".
38937         (main): Revert last change.
38938         (handle_file): Return zero if GNU_STACK is absent and
38939         DEFAULT_STACK_PERMS doesn't include PF_X.
38941 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
38943         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38944         in child fails because the descriptor is already closed.
38945         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38946         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38947         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38949         [BZ #12397]
38950         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38951         syscall.
38953         [BZ #10484]
38954         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38955         temporary buffer used to handle multi lookups locally.
38956         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38958 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38960         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38961         loader is ld.so.
38963 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
38965         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38966         alignment for SSE2.
38968 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38970         [BZ #12394]
38971         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38972         characters.  When rounding increased number of integer digits recompute
38973         number of groups.
38974         * stdio-common/tst-grouping.c: New file.
38975         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38977 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38979         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38980         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38982         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38983         void.
38984         * bits/select.h: Likewise.
38986 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38988         * po/ja.po: Update from translation team.
38990 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38992         [BZ #11155]
38993         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38994         implementation just like for lxstat, fxstatat, et al.
38996 2010-12-27  Jim Meyering  <meyering@redhat.com>
38998         [BZ #12348]
38999         * posix/regexec.c (build_trtable): Return failure indication upon
39000         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
39002 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
39004         [BZ #12201]
39005         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39006         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39007         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39008         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39010         [BZ #12207]
39011         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39013         [BZ #12204]
39014         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39015         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39017 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
39019         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39020         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39021         script has SORT_BY_INIT_PRIORITY.
39022         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39023         NO_CTORS_DTORS_SECTIONS is defined.
39024         * elf/soinit.c: Likewise.
39025         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39026         NO_CTORS_DTORS_SECTIONS is defined.
39027         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39028         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39029         * sysdeps/sh/init-first.c: Likewise.
39030         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39032 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
39034         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39035         always use the slow path.
39037 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
39039         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39040         similar rule which adds the sysdep directories to the header search in
39041         order to pick up the correct platform stackinfo.h.
39042         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39043         perform test if it is, otherwise return successfully without testing.
39044         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39045         DEFAULT_STACK_PERMS define in stackinfo.h.
39046         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39047         defined in stackinfo.h.
39048         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39049         DEFAULT_STACK_PERMS defined in stackinfo.h.
39050         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39051         * sysdeps/ia64/stackinfo.h: Likewise.
39052         * sysdeps/s390/stackinfo.h: Likewise.
39053         * sysdeps/sh/stackinfo.h: Likewise.
39054         * sysdeps/sparc/stackinfo.h: Likewise.
39055         * sysdeps/x86_64/stackinfo.h: Likewise.
39056         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39057         PF_X for powerpc64.  Retain PF_X for powerpc32.
39059 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
39061         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39062         accurately.
39063         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39064         GETDENTS_64BIT_ALIGNED.
39066 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
39068         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39070 2010-12-10  Andreas Schwab  <schwab@redhat.com>
39072         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39073         _GNU_SOURCE.
39075         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39076         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39077         Remove __restrict.
39078         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39079         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39081 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
39083         [BZ #11655]
39084         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39085         are initialized.
39087 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
39089         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39091 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
39093         * po/it.po: Update from translation team.
39095 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
39097         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39098         unused codes.
39100 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
39102         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39104 2010-11-24  Andreas Schwab  <schwab@redhat.com>
39106         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39107         specially.
39108         (gaih_getanswer_slice): Likewise.
39110 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
39112         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39114 2010-05-31  Petr Baudis  <pasky@suse.cz>
39116         [BZ #11149]
39117         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39118         silently even in the chroot mode.
39120 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
39122         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39123         last patch a bit.  Pretty printing
39125 2010-05-31  Petr Baudis <pasky@suse.cz>
39127         [BZ #10085]
39128         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39129         initialization of skip_initgroups_dyn.
39131 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
39133         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39134         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39136 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
39138         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39140 2010-11-11  Andreas Schwab  <schwab@redhat.com>
39142         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39143         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39144         (tst-fnmatch-ENV): Set MALLOC_TRACE.
39145         ($(objpfx)tst-fnmatch-mem): New rule.
39146         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39147         * posix/tst-fnmatch.c (main): Call mtrace.
39149 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
39151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39152         Support Intel processor model 6 and model 0x2c.
39154 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
39156         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39157           signed comparison.
39159 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
39161         [BZ #12205]
39162         * string/test-strncasecmp.c (check_result): New function.
39163         (do_one_test): Use it.
39164         (check1): New function.
39165         (test_main): Use it.
39166         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39167         Support strcasecmp and strncasecmp.
39169 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
39171         [BZ #12194]
39172         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39173         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39175 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39177         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39178         IFUNC support.
39179         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39180         memset-x86-64.
39181         * sysdeps/x86_64/multiarch/bzero.S: New file.
39182         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39183         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39184         * sysdeps/x86_64/multiarch/memset.S: New file.
39185         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39187         Set bit_Prefer_SSE_for_memop for Intel processors.
39188         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39189         Define.
39190         (index_Prefer_SSE_for_memop): Define.
39191         (HAS_PREFER_SSE_FOR_MEMOP): Define.
39193 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
39195         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39196         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39198 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
39200         [BZ #12191]
39201         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39202         (__x86_64_raw_data_cache_size_half): Likewise.
39203         (__x86_64_raw_shared_cache_size): Likewise.
39204         (__x86_64_raw_shared_cache_size_half): Likewise.
39206         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39207         (__x86_64_raw_data_cache_size_half): Likewise.
39208         (__x86_64_raw_shared_cache_size): Likewise.
39209         (__x86_64_raw_shared_cache_size_half): Likewise.
39210         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39211         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39212         and __x86_64_raw_shared_cache_size_half.  Round
39213         __x86_64_data_cache_size_half, __x86_64_data_cache_size
39214         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39215         to multiple of 256 bytes.
39217 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
39219         [BZ #12167]
39220         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39221         of inacessible symlinks.  Verify result of symlink before returning it.
39222         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39223         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39225 2010-10-28  Erich Ritz  <erichritz@gmail.com>
39227         * math/math.h (isinf): Fix typo in comment.
39229 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
39231         * po/da.po: Update from translation team.
39233 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
39235         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39236         is added to the list.
39238 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39239             Ulrich Drepper  <drepper@gmail.com>
39241         * elf/dl-object.c (_dl_new_object): Don't append the new object to
39242         the global list here.  Move code to...
39243         (_dl_add_to_namespace_list): ...here.  New function.
39244         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39245         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39246         * elf/dl-load.c (lose): Don't remove the element from the list.
39247         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39248         (_dl_map_object): Likewise.
39250 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
39252         [BZ #12159]
39253         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39254         into all bytes of SSE register.
39255         Patch by Richard Li <richardpku@gmail.com>.
39257 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
39259         [BZ #12140]
39260         * malloc/malloc.c (_int_free): Fill correct number of bytes when
39261         perturbing.
39263 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
39265         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39266         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39267         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39268         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39270         submachine.
39271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39273 2010-10-22  Andreas Schwab  <schwab@redhat.com>
39275         * include/dlfcn.h (__RTLD_SECURE): Define.
39276         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
39277         mode & __RTLD_SECURE instead.
39278         (open_path): Rename preloaded parameter to secure.
39279         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39280         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39281         * elf/dl-deps.c (openaux): Likewise.
39282         * elf/rtld.c (struct map_args): Remove is_preloaded.
39283         (map_doit): Don't use it.
39284         (dl_main): Likewise.
39285         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39286         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39288 2010-09-09  Andreas Schwab  <schwab@redhat.com>
39290         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39291         (sysd-rules-targets): Remove duplicates.
39292         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39293         rtld-%.$o dependency.
39295 2010-10-18  Andreas Schwab  <schwab@redhat.com>
39297         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39298         _dl_map_object do it.
39300 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
39302         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39303         fast fma builtins, define the macros in the C99 standard.
39304         (FP_FAST_FMAF): Likewise.
39305         (FP_FAST_FMAL): Likewise.
39306         * sysdeps/x86_64/bits/mathdef.h: Likewise.
39308         * bits/mathdef.h: Update copyright year.
39309         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39311 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
39313         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39314         builtins, define the macros in the C99 standard.
39315         (FP_FAST_FMAF): Likewise.
39316         (FP_FAST_FMAL): Likewise.
39317         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39318         multiply/add.
39319         (FP_FAST_FMAF): Likewise.
39321 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
39323         [BZ #3268]
39324         * math/libm-test.inc (fma_test): Some new testcases.
39325         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39326         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39327         y and infinite z.  Do multiplication by C already in long double.
39328         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39330         y and infinite z.  Do bitwise or of inexact bit into u.d.
39331         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39332         * sysdeps/i386/fpu/s_fmaf.S: Removed.
39333         * sysdeps/i386/fpu/s_fma.S: Removed.
39334         * sysdeps/i386/fpu/s_fmal.S: Removed.
39336 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
39338         [BZ #3268]
39339         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39341         computation is not scheduled after fetestexcept.  Fix value
39342         of minimum denormal long double.
39344 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
39346         [BZ #3268]
39347         * math/libm-test.inc (fma_test): Add some more tests.
39348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39349         correctly.
39351 2010-10-15  Andreas Schwab  <schwab@redhat.com>
39353         * scripts/data/localplt-s390-linux-gnu.data: New file.
39354         * scripts/data/localplt-s390x-linux-gnu.data: New file.
39356 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
39358         [BZ #3268]
39359         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39360         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39361         instead of dbl-64.
39362         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39363         inlines.
39364         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39366         if one of x and y is very large and the other is subnormal.
39367         * sysdeps/s390/fpu/s_fmaf.c: New file.
39368         * sysdeps/s390/fpu/s_fma.c: New file.
39369         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39370         * sysdeps/powerpc/fpu/s_fma.S: New file.
39371         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39372         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39373         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39375 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
39377         [BZ #3268]
39378         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39379         fma tests.
39380         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39381         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39382         * sysdeps/i386/i686/multiarch/s_fma.c: Include
39383         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39384         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39385         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39386         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39388 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
39390         [BZ #12078]
39391         * posix/regcomp.c (parse_branch): One more memory leak plugged.
39392         * posix/bug-regex31.input: Add test case.
39394 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
39396         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39397         * posix/bug-regex31.input: New file.
39399         [BZ #12078]
39400         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39401         (parse_sub_exp): Fix last change, use postorder.
39403         * posix/bug-regex31.c: New file.
39404         * posix/Makefile: Add rules to build and run bug-regex31.
39406         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39408         [BZ #12078]
39409         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39411         [BZ #12108]
39412         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39413         to have entries in sys_siglist.
39415         [BZ #12093]
39416         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39417         be NULL.
39419 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
39421         [BZ #3268]
39422         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39423         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39424         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39425         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39426         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39427         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39428         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39429         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39430         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39431         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39432         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39433         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39434         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39435         * math/ftestexcept.c (fetestexcept): Likewise.
39436         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39437         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39438         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39439         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39440         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39441         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39442         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39444 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
39446         [BZ #12107]
39447         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39448         newline.
39450 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
39452         * string/bug-strstr1.c: New file.
39453         * string/Makefile: Add rules to build and run bug-strstr1.
39455 2010-10-05  Eric Blake  <eblake@redhat.com>
39457         [BZ #12092]
39458         * string/str-two-way.h (two_way_long_needle): Always clear memory
39459         when skipping input due to the shift table.
39461 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
39463         [BZ #12005]
39464         * malloc/mcheck.c: Handle large requests.
39466         [BZ #12077]
39467         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39468         for strncmp and strncasecmp.
39469         * string/stratcliff.c: Add tests for strcmp and strncmp.
39470         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39472 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39474         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39475         __set_fpscr.
39477 2010-09-30  Andreas Jaeger  <aj@suse.de>
39479         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39480         (CGROUP_SUPER_MAGIC): Define.
39481         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39482         Handle btrfs and cgroup file systems.
39483         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39484         Likewise.
39486 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
39488         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39489         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39491 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39493         [BZ #12067]
39494         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39495         trying to locate the ELF header.
39497 2010-09-27  Andreas Schwab  <schwab@redhat.com>
39499         [BZ #11611]
39500         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39501         Mask out sign-bit copies when constructing f_fsid.
39503 2010-09-24  Petr Baudis <pasky@suse.cz>
39505         * debug/stack_chk_fail_local.c: Add missing licence exception.
39506         * debug/warning-nop.c: Likewise.
39508 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
39510         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39511         implementing getdents64 using getdents syscall, set d_type if
39512         __ASSUME_GETDENTS32_D_TYPE.
39514 2010-09-16  Andreas Schwab  <schwab@redhat.com>
39516         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39517         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39519 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
39521         [BZ #12037]
39522         * posix/unistd.h: Undo change of feature selection for ftruncate from
39523         2010-01-11.
39525 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
39527         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39528         detection.
39530 2010-09-20  Andreas Schwab  <schwab@redhat.com>
39532         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39533         fanotify_mark.
39534         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39536 2010-09-14  Andreas Schwab  <schwab@redhat.com>
39538         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39539         variables after CHECK_SP call.
39540         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39542 2010-09-13  Andreas Schwab  <schwab@redhat.com>
39543             Ulrich Drepper  <drepper@redhat.com>
39545         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39546         re-relocationg ld.so.
39547         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39548         _dl_init_paths call.
39549         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
39550         here anymore.
39552 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
39554         * resolv/res_init.c (__res_vinit): Count the default server we added.
39556 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
39557             Ulrich Drepper  <drepper@redhat.com>
39559         [BZ #11968]
39560         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39561         (____longjmp_chk): Use %ebx for saving value across system call.
39562         Add unwind info.
39564 2010-09-06  Andreas Schwab  <schwab@redhat.com>
39566         * manual/Makefile: Don't mix pattern rules with normal rules.
39568 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39570         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39571         operation.
39572         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39573         * libio/iofopncook.c (_IO_cookie_init): Likewise.
39574         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39575         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39576         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39577         Likewise.
39579 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
39581         [BZ #11979]
39582         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39583         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39585 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
39587         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39588         * sysdeps/x86_64/addmul_1.S: Likewise.
39589         * sysdeps/x86_64/lshift.S: Likewise.
39590         * sysdeps/x86_64/mul_1.S: Likewise.
39591         * sysdeps/x86_64/rshift.S: Likewise.
39592         * sysdeps/x86_64/sub_n.S: Likewise.
39593         * sysdeps/x86_64/submul_1.S: Likewise.
39595 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39597         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39598         Define __sched_param instead of SCHED_* and sched_param when
39599         <bits/sched.h> is included with __need_schedparam defined.
39600         * bits/sched.h [__need_schedparam]
39601         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39602         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39603         (__defined_schedparam): Define to 1.
39604         (__sched_param): New structure, identical to sched_param.
39605         (__need_schedparam): Undefine.
39607 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
39609         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39610         (epoll_create1): Declare.
39612         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39614 2010-08-31  Andreas Schwab  <schwab@redhat.com>
39616         [BZ #7066]
39617         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39618         shifting retval into place.
39620 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
39622         * nis/rpcsvc/nis.h: Update copyright notice.
39623         * nis/rpcsvc/nis.x: Likewise.
39624         * nis/rpcsvc/nis_callback.h: Likewise.
39625         * nis/rpcsvc/nis_callback.x: Likewise.
39626         * nis/rpcsvc/nis_object.x: Likewise.
39627         * nis/rpcsvc/nis_tags.h: Likewise.
39628         * nis/rpcsvc/yp.h: Likewise.
39629         * nis/rpcsvc/yp.x: Likewise.
39630         * nis/rpcsvc/ypupd.h: Likewise.
39631         * nis/yp_xdr.c: Likewise.
39632         * nis/ypupdate_xdr.c: Likewise.
39634         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
39635         mainly the body of pmap_getport.  Add parameters to specify timeouts.
39636         (pmap_getport): Use __libc_rpc_getport.
39637         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39638         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39639         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39641 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
39643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39644         fanotify_mark.
39646 2010-08-27  Roland McGrath  <roland@redhat.com>
39648         * sysdeps/i386/i686/multiarch/Makefile
39649         (CFLAGS-varshift.c): New variable.
39651 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
39653         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39654         * sysdeps/i386/i686/multiarch/varshift.c: New file.
39656         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39658         * sysdeps/x86_64/strlen.S: Minimal code improvement.
39660 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
39662         * sysdeps/x86_64/strlen.S: Unroll the loop.
39663         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39664         strlen-sse2 strlen-sse2-bsf.
39665         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39666         __strlen_no_bsf if bit_Slow_BSF is set.
39667         (__strlen_sse42): Removed.
39668         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39669         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39671 2010-08-25  Roland McGrath  <roland@redhat.com>
39673         * sysdeps/x86_64/multiarch/varshift.S: File removed.
39674         * sysdeps/x86_64/multiarch/varshift.c: New file.
39675         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39676         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39677         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39678         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39680 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
39682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39683         strlen-sse2 strlen-sse2-bsf.
39684         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39685         __strlen_sse2_bsf if bit_Slow_BSF is unset.
39686         (__strlen_sse2): Removed.
39687         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39688         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39690         bit_Slow_BSF for Atom.
39691         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39692         (index_Slow_BSF): Define.
39693         (HAS_SLOW_BSF): Define.
39695 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
39697         [BZ #10851]
39698         * resolv/res_init.c (__res_vinit): When no server address at all
39699         is given default to loopback.
39701 2010-08-24  Roland McGrath  <roland@redhat.com>
39703         * configure.in: Remove config-name.h generation.
39704         * configure: Regenerated.
39705         * config-name.in: File removed.
39706         * scripts/config-uname.sh: New file.
39707         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39708         ($(objdir)config-name.h): New target.
39710         * sunrpc/rpc_parse.h: Avoid nested comment.
39712 2010-08-24  Richard Henderson  <rth@redhat.com>
39713             Ulrich Drepper  <drepper@redhat.com>
39714             H.J. Lu  <hongjiu.lu@intel.com>
39716         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39718         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39719         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
39720         _mm_alignr_epi8 with _mm_loadu_si128.
39721         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39722         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39723         (__m128i_shift_right): Removed.
39724         * sysdeps/i386/i686/multiarch/varshift.h: New file.
39725         * sysdeps/i386/i686/multiarch/varshift.S: New file.
39726         * sysdeps/x86_64/multiarch/varshift.h: New file.
39727         * sysdeps/x86_64/multiarch/varshift.S: New file.
39729 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
39731         * configure.in: Move assembler checks to before sysdep dir checking.
39733 2010-08-20  Petr Baudis  <pasky@suse.cz>
39735         * LICENSES: Sync the sunrpc license.
39737 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
39739         * sunrpc/auth_des.c: Update copyright notice once again.
39740         * sunrpc/auth_none.c: Likewise.
39741         * sunrpc/auth_unix.c: Likewise.
39742         * sunrpc/authdes_prot.c: Likewise.
39743         * sunrpc/authuxprot.c: Likewise.
39744         * sunrpc/bindrsvprt.c: Likewise.
39745         * sunrpc/clnt_gen.c: Likewise.
39746         * sunrpc/clnt_perr.c: Likewise.
39747         * sunrpc/clnt_raw.c: Likewise.
39748         * sunrpc/clnt_simp.c: Likewise.
39749         * sunrpc/clnt_tcp.c: Likewise.
39750         * sunrpc/clnt_udp.c: Likewise.
39751         * sunrpc/clnt_unix.c: Likewise.
39752         * sunrpc/des_crypt.c: Likewise.
39753         * sunrpc/des_soft.c: Likewise.
39754         * sunrpc/get_myaddr.c: Likewise.
39755         * sunrpc/getrpcport.c: Likewise.
39756         * sunrpc/key_call.c: Likewise.
39757         * sunrpc/key_prot.c: Likewise.
39758         * sunrpc/openchild.c: Likewise.
39759         * sunrpc/pm_getmaps.c: Likewise.
39760         * sunrpc/pm_getport.c: Likewise.
39761         * sunrpc/pmap_clnt.c: Likewise.
39762         * sunrpc/pmap_prot.c: Likewise.
39763         * sunrpc/pmap_prot2.c: Likewise.
39764         * sunrpc/pmap_rmt.c: Likewise.
39765         * sunrpc/rpc/auth.h: Likewise.
39766         * sunrpc/rpc/auth_unix.h: Likewise.
39767         * sunrpc/rpc/clnt.h: Likewise.
39768         * sunrpc/rpc/des_crypt.h: Likewise.
39769         * sunrpc/rpc/key_prot.h: Likewise.
39770         * sunrpc/rpc/netdb.h: Likewise.
39771         * sunrpc/rpc/pmap_clnt.h: Likewise.
39772         * sunrpc/rpc/pmap_prot.h: Likewise.
39773         * sunrpc/rpc/pmap_rmt.h: Likewise.
39774         * sunrpc/rpc/rpc.h: Likewise.
39775         * sunrpc/rpc/rpc_des.h: Likewise.
39776         * sunrpc/rpc/rpc_msg.h: Likewise.
39777         * sunrpc/rpc/svc.h: Likewise.
39778         * sunrpc/rpc/svc_auth.h: Likewise.
39779         * sunrpc/rpc/types.h: Likewise.
39780         * sunrpc/rpc/xdr.h: Likewise.
39781         * sunrpc/rpc_clntout.c: Likewise.
39782         * sunrpc/rpc_cmsg.c: Likewise.
39783         * sunrpc/rpc_common.c: Likewise.
39784         * sunrpc/rpc_cout.c: Likewise.
39785         * sunrpc/rpc_dtable.c: Likewise.
39786         * sunrpc/rpc_hout.c: Likewise.
39787         * sunrpc/rpc_main.c: Likewise.
39788         * sunrpc/rpc_parse.c: Likewise.
39789         * sunrpc/rpc_parse.h: Likewise.
39790         * sunrpc/rpc_prot.c: Likewise.
39791         * sunrpc/rpc_sample.c: Likewise.
39792         * sunrpc/rpc_scan.c: Likewise.
39793         * sunrpc/rpc_scan.h: Likewise.
39794         * sunrpc/rpc_svcout.c: Likewise.
39795         * sunrpc/rpc_tblout.c: Likewise.
39796         * sunrpc/rpc_util.c: Likewise.
39797         * sunrpc/rpc_util.h: Likewise.
39798         * sunrpc/rpcinfo.c: Likewise.
39799         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39800         * sunrpc/rpcsvc/key_prot.x: Likewise.
39801         * sunrpc/rpcsvc/klm_prot.x: Likewise.
39802         * sunrpc/rpcsvc/mount.x: Likewise.
39803         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39804         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39805         * sunrpc/rpcsvc/rex.x: Likewise.
39806         * sunrpc/rpcsvc/rstat.x: Likewise.
39807         * sunrpc/rpcsvc/rusers.x: Likewise.
39808         * sunrpc/rpcsvc/sm_inter.x: Likewise.
39809         * sunrpc/rpcsvc/spray.x: Likewise.
39810         * sunrpc/rpcsvc/yppasswd.x: Likewise.
39811         * sunrpc/rtime.c: Likewise.
39812         * sunrpc/svc.c: Likewise.
39813         * sunrpc/svc_auth.c: Likewise.
39814         * sunrpc/svc_authux.c: Likewise.
39815         * sunrpc/svc_raw.c: Likewise.
39816         * sunrpc/svc_run.c: Likewise.
39817         * sunrpc/svc_simple.c: Likewise.
39818         * sunrpc/svc_tcp.c: Likewise.
39819         * sunrpc/svc_udp.c: Likewise.
39820         * sunrpc/svc_unix.c: Likewise.
39821         * sunrpc/svcauth_des.c: Likewise.
39822         * sunrpc/xcrypt.c: Likewise.
39823         * sunrpc/xdr.c: Likewise.
39824         * sunrpc/xdr_array.c: Likewise.
39825         * sunrpc/xdr_float.c: Likewise.
39826         * sunrpc/xdr_mem.c: Likewise.
39827         * sunrpc/xdr_rec.c: Likewise.
39828         * sunrpc/xdr_ref.c: Likewise.
39829         * sunrpc/xdr_sizeof.c: Likewise.
39830         * sunrpc/xdr_stdio.c: Likewise.
39832         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39833         handling.
39835 2010-08-19  Andreas Schwab  <schwab@redhat.com>
39837         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39839 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
39841         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39842         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39843         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39844         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39845         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39846         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39847         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39848         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39849         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39850         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39851         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39852         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39853         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39854         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39856 2010-07-26  Anton Blanchard  <anton@samba.org>
39858         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39859         * malloc/arena.c (heap_trim): Likewise.
39861 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
39863         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39864         here.  Not...
39865         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39866         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39868 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39870         * sysdeps/i386/elf/Makefile: New file.
39872 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39874         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39875         from fanotify_init.
39876         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39877         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39879 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
39881         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39882         of strncasecmp_l.
39883         * sysdeps/multiarch/strcmp.S: Likewise.
39885 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
39887         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39888         strncase_l-nonascii.
39889         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39890         Add strncase_l-ssse3.
39891         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39892         * sysdeps/x86_64/strcmp.S: Likewise.
39893         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39894         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39895         * sysdeps/x86_64/strncase.S: New file.
39896         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39897         * sysdeps/x86_64/strncase_l.S: New file.
39898         * string/Makefile (strop-tests): Add strncasecmp.
39899         * string/test-strncasecmp.c: New file.
39901         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39902         warning.
39904         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39905         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39907 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39909         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39911 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
39913         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39914         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39915         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39917 2010-05-01  Alan Modra  <amodra@gmail.com>
39919         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39920         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39921         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39922         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39923         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39924         tidying.  Don't tail-call __sigjmp_save for static lib.
39925         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39926         save location.
39927         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39928         (CALL_MCOUNT): Add eh info, and nop after bl.
39929         (TAIL_CALL_SYSCALL_ERROR): New macro.
39930         (PSEUDO_RET): Use it.
39931         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39932         Correct save location of integer regs and cr.
39933         (_dl_profile_resolve): Correct cr save location.  Delete nops
39934         after bl when SHARED.  Reduce cfi size a little by better
39935         placement of cfi directives.
39936         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39937         make a stack frame.  Instead use parm save area as a temp.
39938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39939         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
39940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39941         Don't make a stack frame for parent, use parm save area.
39942         Increase child stack frame to 112 bytes.  Don't save unused reg,
39943         and adjust reg usage.  Set up cfi on error recovery and
39944         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39946         (__makecontext): Add dummy nop after jump to exit.
39947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39948         Use correct parm save area and cr save, reduce stack frame.
39949         Correct cfi for possible PSEUDO_RET frame setup.
39950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39951         Branch to local label emitted by PSEUDO_RET rather than
39952         __syscall_error.
39954 2010-08-12  Andreas Schwab  <schwab@redhat.com>
39956         [BZ #11904]
39957         * locale/programs/locale.c (print_assignment): New function.
39958         (show_locale_vars): Use it.
39960 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
39962         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39963         field.
39964         (struct statfs64): Likewise.
39965         (_STATFS_F_FLAGS): Define.
39966         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39967         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39968         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39969         (ST_VALID): Define locally.
39970         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39971         __statvfs_getflags, use the provided value.
39972         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39973         __ASSUME_STATFS_F_FLAGS.
39975         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39977         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39978         Add sys/fanotify.h.
39979         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39980         fanotify_mask for GLIBC_2.13.
39981         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39982         fanotify_init and fanotify_mark.
39983         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39984         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39986         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39987         Add prlimit.
39988         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39989         prlimit64 for GLIBC_2.13.
39990         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39991         prlimit64.
39992         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39993         syscall.
39994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39995         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39996         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39997         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39999         add prlimit alias.
40000         * sysdeps/unix/sysv/linux/prlimit.c: New file.
40002         [BZ #11903]
40003         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40004         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40006         * nss/Makefile: Add rules to build and run tst-nss-test1.
40007         * shlib-versions: Add entry for libnss_test1.
40008         * nss/nss_test1.c: New file.
40009         * nss/tst-nss-test1.c: New file.
40011         * nss/nsswitch.c (__nss_database_custom): Define new variable.
40012         (__nss_configure_lookup): Set appropriate entry in
40013         __nss_configure_lookup to true.
40014         * nss/nsswitch.h: Define enum with indeces of databases in
40015         databases and __nss_database_custom arrays.  Declare
40016         __nss_database_custom.
40017         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40018         to avoid using nscd when custom rules are installed.
40019         * nss/getXXbyYY_r.c: Likewise.
40020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40022         * nss/nss_files/files-parse.c: Whitespace fixes.
40024 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
40026         [BZ #11883]
40027         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40028         * posix/fnmatch_loop.c: Likewise.
40030 2010-07-17  Andi Kleen  <ak@linux.intel.com>
40032         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40033         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40034         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40035         * Versions.def [GLIBC_2.13]: Add.
40037 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
40039         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40040         Also fail if tpwd after pwuid call is NULL.
40042 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40044         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40045         when converting to ms.
40047 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40049         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40050         EOPNOTSUPP errors with ENOTTY.
40051         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40052         EOPNOTSUPP errors with ENOTTY.
40054 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
40056         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40057         Add strcasecmp_l-ssse3.
40058         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40059         strcasecmp.
40060         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40061         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40062         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40064 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
40066         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40068         * string/Makefile (strop-tests): Add strcasecmp.
40069         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40070         strcasecmp_l-nonascii.
40071         (gen-as-const-headers): Add locale-defines.sym.
40072         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40073         * sysdeps/x86_64/strcasecmp.S: New file.
40074         * sysdeps/x86_64/strcasecmp_l.S: New file.
40075         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40076         * sysdeps/x86_64/locale-defines.sym: New file.
40077         * string/test-strcasecmp.c: New file.
40079         * string/test-strcasestr.c: Test both ends of the range of characters.
40080         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40082 2010-07-29  Roland McGrath  <roland@redhat.com>
40084         [BZ #11856]
40085         * manual/locale.texi (Yes-or-No Questions): Fix example code.
40087 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
40089         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40090         for ld.so.
40092 2010-07-27  Andreas Schwab  <schwab@redhat.com>
40094         * manual/memory.texi (Malloc Tunable Parameters): Document
40095         M_PERTURB.
40097 2010-07-26  Roland McGrath  <roland@redhat.com>
40099         [BZ #11840]
40100         * configure.in (-fgnu89-inline check): Set and substitute
40101         gnu89_inline, not libc_cv_gnu89_inline.
40102         * configure: Regenerated.
40103         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40105 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
40107         * string/test-strnlen.c: New file.
40108         * string/Makefile (strop-tests): Add strnlen.
40109         * string/tester.c (test_strnlen): Add a few more test cases.
40110         * string/tst-strlen.c: Better error reporting.
40112         * sysdeps/x86_64/strnlen.S: New file.
40114 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
40116         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40117         lower-latency instructions.
40119 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
40121         * string/test-strcasestr.c: New file.
40122         * string/test-strstr.c: New file.
40123         * string/Makefile (strop-tests): Add strstr and strcasestr.
40124         * string/str-two-way.h: Don't undefine MAX.
40125         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40127 2010-07-21  Andreas Schwab  <schwab@redhat.com>
40129         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40130         strcasestr-nonascii.
40131         (CFLAGS-strcasestr-nonascii.c): Define.
40132         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40133         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40134         Remove unused attribute.
40136 2010-07-20  Roland McGrath  <roland@redhat.com>
40138         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40139         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
40140         ld.so.cache was broken.  With it, there is no way to disable dsocaps
40141         like LD_HWCAP_MASK can disable hwcaps.
40143 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
40145         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40147 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
40149         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40150         call in strcasestr.
40151         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40152         __strcasestr_sse42_nonascii.
40153         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40154         strcasestr-nonascii.c.
40155         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40157 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
40159         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40160         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40161         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40162         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40164 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
40166         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40167         fcntl.
40169 2010-07-06  Andreas Schwab  <schwab@redhat.com>
40171         [BZ #11577]
40172         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40173         dl_signal_cerror.
40175 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
40177         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40178         _PC_PIPE_BUF using F_GETPIPE_SZ.
40180 2010-07-05  Roland McGrath  <roland@redhat.com>
40182         * manual/arith.texi (Rounding Functions): Fix rint description
40183         implicit in round description.
40185 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
40187         * elf/Makefile: Fix linking for a few tests to make recent linker
40188         happy.
40190 2010-06-30  Andreas Schwab  <schwab@redhat.com>
40192         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40193         $(common-objpfx)libc_nonshared.a.
40195 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
40197         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40198         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40199         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40200         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40201         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40202         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40203         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40204         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40219         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40220         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40221         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40222         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40223         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40224         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40225         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40226         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40227         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40228         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40229         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40230         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40246 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
40248         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40249         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
40250         * string/memmove.c (memmove): Renamed to ...
40251         (MEMMOVE): ...this.  Default to memmove.
40252         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40253         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40254         (END_CHK): Define.
40255         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40256         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40257         mempcpy-ssse3-back memmove-ssse3-back.
40258         * sysdeps/x86_64/multiarch/bcopy.S: New file .
40259         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40260         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40261         * sysdeps/x86_64/multiarch/memcpy.S: New file.
40262         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40263         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40264         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40265         * sysdeps/x86_64/multiarch/memmove.c: New file.
40266         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40267         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40268         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40269         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40270         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40271         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40272         Define.
40273         (index_Fast_Copy_Backward): Define.
40274         (HAS_ARCH_FEATURE): Define.
40275         (HAS_FAST_REP_STRING): Define.
40276         (HAS_FAST_COPY_BACKWARD): Define.
40278 2010-06-21  Andreas Schwab  <schwab@redhat.com>
40280         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40281         Restore proper fallback handling.
40283 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
40285         [BZ #11701]
40286         * posix/group_member.c (__group_member): Correct checking loop.
40288         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40289         OOM in getpwuid_r correctly.  Return error number when the caller
40290         should return, otherwise -1.
40291         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40292         call returning > 0 value.
40293         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40295 2010-06-07  Andreas Schwab  <schwab@redhat.com>
40297         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40298         libc_nonshared.a from targets in modules-names.
40300 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
40302         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40303         requires it.
40305 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
40307         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40308         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40309         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40310         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40312 2010-06-02  Andreas Schwab  <schwab@redhat.com>
40314         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40316 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
40318         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40319         and F_GETPIPE_SZ.
40320         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40321         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40322         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40324         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40325         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40327 2010-06-14  Roland McGrath  <roland@redhat.com>
40329         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40331 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
40333         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40334         __REDIRECT followed by __THROW.
40335         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40336         * posix/getopt.h (getopt): Likewise.
40338 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
40340         * hurd/lookup-at.c (__file_name_lookup_at): Accept
40341         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
40342         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40343         in AT_FLAGS.
40344         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40345         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40347 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
40349         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40351 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
40353         [BZ #11640]
40354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40355         Properly check family and model.
40357 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
40359         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40361 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
40363         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40365 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
40367         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40368         symbol reference.
40370 2010-05-19  Andreas Schwab  <schwab@redhat.com>
40372         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40373         symbol reference.
40375 2010-05-21  Andreas Schwab  <schwab@redhat.com>
40377         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40378         and internal_recvmmsg.
40379         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40380         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40381         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40382         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40384         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40385         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40386         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40388 2010-05-20  Andreas Schwab  <schwab@redhat.com>
40390         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40392 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
40394         POWER7 optimizations.
40395         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40396         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40398 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
40400         * version.h: Update for 2.13 development version.
40402 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
40404         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40405         exceptions.  Return 0.
40407 2010-05-07  Roland McGrath  <roland@redhat.com>
40409         * elf/ldconfig.c (main): Add a const.
40411 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
40413         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40414         (args_options): Add no-idn option.
40415         (ahosts_keys_int): Add idn_flags to ai_flags.
40416         (parse_option): Handle 'i' option to clear idn_flags.
40418         * malloc/malloc.c (_int_free): Possible race in the most recently
40419         added check.  Only act on the data if no current modification
40420         happened.
40422 See ChangeLog.17 for earlier changes.