1 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9 _DEFAULT_SOURCE is defined.
11 2014-02-25 Ulrich Drepper <drepper@gmail.com>
12 Carlos O'Donell <carlos@redhat.com>
15 * elf/dl-tls.c (_dl_count_modids): New function.
16 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18 audit library and increment generation counter.
19 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20 * elf/tst-audit9.c: New file.
21 * elf/tst-auditmod9a.c: New file.
22 * elf/tst-auditmod9b.c: New file.
23 * elf/Makefile: Add rules to build and run tst-audit9.
25 2014-02-25 Florian Weimer <fweimer@redhat.com>
28 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30 2014-02-25 Will Newton <will.newton@linaro.org>
32 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33 (__longjmp): Restore sp and lr before restoring callee
34 saved registers. Add longjmp and longjmp_target
35 SystemTap probe point.
36 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38 Define to zero to match jmpbuf layout.
39 * sysdeps/arm/setjmp.S: Include stap-probe.h.
40 (__sigsetjmp): Save sp and lr before saving callee
41 saved registers. Add setjmp SystemTap probe point.
43 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47 2014-02-24 Andreas Schwab <schwab@suse.de>
50 * elf/pldd.c (wait_for_ptrace_stop): New function.
51 (main): Call it after attaching.
53 2014-02-22 Roland McGrath <roland@hack.frob.com>
55 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
57 Versions files is now verboten.
58 * hurd/Versions (libc: GLIBC_2.0):
59 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
60 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
61 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
62 * mach/Versions: Likewise.
64 * csu/Versions: Remove unused %include.
65 * resolv/Versions: Likewise.
67 2014-02-21 Joseph Myers <joseph@codesourcery.com>
69 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
70 ($(objpfx)check-local-headers.out): Likewise.
71 ($(objpfx)begin-end-check.out): Likewise.
72 * Makerules (check-abi-%.out): Likewise.
73 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
74 ($(objpfx)test2.cat): Likewise.
75 ($(objpfx)de/libc.cat): Likewise.
76 ($(objpfx)test-gencat.out): Likewise.
77 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
78 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
79 ($(objpfx)noload-mem): Likewise.
80 ($(objpfx)tst-pathopt.out): Likewise.
81 ($(objpfx)tst-rtld-load-self.out): Likewise.
82 ($(objpfx)tst-array1-cmp.out): Likewise.
83 ($(objpfx)tst-array1-static-cmp.out): Likewise.
84 ($(objpfx)tst-array2-cmp.out): Likewise.
85 ($(objpfx)tst-array3-cmp.out): Likewise.
86 ($(objpfx)tst-array4-cmp.out): Likewise.
87 ($(objpfx)tst-array5-cmp.out): Likewise.
88 ($(objpfx)tst-array5-static-cmp.out): Likewise.
89 ($(objpfx)check-textrel.out): Likewise.
90 ($(objpfx)check-execstack.out): Likewise.
91 ($(objpfx)check-localplt.out): Likewise.
92 ($(objpfx)order2-cmp.out): Likewise.
93 ($(objpfx)tst-leaks1-mem): Likewise.
94 ($(objpfx)tst-leaks1-static-mem): Likewise.
95 ($(objpfx)tst-initorder-cmp.out): Likewise.
96 ($(objpfx)tst-initorder2-cmp.out): Likewise.
97 ($(objpfx)tst-unused-dep.out): Likewise.
98 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
99 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
100 * iconv/Makefile (test-iconvconfig): Likewise.
101 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
102 ($(objpfx)iconv-test.out): Likewise.
103 ($(objpfx)tst-tables.out): Likewise.
104 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
105 ($(objpfx)tst-gettext.out): Likewise.
106 ($(objpfx)tst-translit.out): Likewise.
107 ($(objpfx)tst-gettext2.out): Likewise.
108 ($(objpfx)tst-gettext4.out): Likewise.
109 ($(objpfx)tst-gettext6.out): Likewise.
110 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
111 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
112 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
113 ($(objpfx)tst-fopenloc-mem.out): Likewise.
114 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
115 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
116 * posix/Makefile ($(objpfx)globtest.out): Likewise.
117 ($(objpfx)wordexp-tst.out): Likewise.
118 ($(objpfx)annexc.out): Likewise.
119 ($(objpfx)tst-fnmatch-mem): Likewise.
120 ($(objpfx)bug-regex2-mem): Likewise.
121 ($(objpfx)bug-regex14-mem): Likewise.
122 ($(objpfx)bug-regex21-mem): Likewise.
123 ($(objpfx)bug-regex31-mem): Likewise.
124 ($(objpfx)tst-vfork3-mem): Likewise.
125 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
126 ($(objpfx)tst-pcre-mem): Likewise.
127 ($(objpfx)tst-boost-mem): Likewise.
128 ($(objpfx)tst-getconf.out): Likewise.
129 ($(objpfx)bug-ga2-mem): Likewise.
130 ($(objpfx)bug-glob2-mem): Likewise.
131 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
132 ($(objpfx)mtrace-tst-leaks2): Likewise.
133 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
134 ($(objpfx)tst-printf.out): Likewise.
135 ($(objpfx)tst-setvbuf1.out): Likewise.
136 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
137 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
138 ($(objpfx)tst-fmtmsg.out): Likewise.
139 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
140 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
142 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
143 * bits/sigaction.h [__USE_MISC]: Likewise.
144 * bits/waitstatus.h: Update #endif comments.
145 * ctype/ctype.h: Likewise.
146 * dirent/dirent.h: Likewise.
147 [__USE_MISC]: Remove redundant conditionals.
148 * grp/grp.h: Update #endif comments.
149 [__USE_GNU]: Remove redundant conditionals.
150 [__USE_MISC]: Likewise.
151 * inet/netinet/in.h [__USE_GNU]: Likewise.
152 * io/sys/stat.h [__USE_MISC]: Likewise.
153 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
154 * libio/bits/stdio.h: Update #endif comments.
155 [__USE_MISC]: Remove redundant conditionals.
156 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
157 * libio/stdio.h: Update #endif comments.
158 [__USE_MISC]: Remove redundant conditionals.
159 * math/bits/math-finite.h [__USE_MISC]: Likewise.
160 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
161 * math/math.h: Update #else and #endif comments.
162 [__USE_MISC]: Remove redundant conditionals.
163 * misc/sys/uio.h: Update #endif comments.
164 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
165 * posix/glob.h [__USE_MISC]: Likewise.
166 * posix/sys/types.h: Update #endif comments.
167 [__USE_MISC]: Remove redundant conditionals.
168 * posix/sys/wait.h: Update #endif comments.
169 [__USE_MISC]: Remove redundant conditionals.
170 * posix/unistd.h: Update #endif comments.
171 [__USE_MISC]: Remove redundant conditionals.
172 * pwd/pwd.h [__USE_GNU]: Likewise.
173 [__USE_MISC]: Likewise.
174 * resolv/netdb.h [__USE_GNU]: Likewise.
175 * signal/signal.h: Update #endif comments.
176 [__USE_MISC]: Remove redundant conditionals.
177 * stdlib/stdlib.h: Update #else and #endif comments.
178 [__USE_MISC]: Remove redundant conditionals.
179 [__USE_GNU]: Likewise.
180 * string/bits/string2.h [__USE_MISC]: Likewise.
181 * string/string.h: Update #endif comments.
182 [__USE_MISC]: Remove redundant conditionals.
183 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
185 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
186 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
187 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
189 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
193 [__USE_MISC]: Remove redundant conditionals.
194 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
195 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
196 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
197 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
198 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
200 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
201 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
203 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
204 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
206 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
208 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
209 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
211 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
213 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
214 * sysdeps/x86/bits/string.h: Update #endif comments.
215 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
217 * time/sys/time.h: Update #endif comments.
218 * time/time.h: Likewise.
219 [__USE_MISC]: Remove redundant conditionals.
221 2014-02-21 Yury Gribov <y.gribov@samsung.com>
224 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
226 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
228 * Versions.def (librt): Add GLIBC_2.17.
230 2014-02-21 Adam Conrad <adconrad@0c3.net>
232 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
233 synonym for _SYS_AUXV_H to allow direct inclusion.
234 * sysdeps/sparc/bits/hwcap.h: Likewise.
235 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
236 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
237 * sysdeps/sparc/sysdep.h: Likewise.
239 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
241 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
243 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
245 * benchtests/bench-strrchr.c: Print length instead of position.
247 2014-02-20 Joseph Myers <joseph@codesourcery.com>
250 * sysdeps/unix/sysv/linux/kernel-features.h
251 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
252 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
253 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
254 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
256 [__i386__ || __powerpc__ || __sh__ || __sparc__]
257 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
258 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
259 (__ASSUME_SENDMMSG): Define instead of using previous
260 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
261 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
262 (__ASSUME_SENDMMSG_SYSCALL): Define.
263 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
264 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
266 * sysdeps/unix/sysv/linux/arm/kernel-features.h
267 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
269 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
270 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
272 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
273 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
274 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
275 [__ASSUME_SENDMMSG]: Change conditionals to
276 [__ASSUME_SENDMMSG_SOCKETCALL].
277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
278 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
280 * sysdeps/unix/sysv/linux/mips/kernel-features.h
281 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
283 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
284 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
285 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
286 [!__ASSUME_SENDMMSG]: Change conditional to
287 [!__ASSUME_SENDMMSG_SOCKETCALL].
288 * sysdeps/unix/sysv/linux/tile/kernel-features.h
289 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
293 * sysdeps/unix/sysv/linux/kernel-features.h
294 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
295 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
296 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
297 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
298 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
299 [__i386__ || __sparc__]
300 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
301 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
302 (__ASSUME_RECVMMSG): Define instead of using previous
303 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
304 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
305 (__ASSUME_RECVMMSG_SYSCALL): Define.
306 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
307 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
309 * sysdeps/unix/sysv/linux/arm/kernel-features.h
310 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
312 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
313 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
315 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
316 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
317 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
318 [__ASSUME_RECVMMSG]: Change condition to
319 [__ASSUME_RECVMMSG_SOCKETCALL].
320 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
323 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
324 * sysdeps/unix/sysv/linux/mips/kernel-features.h
325 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
327 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
328 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
329 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
330 [!__ASSUME_RECVMMSG]: Change condition to
331 [!__ASSUME_RECVMMSG_SOCKETCALL].
332 * sysdeps/unix/sysv/linux/tile/kernel-features.h
333 (__ASSUME_RECVMMSG_SYSCALL): Define.
336 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
337 __powerpc__ || __s390__ || __sh__ || __sparc__]
338 (__ASSUME_SOCKETCALL): Define.
339 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
340 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
341 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
342 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
343 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
344 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
345 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
346 (__ASSUME_ACCEPT4): Define instead of using previous
347 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
348 __powerpc__ || __sparc__ || __s390__)] condition.
349 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
350 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
351 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
352 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
353 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
354 [!__ASSUME_ACCEPT4]: Change condition to
355 [!__ASSUME_ACCEPT4_SOCKETCALL].
356 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
357 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
358 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
359 * sysdeps/unix/sysv/linux/arm/kernel-features.h
360 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
361 __ASSUME_ACCEPT4_SYSCALL.
362 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
363 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
364 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
365 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
366 __ASSUME_ACCEPT4_SYSCALL.
367 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
368 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
369 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
370 [__ASSUME_ACCEPT4]: Change condition to
371 [__ASSUME_ACCEPT4_SOCKETCALL].
372 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
373 (__ASSUME_SOCKETCALL): Define.
374 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
376 (__ASSUME_SOCKETCALL): Define.
377 (__ASSUME_ACCEPT4): Remove.
378 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
380 * sysdeps/unix/sysv/linux/mips/kernel-features.h
381 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
383 * sysdeps/unix/sysv/linux/tile/kernel-features.h
384 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
386 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
388 (HWCAP_ARM_LPAE): Likewise.
389 (HWCAP_ARM_EVTSTRM): Likewise.
390 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
391 Add vpfd32, lpae and evtstrm.
392 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
395 2014-02-19 Joseph Myers <joseph@codesourcery.com>
397 * math/auto-libm-test-in: Add tests of clog10.
398 * math/auto-libm-test-out: Regenerated.
399 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
400 * sysdeps/i386/fpu/libm-test-ulps: Update.
401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
403 2014-02-18 Andreas Schwab <schwab@suse.de>
406 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
407 Store non-zero if the second buffer was newly allocated.
409 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
410 to send_vc and send_dg.
411 (res_nsend): Pass NULL for ansp2_malloced.
412 * resolv/res_query.c (__libc_res_nquery): Add parameter
413 answerp2_malloced and pass it down to __libc_res_nsend.
414 (res_nquery): Pass additional NULL to __libc_res_nquery.
415 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
416 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
417 second answer buffer if answerp2_malloced was set.
418 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
419 (__libc_res_nquerydomain): Add parameter
420 answerp2_malloced and pass it down to __libc_res_nquery.
421 (res_nquerydomain): Pass additional NULL to
422 __libc_res_nquerydomain.
423 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
424 additional NULL to __libc_res_nsend and __libc_res_nquery.
425 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
426 additional NULL to __libc_res_nsearch.
427 (_nss_dns_gethostbyname4_r): Revert last change. Use new
428 parameter of __libc_res_nsearch to check for separately allocated
430 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
432 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
433 additional NULL to __libc_res_nquery.
434 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
436 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
437 * include/resolv.h: Update prototypes of __libc_res_nquery,
438 __libc_res_nsearch, __libc_res_nsend.
440 2014-02-18 Joseph Myers <joseph@codesourcery.com>
442 * math/auto-libm-test-in: Add tests of fma.
443 * math/auto-libm-test-out: Regenerated.
444 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
445 (fma_towardzero_test_data): Likewise.
446 (fma_downward_test_data): Likewise.
447 (fma_upward_test_data): Likewise.
448 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
450 (rounding_modes): Add values for new field.
451 (func_calc_method): Add value mpfr_fff_f.
452 (func_calc_desc): Add mpfr_fff_f union field.
453 (test_function): Add field exact_args.
454 (FUNC): Add macro argument EXACT_ARGS.
455 (FUNC_mpfr_f_f): Update call to FUNC.
456 (FUNC_mpfr_f_f): Likewise.
457 (FUNC_mpfr_ff_f): Likewise.
458 (FUNC_mpfr_if_f): Likewise.
459 (FUNC_mpc_c_f): Likewise.
460 (FUNC_mpc_c_c): Likewise.
461 (test_functions): Add fma. Update calls to FUNC.
462 (handle_input_arg): Add argument exact_args.
463 (add_test): Update call to handle_input_arg.
464 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
465 (output_for_one_input_case): Update call to calc_generic_results.
466 Recalculate exact zero results in each rounding mode.
468 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
469 non-negative before setting low bit.
470 * math/auto-libm-test-in: Mark one asin test possibly having
472 * math/auto-libm-test-out: Regenerated.
473 * sysdeps/i386/fpu/libm-test-ulps: Update.
474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
476 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
478 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
479 * sysdeps/unix/sysv/linux/microblaze: Move directory from
480 ports/sysdeps/unix/sysv/linux/microblaze.
481 * README: Add missing listing for microblaze*-*-linux-gnu.
483 2014-02-16 Mike Frysinger <vapier@gentoo.org>
485 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
486 * sysdeps/unix/sysv/linux/ia64: Move directory from
487 ports/sysdeps/unix/sysv/linux/ia64.
488 * README: Update listing for ia64-*-linux-gnu.
490 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
491 Joseph Myers <joseph@codesourcery.com>
493 * Makeconfig (test-name): New variable.
494 (evaluate-test): Likewise.
495 * Makerules (do-test-clean): Remove .test-result files.
496 (common-mostlyclean): Likewise.
497 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
498 * scripts/evaluate-test.sh: New file.
500 2014-02-14 Joseph Myers <joseph@codesourcery.com>
502 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
503 separate $(objpfx)tst-fopenloc-cmp.out and
504 $(objpfx)tst-fopenloc-mem.out targets.
505 (tests): Update dependencies.
506 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
507 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
508 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
509 (tst-rxspencer-no-utf8-ARGS): New variable.
510 (tst-rxspencer-no-utf8-ENV): Likewise.
511 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
512 instead of $(objpfx)tst-rxspencer-mem.
513 ($(objpfx)tst-rxspencer-mem): Change target to
514 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
515 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
516 * posix/tst-rxspencer-no-utf8.c: New file.
518 * elf/Makefile ($(objpfx)order.out): Remove rule.
519 [$(run-built-tests) = yes] (tests): Depend on
520 $(objpfx)order-cmp.out.
521 ($(objpfx)order-cmp.out): New rule.
522 [$(run-built-tests) = yes] (tests): Depend on
523 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
524 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
525 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
526 $(objpfx)tst-array5-static-cmp.out.
527 ($(objpfx)tst-array1.out): Remove rule.
528 ($(objpfx)tst-array1-cmp.out): New rule.
529 ($(objpfx)tst-array1-static.out): Remove rule.
530 ($(objpfx)tst-array1-static-cmp.out): New rule.
531 ($(objpfx)tst-array2.out): Remove rule.
532 ($(objpfx)tst-array2-cmp.out): New rule.
533 ($(objpfx)tst-array3.out): Remove rule.
534 ($(objpfx)tst-array3-cmp.out): New rule.
535 ($(objpfx)tst-array4.out): Remove rule.
536 ($(objpfx)tst-array4-cmp.out): New rule.
537 ($(objpfx)tst-array5.out): Remove rule.
538 ($(objpfx)tst-array5-cmp.out): New rule.
539 ($(objpfx)tst-array5-static.out): Remove rule.
540 ($(objpfx)tst-array5-static-cmp.out): New rule.
541 [$(run-built-tests) = yes] (tests): Depend on
542 $(objpfx)order2-cmp.out.
543 ($(objpfx)order2.out): Remove rule.
544 ($(objpfx)order2-cmp.out): New rule.
545 ($(objpfx)tst-initorder.out): Remove rule.
546 [$(run-built-tests) = yes] (tests): Depend on
547 $(objpfx)tst-initorder-cmp.out.
548 ($(objpfx)tst-initorder-cmp.out): New rule.
549 ($(objpfx)tst-initorder2.out): Remove rule.
550 [$(run-built-tests) = yes] (tests): Depend on
551 $(objpfx)tst-initorder2-cmp.out.
552 ($(objpfx)tst-initorder2-cmp.out): New rule.
553 [$(run-built-tests) = yes] (tests): Depend on
554 $(objpfx)tst-unused-dep-cmp.out.
555 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
556 ($(objpfx)tst-unused-dep-cmp.out): New rule.
557 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
558 on $(objpfx)tst-setvbuf1-cmp.out.
559 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
560 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
561 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
562 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
563 ($(objpfx)tst-svc.out): Remove rule.
564 ($(objpfx)tst-svc-cmp.out): New rule.
566 2014-02-13 Joseph Myers <joseph@codesourcery.com>
568 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
569 * ctype/ctype.h [__USE_MISC]: Likewise.
570 * dirent/dirent.h [__USE_MISC]: Likewise.
571 * grp/grp.h [__USE_MISC]: Likewise.
572 * io/fcntl.h [__USE_MISC]: Likewise.
573 * io/sys/stat.h [__USE_MISC]: Likewise.
574 * libio/stdio.h [__USE_MISC]: Likewise.
575 * posix/unistd.h [__USE_MISC]: Likewise.
576 * pwd/pwd.h [__USE_MISC]: Likewise.
577 * stdlib.h [__USE_MISC]: Likewise.
578 * string/bits/string2.h [__USE_MISC]: Likewise.
579 * string/string.h [__USE_MISC]: Likewise.
580 * time/time.h [__USE_MISC]: Likewise.
582 2014-02-13 Andreas Schwab <schwab@suse.de>
585 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
586 second answer buffer if it was separately allocated.
588 2014-02-12 Joseph Myers <joseph@codesourcery.com>
590 * sysdeps/mips/math-tests.h: Include <features.h>.
591 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
592 (ROUNDING_TESTS_long_double): Do not define.
593 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
594 (EXCEPTION_TESTS_long_double): Likewise.
595 * sysdeps/mips/mips64/libm-test-ulps: Update.
597 * include/features.h (__USE_BSD): Remove macro definitions.
598 (__USE_SVID): Likewise.
599 (_BSD_SOURCE): Likewise.
600 (_SVID_SOURCE): Likewise.
601 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
602 from definition of _DEFAULT_SOURCE.
603 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
605 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
606 * bits/mman.h [__USE_BSD]: Likewise.
607 * bits/termios.h [__USE_BSD]: Likewise.
608 * bits/waitstatus.h [__USE_BSD]: Likewise.
609 * ctype/ctype.h [__USE_SVID]: Likewise.
610 * dirent/dirent.h [__USE_BSD]: Likewise.
611 * grp/grp.h [__USE_SVID]: Likewise.
612 [__USE_BSD]: Likewise.
613 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
614 * io/fcntl.h [__USE_BSD]: Likewise.
615 * io/ftw.h [__USE_BSD]: Likewise.
616 * io/sys/stat.h [__USE_BSD]: Likewise.
617 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
618 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
619 * libio/stdio.h [__USE_SVID]: Likewise.
620 [__USE_BSD]: Likewise.
621 * math/math.h [__USE_SVID]: Likewise.
622 [__USE_BSD]: Likewise.
623 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
624 * misc/bits/syslog.h [__USE_BSD]: Likewise.
625 * misc/search.h [__USE_SVID]: Likewise.
626 * misc/sys/mman.h [__USE_BSD]: Likewise.
627 * misc/sys/syslog.h [__USE_BSD]: Likewise.
628 * misc/sys/uio.h [__USE_BSD]: Likewise.
629 * posix/bits/unistd.h [__USE_BSD]: Likewise.
630 * posix/glob.h [__USE_BSD]: Likewise.
631 * posix/regex.h [__USE_BSD]: Likewise.
632 * posix/sys/types.h [__USE_BSD]: Likewise.
633 [__USE_SVID]: Likewise.
634 * posix/sys/utsname.h [__USE_SVID]: Likewise.
635 * posix/sys/wait.h [__USE_BSD]: Likewise.
636 [__USE_SVID]: Likewise.
637 * posix/unistd.h [__USE_BSD]: Likewise.
638 [__USE_SVID]: Likewise.
639 * pwd/pwd.h [__USE_SVID]: Likewise.
640 * resolv/netdb.h [__USE_BSD]: Likewise.
641 * setjmp/setjmp.h [__USE_BSD]: Likewise.
642 * signal/signal.h [__USE_BSD]: Likewise.
643 [__USE_SVID]: Likewise.
644 * socket/sys/socket.h [__USE_BSD]: Likewise.
645 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
646 * stdlib/stdlib.h [__USE_BSD]: Likewise.
647 [__USE_SVID]: Likewise.
648 * string/bits/string2.h [__USE_BSD]: Likewise.
649 [__USE_SVID]: Likewise.
650 * string/bits/string3.h [__USE_BSD]: Likewise.
651 * string/endian.h [__USE_BSD]: Likewise.
652 * string/string.h [__USE_SVID]: Likewise.
653 [__USE_BSD]: Likewise.
654 * string/strings.h [__USE_BSD]: Likewise.
655 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
656 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
657 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
658 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
659 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
660 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
664 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
665 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
667 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
668 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
670 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
672 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
673 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
674 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
678 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
679 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
680 * termios/termios.h [__USE_BSD]: Likewise.
681 * time/sys/time.h [__USE_BSD]: Likewise.
682 * time/time.h [__USE_BSD]: Likewise.
683 [__USE_SVID]: Likewise.
685 * Makefile (subdir_targets): Remove subdir_lint.out.
687 * stdio-common/Makefile (do-tst-unbputc): Remove target.
688 (do-tst-printf): Likewise.
689 (tests): Depend directly on $(objpfx)tst-unbputc.out and
690 $(objpfx)tst-printf.out.
692 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
694 * Makerules (check-abi-%): Change target to
695 $(objpfx)check-abi-%.out.
696 (check-abi target): Update dependencies.
697 (check-abi-pattern variable): Redirect output of diff to $@.
698 (check-abi variable): Likewise.
699 * elf/Makefile (check-abi): Update dependencies.
701 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
703 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
704 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
706 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
707 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
708 value has largest subnormal exponent.
709 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
710 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
711 * sysdeps/aarch64/soft-fp/sfp-machine.h
712 (_FP_TININESS_AFTER_ROUNDING): New macro.
713 * sysdeps/alpha/soft-fp/sfp-machine.h
714 (_FP_TININESS_AFTER_ROUNDING): Likewise.
715 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
717 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
718 (_FP_TININESS_AFTER_ROUNDING): Likewise.
719 * sysdeps/mips/soft-fp/sfp-machine.h
720 (_FP_TININESS_AFTER_ROUNDING): Likewise.
721 * sysdeps/powerpc/soft-fp/sfp-machine.h
722 (_FP_TININESS_AFTER_ROUNDING): Likewise.
723 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
725 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
726 (_FP_TININESS_AFTER_ROUNDING): Likewise.
727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
728 (_FP_TININESS_AFTER_ROUNDING): Likewise.
729 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
732 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
735 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
738 2014-02-12 Richard Henderson <rth@redhat.com>
740 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
741 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
742 * sysdeps/unix/sysv/linux/alpha: Move directory from
743 ports/sysdeps/unix/sysv/linux/alpha.
744 * README: Update listing for alpha-*-linux-gnu.
746 2014-02-11 Joseph Myers <joseph@codesourcery.com>
748 * include/features.h: Update comment documenting feature test
750 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
752 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
753 (_SVID_SOURCE): Likewise.
754 (_DEFAULT_SOURCE): Update description of default features.
755 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
757 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
759 * manual/math.texi (Mathematical Constants): Likewise.
760 * manual/signal.texi (Interrupted Primitives): Likewise.
761 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
762 * math/test-matherr.c (_SVID_SOURCE): Do not define.
763 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
764 Don't refer to _SVID_SOURCE in warning text.
766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
768 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
770 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
771 * sysdeps/mips/dl-lookup.c: Remove.
772 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
774 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
777 * math/auto-libm-test-in: Add testcase for expl.
778 * math/auto-libm-test-out: Regenerate.
779 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
780 calculation of unsafe.
781 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
783 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
785 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
786 * sysdeps/unix/sysv/linux/aarch64: Move directory from
787 ports/sysdeps/unix/sysv/linux/aarch64.
788 * README: Update listing for aarch64*-*-linux-gnu.
790 2014-02-11 Will Newton <will.newton@linaro.org>
792 * manual/probes.texi (Mathematical Function Probes): Use
793 "triggered" instead of "hit".
795 2014-02-11 Will Newton <will.newton@linaro.org>
797 * manual/probes.texi (Internal Probes): Add documentation
798 of setjmp, longjmp and longjmp_target probes.
800 2014-02-11 Will Newton <will.newton@linaro.org>
802 * include/stap-probe.h: Add comment about probe argument
805 2014-02-11 Will Newton <will.newton@linaro.org>
807 * malloc/mtrace.c (attribute_hidden): Remove unused macro
808 definition. (tr_where, tr_freehook, tr_mallochook,
809 tr_reallochook, tr_memalignhook): Use ANSI protoype.
811 2014-02-11 David S. Miller <davem@davemloft.net>
813 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
814 processing int_tests.
816 2014-02-10 Joseph Myers <joseph@codesourcery.com>
818 * sysdeps/mips: Move directory from ports/sysdeps/mips.
819 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
820 * sysdeps/unix/sysv/linux/mips: Move directory from
821 ports/sysdeps/unix/sysv/linux/mips.
822 * README: Update listing for mips-*-linux-gnu and
825 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
827 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
828 * sysdeps/unix/sysv/linux/m68k: Move directory from
829 ports/sysdeps/unix/sysv/linux/m68k.
830 * README: Update listing for m68k-*-linux-gnu.
832 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
834 * sysdeps/tile: Move directory from ports/sysdeps/tile.
835 * sysdeps/unix/sysv/linux/generic: Move directory from
836 ports/sysdeps/unix/sysv/linux/generic.
837 * sysdeps/unix/sysv/linux/tile: Move directory from
838 ports/sysdeps/unix/sysv/linux/tile.
839 * README: Update listing for tile*-*-linux-gnu.
841 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
843 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
844 * benchtests/bench-memmem.c (simple_memmem): Likewise.
845 * catgets/open_catalog.c (__open_catalog): Likewise.
846 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
847 * debug/confstr_chk.c: Likewise.
848 * debug/fread_chk.c (__fread_chk): Likewise.
849 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
850 * debug/getgroups_chk.c: Likewise.
851 * debug/mbsnrtowcs_chk.c: Likewise.
852 * debug/mbsrtowcs_chk.c: Likewise.
853 * debug/mbstowcs_chk.c: Likewise.
854 * debug/memcpy_chk.c: Likewise.
855 * debug/memmove_chk.c: Likewise.
856 * debug/mempcpy_chk.c: Likewise.
857 * debug/memset_chk.c: Likewise.
858 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
859 * debug/strcat_chk.c (__strcat_chk): Likewise.
860 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
861 * debug/strncat_chk.c (__strncat_chk): Likewise.
862 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
863 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
864 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
865 * debug/wcpncpy_chk.c: Likewise.
866 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
867 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
868 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
869 * debug/wcsncpy_chk.c: Likewise.
870 * debug/wcsnrtombs_chk.c: Likewise.
871 * debug/wcsrtombs_chk.c: Likewise.
872 * debug/wcstombs_chk.c: Likewise.
873 * debug/wmemcpy_chk.c: Likewise.
874 * debug/wmemmove_chk.c: Likewise.
875 * debug/wmempcpy_chk.c: Likewise.
876 * debug/wmemset_chk.c: Likewise.
877 * dirent/scandirat.c (SCANDIRAT): Likewise.
878 * dlfcn/dladdr1.c (dladdr1): Likewise.
879 * dlfcn/dladdr.c (dladdr): Likewise.
880 * dlfcn/dlclose.c (dlclose_doit): Likewise.
881 * dlfcn/dlerror.c (__dlerror): Likewise.
882 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
883 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
884 * dlfcn/dlopen.c (dlopen_doit): Likewise.
885 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
886 * dlfcn/dlsym.c (dlsym_doit): Likewise.
887 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
888 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
889 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
891 * elf/dl-conflict.c: Likewise.
892 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
893 * elf/dl-dst.h: Likewise.
894 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
895 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
896 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
897 * elf/dl-init.c (call_init, _dl_init): Likewise.
898 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
899 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
900 _dl_map_object_from_fd, open_verify, open_path,
901 _dl_map_object): Likewise.
902 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
904 * elf/dl-minimal.c (__libc_memalign): Likewise.
905 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
906 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
907 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
908 * elf/dl-sym.c (do_sym): Likewise.
909 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
910 _dl_tls_get_addr_soft): Likewise.
911 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
912 * elf/dl-writev.h (_dl_writev): Likewise.
913 * elf/ldconfig.c (search_dir): Likewise.
914 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
916 * elf/setup-vdso.h (setup_vdso): Likewise.
917 * grp/compat-initgroups.c (compat_call): Likewise.
918 * grp/fgetgrent.c (fgetgrent): Likewise.
919 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
920 * grp/putgrent.c (putgrent): Likewise.
921 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
923 * hurd/hurdinit.c: Likewise.
924 * iconvdata/8bit-gap.c (struct): Likewise.
925 * iconvdata/ansi_x3.110.c : Likewise.
926 * iconvdata/big5.c : Likewise.
927 * iconvdata/big5hkscs.c : Likewise.
928 * iconvdata/cp1255.c: Likewise.
929 * iconvdata/cp1258.c : Likewise.
930 * iconvdata/cp932.c : Likewise.
931 * iconvdata/euc-cn.c: Likewise.
932 * iconvdata/euc-jisx0213.c : Likewise.
933 * iconvdata/euc-jp.c: Likewise.
934 * iconvdata/euc-jp-ms.c : Likewise.
935 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
936 * iconvdata/gb18030.c : Likewise.
937 * iconvdata/gbbig5.c (const): Likewise.
938 * iconvdata/gbgbk.c: Likewise.
939 * iconvdata/gbk.c : Likewise.
940 * iconvdata/ibm1364.c : Likewise.
941 * iconvdata/ibm930.c : Likewise.
942 * iconvdata/ibm932.c: Likewise.
943 * iconvdata/ibm933.c : Likewise.
944 * iconvdata/ibm935.c : Likewise.
945 * iconvdata/ibm937.c : Likewise.
946 * iconvdata/ibm939.c : Likewise.
947 * iconvdata/ibm943.c: Likewise.
948 * iconvdata/iso_11548-1.c: Likewise.
949 * iconvdata/iso-2022-cn.c : Likewise.
950 * iconvdata/iso-2022-cn-ext.c : Likewise.
951 * iconvdata/iso-2022-jp-3.c: Likewise.
952 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
953 * iconvdata/iso-2022-kr.c : Likewise.
954 * iconvdata/iso646.c (gconv_end): Likewise.
955 * iconvdata/iso_6937-2.c : Likewise.
956 * iconvdata/iso_6937.c : Likewise.
957 * iconvdata/iso8859-1.c: Likewise.
958 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
959 * iconvdata/shift_jisx0213.c : Likewise.
960 * iconvdata/sjis.c : Likewise.
961 * iconvdata/t.61.c : Likewise.
962 * iconvdata/tcvn5712-1.c : Likewise.
963 * iconvdata/tscii.c: Likewise.
964 * iconvdata/uhc.c : Likewise.
965 * iconvdata/unicode.c (gconv_end): Likewise.
966 * iconvdata/utf-16.c (gconv_end): Likewise.
967 * iconvdata/utf-32.c (gconv_end): Likewise.
968 * iconvdata/utf-7.c (base64): Likewise.
969 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
970 * iconv/gconv_close.c (__gconv_close): Likewise.
971 * iconv/gconv_open.c (__gconv_open): Likewise.
972 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
973 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
974 internal_ucs4le_loop_single, ucs4le_internal_loop,
975 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
976 * iconv/iconv.c (iconv): Likewise.
977 * iconv/iconv_close.c: Likewise.
978 * iconv/loop.c (SINGLE): Likewise.
979 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
980 * include/atomic.h: Likewise.
981 * inet/inet6_option.c (option_alloc): Likewise.
982 * intl/bindtextdom.c (set_binding_values): Likewise.
983 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
984 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
985 * intl/localealias.c (read_alias_file): Likewise.
986 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
987 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
988 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
989 * libio/fmemopen.c (fmemopen): Likewise.
990 * libio/iofgets.c (_IO_fgets): Likewise.
991 * libio/iofgets_u.c (fgets_unlocked): Likewise.
992 * libio/iofgetws.c (fgetws): Likewise.
993 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
994 * libio/iogetdelim.c (_IO_getdelim): Likewise.
995 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
996 adjust_wide_data, _IO_wfile_seekoff): Likewise.
997 * locale/findlocale.c (_nl_find_locale): Likewise.
998 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
999 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1001 * locale/setlocale.c (setlocale): Likewise.
1002 * login/programs/pt_chown.c (main): Likewise.
1003 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1004 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1005 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1006 mmap, mmap64, mremap, munmap): Likewise.
1007 * math/e_exp2l.c: Likewise.
1008 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1009 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1010 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1011 * math/s_catan.c (__catan): Likewise.
1012 * math/s_catanf.c (__catanf): Likewise.
1013 * math/s_catanh.c (__catanh): Likewise.
1014 * math/s_catanhf.c (__catanhf): Likewise.
1015 * math/s_catanhl.c (__catanhl): Likewise.
1016 * math/s_catanl.c (__catanl): Likewise.
1017 * math/s_ccosh.c (__ccosh): Likewise.
1018 * math/s_ccoshf.c (__ccoshf): Likewise.
1019 * math/s_ccoshl.c (__ccoshl): Likewise.
1020 * math/s_cexp.c (__cexp): Likewise.
1021 * math/s_cexpf.c (__cexpf): Likewise.
1022 * math/s_cexpl.c (__cexpl): Likewise.
1023 * math/s_clog10.c (__clog10): Likewise.
1024 * math/s_clog10f.c (__clog10f): Likewise.
1025 * math/s_clog10l.c (__clog10l): Likewise.
1026 * math/s_clog.c (__clog): Likewise.
1027 * math/s_clogf.c (__clogf): Likewise.
1028 * math/s_clogl.c (__clogl): Likewise.
1029 * math/s_csin.c (__csin): Likewise.
1030 * math/s_csinf.c (__csinf): Likewise.
1031 * math/s_csinh.c (__csinh): Likewise.
1032 * math/s_csinhf.c (__csinhf): Likewise.
1033 * math/s_csinhl.c (__csinhl): Likewise.
1034 * math/s_csinl.c (__csinl): Likewise.
1035 * math/s_csqrt.c (__csqrt): Likewise.
1036 * math/s_csqrtf.c (__csqrtf): Likewise.
1037 * math/s_csqrtl.c (__csqrtl): Likewise.
1038 * math/s_ctan.c (__ctan): Likewise.
1039 * math/s_ctanf.c (__ctanf): Likewise.
1040 * math/s_ctanh.c (__ctanh): Likewise.
1041 * math/s_ctanhf.c (__ctanhf): Likewise.
1042 * math/s_ctanhl.c (__ctanhl): Likewise.
1043 * math/s_ctanl.c (__ctanl): Likewise.
1044 * math/w_pow.c: Likewise.
1045 * math/w_powf.c: Likewise.
1046 * math/w_powl.c: Likewise.
1047 * math/w_scalb.c (sysv_scalb): Likewise.
1048 * math/w_scalbf.c (sysv_scalbf): Likewise.
1049 * math/w_scalbl.c (sysv_scalbl): Likewise.
1050 * misc/error.c (error_tail): Likewise.
1051 * misc/pselect.c (__pselect): Likewise.
1052 * nis/nis_callback.c (__nis_create_callback): Likewise.
1053 * nis/nis_call.c (__nisfind_server): Likewise.
1054 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1055 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1056 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1057 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1058 * nis/nis_lookup.c (nis_lookup): Likewise.
1059 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1060 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1061 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1062 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1063 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1064 internal_getgrgid_r): Likewise.
1065 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1067 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1068 internal_getpwuid_r): Likewise.
1069 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1070 internal_getspnam_r): Likewise.
1071 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1072 _nss_nis_getaliasbyname_r): Likewise.
1073 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1074 _nss_nis_getntohost_r): Likewise.
1075 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1076 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1078 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1079 internal_nis_gethostent_r, internal_gethostbyname2_r,
1080 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1081 _nss_nis_gethostbyname4_r): Likewise.
1082 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1083 initgroups_netid): Likewise.
1084 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1085 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1086 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1087 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1088 _nss_nis_getprotobynumber_r): Likewise.
1089 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1090 _nss_nis_getsecretkey): Likewise.
1091 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1092 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1094 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1095 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1096 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1097 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1098 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1099 _nss_nis_getspnam_r): Likewise.
1100 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1102 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1103 _nss_nisplus_getntohost_r): Likewise.
1104 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1105 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1106 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1107 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1108 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1110 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1111 _nss_nisplus_getnetbyaddr_r): Likewise.
1112 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1113 _nss_nisplus_getprotobynumber_r): Likewise.
1114 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1115 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1116 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1118 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1119 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1120 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1121 _nss_nisplus_getspnam_r): Likewise.
1122 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1123 * nscd/aicache.c (addhstaiX): Likewise.
1124 * nscd/cache.c (cache_search, prune_cache): Likewise.
1125 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1126 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1127 * nscd/grpcache.c (addgrbyX): Likewise.
1128 * nscd/hstcache.c (addhstbyX): Likewise.
1129 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1130 * nscd/mem.c (gc, mempool_alloc): Likewise.
1131 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1133 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1135 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1136 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1137 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1139 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1140 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1141 * nscd/nscd_helper.c (__readvall, open_socket,
1142 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1143 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1144 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1145 * nscd/pwdcache.c (addpwbyX): Likewise.
1146 * nscd/selinux.c (preserve_capabilities): Likewise.
1147 * nscd/servicescache.c (addservbyX): Likewise.
1148 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1149 * posix/fnmatch.c (fnmatch): Likewise.
1150 * posix/getopt.c (_getopt_internal_r): Likewise.
1151 * posix/glob.c (glob, glob_in_dir): Likewise.
1152 * posix/wordexp.c (exec_comm_child): Likewise.
1153 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1154 gaih_getanswer_slice): Likewise.
1155 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1156 * resolv/res_init.c: Likewise.
1157 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1158 * resolv/res_query.c (__libc_res_nquery): Likewise.
1159 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1161 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1162 * stdio-common/perror.c (perror): Likewise.
1163 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1164 * stdio-common/tmpnam.c (tmpnam): Likewise.
1165 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1166 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1167 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1168 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1169 * stdlib/putenv.c (putenv): Likewise.
1170 * stdlib/setenv.c (__add_to_environ): Likewise.
1171 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1172 * stdlib/strtol_l.c (INTERNAL): Likewise.
1173 * string/memmem.c (memmem): Likewise.
1174 * string/strerror.c (strerror): Likewise.
1175 * string/strnlen.c (__strnlen): Likewise.
1176 * string/test-memmem.c (simple_memmem): Likewise.
1177 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1178 * sunrpc/pm_getport.c (__get_socket): Likewise.
1179 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1180 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1181 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1182 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1184 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1185 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1186 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1187 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1188 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1189 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1190 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1191 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1192 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1194 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1195 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1197 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1198 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1199 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1200 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1201 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1208 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1211 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1212 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1213 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1214 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1220 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1221 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1223 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1224 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1226 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1228 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1230 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1231 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1232 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1234 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1235 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1236 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1237 * sysdeps/posix/sleep.c: Likewise.
1238 * sysdeps/posix/tempname.c: Likewise.
1239 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1240 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1242 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1243 elf_machine_rela): Likewise.
1244 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1246 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1247 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1249 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1250 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1251 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1252 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1253 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1254 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1255 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1256 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1257 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1258 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1260 elf_machine_lazy_rel): Likewise.
1261 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1263 elf_machine_lazy_rel): Likewise.
1264 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1265 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1266 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1267 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1268 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1269 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1270 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1273 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1274 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1275 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1276 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1277 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1278 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1279 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1280 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1281 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1282 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1283 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1285 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1286 (__posix_fallocate64_l64): Likewise.
1287 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1288 (posix_fallocate): Likewise.
1289 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1291 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1292 getifaddrs_internal): Likewise.
1293 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1294 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1295 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1296 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1297 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1298 (__posix_fallocate64_l64): Likewise.
1299 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1301 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1302 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1304 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1305 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1306 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1308 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1309 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1310 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1311 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1313 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1314 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1315 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1316 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1317 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1318 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1319 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1321 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1322 (posix_fallocate): Likewise.
1323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1324 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1325 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1326 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1327 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1329 * time/asctime.c (asctime_internal): Likewise.
1330 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1331 * time/tzset.c (__tzset_parse_tz): Likewise.
1332 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1333 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1334 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1335 * wcsmbs/wcsmbsload.h: Likewise.
1337 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1340 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1342 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1344 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1345 arena_get2): Remove THREAD_STATS conditionals.
1346 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1347 __malloc_stats, int): Likewise.
1349 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1351 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1352 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1354 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1356 * manual/setjmp.texi: Fix typos/grammar errors.
1358 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1360 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1361 Only return early when n is <= 0. Delete unused return statement.
1363 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1365 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1366 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1367 * debug/tst-longjmp_chk3.c: New file.
1369 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1371 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1372 (test_main): Replace code with set_fortify_handler call.
1373 * debug/test-strcpy_chk.c: Likewise.
1374 * debug/tst-chk1.c: Likewise.
1375 * debug/tst-longjmp_chk.c: Likewise.
1376 * test-skeleton.c: Include fcntl.h & paths.h
1377 (set_fortify_handler): Define.
1379 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1381 * debug/tst-longjmp_chk.c: Add header comment and include
1383 (do_test): Mark static.
1384 (TEST_FUNCTION): Define.
1386 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1388 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1389 (IP_PMTUDISC_INTERFACE): Likewise.
1390 (IP_MULTICAST_IF): Likewise.
1391 (IP_MULTICAST_TTL): Likewise.
1392 (IP_MULTICAST_LOOP): Likewise.
1393 (IP_ADD_MEMBERSHIP): Likewise.
1394 (IP_DROP_MEMBERSHIP): Likewise.
1395 (IP_UNBLOCK_SOURCE): Likewise.
1396 (IP_BLOCK_SOURCE): Likewise.
1397 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1398 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1399 (IP_MSFILTER): Likewise.
1400 (MCAST_JOIN_GROUP): Likewise.
1401 (MCAST_BLOCK_SOURCE): Likewise.
1402 (MCAST_UNBLOCK_SOURCE): Likewise.
1403 (MCAST_LEAVE_GROUP): Likewise.
1404 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1405 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1406 (MCAST_MSFILTER): Likewise.
1407 (IP_MULTICAST_ALL): Likewise.
1408 (IP_UNICAST_IF): Likewise.
1410 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1412 * timezone/Makefile: Delete $(have-ksh) check.
1413 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1414 * timezone/tzselect.ksh: Add +x mode bits.
1416 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1418 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1419 (ANON_INODE_FS_MAGIC): Likewise.
1420 (BDEVFS_MAGIC): Likewise.
1421 (BINFMTFS_MAGIC): Likewise.
1422 (BTRFS_TEST_MAGIC): Likewise.
1423 (CRAMFS_MAGIC_WEND): Likewise.
1424 (DEBUGFS_MAGIC): Likewise.
1425 (ECRYPTFS_SUPER_MAGIC): Likewise.
1426 (EXT3_SUPER_MAGIC): Likewise.
1427 (EXT4_SUPER_MAGIC): Likewise.
1428 (FUTEXFS_SUPER_MAGIC): Likewise.
1429 (HOSTFS_SUPER_MAGIC): Likewise.
1430 (HUGETLBFS_MAGIC): Likewise.
1431 (MINIX3_SUPER_MAGIC): Likewise.
1432 (MTD_INODE_FS_MAGIC): Likewise.
1433 (NILFS_SUPER_MAGIC): Likewise.
1434 (OPENPROM_SUPER_MAGIC): Likewise.
1435 (PIPEFS_MAGIC): Likewise.
1436 (PSTOREFS_MAGIC): Likewise.
1437 (QNX6_SUPER_MAGIC): Likewise.
1438 (RAMFS_MAGIC): Likewise.
1439 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1440 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1441 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1442 (SECURITYFS_MAGIC): Likewise.
1443 (SELINUX_MAGIC): Likewise.
1444 (SMACK_MAGIC): Likewise.
1445 (SOCKFS_MAGIC): Likewise.
1446 (SQUASHFS_MAGIC): Likewise.
1447 (STACK_END_MAGIC): Likewise.
1448 (TMPFS_MAGIC): Likewise.
1449 (USBDEVICE_SUPER_MAGIC): Likewise.
1450 (V9FS_MAGIC): Likewise.
1451 (XENFS_SUPER_MAGIC): Likewise.
1452 (CRAMFS_MAGIC): Fix typo in comment.
1453 (EXT2_SUPER_MAGIC): Update comment.
1454 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1456 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1458 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1459 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1460 * sysdeps/unix/sysv/linux/arm: Move directory from
1461 ports/sysdeps/unix/sysv/linux/arm.
1462 * README: Update listing for arm-*-linux-gnueabi.
1464 * README: Remove mention of am33.
1466 2014-02-07 Roland McGrath <roland@hack.frob.com>
1468 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1469 than the comma operator, to avoid "rhs of comma has no effect"
1471 (__sigfillset, __sigandset, __sigorset): Likewise.
1472 * include/signal.h (__sigemptyset): Likewise.
1473 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1475 2014-02-07 Allan McRae <allan@archlinux.org>
1477 * version.h (RELEASE): Set to "development".
1478 (VERSION): Set to "2.19.90"
1479 * NEWS: Add 2.20 section.
1481 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1484 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1486 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1488 * manual/contrib.texi: Update entry for Carlos O'Donell,
1489 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1491 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1493 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1495 * sysdeps/unix/sysv/linux/kernel-features.h
1496 [__LINUX_KERNEL_VERSION >= 0x020621]
1497 (__ASSUME_PROC_PID_TASK_COMM): Define.
1499 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1501 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1502 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1503 Leonard and Allan McRae.
1505 2014-02-04 David S. Miller <davem@davemloft.net>
1507 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1510 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1539 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1542 * shlib-versions: Likewise.
1544 2014-02-04 Roland McGrath <roland@hack.frob.com>
1545 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1547 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1548 (abilist-pattern): New variable, set to %-le.abilist.
1550 * Makerules (abilist-pattern): New variable.
1551 (vpath): Use $(abilist-pattern) in place of %.abilist.
1552 (check-abi-% pattern rule): Likewise.
1553 (check-abi, update-abi): Likewise.
1555 2014-02-04 Eric Wong <normalperson@yhbt.net>
1557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1559 2014-02-04 Eric Wong <normalperson@yhbt.net>
1561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1563 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1565 * manual/startup.texi: Add next, previous, and top entries for
1566 the `Program Arguments' and `Environment Variables' nodes.
1568 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1570 * manual/macros.texi: Add comments before MTASC-safety macros.
1572 * manual/users.texi: Document MTASC-safety properties.
1574 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1575 pthread_getspecific, pthread_setspecific): Format with
1576 @deftypefun, and add @safety note.
1577 * manual/signal.texi: Move comments that analyze the above
1578 functions to their home place.
1580 2014-02-03 Allan McRae <allan@archlinux.org>
1582 * po/sl.po: Update Slovenian translation from translation project.
1584 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1586 * manual/time.texi (timegm): Add missing blank after @c.
1587 Reported by Joseph Myers <joseph@codesourcery.com>.
1589 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1591 * manual/check-safety.sh: New.
1592 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1594 * manual/terminal.texi: Document MTASC-safety properties.
1596 * manual/filesys.texi: Document MTASC-safety properties.
1598 * manual/errno.texi: Document MTASC-safety properties.
1600 * manual/intro.texi: Document safety identifiers and
1603 * manual/string.texi (wcstok): Fix prototype.
1604 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1606 * manual/time.texi: Document MTASC-safety properties.
1608 * manual/string.texi: Document MTASC-safety properties.
1610 * manual/threads.texi: Document MTASC-safety properties.
1612 * manual/stdio.texi: Document MTASC-safety properties.
1614 * manual/syslog.texi: Document MTASC-safety properties.
1616 * manual/sysinfo.texi: Document MTASC-safety properties.
1618 * manual/startup.texi: Document MTASC-safety properties.
1620 * manual/socket.texi: Document MTASC-safety properties.
1622 * manual/signal.texi: Document MTASC-safety properties.
1624 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1626 * manual/setjmp.texi: Document MTASC-safety properties.
1628 * manual/search.texi: Document MTASC-safety properties.
1630 * manual/resource.texi: Document MTASC-safety properties.
1632 * manual/process.texi: Document MTASC-safety properties.
1634 * manual/platform.texi: Document MTASC-safety properties.
1636 * manual/pipe.texi: Document MTASC-safety properties.
1638 * manual/pattern.texi: Document MTASC-safety properties.
1640 * manual/message.texi: Document MTASC-safety properties.
1643 * manual/memory.texi: Document MTASC-safety properties.
1645 * manual/math.texi: Document MTASC-safety properties.
1647 * manual/locale.texi: Document MTASC-safety properties.
1649 * manual/llio.texi: Document MTASC-safety properties.
1651 * manual/libdl.texi: New.
1653 * manual/lang.texi: Document MTASC-safety properties.
1655 * manual/job.texi: Document MTASC-safety properties.
1657 * manual/getopt.texi: Document MTASC-safety properties.
1659 * manual/ctype.texi: Document MTASC-safety properties.
1661 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1664 * csu/libc-tls.c (static_map): Remove variable.
1665 (__libc_setup_tls): Use main executable's link map for TLS data.
1666 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1667 casing for LM_ID_BASE and GL(dl_nns).
1668 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1669 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1670 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1671 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1672 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1674 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1677 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1679 * manual/debug.texi: Document MTASC-safety properties.
1681 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1684 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1685 of __x86_64__ when disabling x87 inline functions.
1687 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1689 * manual/charset.texi: Document MTASC-safety properties.
1691 * manual/crypt.texi: Document MTASC-safety properties.
1693 * manual/conf.texi: Document MTASC-safety properties.
1695 * manual/arith.texi: Document MTASC-safety properties.
1697 * manual/argp.texi: Document MTASC-safety properties.
1699 * manual/macros.texi: Introduce macros to document multi
1700 thread, asynchronous signal and asynchronous cancellation
1702 * manual/intro.texi: Introduce the properties themselves.
1704 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1706 * sysdeps/sh/sh4/Makefile: New file.
1708 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1710 * math/gen-libm-test.pl ($srcdir): New variable.
1711 ($auto_input): Use it.
1713 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1716 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1717 access beyond array bounds when parsing netgroups file.
1719 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1720 the old buffer before realloc.
1722 2014-01-27 Allan McRae <allan@archlinux.org>
1724 * po/fr.po: Update French translation from translation project.
1726 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1728 * sysdeps/sh/libm-test-ulps: Regenerate.
1730 2014-01-24 David S. Miller <davem@davemloft.net>
1732 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1734 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1736 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1737 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1739 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1742 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1743 string pointers after reallocation.
1745 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1747 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1748 __SH4A__ instead of __SH_FPU_ANY__.
1750 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1752 * sysdeps/sh/fpu_control.h: New file.
1753 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1754 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1755 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1756 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1757 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1758 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1759 * sysdeps/sh/sys/ucontext.h: Remove.
1760 * sysdeps/sh/sys: Remove directory.
1762 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1764 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1765 s390/sys/ucontext.h.
1766 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1767 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1769 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1772 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1774 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1778 Adjust the vDSO correctly for internal calls.
1779 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1781 2014-01-20 Allan McRae <allan@archlinux.org>
1783 * po/ca.po: Update Catalan translation from translation project.
1785 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1787 * sysdeps/s390/sotruss-lib.c: New file.
1789 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1793 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1794 local calls issues by not having a PLT stub required for IFUNC calls.
1795 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1797 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1799 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1800 * math/test-fpucw-static.c: Likewise.
1802 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1805 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1807 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1809 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1810 implementation for powerpc.
1812 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1815 * sysdeps/posix/system.c (__libc_system): Do not enable
1816 asynchronous cancellation.
1818 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1821 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1822 handling only for numbers special also in the IEEE case.
1824 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1826 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1828 2014-01-11 Allan McRae <allan@archlinux.org>
1830 * po/bg.po: Update Bulgarian translation from translation project.
1832 * po/de.po: Update German translation from translation project.
1834 2014-01-10 Roland McGrath <roland@hack.frob.com>
1836 * sysdeps/generic/gcc-compat.h: New file.
1838 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1840 * benchtests/asin-inputs: Correct slow inputs.
1841 * benchtests/acos-inputs: Likewise.
1843 2014-01-10 Allan McRae <allan@archlinux.org>
1845 * po:sv.po: Update Swedish translation from translation project.
1847 * po/vi.po: Update Vietnamese translation from translation project.
1849 * po/eo.po: Update Esperanto translation from translation project.
1851 * po/cs.po: Update Czech translation from translation project.
1853 * po/nl.po: Update Dutch translation from translation project.
1855 * po/pl.po: Update Polish translation from translation project.
1857 * po/ru.po: Update Russian translation from translation project.
1859 * po/uk.po: Update Ukrainian translation from translation project.
1861 2014-01-08 Brooks Moses <bmoses@google.com>
1863 * elf/dl-load.c: Fix comment typo.
1865 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1867 * po/header.pot: Rename to...
1868 * po/pot.header: ... this.
1869 * po/Makefile: Use pot.header.
1871 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1872 Maxim Kuvyrkov <maxim@kugelworks.com>
1875 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1876 SRC and DEST against LEN.
1878 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1881 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1883 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1885 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1889 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1892 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1893 for large positive arguments.
1895 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1897 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1899 * math/auto-libm-test-in: Mark various tests with
1900 xfail-rounding:ldbl-128ibm.
1901 * math/auto-libm-test-out: Regenerated.
1904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1905 Increase overflow threshold.
1907 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1910 * stdio-common/vfprintf.c: Check for integer overflow.
1912 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1914 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1915 the first argument and return value of __tls_get_addr_internal.
1917 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1919 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1920 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1922 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1924 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1925 * sysdeps/s390/rtld-global-offsets.sym: New file.
1926 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1928 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1929 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1930 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1932 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1933 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1939 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1940 halfs of GPRs for high_gprs contexts.
1941 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1942 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1944 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1946 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1948 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1949 for high GPRs (uc_high_gprs) and for future extensions
1951 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1952 for future extensions (__reserved).
1953 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1955 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1956 SC_HIGHGPRS offset definition.
1957 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1958 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1960 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1962 * Versions.def: Add GLIBC_2.19 for libpthread.
1963 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1964 siglongjmp for libpthread with GLIBC_2.19 symver.
1965 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1966 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1967 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1968 * sysdeps/s390/__longjmp.c: New file.
1969 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1970 * sysdeps/s390/longjmp.c: New file.
1971 * sysdeps/s390/setjmp.S: New file.
1972 * sysdeps/s390/sigjmp.S: New file.
1973 * sysdeps/s390/v1-longjmp.c: New file.
1974 * sysdeps/s390/v1-setjmp.h: New file.
1975 * sysdeps/s390/v1-sigjmp.c: New file.
1976 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1977 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1979 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1980 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1981 versioned symbols for ____longjmp_chk.
1982 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1992 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1993 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1994 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1995 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1996 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1997 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1998 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1999 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2000 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2001 * sysdeps/s390/rtld-__longjmp.c: New file.
2002 * sysdeps/s390/rtld-setjmp.S: New file.
2004 2014-01-06 Joseph Myers <joseph@codesourcery.com>
2007 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2008 Return -__logl (x) for small positive arguments without evaluating
2011 2014-01-06 Mike Frysinger <vapier@gentoo.org>
2013 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2015 (__ptrace_peeksiginfo_args): ... this.
2016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2017 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2018 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2020 2014-01-06 Allan McRae <allan@archlinux.org>
2022 * inet/netinet/in.h: Fix typo in comment.
2024 2014-01-05 Andreas Jaeger <aj@suse.de>
2026 * sysdeps/i386/fpu/libm-test-ulps: Update.
2028 2014-01-05 Allan McRae <allan@archlinux.org>
2030 * po/libc.pot: Regenerated.
2032 * malloc/memusagestat.c: Fix gettext call formatting.
2034 2014-01-04 Sami Kerola <kerolasa@iki.fi>
2036 * nscd/nscd.c: Improve usage() output.
2038 2014-01-04 Mike Frysinger <vapier@gentoo.org>
2040 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2041 * sysdeps/unix/sysv/linux/configure: Regenerated.
2042 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2043 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2045 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2048 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2049 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2051 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2053 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2054 extra tokens at end of #undef directive.
2055 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2056 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2057 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2059 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2061 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2063 * math/auto-libm-test-in: Mark various tests with
2064 xfail-rounding:ldbl-128ibm.
2065 * math/auto-libm-test-out: Regenerated.
2067 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2070 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2071 numbers with subnormal high part when calculating exponent.
2074 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2078 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2080 (__ieee754_acoshl): Use __log1pl not __log1p.
2082 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2084 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2085 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2086 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2087 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2088 Convert to GNU style.
2089 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2090 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2091 memalign_check, __malloc_set_state): Likewise.
2092 * malloc/mallocbug.c (main): Likewise.
2093 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2094 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2095 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2096 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2097 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2098 * malloc/malloc.h: Likewise.
2099 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2100 memalignhook, reallochook, mabort): Likewise.
2101 * malloc/mcheck.h: Likewise.
2102 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2103 mmap64, mremap, munmap, dest): Likewise.
2104 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2105 * malloc/morecore.c (__default_morecore): Likewise.
2106 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2107 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2108 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2109 print_and_abort): Likewise.
2110 * malloc/obstack.h: Likewise.
2111 * malloc/set-freeres.c (__libc_freeres): Likewise.
2112 * malloc/tst-mallocstate.c (main): Likewise.
2113 * malloc/tst-mtrace.c (main): Likewise.
2114 * malloc/tst-realloc.c (do_test): Likewise.
2116 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2119 * nscd/netgroupcache.c (do_notfound): New function.
2120 (addgetnetgrentX): Use it.
2123 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2124 NSS_STATUS_NOTFOUND.
2126 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2128 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2131 2014-01-01 Allan McRae <allan@archlinux.org>
2133 * scripts/update-copyrights: Update configure input file suffix.
2135 * NEWS: Update copyright year.
2136 * catgets/gencat.c: Likewise.
2137 * csu/version.c: Likewise.
2138 * debug/catchsegv.sh: Likewise.
2139 * debug/pcprofiledump.c: Likewise.
2140 * debug/xtrace.sh: Likewise.
2141 * elf/ldconfig.c: Likewise.
2142 * elf/ldd.bash.in: Likewise.
2143 * elf/pldd.c: Likewise.
2144 * elf/sotruss.ksh: Likewise.
2145 * elf/sprof.c: Likewise.
2146 * iconv/iconv_prog.c: Likewise.
2147 * iconv/iconvconfig.c: Likewise.
2148 * locale/programs/locale.c: Likewise.
2149 * locale/programs/localedef.c: Likewise.
2150 * login/programs/pt_chown.c: Likewise.
2151 * malloc/memusage.sh: Likewise.
2152 * malloc/memusagestat.c: Likewise.
2153 * malloc/mtrace.pl: Likewise.
2154 * manual/libc.texinfo: Likewise.
2155 * nscd/nscd.c: Likewise.
2156 * nss/getent.c: Likewise.
2157 * nss/makedb.c: Likewise.
2158 * posix/getconf.c: Likewise.
2159 * scripts/test-installation.pl: Likewise.
2161 * All files with FSF copyright notices: Update copyright dates
2162 using scripts/update-copyrights.
2163 * intl/plural.c: Regenerated.
2164 * locale/programs/charmap-kw.h: Likewise.
2165 * locale/programs/locfile-kw.h: Likewise.
2167 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2169 * sysdeps/unix/sysv/linux/configure: Regenerated.
2170 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2171 the linux/fanotify.h header.
2172 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2173 HAVE_LINUX_FANOTIFY_H is defined.
2175 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2177 * benchtests/cos-inputs: New inputs.
2178 * benchtests/sin-inputs: Likewise.
2180 * benchtests/atan-inputs: New inputs. Fix name of multiple
2181 precision fallback inputs.
2183 * benchtests/atanh-inputs: New inputs.
2184 * benchtests/tanh-inputs: Likewise.
2186 * benchtests/acosh-inputs: New inputs.
2187 * benchtests/asinh-inputs: Likewise.
2189 * benchtests/cosh-inputs: New inputs.
2190 * benchtests/sinh-inputs: Likewise.
2192 * benchtests/acos-inputs: Add more inputs.
2193 * benchtests/asin-inputs: Likewise.
2195 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2198 * manual/arith.texi: Fix spelling.
2199 * manual/charset.texi: Likewise.
2200 * manual/errno.texi: Likewise.
2201 * manual/filesys.texi: Likewise.
2202 * manual/lang.texi: Likewise.
2203 * manual/llio.texi: Likewise.
2204 * manual/locale.texi: Likewise.
2205 * manual/message.texi: Likewise.
2206 * manual/resource.texi: Likewise.
2207 * manual/search.texi: Likewise.
2208 * manual/setjmp.texi: Likewise.
2209 * manual/stdio.texi: Likewise.
2210 * manual/string.texi: Likewise.
2211 * manual/sysinfo.texi: Likewise.
2212 * manual/time.texi: Likewise.
2214 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2216 * po/sl.po: New file.
2218 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2220 * .gitignore: Add core/.gdbinit/.gdb_history.
2222 2013-12-27 Allan McRae <allan@archlinux.org>
2225 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2226 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2228 2013-12-24 Brooks Moses <bmoses@google.com>
2230 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2231 all compilers that claim C++98 compliance, not just GCC.
2232 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2235 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2237 * NEWS: Restore accidentally deleted bug-fix entries.
2239 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2240 Ondřej Bílka <neleai@seznam.cz>
2243 * malloc/malloc.c (_int_free): Perform sanity check only if we
2246 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2249 * manual/stdio.texi (String Input Conversions): Clarify that character
2250 classes are not supported.
2252 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2256 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2259 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2260 Calculate results for small negative arguments directly rather
2261 than using reflection formula with special underflow handling.
2263 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2264 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2265 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2266 (fchflags): Likewise.
2268 (setlogin): Likewise.
2269 (sigaltstack): Likewise.
2272 (sigsetmask): Likewise.
2274 (waitpid): Likewise.
2275 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2276 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2278 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2279 * sysdeps/unix/bsd/Makefile: ... here.
2280 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2281 * sysdeps/unix/bsd/Versions: ... here.
2282 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2283 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2284 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2285 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2286 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2287 * sysdeps/unix/bsd/sigblock.c: ... here.
2288 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2289 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2290 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2291 * sysdeps/unix/bsd/sigvec.c: ... here.
2292 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2293 * sysdeps/unix/bsd/tcdrain.c: ... here.
2294 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2295 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2296 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2297 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2298 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2299 * sysdeps/unix/bsd/wait.c: ... here.
2300 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2301 * sysdeps/unix/bsd/wait3.c: ... here.
2302 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2303 * sysdeps/unix/bsd/waitpid.c: ... here.
2305 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2308 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2309 round-to-nearest for [!USE_AS_EXPM1L].
2310 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2311 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2312 more tests of exp and exp10. Expect some exp10 tests to miss
2313 exceptions or fail in directed rounding modes.
2314 * math/auto-libm-test-out: Regenerated.
2315 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2316 (exp10_test_tonearest): New function.
2317 (exp10_towardzero_test_data): New array.
2318 (exp10_test_towardzero): New function.
2319 (exp10_downward_test_data): New array.
2320 (exp10_test_downward): New function.
2321 (exp10_upward_test_data): New array.
2322 (exp10_test_upward): New function.
2323 (main): Call the new functions.
2324 * sysdeps/i386/fpu/libm-test-ulps: Update.
2325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2327 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2329 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2330 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2331 * math/auto-libm-test-out: Regenerated.
2332 * math/libm-test.inc (acosh_test_data): Add more tests.
2333 (atanh_test_data): Likewise.
2334 (ceil_test_data): Likewise.
2335 (copysign_test_data): Likewise.
2336 * sysdeps/i386/fpu/libm-test-ulps: Update.
2337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2339 * timezone/checktab.awk: Update from tzcode 2013i.
2340 * timezone/private.h: Likewise.
2341 * timezone/scheck.c: Likewise.
2342 * timezone/tzfile.h: Likewise.
2343 * timezone/tzselect.ksh: Likewise.
2344 * timezone/zdump.c: Likewise.
2345 * timezone/zic.c: Likewise.
2347 * math/auto-libm-test-in: Add tests of cpow.
2348 * math/auto-libm-test-out: Regenerated.
2349 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2350 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2352 (func_calc_desc): Add mpc_cc_c union field.
2353 (test_functions): Add cpow.
2354 (special_fill_2pi): New function.
2355 (special_real_inputs): Add 2pi.
2356 (calc_generic_results): Handle mpc_cc_c.
2357 * sysdeps/i386/fpu/libm-test-ulps: Update.
2358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2360 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2361 csqrt, ctan and ctanh.
2362 * math/auto-libm-test-out: Regenerated.
2363 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2364 (TEST_COND_x86): Likewise.
2365 (ccos_test_data): Use AUTO_TESTS_c_c.
2366 (ccosh_test_data): Likewise.
2367 (cexp_test_data): Likewise.
2368 (clog_test_data): Likewise.
2369 (csqrt_test_data): Likewise.
2370 (ctan_test_data): Likewise.
2371 (ctan_tonearest_test_data): Likewise.
2372 (ctan_towardzero_test_data): Likewise.
2373 (ctan_downward_test_data): Likewise.
2374 (ctan_upward_test_data): Likewise.
2375 (ctanh_test_data): Likewise.
2376 (ctanh_tonearest_test_data): Likewise.
2377 (ctanh_towardzero_test_data): Likewise.
2378 (ctanh_downward_test_data): Likewise.
2379 (ctanh_upward_test_data): Likewise.
2380 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2382 (func_calc_desc): Add mpc_c_c union field.
2383 (FUNC_mpc_c_c): New macro.
2384 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2385 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2387 (special_fill_min_subnorm_p120): New function.
2388 (special_real_inputs): Add min_subnorm_p120.
2389 (calc_generic_results): Handle mpc_c_c.
2390 * sysdeps/i386/fpu/libm-test-ulps: Update.
2391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2393 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2395 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2396 do_sin_slow): New functions.
2397 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2398 cslow2, csloww1, csloww2): Use the new functions.
2400 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2401 Use M to change sign of result instead of X. Assume X is
2403 (csloww1): Likewise.
2407 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2412 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2414 (sloww1): Don't adjust sign of DX.
2415 (csloww1): Likewise.
2416 (sloww2): Use X directly and don't adjust sign of DX.
2417 (csloww2): Likewise.
2419 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2421 * math/auto-libm-test-in: Add tests of cabs and carg.
2422 * math/auto-libm-test-out: Regenerated.
2423 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2424 (carg_test_data): Likewise.
2425 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2427 (func_calc_desc): Add mpc_c_f union field.
2428 (test_functions): Add cabs and carg.
2429 (calc_generic_results): Handle mpc_c_f.
2431 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2432 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2433 as a macro and a compat symbol.
2434 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2435 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2436 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2437 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2438 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2441 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2443 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2445 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2447 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2449 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2451 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2452 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2455 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2459 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2461 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2462 trailing whitespace removed.
2463 * scripts/config.guess: Update to version 2013-11-29.
2464 * scripts/config.sub: Update to version 2013-10-01.
2466 * math/auto-libm-test-in: Add tests of sincos.
2467 * math/auto-libm-test-out: Regenerated.
2468 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2469 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2471 (func_calc_desc): Add mpfr_f_11 union field.
2472 (test_functions): Add sincos.
2473 (calc_generic_results): Handle mpfr_f_11.
2474 * sysdeps/i386/fpu/libm-test-ulps: Update.
2475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2477 2013-12-19 Andreas Schwab <schwab@suse.de>
2479 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2481 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2483 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2485 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2487 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2488 * sysdeps/i386/fpu/libm-test-ulps: Update.
2489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2493 round-to-nearest mode when using frndint.
2494 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2495 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2496 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2498 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2500 * math/auto-libm-test-out: Regenerated.
2501 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2502 (TEST_COND_x86): Likewise.
2503 (expm1_tonearest_test_data): New array.
2504 (expm1_test_tonearest): New function.
2505 (expm1_towardzero_test_data): New array.
2506 (expm1_test_towardzero): New function.
2507 (expm1_downward_test_data): New array.
2508 (expm1_test_downward): New function.
2509 (expm1_upward_test_data): New array.
2510 (expm1_test_upward): New function.
2511 (main): Run the new test functions.
2512 * sysdeps/i386/fpu/libm-test-ulps: Update.
2513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2515 * include/features.h: Update comment documenting feature test
2516 macros. Mention _DEFAULT_SOURCE in comment.
2517 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2518 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2519 _BSD_SOURCE and _SVID_SOURCE.
2520 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2521 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2522 !_SVID_SOURCE]: Likewise.
2523 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2524 (__USE_POSIX_IMPLICITLY): Define.
2525 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2526 (_POSIX_SOURCE): Undefine and redefine.
2527 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2528 (_POSIX_C_SOURCE): Likewise.
2529 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2530 (Feature Test Macros): Update documentation of default features.
2532 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2534 * benchtests/Makefile: Add bench-strtok.
2535 * benchtests/bench-strtok.c: New file: strtok benchtest.
2537 2013-12-19 Allan McRae <allan@archlinux.org>
2539 * manual/install.texi: Suppress menu for plain text output.
2540 * INSTALL: Regenerated.
2542 2013-12-18 Brooks Moses <bmoses@google.com>
2545 * misc/getauxval.c: Include errno.h.
2546 (__getauxval): Set errno to ENOENT if the requested type is not
2548 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2549 don't declare with __attribute_const__.
2550 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2551 * manual/startup.texi: Document that getauxval sets errno.
2553 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2555 * math/auto-libm-test-in: Add tests of jn and yn.
2556 * math/auto-libm-test-out: Regenerated.
2557 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2558 (yn_test_data): Likewise.
2559 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2561 (func_calc_desc): Add mpfr_if_f union field.
2562 (FUNC_mpfr_if_f): New macro.
2563 (test_functions): Add jn and yn.
2564 (calc_generic_results): Assert type of second input for
2565 mpfr_ff_f. Handle mpfr_if_f.
2566 (output_for_one_input_case): Disable all checking for arguments
2567 fitting floating-point types in case of an integer argument.
2568 * sysdeps/i386/fpu/libm-test-ulps: Update.
2569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2572 Don't expect fegetround reference in libm.so.
2574 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2576 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2577 $(config-cflags-nofma).
2579 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2581 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2582 * math/auto-libm-test-out: Regenerated.
2585 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2586 to determine exponent and adjust argument to have exponent of -1.
2587 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2589 * math/auto-libm-test-out: Regenerated.
2590 * sysdeps/i386/fpu/libm-test-ulps: Update.
2591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2593 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2595 * manual/probes.texi: Remove cases when per-thread arenas are
2598 2013-12-18 Andreas Schwab <schwab@suse.de>
2600 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2601 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2602 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2603 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2604 * sysdeps/i386/i686/multiarch/Makefile: Update.
2605 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2607 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2609 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2610 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2612 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2615 Support TZ transition times < 00:00:00.
2616 This is needed for version-3 tz-format files; it supports time
2617 stamps past 2037 for America/Godthab (the only entry in the tz
2618 database for which this change is relevant).
2619 * manual/time.texi (TZ Variable): Document transition times
2620 from -167:59:59 through -00:00:01.
2621 * time/tzset.c (tz_rule): Time of day is now signed.
2622 (__tzset_parse_tz): Parse negative time of day.
2624 Document TZ transition times >= 25:00:00.
2625 * manual/time.texi (TZ Variable): Document transition times from
2626 25:00:00 through 167:59:59. These are already supported, and this
2627 support will help with version-3 tz-format files.
2629 * manual/time.texi (TZ Variable): Modernize North America example
2630 to reflect current (i.e., 2007-and-later) daylight saving rules.
2632 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2634 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2636 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2637 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2640 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2641 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2642 * sysdeps/unix/bsd/clock.c: Likewise.
2643 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2644 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2645 * sysdeps/unix/bsd/init-posix.c: Likewise.
2646 * sysdeps/unix/bsd/poll.c: Likewise.
2647 * sysdeps/unix/bsd/ptsname.c: Likewise.
2648 * sysdeps/unix/bsd/seekdir.c: Likewise.
2649 * sysdeps/unix/bsd/setegid.c: Likewise.
2650 * sysdeps/unix/bsd/seteuid.c: Likewise.
2651 * sysdeps/unix/bsd/setgid.c: Likewise.
2652 * sysdeps/unix/bsd/setrgid.c: Likewise.
2653 * sysdeps/unix/bsd/setruid.c: Likewise.
2654 * sysdeps/unix/bsd/setsid.c: Likewise.
2655 * sysdeps/unix/bsd/setuid.c: Likewise.
2656 * sysdeps/unix/bsd/sigaction.c: Likewise.
2657 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2658 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2659 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2660 * sysdeps/unix/bsd/telldir.c: Likewise.
2661 * sysdeps/unix/bsd/times.c: Likewise.
2662 * sysdeps/unix/bsd/usleep.c: Likewise.
2664 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2665 ($(objpfx)libbsd-compat.a): Remove rule.
2667 * include/features.h (__FAVOR_BSD): Do not define.
2668 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2669 features conflicting with POSIX.
2670 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2671 (_BSD_SOURCE): Remove description of not being a subset of other
2672 feature test macros.
2673 * manual/job.texi (getpgrp): Do not document BSD version.
2674 (getpgid): Do not document by reference to BSD getpgrp.
2675 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2676 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2677 * signal/signal.h [__FAVOR_BSD]: Likewise.
2678 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2679 instead of making contents conditional on [__FAVOR_BSD].
2680 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2682 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2686 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2689 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2690 values below 2**-450, not 2**-500.
2691 * math/auto-libm-test-in: Don't allow spurious underflow from
2693 * math/auto-libm-test-out: Regenerated.
2697 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2698 values of ha and hb and sort them after adjusting subnormal
2700 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2702 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2703 values of ea and eb and sort them after adjusting subnormal
2705 * math/auto-libm-test-in: Do not expect some hypot tests of
2706 subnormals to fail. Add more hypot tests.
2707 * math/auto-libm-test-out: Regenerated.
2709 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2712 * sysdeps/sh/s_fma.c: New file.
2713 * sysdeps/sh/s_fmaf.c: New file.
2714 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2716 * sysdeps/sh/Implies: Add sh/soft-fp.
2718 2013-12-16 Roland McGrath <roland@hack.frob.com>
2720 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2721 level of indirection to members `objname', `errstring', `malloced'.
2722 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2723 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2724 it as the __longjmp argument (just pass 1 instead).
2725 (_dl_catch_error): Initialize C with argument pointers and address of
2726 volatile local ERRCODE rather than copying values out of C at return.
2728 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2730 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2731 * math/auto-libm-test-out: Regenerated.
2732 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2733 (hypot_test_data): Likewise.
2734 (pow_test_data): Likewise.
2735 (pow_tonearest_test_data): Likewise.
2736 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2738 (func_calc_desc): Add mpfr_ff_f union field.
2739 (FUNC_mpfr_ff_f): New macro.
2740 (test_functions): Add atan2, hypot and pow.
2741 (special_fill_min): New function.
2742 (special_fill_minus_min): Likewise.
2743 (special_fill_min_subnorm): Likewise.
2744 (special_fill_minus_min_subnorm): Likewise.
2745 (special_real_inputs): Add min, -min, min_subnorm and
2747 (calc_generic_results): Handle mpfr_ff_f.
2748 * sysdeps/i386/fpu/libm-test-ulps: Update.
2749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2751 2013-12-16 Will Newton <will.newton@linaro.org>
2753 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2754 (Aligned Memory Blocks): Add documentation for aligned_alloc
2755 and suggest it as an alternative to posix_memalign.
2756 (Hooks for Malloc): Document __memalign_hook is also called
2757 for aligned_alloc. (Summary of Malloc): Add summary for
2758 aligned alloc. Document __memalign_hook is also called
2761 2013-12-16 Will Newton <will.newton@linaro.org>
2763 * manual/memory.texi (Malloc Examples): Clarify default
2764 alignment documentation. Suggest posix_memalign rather
2765 than memalign or valloc.
2766 (Aligned Memory Blocks): Remove suggestion to use memalign
2767 or valloc. Remove obsolete comment about BSD.
2768 Document memalign errno values and mark the function obsolete.
2769 Document posix_memalign returned error codes. Mark valloc
2770 as obsolete. (Hooks for Malloc): __memalign_hook is also
2771 called for posix_memalign and valloc.
2772 (Summary of Malloc): Add posix_memalign to function summary.
2773 __memalign_hook is also called for posix_memalign and valloc.
2775 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2777 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2781 (sloww): Use mynumber union. Expand ternary operator into
2783 (cslow): use mynumber union.
2785 2013-12-16 Allan McRae <allan@archlinux.org>
2787 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2788 * configure: Regenerated.
2790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2793 * configure.ac: Added --enable-maintainer-mode. Check for
2794 autoconf when enabled.
2795 * configure: Regenerated.
2797 * nscd/nscd.service: New file.
2798 * nscd/nscd.tmpfiles: New file.
2800 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2803 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2804 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2805 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2806 (strstr): Add __strstr_sse2_unaligned ifunc.
2807 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2808 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2809 (strcasestr): Remove __strcasestr_sse42 ifunc.
2810 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2814 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2816 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2817 * sysdeps/sh/bits/fenv.h: ... here.
2818 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2820 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2822 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2824 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2827 hypotf multiarch implementations.
2828 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2831 multiarch hypot for PPC64.
2832 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2833 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2834 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2835 multiarch hypotf for PPC64.
2837 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2840 modff multiarch implementations.
2841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2844 multiarch modf for PPC64.
2845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2848 multiarch modff for PPC64.
2850 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2853 and logl multiarch implementations.
2854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2857 multiarch logb for PPC64.
2858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2861 multiarch logb for PPC64.
2862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2865 multiarch logb for PPC64.
2867 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2870 isinff multiarch implementation.
2871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2875 multiarch isinf for PPC64.
2876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2879 multiarch isinff for PPC64.
2881 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2884 finitef multiarch implementation.
2885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2889 multiarch finite for PPC64.
2890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2893 multiarch finitef for PPC64.
2895 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2898 lrint multiarch implementation.
2899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2903 multiarch llrint for PPC64.
2904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2905 multiarch lrint for PPC64.
2907 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2910 copysignf multiarch implementation.
2911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2916 multiarch copysign for PPC64.
2917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2918 multiarch copysignf for PPC64.
2920 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2923 multiarch implementation.
2924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2932 multiarch llround for PPC64.
2933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2934 multiarch trunc for PPC64.
2935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2936 multiarch truncf for PPC64.
2938 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2941 multiarch implementation.
2942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2950 multiarch llround for PPC64.
2951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2952 multiarch round for PPC64.
2953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2954 multiarch roundf for PPC64.
2956 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2959 multiarch implementation.
2960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2968 multiarch llround for PPC64.
2969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2970 multiarch floor for PPC64.
2971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2972 multiarch floorf for PPC64.
2974 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2977 multiarch implementation.
2978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2986 multiarch llround for PPC64.
2987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2988 multiarch ceil for PPC64.
2989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2990 multiarch ceilf for PPC64.
2992 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2995 multiarch implementation.
2996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3003 multiarch llround for PPC64.
3004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3005 multiarch lround for PPC64.
3007 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3010 multiarch implementation.
3011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3018 multiarch isnan for PPC64.
3019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3020 multiarch isnanf for PPC64.
3022 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3024 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3025 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3026 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3027 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3028 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3031 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3033 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3034 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3038 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3041 multiarch implementations.
3042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3043 (__libc_ifunc_impl_list): Likewise.
3044 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3045 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3046 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3047 multiarch stpcpy for PPC64.
3049 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3052 multiarch implementations.
3053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3054 (__libc_ifunc_impl_list): Likewise.
3055 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3056 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3057 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3058 multiarch strcpy for PPC64.
3060 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3062 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3063 redefine function name.
3064 (_wordcopy_fwd_dest_aligned): Likewise.
3065 (_wordcopy_bwd_aligned): Likewise.
3066 (_wordcopy_bwd_dest_aligned): Likewise.
3067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3068 multiarch implementations.
3069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3070 (__libc_ifunc_impl_list): Likewise.
3071 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3072 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3073 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3074 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3075 multiarch wcscpy for PPC64.
3077 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3080 multiarch implementations.
3081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3082 (__libc_ifunc_impl_list): Likewise.
3083 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3084 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3085 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3086 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3087 multiarch wcscpy for PPC64.
3089 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3092 multiarch implementations.
3093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3094 (__libc_ifunc_impl_list): Likewise.
3095 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3096 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3097 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3098 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3099 multiarch wcsrchr for PPC64.
3101 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3104 multiarch implementations.
3105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3106 (__libc_ifunc_impl_list): Likewise.
3107 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3108 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3109 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3110 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3111 multiarch wcschr for PPC64.
3113 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3116 multiarch implementations.
3117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3118 (__libc_ifunc_impl_list): Likewise.
3119 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3120 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3121 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3122 multiarch strchrnul for PPC64.
3124 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3129 (__libc_ifunc_impl_list): Likewise.
3130 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3131 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3132 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3133 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3136 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3141 (__libc_ifunc_impl_list): Likewise.
3142 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3143 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3144 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3145 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3148 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3151 multiarch implementations.
3152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3153 (__libc_ifunc_impl_list): Likewise.
3154 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3155 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3156 strncasecmp for PPC64.
3157 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3158 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3159 multiarch strncasecmp_l for PPC64.
3161 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3164 multiarch implementations.
3165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3166 (__libc_ifunc_impl_list): Likewise.
3167 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3168 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3169 multiarch strcasecmp for PPC64.
3170 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3172 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3173 multiarch strcasecmp_l for PPC64.
3175 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3180 (__libc_ifunc_impl_list): Likewise.
3181 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3182 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3183 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3186 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3191 (__libc_ifunc_impl_list): Likewise.
3192 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3193 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3194 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3197 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3202 (__libc_ifunc_impl_list): Likewise.
3203 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3204 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3205 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3206 rawmemrchr for PPC64.
3208 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3213 (__libc_ifunc_impl_list): Likewise.
3214 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3215 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3216 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3219 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3224 (__libc_ifunc_impl_list): Likewise.
3225 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3226 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3227 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3230 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3235 (__libc_ifunc_impl_list): Likewise.
3236 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3237 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3238 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3241 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3243 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3244 avoid cretion of __bzero symbol.
3245 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3247 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3249 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3252 multiarch implementations.
3253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3254 (__libc_ifunc_impl_list): Likewise.
3255 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3256 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3257 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3258 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3260 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3261 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3262 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3263 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3264 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3266 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3268 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3270 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3274 (__libc_ifunc_impl_list): Likewise.
3275 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3276 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3277 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3278 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3281 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3284 multiarch for POWER/PPC64.
3285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3286 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3287 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3288 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3289 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3290 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3291 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3292 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3293 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3296 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3298 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3299 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3300 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3301 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3302 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3303 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3304 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3305 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3306 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3307 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3308 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3309 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3310 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3311 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3312 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3321 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3323 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3325 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3327 * benchtests/Makefile (bench): Add exp2 and log2.
3328 (LDLIBS-bench-exp2): Add -lm.
3329 (LDLIBS-bench-log2): Likewise.
3330 * benchtests/exp2-inputs: New inputs file.
3331 * benchtests/log2-inputs: New inputs file.
3332 * benchtests/log-inputs: Add new inputs.
3333 * benchtests/tan-inputs: Likewise.
3335 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3337 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3339 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3340 csloww1, csloww2): ... from here.
3342 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3343 instead of structures.
3344 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3345 (POLYNOMIAL): Likewise.
3346 (TAYLOR_SLOW): Likewise.
3354 (bsloww1): Likewise.
3355 (bsloww2): Likewise.
3358 (csloww1): Likewise.
3359 (csloww2): Likewise.
3361 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3363 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3364 (__malloc_assert, __libc_realloc, __libc_calloc,
3365 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3367 * malloc/hooks.c (realloc_check): Likewise.
3369 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3371 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3372 * malloc/arena.c: Remove PER_THREAD conditional.
3373 [!PER_THREAD]: Remove code.
3374 (ptmalloc_unlock_all2): Likewise.
3375 (ptmalloc_init): Likewise.
3376 (_int_new_arena): Likewise.
3377 (arena_get2): Likewise.
3378 * malloc/hooks.c (__malloc_get_state): Likewise.
3379 (__malloc_set_state): Likewise.
3380 * malloc/malloc.c: Likewise.
3381 (struct malloc_state): Likewise.
3382 (struct malloc_par): Likewise.
3383 (__libc_realloc): Likewise.
3384 (__libc_mallopt): Likewise.
3386 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3388 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3390 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3392 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3393 macro to a function. Check for zero perturb_byte.
3394 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3396 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3398 * malloc/malloc.c: (force_reg): Remove.
3399 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3400 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3401 force_reg by atomic_forced_read.
3402 * malloc/arena.c (ptmalloc_init): Likewise.
3403 * malloc/hooks.c (top_check): Likewise.
3405 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3409 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3413 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3415 * math/auto-libm-test-in: Add tests of lgamma.
3416 * math/auto-libm-test-out: Regenerated.
3417 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3418 (M_LOG_2_SQRT_PIl): Likewise.
3419 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3420 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3422 (func_calc_desc): Add mpfr_f_f1 union field.
3431 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3432 (test_functions): Add lgamma.
3433 (calc_generic_results): Handle mpfr_f_f1.
3434 * sysdeps/i386/fpu/libm-test-ulps: Update.
3435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3437 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3439 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3440 __mpn_add_n for PowerPC64/POWER7.
3441 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3442 __mpn_sub_n for PowerPC64/POWER7.
3444 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3446 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3447 __mpn_addmul_1 for PowerPC64.
3448 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3449 __mpn_submul_1 for PowerPC64.
3450 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3452 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3455 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3458 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3460 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3462 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3464 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3466 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3467 add multiarch folders.
3468 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3469 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3470 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3471 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3472 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3473 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3474 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3475 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3476 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3477 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3478 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3486 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3489 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3495 multiarch __ieee754_hypot for PowerPC32.
3496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3501 multiarch __ieee754_hypotf for PowerPC32.
3503 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3506 long_double_symbol only if __logbl is defined.
3507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3508 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3510 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3511 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3512 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3513 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3514 path for implementation.
3515 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3518 logb, and logbl multiarch implementations for PowerPC32.
3519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3524 multiarch logb for PowerPC32.
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3530 multiarch logbf for PowerPC32.
3531 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3535 multiarch logbl implementation for PowerPC32.
3537 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3540 and modff multiarch implementations.
3541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3546 multiarch modf for PowerPC32.
3547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3552 multiarch modff for PowerPC32.
3554 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3557 and lrintf multiarch implementations.
3558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3563 multiarch lrint for PowerPC32.
3564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3565 file: multiarch lrintf for PowerPC32.
3567 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3570 and lroundf multiarch implementations.
3571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3578 multiarch lround for PowerPC32.
3579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3580 file: multiarch lroundf for PowerPC32.
3582 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3585 copysign and copysignf multiarch implementations.
3586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3591 file: multiarch copysign for PowerPC32.
3592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3593 file: multiarch copysignf for PowerPC32.
3595 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3598 and truncf multiarch implementations.
3599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3604 multiarch trunc for PowerPC32.
3605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3610 multiarch truncf for PowerPC32.
3612 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3615 and roundf multiarch implementations.
3616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3621 multiarch round for PowerPC32.
3622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3627 multiarch roundf for PowerPC32.
3629 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3632 and floorf multiarch implementations.
3633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3638 multiarch floor for PowerPC32.
3639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3644 multiarch floorf for PowerPC32.
3646 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3649 and ceilf multiarch implementations.
3650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3655 multiarch ceil for PowerPC32.
3656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3661 multiarch ceilf for PowerPC32.
3663 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3665 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3667 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3670 and finitef multiarch implementations.
3671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3676 multiarch finite for PowerPC32.
3677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3680 file: multiarch finitef for PowerPC32.
3682 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3685 and isinff multiarch implementations.
3686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3691 multiarch isinf for PowerPC32.
3692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3695 multiarch isinff for PowerPC32.
3697 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3699 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3700 alias when __isnan is defined.
3701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3702 and isnanf multiarch implementations.
3703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3712 multiarch isnan for PowerPC32.
3713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3718 multiarch isnanf for PowerPC32.
3720 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3723 and sqrtf multiarch implementations.
3724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3729 multiarch sqrt for PowerPC32.
3730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3735 multiarch sqrtf for PowerPC32.
3737 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3740 and llroundf multiarch implementations.
3741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3748 file: multiarch llround for PowerPC32.
3749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3750 file: multiarch llroundf for PowerPC32.
3752 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3755 multiarch PowerPC32 fpu implementations.
3756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3761 multiarch llrint for PowerPC32.
3762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3769 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3773 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3777 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3779 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3781 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3782 multiarch wordcopy for PPC32.
3783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3786 (__libc_ifunc_impl_list): Likewise.
3787 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3788 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3789 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3790 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3791 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3792 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3794 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3796 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3803 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3804 multiarch wcscpy for PPC32.
3805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3808 (__libc_ifunc_impl_list): Likewise.
3809 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3810 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3811 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3812 sysdeps/powerpc/power6/wcscpy.c.
3814 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3816 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3824 multiarch wcsrchr for PPC32.
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3828 (__libc_ifunc_impl_list): Likewise.
3829 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3830 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3831 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3832 sysdeps/powerpc/power6/wcsrchr.c.
3834 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3842 multiarch wcschr for PPc32.
3843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3846 (__libc_ifunc_impl_list): Likewise.
3847 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3848 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3849 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3850 sysdeps/powerpc/power6/wcschr.c.
3852 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3854 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3855 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3857 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3858 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3859 file: multiarch strchr for PPC32.
3860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3863 (__libc_ifunc_impl_list): Likewise.
3865 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3867 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3869 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3871 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3873 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3874 multiarch strchrnul for PPC32.
3875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3878 (__libc_ifunc_impl_list): Likewise.
3880 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3882 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3884 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3885 multiarch strncasecmp for PPC32.
3886 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3888 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3889 multiarch strncasecmp_l for PPC32.
3890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3891 strncasecmp multiarch objects.
3892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3893 (__libc_ifunc_impl_list): Likewise.
3895 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3897 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3899 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3900 multiarch strncasecmp for PPC32.
3901 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3903 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3904 multiarch strcasecmp_l for PPC32.
3905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3908 (__libc_ifunc_impl_list): Likewise.
3910 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3917 multiarch strncmp for PPC32.
3918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3921 (__libc_ifunc_impl_list): Likewise.
3923 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3925 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3926 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3928 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3929 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3933 (__libc_ifunc_impl_list): Likewise.
3935 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3937 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3939 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3941 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3945 (__libc_ifunc_impl_list): Likewise.
3947 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3949 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3951 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3953 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3954 multiarch rawmemchr for PPC32.
3955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3958 (__libc_ifunc_impl_list): Likewise.
3960 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3962 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3964 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3966 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3967 file: memrchr multiarch for PPC32.
3968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3971 (__libc_ifunc_impl_list): Likewise.
3973 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3975 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3976 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3978 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3979 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3980 multiarch memchr for PPC32.
3981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3984 (__libc_ifunc_impl_list): Likewise.
3986 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3988 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3989 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3991 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3993 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3994 file: multiarch mempcpy for PPC32.
3995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3998 (__libc_ifunc_impl_list): Likewise.
4000 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4002 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4003 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4004 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4005 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4006 multiarch bzero for PPC32.
4007 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4009 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4011 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4012 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4013 file: multiarch memset for PPC32.
4014 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4016 memset multiarch objects.
4017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4018 (__libc_ifunc_impl_list): Likewise.
4020 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4027 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4031 (__libc_ifunc_impl_list): Likewise.
4033 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4037 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4039 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4041 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4043 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4044 multiarch memcpy for PPC32.
4045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4048 (__libc_ifunc_impl_list): Likewise.
4050 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4053 support multiarch for POWER/PPC32.
4054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4056 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4058 Implies file to make multiarch folder appers before the fpu and
4059 default folder for power4 configuration.
4061 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4063 * scripts/bench.pl: Append volatile keyword to type.
4065 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4067 * sysdeps/sh/sotruss-lib.c: New file.
4068 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4070 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4074 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4077 * math/w_tgamma.c: Include <errno.h>.
4078 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4079 * math/w_tgammaf.c: Include <errno.h>.
4080 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4081 * math/w_tgammal.c: Include <errno.h>.
4082 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4083 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4084 underflow. Add more tgamma tests.
4085 * math/auto-libm-test-out: Regenerated.
4086 * sysdeps/i386/fpu/libm-test-ulps: Update.
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4090 sin, sinh, tan, tanh, tgamma, y0 and y1.
4091 * math/auto-libm-test-out: Regenerated.
4092 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4093 (TEST_COND_x86): Likewise.
4094 (M_E2l): Remove macro.
4096 (M_2_SQRT_PIl): Likewise.
4097 (M_SQRT_PIl): Likewise.
4098 (M_1_DIV_El): Likewise.
4099 (log_test_data): Use AUTO_TESTS_f_f.
4100 (log10_test_data): Likewise.
4101 (log1p_test_data): Likewise.
4102 (log2_test_data): Likewise.
4103 (sin_test_data): Likewise.
4104 (sin_tonearest_test_data): Likewise.
4105 (sin_towardzero_test_data): Likewise.
4106 (sin_downward_test_data): Likewise.
4107 (sin_upward_test_data): Likewise.
4108 (sinh_test_data): Likewise.
4109 (sinh_tonearest_test_data): Likewise.
4110 (sinh_towardzero_test_data): Likewise.
4111 (sinh_downward_test_data): Likewise.
4112 (sinh_upward_test_data): Likewise.
4113 (tan_test_data): Likewise.
4114 (tan_tonearest_test_data): Likewise.
4115 (tan_towardzero_test_data): Likewise.
4116 (tan_downward_test_data): Likewise.
4117 (tan_upward_test_data): Likewise.
4118 (tanh_test_data): Likewise.
4119 (tgamma_test_data): Likewise.
4120 (y0_test_data): Likewise.
4121 (y1_test_data): Likewise.
4122 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4123 (special_real_inputs): Add pi/4.
4124 * sysdeps/i386/fpu/libm-test-ulps: Update.
4125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4127 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4129 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4130 "longjmp_target" static probes.
4131 (__longjmp): Rename to __longjmp_symbol.
4132 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4133 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4134 on which longjmp to generate.
4135 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4136 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4138 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4139 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4140 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4141 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4142 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4143 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4145 __longjmp_symbol based on which __longjmp to generate.
4146 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4148 (setjmp): Rename to setjmp_symbol.
4149 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4150 (_setjmp): Rename to _setjmp_symbol.
4151 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4152 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4153 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4154 which setjmp to generate.
4155 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4156 "longjmp_target" static probes.
4158 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4160 * benchtests/README: Add note about output arguments.
4161 * benchtests/bench-sincos.c: Remove file.
4162 * benchtests/sincos-inputs: New file.
4163 * scripts/bench.pl: Identify output arguments and define
4164 static variables for them.
4166 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4169 * Makefile (INSTALL): Add install-plain.texi as the primary
4171 * manual/install-plain.texi: New file.
4172 * manual/install.texi: Include node directive only for
4173 non-plaintext output.
4175 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4177 * stdlib/longlong.h: Update from GCC.
4181 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4182 * math/w_j0f.c (y0f): Likewise.
4183 * math/w_j0l.c (__y0l): Likewise.
4184 * math/w_j1.c (y1): Likewise.
4185 * math/w_j1f.c (y1f): Likewise.
4186 * math/w_j1l.c (__y1l): Likewise
4187 * math/w_jn.c (yn): Likewise.
4188 * math/w_jnf.c (ynf): Likewise.
4189 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4190 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4191 value for Bessel function domain errors outside _SVID_ mode.
4192 Adjust sign of return value for yn (negative integer, 0).
4193 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4194 by zero in return for negative x and set sign appropriately for
4196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4197 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4198 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4199 expectations in error cases.
4200 (y1_test_data): Likewise.
4201 (yn_test_data): Likewise.
4202 * sysdeps/i386/fpu/libm-test-ulps: Update.
4203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4205 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4207 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4208 "64" to "64-v1". Add "64-v2".
4209 (abi-64-options): Rename to ...
4210 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4211 (abi-64-condition): Rename to ...
4212 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4213 (abi-64-ld-soname): Rename to ...
4214 (abi-64-v1-ld-soname): ... this.
4215 (abi-64-v2-options): Define.
4216 (abi-64-v2-condition): Likewise.
4217 (abi-64-v2-ld-soname): Likewise.
4218 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4219 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4224 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4225 Alan Modra <amodra@gmail.com>
4227 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4228 New versions for use with the ELFv2 ABI.
4229 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4230 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4232 (struct La_ppc64v2_retval): Likewise.
4233 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4234 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4235 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4236 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4237 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4238 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4239 Do not save or restore CR.
4240 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4241 (_dl_profile_resolve): Do no save or restore CR. Support extended
4242 return values for ELFv2 ABI. Fix location of FPR return registers.
4243 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4244 updated values for _CALL_ELF == 2.
4245 (La_regs, La_retval, int_retval): Likewise.
4247 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4249 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4250 (FRAME_MIN_SIZE_PARM): Likewise.
4251 (FRAME_BACKCHAIN): Likewise.
4252 (FRAME_CR_SAVE): Likewise.
4253 (FRAME_LR_SAVE): Likewise.
4254 (FRAME_TOC_SAVE): Likewise.
4255 (FRAME_PARM_SAVE): Likewise.
4256 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4257 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4258 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4259 (call_mcount_parm_offset): New macro.
4260 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4261 (PROF): Use symbolic stack frame offsets.
4262 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4263 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4264 Redefine in terms of FRAME_MIN_SIZE.
4265 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4266 (_dl_profile_resolve): Likewise. Update comment.
4267 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4268 symbols stack frame offsets.
4269 (__sigsetjmp): Likewise.
4270 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4271 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4272 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4273 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4276 (FRAME_BACKCHAIN): Remove.
4277 (FRAME_CR_SAVE): Likewise.
4278 (FRAME_LR_SAVE): Likewise.
4279 (FRAME_COMPILER_DW): Likewise.
4280 (FRAME_LINKER_DW): Likewise.
4281 (FRAME_TOC_SAVE): Likewise.
4282 (FRAME_PARM_SAVE): Likewise.
4283 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4284 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4285 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4287 (CHECK_SP): Use symbolic stack frame offsets.
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4289 zone" instead of caller's parameter save area for temp storage.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4291 Likewise. Also, use symbolic stack frame offsets.
4292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4293 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4294 our own stack frame instead of the caller's.
4295 (__socket): Use symbolic stack frame offsets.
4297 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4298 Alan Modra <amodra@gmail.com>
4300 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4302 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4303 PPC64_LOCAL_ENTRY_OFFSET): Define.
4304 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4306 (elf_machine_fixup_plt): Call it.
4307 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4309 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4310 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4311 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4312 r2 before calling target.
4314 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4315 Alan Modra <amodra@gmail.com>
4317 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4318 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4319 versions of macros to support ELFv2 ABI.
4320 (LOCALENTRY): New macro.
4321 (ENTRY, EALIGN): Use it.
4322 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4323 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4324 fall through into ENTRY entry point.
4325 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4326 Only define if _CALL_ELF != 2.
4328 (elf_machine_matches_host): Verify ABI version matches.
4329 (RTLD_START): Use LOCALENTRY.
4330 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4331 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4332 (PLT_ENTRY_WORDS): New macro.
4333 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4334 (elf_machine_runtime_setup): Support ELFv2 ABI.
4335 (elf_machine_fixup_plt): Likewise.
4336 (elf_machine_plt_conflict): Likewise.
4337 (resolve_ifunc): Likewise.
4338 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4342 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4344 (makecontext): Support ELFv2 ABI.
4345 * elf/elf.h (EF_PPC64_ABI): Define.
4347 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4349 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4350 New assembler macro.
4351 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4352 [ASSEMBLER] (ENTRY): ... but instead here ...
4353 [ASSEMBLER] (EALIGN): ... and here.
4354 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4355 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4356 [!ASSEMBLER] (ENTRY_2): Use it.
4357 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4358 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4359 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4360 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4361 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4363 Use PPC64_LOAD_FUNCPTR.
4365 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4367 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4369 2013-12-04 Alan Modra <amodra@gmail.com>
4371 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4372 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4373 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4374 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4376 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4377 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4378 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4379 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4380 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4381 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4383 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4386 (__makecontext): Fix incorrect CFI when backtracing out of
4387 context created via makecontext.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4389 (__setcontext): Fix incorrect CFI during switch to new context.
4390 (__novec_setcontext): Likewise.
4392 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4395 * time/strptime_l.c (__strptime_internal): Allow modifiers
4397 * time/tst-strptime.c (day_tests): Add testcase.
4400 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4402 * scripts/bench.pl: Skip over blank lines.
4404 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4407 * manual/time.texi (Calendar Time): Clarify what timezone functions
4410 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4414 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4416 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4418 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4419 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4420 * debug/memset_chk.c (__memset_chk): Likewise.
4421 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4422 * debug/strncpy_chk.c: Likewise.
4424 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4428 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4429 (__ieee754_exp): For possibly underflowing results, check size of
4430 result and force underflow exception if required.
4431 * math/auto-libm-test-in: Add more tests of exp.
4432 * math/auto-libm-test-out: Regenerated.
4433 * sysdeps/i386/fpu/libm-test-ulps: Update.
4434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4437 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4438 * math/w_exp2f.c (__exp2f): Likewise.
4439 * math/w_exp2l.c (__exp2l): Likewise.
4440 * math/auto-libm-test-in: Do not allow missing errno on exp2
4442 * math/auto-libm-test-out: Regenerated.
4444 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4447 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4448 handle filename validation.
4449 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4452 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4455 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4456 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4457 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4459 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4460 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4461 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4462 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4463 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4464 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4465 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4466 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4467 Add more erfc tests.
4468 * math/auto-libm-test-out: Regenerated.
4469 * sysdeps/i386/fpu/libm-test-ulps: Update.
4470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4472 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4473 exp2, expm1, j0 and j1.
4474 * math/auto-libm-test-out: Regenerated.
4475 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4476 (erfc_test_data): Likewise.
4477 (exp_test_data): Likewise.
4478 (exp_tonearest_test_data): Likewise.
4479 (exp_towardzero_test_data): Likewise.
4480 (exp_downward_test_data): Likewise.
4481 (exp_upward_test_data): Likewise.
4482 (exp10_test_data): Likewise.
4483 (exp2_test_data): Likewise.
4484 (expm1_test_data): Likewise.
4485 (j0_test_data): Likewise.
4486 (j1_test_data): Likewise.
4487 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4488 (input_flag_type): Add flag_xfail_rounding.
4489 (input_flags): Add xfail-rounding.
4490 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4491 (output_for_one_input_case): Handle flag_xfail_rounding.
4492 * sysdeps/i386/fpu/libm-test-ulps: Update.
4493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4495 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4498 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4501 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4504 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4505 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4506 (STAP_PROBE0): New macro.
4507 (STAP_PROBE1): Likewise.
4508 (STAP_PROBE2): Likewise.
4509 (STAP_PROBE3): Likewise.
4510 (STAP_PROBE4): Likewise.
4512 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4514 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4516 2013-12-02 Steve Ellcey <sellcey@mips.com>
4518 * benchtests/Makefile (bench): Add sqrt.
4519 (LDLIBS-bench-sqrt): New.
4520 * benchtests/sqrt-input: New.
4522 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4524 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4525 (GAIH_EAI): Likewise.
4526 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4527 (gaih_inet): Likewise.
4528 (getaddrinfo): Don't use GAIH_EAI.
4530 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4531 (struct gaih): Remove definition.
4533 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4535 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4536 Use HERRNOP directly.
4538 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4542 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4544 * math/gen-auto-libm-tests.c (test_functions): Add more
4545 single-argument functions.
4546 (special_fill_pi_2): New function.
4547 (special_fill_minus_pi_2): Likewise.
4548 (special_fill_pi_6): Likewise.
4549 (special_fill_minus_pi_6): Likewise.
4550 (special_fill_pi_3): Likewise.
4551 (special_fill_2pi_3): Likewise.
4552 (special_fill_e): Likewise.
4553 (special_fill_1_e): Likewise.
4554 (special_fill_e_minus_1): Likewise.
4555 (special_real_inputs): Add more special inputs.
4556 (output_for_one_input_case): Do not require ERANGE on underflow to
4557 zero if round-to-nearest result does not underflow to zero, unless
4558 exact results required.
4559 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4560 atan, atanh, cbrt, cos and cosh.
4561 * math/auto-libm-test-out: Regenerated.
4562 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4563 (acos_tonearest_test_data): Likewise.
4564 (acos_towardzero_test_data): Likewise.
4565 (acos_downward_test_data): Likewise.
4566 (acos_upward_test_data): Likewise.
4567 (acosh_test_data): Likewise.
4568 (asin_test_data): Likewise.
4569 (asin_tonearest_test_data): Likewise.
4570 (asin_towardzero_test_data): Likewise.
4571 (asin_upward_test_data): Likewise.
4572 (asinh_test_data): Likewise.
4573 (atan_test_data): Likewise.
4574 (atanh_test_data): Likewise.
4575 (cbrt_test_data): Likewise.
4576 (cos_test_data): Likewise.
4577 (cos_tonearest_test_data): Likewise.
4578 (cos_towardzero_test_data): Likewise.
4579 (cos_downward_test_data): Likewise.
4580 (cos_upward_test_data): Likewise.
4581 (cosh_test_data): Likewise.
4582 (cosh_tonearest_test_data): Likewise.
4583 (cosh_towardzero_test_data): Likewise.
4584 (cosh_downward_test_data): Likewise.
4585 (cosh_upward_test_data): Likewise.
4586 * sysdeps/i386/fpu/libm-test-ulps: Update.
4587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4589 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4592 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4593 * math/w_exp10f.c (__exp10f): Likewise.
4594 * math/w_exp10l.c (__exp10l): Likewise.
4595 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4596 errno settings in existing tests.
4599 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4600 precision control set to double precision.
4601 * sysdeps/i386/fpu/w_sqrt.c: New file.
4602 * math/auto-libm-test-in: Add more tests.
4603 * math/auto-libm-test-out: Update.
4605 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4606 (sqrt_test_tonearest): New function.
4607 (sqrt_towardzero_test_data): New variable.
4608 (sqrt_test_towardzero): New function.
4609 (sqrt_downward_test_data): New variable.
4610 (sqrt_test_downward): New function.
4611 (sqrt_upward_test_data): New variable.
4612 (sqrt_test_upward): New function.
4613 (main): Call the new functions.
4615 * math/gen-auto-libm-tests.c: New file.
4616 * math/auto-libm-test-in: Likewise.
4617 * math/auto-libm-test-out: New generated file.
4618 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4620 (%beautify): Add generated representations of zero.
4621 (top level): Set $auto_input and call parse_auto_input.
4622 (beautify): Remove trailing "f" from hex float constants.
4623 (parse_args): Handle XFAIL_TEST.
4624 (convert_condition): New function.
4625 (or_value): Likewise.
4626 (or_cond_value): Likewise.
4627 (generate_testfile): Handle AUTO_TESTS_* lines.
4628 (parse_auto_input): New function.
4629 * math/libm-test.inc (XFAIL_TEST): New macro.
4630 (ERRNO_UNCHANGED): Update value.
4631 (ERRNO_EDOM): Likewise.
4632 (ERRNO_ERANGE): Likewise.
4633 (IGNORE_RESULT): Likewise.
4634 (TEST_COND_flt_32): New macro.
4635 (TEST_COND_dbl_64): Likewise.
4636 (TEST_COND_ldbl_96_intel): Likewise.
4637 (TEST_COND_ldbl_96_m68k): Likewise.
4638 (TEST_COND_ldbl_128): Likewise.
4639 (TEST_COND_ldbl_128ibm): Likewise.
4640 (TEST_COND_long32): Likewise.
4641 (TEST_COND_long64): Likewise.
4642 (TEST_COND_before_rounding): Likewise.
4643 (TEST_COND_after_rounding): Likewise.
4644 (enable_test): Handle XFAIL_TEST flag.
4645 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4646 with finite results.
4647 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4650 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4651 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4654 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4655 __tls_get_addr_internal instead of __tls_get_offset in order to
4656 avoid GOT pointer dependency. Make rtld export
4657 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4658 __tls_get_addr since we are a __tls_get_offset platform.
4659 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4660 GOT pointer being set up before.
4661 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4663 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4665 * manual/math.texi (Errors in Math Functions): Document accuracy
4669 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4670 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4673 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4675 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4676 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4686 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4687 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4688 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4689 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4690 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4692 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4694 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4696 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4697 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4698 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4699 atomic-feupdateenv and flt-rounds.
4700 * sysdeps/powerpc/nofpu/Versions (libc): Add
4701 __atomic_feholdexcept, __atomic_feclearexcept,
4702 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4703 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4704 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4705 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4706 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4711 * manual/arith.texi (FP Exceptions): Document that exceptions may
4712 not be raised when matherr is used.
4713 (Math Error Reporting): Document overflow in directed rounding
4714 modes. Document that errno may not be set when finite values are
4715 returned on overflow. Document intent to set errno on underflow
4716 only for underflow to zero.
4719 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4720 round-to-nearest then adjust result for other rounding modes.
4721 * include/fenv.h (fegetround): Use libm_hidden_proto.
4722 * math/fegetround.c (fegetround): Use libm_hidden_def.
4723 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4724 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4725 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4726 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4728 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4729 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4730 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4731 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4733 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4736 * nss/Versions (libnss_files): Add
4737 _nss_files_gethostbyname3_r.
4738 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4740 (HOST_DB_LOOKUP): Remove macro.
4741 (_nss_files_gethostbyname_r): Implement function without the
4742 HOST_DB_LOOKUP macro.
4743 (_nss_files_gethostbyname2_r): Likewise.
4745 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4747 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4749 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4751 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4752 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4755 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4757 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4758 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4759 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4760 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4761 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4762 __fe_nomask_env_priv and attribute_hidden.
4763 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4764 (libc_feupdateenv_test_ppc): Likewise.
4765 (libc_feresetround_ppc): Likewise.
4766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4767 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4768 compat_symbol macro.
4769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4770 (__fe_nomask_env): Likewise.
4771 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4773 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4775 * string/Makefile: Remove ifunc tests.
4776 * string/test-string.h: Define TEST_IFUNC.
4777 * string/test-bcopy-ifunc.c: Remove.
4778 * string/test-bzero-ifunc.c: Likewise.
4779 * string/test-memccpy-ifunc.c: Likewise.
4780 * string/test-memchr-ifunc.c: Likewise.
4781 * string/test-memcmp-ifunc.c: Likewise.
4782 * string/test-memcpy-ifunc.c: Likewise.
4783 * string/test-memmem-ifunc.c: Likewise.
4784 * string/test-memmove-ifunc.c: Likewise.
4785 * string/test-mempcpy-ifunc.c: Likewise.
4786 * string/test-memrchr-ifunc.c: Likewise.
4787 * string/test-memset-ifunc.c: Likewise.
4788 * string/test-rawmemchr-ifunc.c: Likewise.
4789 * string/test-stpcpy-ifunc.c: Likewise.
4790 * string/test-stpncpy-ifunc.c: Likewise.
4791 * string/test-strcasecmp-ifunc.c: Likewise.
4792 * string/test-strcasestr-ifunc.c: Likewise.
4793 * string/test-strcat-ifunc.c: Likewise.
4794 * string/test-strchr-ifunc.c: Likewise.
4795 * string/test-strchrnul-ifunc.c: Likewise.
4796 * string/test-strcmp-ifunc.c: Likewise.
4797 * string/test-strcpy-ifunc.c: Likewise.
4798 * string/test-strcspn-ifunc.c: Likewise.
4799 * string/test-strlen-ifunc.c: Likewise.
4800 * string/test-strncasecmp-ifunc.c: Likewise.
4801 * string/test-strncat-ifunc.c: Likewise.
4802 * string/test-strncmp-ifunc.c: Likewise.
4803 * string/test-strncpy-ifunc.c: Likewise.
4804 * string/test-strnlen-ifunc.c: Likewise.
4805 * string/test-strpbrk-ifunc.c: Likewise.
4806 * string/test-strrchr-ifunc.c: Likewise.
4807 * string/test-strspn-ifunc.c: Likewise.
4808 * string/test-strstr-ifunc.c: Likewise.
4810 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4812 * benchtests/Makefile: Remove ifunc tests.
4813 * benchtests/bench-string.h: Define TEST_IFUNC.
4814 * benchtests/bench-bcopy-ifunc.c: Remove.
4815 * benchtests/bench-bzero-ifunc.c: Likewise.
4816 * benchtests/bench-memccpy-ifunc.c: Likewise.
4817 * benchtests/bench-memchr-ifunc.c: Likewise.
4818 * benchtests/bench-memcmp-ifunc.c: Likewise.
4819 * benchtests/bench-memcpy-ifunc.c: Likewise.
4820 * benchtests/bench-memmem-ifunc.c: Likewise.
4821 * benchtests/bench-memmove-ifunc.c: Likewise.
4822 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4823 * benchtests/bench-memrchr-ifunc.c: Likewise.
4824 * benchtests/bench-memset-ifunc.c: Likewise.
4825 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4826 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4827 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4828 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4829 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4830 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4831 * benchtests/bench-strcat-ifunc.c: Likewise.
4832 * benchtests/bench-strchr-ifunc.c: Likewise.
4833 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4834 * benchtests/bench-strcmp-ifunc.c: Likewise.
4835 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4836 * benchtests/bench-strcpy-ifunc.c: Likewise.
4837 * benchtests/bench-strcspn-ifunc.c: Likewise.
4838 * benchtests/bench-strlen-ifunc.c: Likewise.
4839 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4840 * benchtests/bench-strncat-ifunc.c: Likewise.
4841 * benchtests/bench-strncmp-ifunc.c: Likewise.
4842 * benchtests/bench-strncpy-ifunc.c: Likewise.
4843 * benchtests/bench-strnlen-ifunc.c: Likewise.
4844 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4845 * benchtests/bench-strrchr-ifunc.c: Likewise.
4846 * benchtests/bench-strsep-ifunc.c: Likewise.
4847 * benchtests/bench-strspn-ifunc.c: Likewise.
4848 * benchtests/bench-strstr-ifunc.c: Likewise.
4850 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4852 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4854 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4856 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4857 * rt/aio.h: Likewise.
4858 * sysdeps/gnu/bits/utmp.h: Likewise.
4859 * sysdeps/gnu/bits/utmpx.h: Likewise.
4860 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4861 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4862 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4863 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4864 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4865 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4866 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4867 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4868 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4869 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4870 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4871 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4872 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4874 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4875 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4876 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4877 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4878 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4879 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4880 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4881 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4882 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4883 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4884 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4886 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4887 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4888 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4889 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4890 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4891 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4892 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4893 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4894 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4895 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4896 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4897 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4898 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4899 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4900 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4901 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4903 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4906 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4907 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4909 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4911 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4912 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4915 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4918 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4919 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4920 (__fesetround): Remove define.
4921 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4922 rounding and exceptions handling.
4923 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4924 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4925 (__fe_nomask_env): Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4927 __fegetround instead of fegetround.
4928 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4929 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4931 2013-11-21 Roland McGrath <roland@hack.frob.com>
4933 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4936 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4938 2013-11-21 Meador Inge <meadori@codesourcery.com>
4941 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4942 (encrypt_r): Likewise.
4943 * malloc/obstack.h (obstack_free): Likewise.
4944 * posix/unistd.h (encrypt): Likewise.
4946 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4948 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4949 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4950 DL_CALL_DT_FINI() that call the functions directly.
4951 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4952 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4953 * elf/dl-fini.c: Likewise.
4955 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4957 * malloc/hooks.c (memalign_check): Add alignment rounding.
4958 * malloc/malloc.c (_mid_memalign): New function.
4959 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4960 Implement by calling _mid_memalign.
4961 * manual/probes.texi (Memory Allocation Probes): Remove
4962 memory_valloc_retry and memory_pvalloc_retry.
4964 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4966 * locale/programs/locarchive.c (open_archive): Add const
4967 qualifier to ARCHIVEFNAME and copy default fname to
4971 * libio/tst-widetext.input: Rename Oriya to Odia.
4972 * locale/iso-639.def: Likewise.
4974 * manual/probes.texi (Mathematical Function Probes): Add
4975 documentation for sin, cos, asin and acos probes.
4976 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4977 (__sin32): Add slowasin probe.
4978 (__cos32): Add slowacos probe.
4979 (__mpsin): Add slowsin probe.
4980 (__mpcos): Add slowcos probe.
4982 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4985 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4986 thread-local __sim_exceptions_thread and global
4987 __sim_exceptions_global.
4988 (__sim_disabled_exceptions): Change to thread-local
4989 __sim_disabled_exceptions_thread and global
4990 __sim_disabled_exceptions_global.
4991 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4992 and global __sim_round_mode_global.
4993 (__simulate_exceptions): Use thread-local floating-point state and
4994 set global state from it as needed.
4995 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4996 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4997 __sim_round_mode_thread.
4998 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4999 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5000 and global __sim_exceptions_global.
5001 (__sim_disabled_exceptions): Change to thread-local
5002 __sim_disabled_exceptions_thread and global
5003 __sim_disabled_exceptions_global.
5004 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5005 and global __sim_round_mode_global.
5006 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5007 (SIM_SET_GLOBAL): Likewise.
5008 * sysdeps/powerpc/soft-fp/sfp-machine.h
5009 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5010 __sim_round_mode_thread.
5011 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5012 __sim_disabled_exceptions_thread.
5013 (__sim_exceptions): Change to __sim_exceptions_thread.
5014 (__sim_disabled_exceptions): Change to
5015 __sim_disabled_exceptions_thread.
5016 (__sim_round_mode): Change to __sim_round_mode_thread.
5017 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5018 thread-local floating-point state and set global state from it as
5020 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5021 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5022 (__sim_disabled_exceptions): Remove extern declaration.
5023 (feenableexcept): Use thread-local floating-point state and set
5024 global state from it as needed.
5025 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5027 (__sim_disabled_exceptions): Likewise.
5028 (__sim_round_mode): Likewise.
5029 (__fegetenv): Use thread-local floating-point state.
5030 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5031 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5032 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5033 floating-point state and set global state from it as needed.
5034 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5035 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5036 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5038 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5039 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5041 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5042 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5043 Use __sim_round_mode_thread.
5044 * math/test-fenv-tls.c: New file.
5045 * math/Makefile (tests): Add test-fenv-tls.
5046 ($(objpfx)test-fenv-tls): Depend on
5047 $(common-objpfx)nptl/libpthread.so.
5049 2013-11-19 Andreas Schwab <schwab@suse.de>
5051 * locale/programs/locale.c (show_info): Decode wordarray elements.
5052 * locale/categories.def (LC_MONETARY): Add element for
5053 _NL_MONETARY_CRNCYSTR.
5054 * locale/C-monetary.c (conversion_rate): New variable.
5055 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5058 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5060 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5061 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5063 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5065 * elf/Makefile (tst-auxv): New test.
5066 * elf/tst-auxv.c: New
5067 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5069 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5071 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5072 (hidden_proto): Caller changed.
5073 (hidden_tls_proto): New macro.
5074 (libc_hidden_tls_proto): Likewise.
5075 (rtld_hidden_tls_proto): Likewise.
5076 (libm_hidden_tls_proto): Likewise.
5077 (libresolv_hidden_tls_proto): Likewise.
5078 (librt_hidden_tls_proto): Likewise.
5079 (libdl_hidden_tls_proto): Likewise.
5080 (libnss_files_hidden_tls_proto): Likewise.
5081 (libnsl_hidden_tls_proto): Likewise.
5082 (libnss_nisplus_hidden_tls_proto): Likewise.
5083 (libutil_hidden_tls_proto): Likewise.
5085 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5088 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5089 (decompose_rpath): Defer expansion to fillin_rpath.
5090 (_dl_init_paths): Pass linkmap to fillin_rpath.
5092 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5094 * benchtests/Makefile: Add strsep.
5095 * benchtests/bench-strsep.c: New file: strsep benchtest.
5096 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5098 2013-11-18 Andreas Schwab <schwab@suse.de>
5100 * locale/programs/locale.c (show_info) [case byte]: Check for
5101 '\377' instead of '\177'.
5102 * locale/C-monetary.c (not_available): Always use "\377".
5103 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5104 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5105 detect unavailable sign_posn locale elements.
5106 * locale/localeconv.c (__localeconv): For grouping and
5107 mon_grouping handle "\177" and "\377" like no grouping.
5108 (INT_ELEM): New macro. Use it to set all numeric members.
5109 * locale/programs/ld-monetary.c (monetary_read)
5110 <tok_mon_grouping>: Normalize single -1 to the empty string.
5111 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5114 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5117 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5118 when we match (nil).
5119 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5121 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5123 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5124 (NO_TEST_INLINE): Update value.
5125 (ERRNO_UNCHANGED): Likewise.
5126 (ERRNO_EDOM): Likewise.
5127 (ERRNO_ERANGE): Likewise.
5128 (IGNORE_RESULT): Likewise.
5129 (check_float_internal): Check signs of NaN results if
5131 (check_complex): Pass TEST_NAN_SIGN flag through to second
5132 check_float_internal call.
5133 (copysign_test_data): Add tests with quiet NaNs as second
5134 argument. Use TEST_NAN_SIGN.
5135 (fabs_test_data): Add test of negative quiet NaN argument. Use
5137 (signbit_test_data): Add tests of quiet NaN argument.
5138 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5140 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5142 (parse_args): Handle function results specified as IGNORE.
5143 * math/libm-test.inc (IGNORE_RESULT): New macro.
5144 (check_float_internal): Do not check numerical result if flag
5146 (check_complex): Pass through IGNORE_RESULT to second
5147 check_float_internal call.
5148 (check_int): Do not check numerical result if flag IGNORE_RESULT
5150 (check_long): Likewise.
5151 (check_bool): Likewise.
5152 (check_longlong): Likewise.
5153 (lrint_test_data): Add tests of infinite and NaN arguments.
5154 (lrint_tonearest_test_data): Likewise.
5155 (lrint_towardzero_test_data): Likewise.
5156 (lrint_downward_test_data): Likewise.
5157 (lrint_upward_test_data): Likewise.
5158 (llrint_test_data): Likewise.
5159 (llrint_tonearest_test_data): Likewise.
5160 (llrint_towardzero_test_data): Likewise.
5161 (llrint_downward_test_data): Likewise.
5162 (llrint_upward_test_data): Likewise.
5163 (lround_test_data): Likewise.
5164 (llround_test_data): Likewise.
5166 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5167 (ERRNO_UNCHANGED): Update value.
5168 (ERRNO_EDOM): Likewise.
5169 (ERRNO_ERANGE): Likewise.
5170 (NO_TEST_INLINE_FLOAT): New macro.
5171 (NO_TEST_INLINE_DOUBLE): Likewise.
5172 (enable_test): New function.
5173 (RUN_TEST_f_f): Check enable_test before running test.
5174 (RUN_TEST_2_f): Likewise.
5175 (RUN_TEST_fff_f): Likewise.
5176 (RUN_TEST_c_f): Likewise.
5177 (RUN_TEST_f_f1): Likewise.
5178 (RUN_TEST_fF_f1): Likewise.
5179 (RUN_TEST_fI_f1): Likewise.
5180 (RUN_TEST_ffI_f1): Likewise.
5181 (RUN_TEST_c_c): Likewise.
5182 (RUN_TEST_cc_c): Likewise.
5183 (RUN_TEST_f_i): Likewise.
5184 (RUN_TEST_f_i_tg): Likewise.
5185 (RUN_TEST_ff_i_tg): Likewise.
5186 (RUN_TEST_f_b): Likewise.
5187 (RUN_TEST_f_b_tg): Likewise.
5188 (RUN_TEST_f_l): Likewise.
5189 (RUN_TEST_f_L): Likewise.
5190 (RUN_TEST_fFF_11): Likewise.
5191 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5193 (cosh_test_data): Likewise.
5194 (exp_test_data): Likewise.
5195 (expm1_test_data): Likewise.
5196 (hypot_test_data): Likewise.
5197 (pow_test_data): Likewise.
5198 (sinh_test_data): Likewise.
5199 (tanh_test_data): Likewise.
5200 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5203 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5204 tests with quiet NaN input and output.
5205 (acosh_test_data): Likewise.
5206 (asin_test_data): Likewise.
5207 (asinh_test_data): Likewise.
5208 (atan_test_data): Likewise.
5209 (atanh_test_data): Likewise.
5210 (atan2_test_data): Likewise.
5211 (cbrt_test_data): Likewise.
5212 (cos_test_data): Likewise.
5213 (cosh_test_data): Likewise.
5214 (erf_test_data): Likewise.
5215 (erfc_test_data): Likewise.
5216 (exp_test_data): Likewise.
5217 (exp10_test_data): Likewise.
5218 (exp2_test_data): Likewise.
5219 (expm1_test_data): Likewise.
5220 (hypot_test_data): Likewise.
5221 (j0_test_data): Likewise.
5222 (j1_test_data): Likewise.
5223 (jn_test_data): Likewise.
5224 (lgamma_test_data): Likewise.
5225 (log_test_data): Likewise.
5226 (log10_test_data): Likewise.
5227 (log1p_test_data): Likewise.
5228 (log2_test_data): Likewise.
5229 (pow_test_data): Likewise.
5230 (scalb_test_data): Likewise.
5231 (sin_test_data): Likewise.
5232 (sincos_test_data): Likewise.
5233 (sinh_test_data): Likewise.
5234 (tan_test_data): Likewise.
5235 (tanh_test_data): Likewise.
5236 (tgamma_test_data): Likewise.
5237 (y0_test_data): Likewise.
5238 (y1_test_data): Likewise.
5239 (yn_test_data): Likewise.
5242 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5243 argument being NaN and avoid computations with second argument in
5245 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5246 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5247 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5249 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5251 * locale/iso-639.def: Add Chitwani Tharu (the).
5253 2013-11-14 Andreas Schwab <schwab@suse.de>
5255 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5256 word instead of empty string.
5258 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5261 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5263 (__fe_nomask_env): Likewise.
5265 2013-11-13 Steve Ellcey <sellcey@mips.com>
5267 * benchtests/bench-timing.h: Include time.h.
5269 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5272 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5274 * sysdeps/unix/sysv/linux/configure: Regenerated.
5276 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5279 * stdlib/strtod_l.c (round_and_return): Do not consider
5280 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5281 exponent one less than half the least subnormal exponent.
5282 * stdlib/test-strtod-round-data: Add more tests.
5283 * stdlib/tst-strtod-round.c (tests): Regenerated.
5285 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5288 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5289 (__fe_mask_env): Likewise.
5290 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5291 libm_hidden_proto and add function prototype.
5292 (__fe_mask_env): Add function prototype.
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5294 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5296 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5298 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5300 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5302 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5303 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5305 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5307 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5308 of htab_find_slot().
5310 2013-11-11 David S. Miller <davem@davemloft.net>
5313 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5314 symbol in the non-vis3 case in static builds.
5315 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5316 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5317 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5318 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5320 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5323 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5326 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5328 * benchtests/Makefile: Add bench-strtod.
5329 * benchtests/bench-strtod.c: New file: strtod benchtest
5331 2013-11-11 Andreas Schwab <schwab@suse.de>
5334 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5335 terminating NUL in key length.
5337 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5340 Add artificial ODP entry for vDSO symbol for PPC64.
5341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5342 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5344 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5347 * nss/getent.c (services_keys): Recognize services starting with digit.
5349 2013-11-06 David S. Miller <davem@davemloft.net>
5352 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5353 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5355 2013-11-06 Will Newton <will.newton@linaro.org>
5357 * manual/memory.texi (Malloc Examples): Remove register
5358 keyword from examples.
5360 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5362 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5364 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5367 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5368 depending on [__GCC_IEC_559 > 0].
5369 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5370 depending on [__GCC_IEC_559_COMPLEX > 0].
5372 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5374 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5377 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5379 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5381 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5384 * malloc/malloc (malloc_info): Do not handle first bin as
5387 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5389 * locale/iso-639.def: Add Central Nahuatl (nhn).
5391 2013-11-01 Bruno Haible <bruno@clisp.org>
5394 * manual/math.texi (BSD Random): Specify range upper bound as
5397 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5399 * locale/iso-639.def: Add Meadow Mari (mhr).
5401 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5403 [BZ #14752], [BZ #15763]
5404 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5406 * rt/tst_shm.c: Add test for escaping directory.
5408 2013-10-31 Andreas Schwab <schwab@suse.de>
5411 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5412 followed by 'x' as part of digit sequence.
5413 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5415 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5418 * configure.ac: allow GNU Make 4.0 and greater.
5419 * configure: Regenerated.
5421 2013-10-30 Will Newton <will.newton@linaro.org>
5424 * malloc/hooks.c (memalign_check): Limit alignment to the
5425 maximum representable power of two.
5426 * malloc/malloc.c (__libc_memalign): Likewise.
5427 * malloc/tst-memalign.c (do_test): Add test for very
5428 large alignment values.
5429 * malloc/tst-posix_memalign.c (do_test): Likewise.
5431 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5434 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5435 (munmap_chunk): Likewise.
5436 (mremap_chunk): Likewise.
5438 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5441 * stdlib/div.c (div): Remove obsolete code.
5442 * stdlib/ldiv.c (ldiv): Likewise.
5443 * stdlib/lldiv.c (lldiv): Likewise.
5445 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5448 * nss/nss_files/files-XXX.c (get_contents_ret): New
5450 (get_contents): New function.
5451 (internal_getent): Use it. Expand size of LINEBUFLEN.
5453 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5455 * configure.in: Moved to ...
5456 * configure.ac: ... here. Change reference to configure.in
5458 * sysdeps/arm/preconfigure.ac: ... here.
5459 configure.in to configure.ac.
5460 * sysdeps/gnu/configure.in: Moved to ...
5461 * sysdeps/gnu/configure.ac: ... here.
5462 * sysdeps/i386/configure.in: Moved to ...
5463 * sysdeps/i386/configure.ac: ... here.
5464 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5465 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5466 * sysdeps/mach/configure.in: Moved to ...
5467 * sysdeps/mach/configure.ac: ... here.
5468 * sysdeps/mach/hurd/configure.in: Moved to ...
5469 * sysdeps/mach/hurd/configure.ac: ... here.
5470 * sysdeps/powerpc/configure.in: Moved to ...
5471 * sysdeps/powerpc/configure.ac: ... here.
5472 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5473 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5474 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5475 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5476 * sysdeps/s390/s390-32/configure.in: Moved to ...
5477 * sysdeps/s390/s390-32/configure.ac: ... here.
5478 * sysdeps/s390/s390-64/configure.in: Moved to ...
5479 * sysdeps/s390/s390-64/configure.ac: ... here.
5480 * sysdeps/sh/configure.in: Moved to ...
5481 * sysdeps/sh/configure.ac: ... here.
5482 * sysdeps/sparc/configure.in: Moved to ...
5483 * sysdeps/sparc/configure.ac: ... here.
5484 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5485 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5486 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5487 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5488 * sysdeps/x86_64/configure.in: Moved to ...
5489 * sysdeps/x86_64/configure.ac: ... here.
5490 * sysdeps/x86_64/preconfigure.in: Moved to ...
5491 * sysdeps/x86_64/preconfigure.ac: ... here.
5492 * aclocal.m4: Change reference to configure.in to configure.ac.
5493 * config.h.in: Likewise.
5494 * manual/install.texi: Likewise.
5495 * manual/maint.texi: Likewise.
5496 * Makefile: Likewise.
5497 * malloc/Makefile: Likewise.
5498 * nscd/Makefile: Likewise.
5499 * Makeconfig: Change reference to configure.in and
5500 preconfigure.in to configure.ac and preconfigure.ac
5502 * INSTALL: Regenerated.
5503 * configure: Likewise.
5504 * sysdeps/gnu/configure: Likewise.
5505 * sysdeps/i386/configure: Likewise.
5506 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5507 * sysdeps/mach/configure: Likewise.
5508 * sysdeps/mach/hurd/configure: Likewise.
5509 * sysdeps/powerpc/configure: Likewise.
5510 * sysdeps/powerpc/powerpc32/configure: Likewise.
5511 * sysdeps/powerpc/powerpc64/configure: Likewise.
5512 * sysdeps/s390/s390-32/configure: Likewise.
5513 * sysdeps/s390/s390-64/configure: Likewise.
5514 * sysdeps/sh/configure: Likewise.
5515 * sysdeps/sparc/configure: Likewise.
5516 * sysdeps/unix/sysv/linux/configure: Likewise.
5517 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5518 * sysdeps/x86_64/configure: Likewise.
5519 * sysdeps/x86_64/preconfigure: Likewise.
5521 2013-10-29 Andreas Schwab <schwab@suse.de>
5523 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5525 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5527 * benchtests/pow-inputs: Add new inputs.
5529 * benchtests/exp-inputs: Add new inputs.
5531 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5532 conditional check for return value.
5533 (__cos32): Likewise.
5535 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5537 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5538 to provide a boost for large inputs with word alignment.
5539 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5540 implementation based on optimized PPC64 strcpy.
5541 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5542 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5543 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5544 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5546 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5549 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5551 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5554 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5555 * time/tst-strptime.c (day_tests): Add testcase.
5557 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5560 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5562 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5565 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5566 MAP_FAILED on error.
5568 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5571 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5572 heap for large requests.
5574 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5577 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5578 result if the result has no associated interface.
5579 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5580 interface for all 127.X.Y.Z addresses.
5582 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5584 * locale/iso-639.def: Add Ligurian (lij)
5586 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5589 * sunrpc/rpc_main.c: Document rpcgen -5.
5591 2013-10-19 Michael Stahl <mstahl@redhat.com>
5593 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5595 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5598 * posix/glob.c: Match only directories when trailing slash is present.
5599 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5600 (main): Add testcase.
5602 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5605 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5607 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5609 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5610 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5611 AUTH_DES and cindex for FIPS 140-2.
5612 (DES Encryption): Add cindex FIPS 46-3.
5614 * locale/locarchive.h (struct locarhandle): Add fname.
5615 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5616 if an optional argument was specified to --list-archive,
5618 * locale/programs/locarchive.c (show_archive_content): Take new
5619 argument fname and pass it via ah.fname to open_archive.
5620 * locale/programs/localedef.h: Update decl.
5621 (open_archive): If AH->fname is non-null, open that file
5622 rather than the default file name, and don't ignore ENOENT.
5623 (create_archive): Set AH.fname to NULL.
5624 (delete_locales_from_archive): Likewise.
5625 (add_locales_to_archive): Likewise.
5626 * locale/programs/locfile.c (write_all_categories): Likewise.
5628 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5629 Aldy Hernandez <aldyh@redhat.com>
5631 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5632 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5633 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5634 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5635 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5636 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5637 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5638 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5639 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5640 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5641 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5642 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5643 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5644 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5645 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5647 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5649 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5651 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5653 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5654 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5656 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5657 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5658 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5659 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5661 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5662 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5663 * sysdeps/powerpc/preconfigure: Likewise.
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5666 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5667 Replace contents of file by #include of <fenv_libc.h>.
5668 * sysdeps/powerpc/soft-fp/sfp-machine.h
5669 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5671 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5678 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5681 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5684 Allow copysignl PLT reference to be missing.
5686 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5687 Joseph Myers <joseph@codesourcery.com
5690 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5692 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5694 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5696 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5697 * elf/tst-tls1.c: Likewise.
5698 * elf/tst-tls10.h: Likewise.
5699 * elf/tst-tls14.c: Likewise.
5700 * elf/tst-tls2.c: Likewise.
5701 * elf/tst-tls3.c: Likewise.
5702 * elf/tst-tls4.c: Likewise.
5703 * elf/tst-tls5.c: Likewise.
5704 * elf/tst-tls6.c: Likewise.
5705 * elf/tst-tls7.c: Likewise.
5706 * elf/tst-tls8.c: Likewise.
5707 * elf/tst-tls9.c: Likewise.
5708 * elf/tst-tlsmod1.c: Likewise.
5709 * elf/tst-tlsmod13.c: Likewise.
5710 * elf/tst-tlsmod13a.c: Likewise.
5711 * elf/tst-tlsmod14a.c: Likewise.
5712 * elf/tst-tlsmod16a.c: Likewise.
5713 * elf/tst-tlsmod16b.c: Likewise.
5714 * elf/tst-tlsmod2.c: Likewise.
5715 * elf/tst-tlsmod3.c: Likewise.
5716 * elf/tst-tlsmod4.c: Likewise.
5717 * elf/tst-tlsmod5.c: Likewise.
5718 * elf/tst-tlsmod6.c: Likewise.
5720 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5723 * malloc/malloc.c: remove checks for statistics.
5725 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5728 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5729 * inet/tst-network.c: Add testcase.
5731 2013-10-17 Andreas Schwab <schwab@suse.de>
5734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5735 to determine canonical name.
5737 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5739 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5740 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5753 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5754 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5757 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5759 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5760 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5763 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5764 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5765 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5766 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5767 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5768 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5769 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5770 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5771 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5774 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5775 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5776 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5777 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5778 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5779 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5780 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5781 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5783 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5785 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5787 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5790 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5791 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5793 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5794 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5795 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5796 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5798 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5801 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5802 make result into a quiet NaN.
5804 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5806 * soft-fp/adddf3.c: Fix horizontal whitespace.
5807 * soft-fp/addsf3.c: Likewise.
5808 * soft-fp/addtf3.c: Likewise.
5809 * soft-fp/divdf3.c: Likewise.
5810 * soft-fp/divsf3.c: Likewise.
5811 * soft-fp/divtf3.c: Likewise.
5812 * soft-fp/double.h: Likewise.
5813 * soft-fp/eqdf2.c: Likewise.
5814 * soft-fp/eqsf2.c: Likewise.
5815 * soft-fp/eqtf2.c: Likewise.
5816 * soft-fp/extenddftf2.c: Likewise.
5817 * soft-fp/extended.h: Likewise.
5818 * soft-fp/extendsfdf2.c: Likewise.
5819 * soft-fp/extendsftf2.c: Likewise.
5820 * soft-fp/extendxftf2.c: Likewise.
5821 * soft-fp/fixdfdi.c: Likewise.
5822 * soft-fp/fixdfsi.c: Likewise.
5823 * soft-fp/fixdfti.c: Likewise.
5824 * soft-fp/fixsfdi.c: Likewise.
5825 * soft-fp/fixsfsi.c: Likewise.
5826 * soft-fp/fixsfti.c: Likewise.
5827 * soft-fp/fixtfdi.c: Likewise.
5828 * soft-fp/fixtfsi.c: Likewise.
5829 * soft-fp/fixtfti.c: Likewise.
5830 * soft-fp/fixunsdfdi.c: Likewise.
5831 * soft-fp/fixunsdfsi.c: Likewise.
5832 * soft-fp/fixunsdfti.c: Likewise.
5833 * soft-fp/fixunssfdi.c: Likewise.
5834 * soft-fp/fixunssfsi.c: Likewise.
5835 * soft-fp/fixunssfti.c: Likewise.
5836 * soft-fp/fixunstfdi.c: Likewise.
5837 * soft-fp/fixunstfsi.c: Likewise.
5838 * soft-fp/fixunstfti.c: Likewise.
5839 * soft-fp/floatdidf.c: Likewise.
5840 * soft-fp/floatdisf.c: Likewise.
5841 * soft-fp/floatditf.c: Likewise.
5842 * soft-fp/floatsidf.c: Likewise.
5843 * soft-fp/floatsisf.c: Likewise.
5844 * soft-fp/floatsitf.c: Likewise.
5845 * soft-fp/floattidf.c: Likewise.
5846 * soft-fp/floattisf.c: Likewise.
5847 * soft-fp/floattitf.c: Likewise.
5848 * soft-fp/floatundidf.c: Likewise.
5849 * soft-fp/floatundisf.c: Likewise.
5850 * soft-fp/floatunditf.c: Likewise.
5851 * soft-fp/floatunsidf.c: Likewise.
5852 * soft-fp/floatunsisf.c: Likewise.
5853 * soft-fp/floatunsitf.c: Likewise.
5854 * soft-fp/floatuntidf.c: Likewise.
5855 * soft-fp/floatuntisf.c: Likewise.
5856 * soft-fp/floatuntitf.c: Likewise.
5857 * soft-fp/fmadf4.c: Likewise.
5858 * soft-fp/fmasf4.c: Likewise.
5859 * soft-fp/fmatf4.c: Likewise.
5860 * soft-fp/gedf2.c: Likewise.
5861 * soft-fp/gesf2.c: Likewise.
5862 * soft-fp/getf2.c: Likewise.
5863 * soft-fp/ledf2.c: Likewise.
5864 * soft-fp/lesf2.c: Likewise.
5865 * soft-fp/letf2.c: Likewise.
5866 * soft-fp/muldf3.c: Likewise.
5867 * soft-fp/mulsf3.c: Likewise.
5868 * soft-fp/multf3.c: Likewise.
5869 * soft-fp/negdf2.c: Likewise.
5870 * soft-fp/negsf2.c: Likewise.
5871 * soft-fp/negtf2.c: Likewise.
5872 * soft-fp/op-1.h: Likewise.
5873 * soft-fp/op-2.h: Likewise.
5874 * soft-fp/op-4.h: Likewise.
5875 * soft-fp/op-8.h: Likewise.
5876 * soft-fp/op-common.h: Likewise.
5877 * soft-fp/quad.h: Likewise.
5878 * soft-fp/single.h: Likewise.
5879 * soft-fp/soft-fp.h: Likewise.
5880 * soft-fp/sqrtdf2.c: Likewise.
5881 * soft-fp/sqrtsf2.c: Likewise.
5882 * soft-fp/sqrttf2.c: Likewise.
5883 * soft-fp/subdf3.c: Likewise.
5884 * soft-fp/subsf3.c: Likewise.
5885 * soft-fp/subtf3.c: Likewise.
5886 * soft-fp/truncdfsf2.c: Likewise.
5887 * soft-fp/trunctfdf2.c: Likewise.
5888 * soft-fp/trunctfsf2.c: Likewise.
5889 * soft-fp/trunctfxf2.c: Likewise.
5890 * soft-fp/unorddf2.c: Likewise.
5891 * soft-fp/unordsf2.c: Likewise.
5892 * soft-fp/unordtf2.c: Likewise.
5894 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5896 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5897 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5899 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5901 * elf/dl-libc.c: Clear initfini list after freeing.
5903 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5905 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5906 * soft-fp/addsf3.c: Likewise.
5907 * soft-fp/addtf3.c: Likewise.
5908 * soft-fp/divdf3.c: Likewise.
5909 * soft-fp/divsf3.c: Likewise.
5910 * soft-fp/divtf3.c: Likewise.
5911 * soft-fp/double.h: Likewise.
5912 * soft-fp/eqdf2.c: Likewise.
5913 * soft-fp/eqsf2.c: Likewise.
5914 * soft-fp/eqtf2.c: Likewise.
5915 * soft-fp/extenddftf2.c: Likewise.
5916 * soft-fp/extended.h: Likewise.
5917 * soft-fp/extendsfdf2.c: Likewise.
5918 * soft-fp/extendsftf2.c: Likewise.
5919 * soft-fp/extendxftf2.c: Likewise.
5920 * soft-fp/fixdfdi.c: Likewise.
5921 * soft-fp/fixdfsi.c: Likewise.
5922 * soft-fp/fixdfti.c: Likewise.
5923 * soft-fp/fixsfdi.c: Likewise.
5924 * soft-fp/fixsfsi.c: Likewise.
5925 * soft-fp/fixsfti.c: Likewise.
5926 * soft-fp/fixtfdi.c: Likewise.
5927 * soft-fp/fixtfsi.c: Likewise.
5928 * soft-fp/fixtfti.c: Likewise.
5929 * soft-fp/fixunsdfdi.c: Likewise.
5930 * soft-fp/fixunsdfsi.c: Likewise.
5931 * soft-fp/fixunsdfti.c: Likewise.
5932 * soft-fp/fixunssfdi.c: Likewise.
5933 * soft-fp/fixunssfsi.c: Likewise.
5934 * soft-fp/fixunssfti.c: Likewise.
5935 * soft-fp/fixunstfdi.c: Likewise.
5936 * soft-fp/fixunstfsi.c: Likewise.
5937 * soft-fp/fixunstfti.c: Likewise.
5938 * soft-fp/floatdidf.c: Likewise.
5939 * soft-fp/floatdisf.c: Likewise.
5940 * soft-fp/floatditf.c: Likewise.
5941 * soft-fp/floatsidf.c: Likewise.
5942 * soft-fp/floatsisf.c: Likewise.
5943 * soft-fp/floatsitf.c: Likewise.
5944 * soft-fp/floattidf.c: Likewise.
5945 * soft-fp/floattisf.c: Likewise.
5946 * soft-fp/floattitf.c: Likewise.
5947 * soft-fp/floatundidf.c: Likewise.
5948 * soft-fp/floatundisf.c: Likewise.
5949 * soft-fp/floatunsidf.c: Likewise.
5950 * soft-fp/floatunsisf.c: Likewise.
5951 * soft-fp/floatuntidf.c: Likewise.
5952 * soft-fp/floatuntisf.c: Likewise.
5953 * soft-fp/floatuntitf.c: Likewise.
5954 * soft-fp/fmadf4.c: Likewise.
5955 * soft-fp/fmasf4.c: Likewise.
5956 * soft-fp/fmatf4.c: Likewise.
5957 * soft-fp/gedf2.c: Likewise.
5958 * soft-fp/gesf2.c: Likewise.
5959 * soft-fp/getf2.c: Likewise.
5960 * soft-fp/ledf2.c: Likewise.
5961 * soft-fp/lesf2.c: Likewise.
5962 * soft-fp/letf2.c: Likewise.
5963 * soft-fp/muldf3.c: Likewise.
5964 * soft-fp/mulsf3.c: Likewise.
5965 * soft-fp/multf3.c: Likewise.
5966 * soft-fp/negdf2.c: Likewise.
5967 * soft-fp/negsf2.c: Likewise.
5968 * soft-fp/negtf2.c: Likewise.
5969 * soft-fp/op-1.h: Likewise.
5970 * soft-fp/op-2.h: Likewise.
5971 * soft-fp/op-4.h: Likewise.
5972 * soft-fp/op-8.h: Likewise.
5973 * soft-fp/op-common.h: Likewise.
5974 * soft-fp/quad.h: Likewise.
5975 * soft-fp/single.h: Likewise.
5976 * soft-fp/soft-fp.h: Likewise.
5977 * soft-fp/sqrtdf2.c: Likewise.
5978 * soft-fp/sqrtsf2.c: Likewise.
5979 * soft-fp/sqrttf2.c: Likewise.
5980 * soft-fp/subdf3.c: Likewise.
5981 * soft-fp/subsf3.c: Likewise.
5982 * soft-fp/subtf3.c: Likewise.
5983 * soft-fp/truncdfsf2.c: Likewise.
5984 * soft-fp/trunctfdf2.c: Likewise.
5985 * soft-fp/trunctfsf2.c: Likewise.
5986 * soft-fp/trunctfxf2.c: Likewise.
5987 * soft-fp/unorddf2.c: Likewise.
5988 * soft-fp/unordsf2.c: Likewise.
5989 * soft-fp/unordtf2.c: Likewise.
5991 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5994 * misc/error.c (error_tail): Fix possible buffer overflow.
5996 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5999 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6002 2013-10-14 P. J. McDermott <pj@pehjota.net>
6005 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6006 testing pipefail option.
6008 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6010 * soft-fp/double.h: Indent preprocessor directives inside #if.
6011 * soft-fp/extended.h: Likewise.
6012 * soft-fp/op-2.h: Likewise.
6013 * soft-fp/op-4.h: Likewise.
6014 * soft-fp/op-common.h: Likewise.
6015 * soft-fp/quad.h: Likewise.
6016 * soft-fp/single.h: Likewise.
6017 * soft-fp/soft-fp.h: Likewise.
6019 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6021 * iconv/iconv_prog.c: Fix typos.
6022 * stdio-common/psiginfo-data.h: Likewise.
6024 2013-10-12 Reuben Thomas <rrt@sc3d.org>
6027 * locale/setlocale.c: Fix typo.
6029 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6032 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6033 signaling NaN arguments.
6034 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6035 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6038 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6040 * soft-fp/gesf2.c (__gesf2): Likewise.
6041 * soft-fp/getf2.c (__getf2): Likewise.
6042 * soft-fp/ledf2.c (__ledf2): Likewise.
6043 * soft-fp/lesf2.c (__lesf2): Likewise.
6044 * soft-fp/letf2.c (__letf2): Likewise.
6046 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6047 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6048 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6049 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6050 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6051 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6052 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6053 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6054 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6055 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6056 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6057 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6058 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6059 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6060 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6061 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6062 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6063 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6064 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6065 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6066 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6067 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6068 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6069 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6070 * soft-fp/floattidf.c (__floattidf): Likewise.
6071 * soft-fp/floattisf.c (__floattisf): Likewise.
6072 * soft-fp/floattitf.c (__floattitf): Likewise.
6073 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6074 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6075 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6076 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6077 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6078 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6079 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6080 * soft-fp/gesf2.c (__gesf2): Likewise.
6081 * soft-fp/getf2.c (__getf2): Likewise.
6082 * soft-fp/ledf2.c (__ledf2): Likewise.
6083 * soft-fp/lesf2.c (__lesf2): Likewise.
6084 * soft-fp/letf2.c (__letf2): Likewise.
6086 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6087 Undefine and redefine.
6088 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6089 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6090 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6091 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6092 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6093 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6094 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6095 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6096 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6097 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6098 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6099 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6100 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6101 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6102 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6105 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6106 without decrementing exponent if mantissa >= that for the
6108 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6109 denominator, not >. Decrement exponent in < case instead of
6110 incrementing in >= case.
6111 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6112 without decrementing exponent if mantissa >= that for the
6115 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6116 computing saturated result for unsigned overflow.
6118 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6119 Jeff Law <law@redhat.com>
6121 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6122 (atan2Mp): Add systemtap probe marker.
6123 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6124 (__ieee754_log): Add systemtap probe marker.
6125 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6126 (atanMp): Add systemtap probe marker.
6127 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6128 (tanMp): Add systemtap probe marker.
6129 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6130 (__slowexp): Add systemtap probe marker.
6131 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6132 (__slowpow): Add systemtap probe marker.
6133 * manual/probes.texi: Document probes.
6135 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6138 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6140 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6142 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6143 written to buffer but not flushed.
6144 * libio/iofwrite_u.c: Likewise.
6145 * libio/iopadn.c: Return bytes returned even if EOF was
6147 * libio/iowpadn.c: Likewise.
6148 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6149 if _IO_padn does not write the whole buffer.
6150 [!COMPILE_WPRINTF] (PAD): Likewise.
6152 2013-10-10 David S. Miller <davem@davemloft.net>
6154 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6157 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6159 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6160 instead of FSF address.
6161 * soft-fp/fixdfti.c: Likewise.
6162 * soft-fp/fixsfti.c: Likewise.
6163 * soft-fp/fixtfti.c: Likewise.
6164 * soft-fp/fixunsdfti.c: Likewise.
6165 * soft-fp/fixunssfti.c: Likewise.
6166 * soft-fp/fixunstfti.c: Likewise.
6167 * soft-fp/floattidf.c: Likewise.
6168 * soft-fp/floattisf.c: Likewise.
6169 * soft-fp/floattitf.c: Likewise.
6170 * soft-fp/floatuntidf.c: Likewise.
6171 * soft-fp/floatuntisf.c: Likewise.
6172 * soft-fp/floatuntitf.c: Likewise.
6173 * soft-fp/trunctfxf2.c: Likewise.
6175 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6176 * soft-fp/fixdfti.c: Likewise.
6177 * soft-fp/fixsfti.c: Likewise.
6178 * soft-fp/fixtfti.c: Likewise.
6179 * soft-fp/fixunsdfti.c: Likewise.
6180 * soft-fp/fixunssfti.c: Likewise.
6181 * soft-fp/fixunstfti.c: Likewise.
6182 * soft-fp/floattidf.c: Likewise.
6183 * soft-fp/floattisf.c: Likewise.
6184 * soft-fp/floattitf.c: Likewise.
6185 * soft-fp/floatuntidf.c: Likewise.
6186 * soft-fp/floatuntisf.c: Likewise.
6187 * soft-fp/floatuntitf.c: Likewise.
6188 * soft-fp/trunctfxf2.c: Likewise.
6190 2013-10-10 David S. Miller <davem@davemloft.net>
6192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6194 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6196 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6197 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6198 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6199 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6200 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6201 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6202 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6205 for NaNs before doing comparisons on argument.
6206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6209 2013-10-10 Will Newton <will.newton@linaro.org>
6211 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6212 passed to _int_memalign does not overflow.
6214 2013-10-10 Torvald Riegel <triegel@redhat.com>
6216 * scripts/bench.pl: Add include-sources directive.
6217 * benchtests/README: Update documentation.
6219 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6221 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6222 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6223 instead of FP_INIT_ROUNDMODE.
6224 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6225 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6228 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6229 copy class of input value.
6230 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6231 not handle exceptions.
6232 * soft-fp/negsf2.c (__negsf2): Likewise.
6233 * soft-fp/negtf2.c (__negtf2): Likewise.
6234 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6236 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6238 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6239 semicolon. From Linux kernel.
6241 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6243 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6245 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6248 * manual/socket.texi: Added statement about buffer
6249 for gethostbyname2_r.
6251 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6253 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6254 Use .p2align directive instead, throughout.
6255 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6256 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6257 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6258 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6259 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6260 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6261 * sysdeps/x86_64/strchr.S: Likewise.
6262 * sysdeps/x86_64/strrchr.S: Likewise.
6264 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6266 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6268 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6270 * sysdeps/generic/math_private.h (__mpsin1): Remove
6272 (__mpcos1): Likewise.
6273 (__mpsin): New argument __range_reduce.
6274 (__mpcos): Likewise.
6275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6276 (slow): Use __mpsin and __mpcos.
6283 (bsloww1): Likewise.
6284 (bsloww2): Likewise.
6287 (csloww1): Likewise.
6288 (csloww2): Likewise.
6289 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6290 range_reduce. Merge in __mpsin1.
6291 (__mpcos): Likewise.
6293 (__mpcos1): Likewise.
6295 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6297 * locale/loadlocale.c (_nl_intern_locale_data): Use
6299 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6300 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6301 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6302 obstack data is appropriately aligned.
6303 (obstack_int32_grow_fast): Likewise.
6304 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6305 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6306 (add_locale_uint32_array): Likewise.
6308 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6310 * benchtests/Makefile: Remove ARGLIST and RET variables.
6311 ($(objpfx)bench-%.c): Pass only function name to the script.
6312 * benchtests/README: Update documentation.
6313 * benchtests/acos-inputs: Add new directives.
6314 * benchtests/acosh-inputs: Likewise.
6315 * benchtests/asin-inputs: Likewise.
6316 * benchtests/asinh-inputs: Likewise.
6317 * benchtests/atan-inputs: Likewise.
6318 * benchtests/atanh-inputs: Likewise.
6319 * benchtests/cos-inputs: Likewise.
6320 * benchtests/cosh-inputs: Likewise.
6321 * benchtests/exp-inputs: Likewise.
6322 * benchtests/log-inputs: Likewise.
6323 * benchtests/pow-inputs: Likewise.
6324 * benchtests/rint-inputs: Likewise.
6325 * benchtests/sin-inputs: Likewise.
6326 * benchtests/sinh-inputs: Likewise.
6327 * benchtests/tan-inputs: Likewise.
6328 * benchtests/tanh-inputs: Likewise.
6329 * scripts/bench.pl: Add support for new directives.
6331 2013-10-07 Alan Modra <amodra@gmail.com>
6333 * README: Fix careless merge.
6335 2013-10-05 Alan Modra <amodra@gmail.com>
6337 * NEWS: Mention powerpc64le support and bugs fixed.
6338 * README: Both big-endian and little-endian powerpc64 supported.
6340 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6342 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6343 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6344 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6345 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6347 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6349 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6352 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6354 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6355 Move -mhard-float appending from
6356 ports/sysdeps/powerpc/powerpc32/Makefile.
6357 [$(with-fp) = yes] (ASFLAGS): Likewise.
6358 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6359 * sysdeps/powerpc/nofpu: Move directory from
6360 ports/sysdeps/powerpc/nofpu.
6361 * sysdeps/powerpc/soft-fp: Move directory from
6362 ports/sysdeps/powerpc/soft-fp.
6363 * sysdeps/powerpc/powerpc32/405: Move directory from
6364 ports/sysdeps/powerpc/powerpc32/405.
6365 * sysdeps/powerpc/powerpc32/440: Move directory from
6366 ports/sysdeps/powerpc/powerpc32/440.
6367 * sysdeps/powerpc/powerpc32/464: Move directory from
6368 ports/sysdeps/powerpc/powerpc32/464.
6369 * sysdeps/powerpc/powerpc32/476: Move directory from
6370 ports/sysdeps/powerpc/powerpc32/476.
6371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6372 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6374 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6376 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6378 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6380 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6381 * README: Update for powerpc-*-linux-gnu software floating point
6384 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6385 case to powerpc/powerpc32*.
6386 * sysdeps/unix/sysv/linux/configure: Regenerated.
6388 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6389 (_FPU_MASK_OM): Define as 0x04.
6390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6398 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6401 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6404 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6405 and setcontext_e500.
6407 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6409 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6411 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6413 * manual/threads.texi (Default Thread Attributes): Fix typo.
6415 2013-10-04 Will Newton <will.newton@linaro.org>
6417 * malloc/Makefile: Add tst-memalign.
6418 * malloc/tst-memalign.c: New file.
6420 * malloc/tst-posix_memalign.c: Add comments.
6421 (do_test): Add comments and call free on all potentially
6422 allocated pointers. Add space after cast.
6424 * malloc/tst-pvalloc.c: Add comments.
6425 (do_test): Add comments and call free on all potentially
6426 allocated pointers. Remove duplicate check for NULL pointer.
6427 Add space after cast.
6429 * malloc/tst-valloc.c: Add comments.
6430 (do_test): Add comments and call free on all potentially
6431 allocated pointers. Remove duplicate check for NULL pointer.
6432 Add space after cast.
6434 2013-10-04 Alan Modra <amodra@gmail.com>
6436 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6437 Use stdint types in rather than __attribute__((mode())).
6438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6440 2013-10-04 Alan Modra <amodra@gmail.com>
6442 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6443 Correct handling of unaligned relocs for little-endian.
6444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6446 2013-10-04 Alan Modra <amodra@gmail.com>
6448 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6449 * configure: Regenerate.
6450 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6451 * shlib-versions: Likewise.
6453 2013-10-04 Alan Modra <amodra@gmail.com>
6455 * string/tester.c (test_memrchr): Increment reported test cycle.
6457 2013-10-04 Alan Modra <amodra@gmail.com>
6459 * string/test-memcpy.c (do_one_test): When reporting errors, print
6460 string address and don't overrun end of string.
6462 2013-10-04 Alan Modra <amodra@gmail.com>
6464 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6465 insrdi. Make better use of reg selection to speed exit slightly.
6466 Schedule entry path a little better. Remove useless "are we done"
6467 checks on entry to main loop. Handle wrapping around zero address.
6468 Correct main loop count. Handle single left-over word from main
6469 loop inline rather than by using loop_small. Remove extra word
6470 case in loop_small caused by wrong loop count. Add little-endian
6472 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6475 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6477 support. Avoid rlwimi.
6478 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6480 2013-10-04 Alan Modra <amodra@gmail.com>
6482 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6484 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6485 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6486 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6487 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6488 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6489 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6491 2013-10-04 Alan Modra <amodra@gmail.com>
6493 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6494 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6495 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6496 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6497 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6498 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6499 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6500 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6501 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6502 use of regs. Use power7 mtocrf. Tidy function tails.
6504 2013-10-04 Alan Modra <amodra@gmail.com>
6506 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6507 Formatting. Consistently use rXXX register defines or rN defines.
6508 Use early exit labels that avoid restoring unused non-volatile regs.
6509 Make cr field use more consistent with rWORDn compares. Rename
6510 regs used as shift registers for unaligned loop, using rN defines
6511 for short lifetime/multiple use regs.
6512 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6513 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6514 addi 1,1,64 to pop stack frame. Simplify return value code.
6515 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6517 2013-10-04 Alan Modra <amodra@gmail.com>
6519 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6520 support. Correct typos, formatting. Optimize tail. Use insrdi
6522 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6523 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6524 little-endian support. Correct typos.
6525 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6527 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6528 in loop and entry code to keep "and." results.
6529 (strchr): Add little-endian support. Comment. Move cntlzd
6531 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6533 2013-10-04 Alan Modra <amodra@gmail.com>
6535 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6536 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6537 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6538 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6540 2013-10-04 Alan Modra <amodra@gmail.com>
6542 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6543 (rTMP): Define as r11.
6544 (strcmp): Add little-endian support. Optimise tail.
6545 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6546 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6547 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6548 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6549 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6553 2013-10-04 Alan Modra <amodra@gmail.com>
6555 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6556 little-endian support. Remove unnecessary "are we done" tests.
6557 Handle "s" wrapping around zero and extremely large "size".
6558 Correct main loop count. Handle single left-over word from main
6559 loop inline rather than by using small_loop. Correct comments.
6560 Delete "zero" tail, use "end_max" instead.
6561 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6563 2013-10-04 Alan Modra <amodra@gmail.com>
6565 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6566 support. Don't branch over align.
6567 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6568 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6569 support. Rearrange tmp reg use to suit. Comment.
6570 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6572 2013-10-04 Alan Modra <amodra@gmail.com>
6574 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6576 2013-10-04 Alan Modra <amodra@gmail.com>
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6579 conditional form of branch and link when obtaining pc.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6582 2013-10-04 Alan Modra <amodra@gmail.com>
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6589 2013-10-04 Alan Modra <amodra@gmail.com>
6591 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6592 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6593 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6594 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6595 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6596 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6597 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6598 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6599 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6600 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6602 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6603 Alistair Popple <alistair@ozlabs.au.ibm.com>
6604 Alan Modra <amodra@gmail.com>
6607 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6608 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6609 _dl_hwcap access for little-endian.
6610 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6611 destroy vmx regs when saving unaligned.
6612 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6613 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6614 destroy vmx regs when saving unaligned.
6616 2013-10-04 Alan Modra <amodra@gmail.com>
6618 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6619 Don't use a union to pack hi/low value.
6621 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6623 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6625 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6626 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6627 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6628 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6629 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6631 2013-10-04 Alan Modra <amodra@gmail.com>
6633 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6634 constants to usual value for .cst8 section, and remove redundant
6636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6637 constant for 0x1p52. Load little-endian words of double from
6638 correct stack offsets.
6640 2013-10-04 Alan Modra <amodra@gmail.com>
6642 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6643 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6644 words of double from correct stack offsets.
6645 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6646 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6647 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6648 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6651 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6652 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6653 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6654 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6655 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6656 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6657 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6658 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6659 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6660 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6661 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6663 2013-10-04 Alan Modra <amodra@gmail.com>
6665 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6666 64-bit int/double union.
6667 (_FPU_SETCW): Likewise.
6668 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6669 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6671 2013-10-04 Alan Modra <amodra@gmail.com>
6673 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6674 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6676 2013-10-04 Alan Modra <amodra@gmail.com>
6678 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6679 use vector int constants.
6680 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6682 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6684 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6685 array with long long.
6686 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6687 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6688 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6689 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6690 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6691 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6692 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6693 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6694 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6695 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6696 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6697 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6698 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6700 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6702 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6703 (__signbit): Likewise. Correct for little-endian.
6704 (__signbitl): Call __signbit.
6705 (lrint): Correct for little-endian.
6706 (lrintf): Call lrint.
6708 2013-10-04 Alan Modra <amodra@gmail.com>
6710 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6711 union 32-bit int array member with 64-bit int array.
6712 (t515, tm256): Double rather than long double.
6713 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6715 2013-10-04 Alan Modra <amodra@gmail.com>
6717 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6719 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6720 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6721 version of math_ldbl.h.
6723 2013-10-04 Alan Modra <amodra@gmail.com>
6725 [BZ #15734], [BZ #15735]
6726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6727 all uses of ieee875 long double macros and unions. Simplify test
6728 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6729 ldbl_extract_mantissa value for ix,iy exponents. Properly
6730 normalize after ldbl_extract_mantissa, and don't add hidden bit
6731 already handled. Don't treat low word of ieee854 mantissa like
6732 low word of IBM long double and mask off bit when testing for
6734 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6735 all uses of ieee875 long double macros and unions. Simplify tests
6736 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6737 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6738 two1022, instead use their values. Recognise that tests for large
6739 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6740 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6741 Rewrite all uses of ieee875 long double macros and unions. Simplify
6742 test for 0.0L and nan. Correct negation.
6743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6744 ieee875 long double macros and unions. Correct output for large
6745 magnitude x. Correct absolute value calculation.
6746 (__erfcl): Likewise.
6747 * math/libm-test.inc: Add tests for errors discovered in IBM long
6748 double versions of fmodl, remainderl, erfl and erfcl.
6750 2013-10-04 Alan Modra <amodra@gmail.com>
6752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6753 all uses of ieee854 long double macros and unions. Simplify tests
6754 for long doubles that are fully specified by the high double.
6755 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6757 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6758 Remove dead code too.
6759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6760 (__ieee754_ynl): Likewise.
6761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6762 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6764 Remove dead code too.
6765 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6766 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6767 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6768 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6770 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6772 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6774 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6775 Comment on variable precision.
6776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6777 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6779 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6782 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6783 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6785 2013-10-04 Alan Modra <amodra@gmail.com>
6787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6788 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6789 all uses of ieee854 long double macros and unions.
6790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6791 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6792 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6793 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6794 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6795 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6797 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6798 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6799 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6800 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6801 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6802 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6803 Simplify sign and nan test too.
6804 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6807 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6809 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6810 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6813 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6815 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6816 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6819 2013-10-04 Alan Modra <amodra@gmail.com>
6821 * stdio-common/printf_size.c (__printf_size): Don't use
6822 union ieee854_long_double in fpnum union.
6823 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6824 signbit macro to retrieve sign from long double.
6825 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6826 retrieve sign from long double.
6827 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6828 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6829 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6830 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6831 * math/test-misc.c (main): Don't use union ieee854_long_double.
6833 2013-10-04 Alan Modra <amodra@gmail.com>
6836 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6837 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6838 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6839 calculation. Remove unnecessary test for denormal exponent.
6840 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6841 Correct handling of denormals. Avoid undefined shift behaviour.
6842 Correct normalisation of low mantissa when low double is denormal.
6843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6844 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6845 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6846 Correct normalisation of low mantissa. Test for overflow of high
6847 mantissa and normalise.
6848 (ldbl_nearbyint): Use more readable constant for two52.
6849 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6850 (__mpn_construct_long_double): Fix test for overflow of high
6851 mantissa and correct normalisation. Avoid undefined shift.
6853 2013-10-04 Alan Modra <amodra@gmail.com>
6855 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6856 (union ibm_extended_long_double): Define as an array of ieee754_double.
6857 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6858 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6859 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6860 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6869 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6871 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6872 page size instead of calling getpagesize.
6874 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6875 (LOCFILE_ALIGN_MASK): Likewise.
6876 (LOCFILE_ALIGN_UP): Likewise.
6877 (LOCFILE_ALIGNED_P): Likewise.
6878 * locale/programs/ld-collate.c (collate_output): Use the new
6879 macros instead of __alignof__ (int32_t).
6880 * locale/weight.h (findidx): Likewise.
6882 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6885 * manual/string.texi: Fix strncat and wcsncat.
6887 2013-10-03 Brooks Moses <bmoses@google.com>
6890 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6891 * Makerules: ...here, and adjust associated comments.
6893 2013-10-02 Will Newton <will.newton@linaro.org>
6895 * malloc/Makefile: Add tst-pvalloc.
6896 * malloc/tst-pvalloc.c: New file.
6898 2013-10-02 Will Newton <will.newton@linaro.org>
6900 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6901 improve test coverage.
6903 2013-10-02 Will Newton <will.newton@linaro.org>
6905 * malloc/Makefile: Add tst-posix_memalign.
6906 * malloc/tst-posix_memalign.c: New file.
6908 2013-10-01 Eric Blake <eblake@redhat.com>
6910 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6911 Use __THROWNL rather than __THROW on static functions.
6913 2013-09-30 Petr Machata <pmachata@redhat.com>
6915 * elf/elf.h (R_AARCH64_ABS16): New macro.
6916 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6917 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6918 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6919 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6920 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6921 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6922 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6923 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6924 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6925 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6926 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6927 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6928 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6929 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6930 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6931 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6932 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6933 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6934 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6935 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6936 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6937 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6938 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6939 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6940 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6941 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6942 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6943 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6944 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6945 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6946 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6947 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6948 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6949 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6950 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6951 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6952 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6953 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6954 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6955 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6956 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6957 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6958 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6959 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6960 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6961 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6962 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6963 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6964 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6965 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6966 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6967 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6968 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6969 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6970 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6971 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6972 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6973 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6974 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6975 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6976 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6977 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6978 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6979 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6980 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6981 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6982 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6983 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6984 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6985 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6986 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6987 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6988 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6989 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6990 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6991 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6992 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6993 (R_AARCH64_TLSDESC_LDR): Likewise.
6994 (R_AARCH64_TLSDESC_ADD): Likewise.
6995 (R_AARCH64_TLSDESC_CALL): Likewise.
6997 2013-09-30 Andreas Schwab <schwab@suse.de>
7000 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7001 the nss database lookup.
7002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7005 2013-09-28 Mike Frysinger <vapier@gentoo.org>
7007 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7009 2013-09-28 P. J. McDermott <pj@pehjota.net>
7011 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7012 ${Bash-specific parameter/pattern/string} parameter expansion.
7013 * sysdeps/unix/make-syscalls.sh: Likewise.
7015 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7017 * sysdeps/sh/stackguard-macros.h: New file.
7019 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
7021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7023 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7024 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7025 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7026 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7028 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7030 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7031 Fix thread ID register.
7033 2013-09-25 Joseph Myers <joseph@codesourcery.com>
7035 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7036 [POSIX || UNIX98]: Require rather than permitting all symbols from
7038 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7039 element of struct sched_param.
7040 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7041 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7042 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7043 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7046 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7048 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7049 argument calculation.
7051 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7053 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7055 [POSIX] (pthread_attr_t): Do not require type.
7056 [POSIX] (pthread_cond_t): Likewise.
7057 [POSIX] (pthread_condattr_t): Likewise.
7058 [POSIX] (pthread_key_t): Likewise.
7059 [POSIX] (pthread_mutex_t): Likewise.
7060 [POSIX] (pthread_mutexattr_t): Likewise.
7061 [POSIX] (pthread_once_t): Likewise.
7062 [POSIX] (pthread_t): Likewise.
7063 [POSIX-based standards] (pthread_atfork): Expect function.
7065 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7066 Richard Sandiford <richard@codesourcery.com>
7068 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7069 (swap_endianness_p): New extern variable.
7070 (set_big_endian): New inline function.
7071 (maybe_swap_uint32): Likewise.
7072 (maybe_swap_uint32_array): Likewise.
7073 (maybe_swap_uint32_obstack): Likewise.
7074 * locale/programs/locfile.c: Include <stdbool.h>.
7075 (swap_endianness_p): New variable.
7076 (add_locale_uint32): Call maybe_swap_uint32.
7077 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7078 (write_locale_data): Call maybe_swap_uint32_array.
7079 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7081 (obstack_int32_grow_fast): Likewise.
7082 (output_weightwc): Call maybe_swap_uint32_obstack.
7083 (collate_output): Likewise.
7084 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7085 (OPT_LITTLE_ENDIAN): Likewise.
7086 (options): Add --little-endian and --big-endian options.
7087 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7088 * locale/programs/locarchive.c: Include "locfile.h".
7092 (create_archive): Use the new macros to access fields of
7093 structures directly mapped from or written to locale archives.
7094 (oldlocrecentcmp): Likewise.
7095 (enlarge_archive): Likewise.
7096 (insert_name): Likewise.
7097 (add_alias): Likewise.
7098 (add_locale): Likewise.
7099 (delete_locales_from_archive): Likewise.
7100 (show_archive_content): Likewise.
7101 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7104 2013-09-24 Roland McGrath <roland@hack.frob.com>
7106 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7107 http://www.gnu.org/doc/freemanuals.texi.
7108 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7110 2013-09-24 Will Newton <will.newton@linaro.org>
7112 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7115 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7117 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7120 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7122 * manual/threads.texi (POSIX Threads): Fix a typo.
7124 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7127 * string/tst-strcoll-overflow.c: New test case.
7128 * string/Makefile (xtests): Add tst-strcoll-overflow.
7129 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7130 cache if string sizes may cause integer overflow.
7133 * string/strcoll_l.c (coll_seq): New members rule, idx,
7134 save_idx and back_us.
7135 (get_next_seq_nocache): New function.
7136 (do_compare_nocache): New function.
7137 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7140 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7143 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7144 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7145 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7148 * elf/Makefile (tests): Add tst-ptrguard1.
7149 (tests-static): Add tst-ptrguard1-static.
7150 (tst-ptrguard1-ARGS): Define.
7151 (tst-ptrguard1-static-ARGS): Define.
7152 * elf/tst-ptrguard1.c: New file.
7153 * elf/tst-ptrguard1-static.c: New file.
7154 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7155 * sysdeps/i386/stackguard-macros.h: Likewise.
7156 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7157 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7158 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7159 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7160 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7161 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7163 2013-09-23 Hector Marco <hecmargi@upv.es>
7164 Ismael Ripoll <iripoll@disca.upv.es>
7165 Carlos O'Donell <carlos@redhat.com>
7168 * sysdeps/generic/stackguard-macros.h: Define
7169 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7170 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7171 Define __pointer_chk_guard_local.
7172 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7173 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7175 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7178 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7180 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7182 * include/string.h (__ffs): Declare as hidden.
7183 * string/ffs.c (__ffs): Define as hidden.
7184 * sysdeps/i386/ffs.c (__ffs): Likewise.
7185 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7186 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7187 * sysdeps/s390/ffs.c (__ffs): Likewise.
7188 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7190 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7192 * NEWS: Mention malloc probes.
7194 * malloc/arena.c (new_heap): New memory_heap_new probe.
7195 (grow_heap): New memory_heap_more probe.
7196 (shrink_heap): New memory_heap_less probe.
7197 (heap_trim): New memory_heap_free probe.
7198 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7199 (systrim): New memory_sbrk_less probe.
7200 * manual/probes.texi: Document them.
7202 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7203 * manual/probes.texi: Document it.
7205 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7206 (__libc_realloc): Add memory_realloc_retry probe.
7207 (__libc_memalign): Add memory_memalign_retry probe.
7208 (__libc_valloc): Add memory_valloc_retry probe.
7209 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7210 (__libc_calloc): Add memory_calloc_retry probe.
7211 * manual/probes.texi: Document them.
7213 * malloc/arena.c (get_free_list): Add probe
7214 memory_arena_reuse_free_list.
7215 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7216 and memory_arena_reuse.
7217 (arena_get2) [!PER_THREAD]: Likewise.
7218 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7219 memory_arena_reuse_realloc.
7220 * manual/probes.texi: Document them.
7222 * malloc/malloc.c (__libc_free): Add
7223 memory_mallopt_free_dyn_thresholds probe.
7224 (__libc_mallopt): Add multiple memory_mallopt probes.
7225 * manual/probes.texi: Document them.
7227 * malloc/malloc.c: Include stap-probe.h.
7228 (__libc_mallopt): Add memory_mallopt probe.
7229 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7230 * manual/probes.texi: New.
7231 * manual/Makefile (chapters): Add probes.
7232 * manual/threads.texi: Set next node.
7234 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7237 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7238 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7239 Add `Chinese' to `nan' entry name.
7241 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7243 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7244 (POLYNOMIAL): Likewise.
7245 (TAYLOR_SINCOS): Likewise.
7246 (TAYLOR_SLOW): Likewise.
7247 (__sin): Use TAYLOR_SINCOS.
7249 (slow): Use TAYLOR_SLOW.
7254 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7256 * stdlib/strtod_l.c: Fix buffer overrun.
7258 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7260 * benchtests/Makefile (bench): Add sincos.
7261 * benchtests/bench-sincos.c: New file.
7263 * math/libm-test.inc (cos_test_data): New test inputs.
7264 (sin_test_data): Likewise.
7266 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7274 (bsloww1): Likewise.
7275 (bsloww2): Likewise.
7277 (csloww1): Likewise.
7278 (csloww2): Likewise.
7280 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7289 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7291 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7292 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7293 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7294 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7295 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7296 * elf/cache.c (print_entry): Handle the new cache flags.
7298 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7299 Aldy Hernandez <aldyh@redhat.com>
7301 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7302 Change condition to [_SOFT_FLOAT].
7303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7315 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7318 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7321 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7323 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7324 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7325 (__longjmp): Use LOAD_GP to load saved GPRs.
7326 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7327 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7328 (__sigsetjmp): Use SAVE_GP to save GPRs.
7330 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7331 Do not append -msoft-float.
7332 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7334 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7336 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7338 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7341 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7342 (_FPU_GETCW): Use initial "__" on variable and field names but not
7343 on macro parameter name.
7344 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7345 parentheses around reference to macro parameter.
7347 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7349 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7351 (ctype_startup): Use uint32_t in cast and sizeof for
7354 2013-09-11 Jia Liu <proljc@gmail.com>
7356 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7358 [__FreeBSD__]: Likewise.
7360 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7362 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7363 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7364 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7365 (strchr): Remove __strchr_sse42 ifunc selection.
7366 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7367 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7369 2013-09-11 Will Newton <will.newton@linaro.org>
7371 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7372 parameter to RES. Remove hardcoded 1000 value.
7373 * benchtests/bench-skeleton.c (main): Pass RES parameter
7374 to TIMING_INIT and multiply result by 1000.
7376 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7380 2013-09-11 Andreas Schwab <schwab@suse.de>
7382 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7384 (O_TMPFILE) [__USE_GNU]: Define.
7385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7388 2013-09-11 Will Newton <will.newton@linaro.org>
7391 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7394 2013-09-11 Will Newton <will.newton@linaro.org>
7397 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7400 2013-09-11 Will Newton <will.newton@linaro.org>
7403 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7406 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7408 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7409 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7410 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7411 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7412 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7414 2013-09-10 Allan McRae <allan@archlinux.org>
7417 * manual/arith.texi (Parsing of Floats): Clarify
7421 * manual/install.texi (Running make install): Mention
7423 * INSTALL: Regenerated.
7425 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7427 * csu/init-first.c (_init): Remove the !SHARED condition around
7428 FPU control word initialization.
7429 * elf/dl-support.c (_dl_fpu_control): New variable.
7430 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7431 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7432 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7433 * math/test-fpucw-static.c: New file.
7434 * math/test-fpucw-ieee.c: New file.
7435 * math/test-fpucw-ieee-static.c: New file.
7436 * math/Makefile (tests): Add `test-fpucw-ieee' and
7438 (tests-static): New variable.
7439 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7441 [($(build-shared),yes)]
7442 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7444 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7447 2013-09-09 Allan McRae <allan@archlinux.org>
7450 * manual/string.texi (Collation Functions): Fix typo in
7452 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7455 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7458 * libio/memstream.c (open_memstream): Fix memory leak.
7459 * libio/wmemstream.c (open_wmemstream): Likewise.
7462 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7464 2013-09-09 Will Newton <will.newton@linaro.org>
7466 * malloc/Makefile: Add tst-realloc to tests.
7467 * malloc/tst-realloc.c: New file.
7469 2013-09-09 Allan McRae <allan@archlinux.org>
7472 * COPYING: Update from GNU website to fix FSF address.
7473 * COPYING.LIB: Likewise.
7475 2013-09-06 David S. Miller <davem@davemloft.net>
7477 * po/zh_TW.po: Update Chinese (traditional) translation from
7478 translation project.
7480 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7481 Joseph Myers <joseph@codesourcery.com>
7483 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7485 (obstack_chunk_alloc): New macro.
7486 (obstack_chunk_free): Likewise.
7487 (record_offset): New function.
7488 (init_locale_data): Likewise.
7489 (align_locale_data): Likewise.
7490 (add_locale_empty): Likewise.
7491 (add_locale_raw_data): Likewise.
7492 (add_locale_raw_obstack): Likewise.
7493 (add_locale_string): Likewise.
7494 (add_locale_wstring): Likewise.
7495 (add_locale_uint32): Likewise.
7496 (add_locale_uint32_array): Likewise.
7497 (add_locale_char): Likewise.
7498 (start_locale_structure): Likewise.
7499 (end_locale_structure): Likewise.
7500 (start_locale_prelude): Likewise.
7501 (end_locale_prelude): Likewise.
7502 (write_locale_data): Take locale_file structure rather than an
7504 * locale/programs/locfile.h: Include "obstack.h".
7505 (struct locale_file): Change to store locale file contents instead
7507 (init_locale_data): New prototype.
7508 (align_locale_data): Likewise.
7509 (add_locale_empty): Likewise.
7510 (add_locale_raw_data): Likewise.
7511 (add_locale_raw_obstack): Likewise.
7512 (add_locale_string): Likewise.
7513 (add_locale_wstring): Likewise.
7514 (add_locale_uint32): Likewise.
7515 (add_locale_uint32_array): Likewise.
7516 (add_locale_char): Likewise.
7517 (start_locale_structure): Likewise.
7518 (end_locale_structure): Likewise.
7519 (start_locale_prelude): Likewise.
7520 (end_locale_prelude): Likewise.
7521 (write_locale_data): Update prototype.
7522 * locale/programs/3level.h (struct TABLE): Remove result field.
7523 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7524 Use new locale_file interface.
7525 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7526 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7527 * locale/programs/ld-address.c (address_output): Use new
7528 locale_file interface.
7529 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7531 (collate_finish): Don't call collseq_table_finalize.
7532 (collate_output): Use new locale_file interface.
7533 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7535 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7536 (TABLE): Move defines earlier in file.
7537 (ELEMENT): Likewise.
7538 (DEFAULT): Likewise.
7539 (wctrans_table_add): Move macro and inline function earlier in
7541 (struct wctype_table): Move type earlier in file.
7542 (add_locale_wctype_table): New static prototype.
7543 (struct locale_ctype_t): Use logical types instead of struct iovec
7544 pointers for members.
7545 (ctype_output): Use new locale_file interface.
7546 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7547 new locale_file interface.
7548 (allocate_arrays): Update for use of new locale_file interface.
7549 * locale/programs/ld-identification.c (identification_output): Use
7550 new locale_file interface.
7551 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7552 * locale/programs/ld-messages.c (messages_output): Likewise.
7553 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7554 * locale/programs/ld-name.c (name_output): Likewise.
7555 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7556 * locale/programs/ld-paper.c (paper_output): Likewise.
7557 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7558 * locale/programs/ld-time.c (time_output): Likewise.
7560 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7562 * benchtests/Makefile: Add memrchr benchmark.
7563 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7564 benchmark as memrchr.
7565 * benchtests/bench-memrchr-ifunc.c: New file.
7566 * benchtests/bench-memrchr.c: New file.
7568 2013-09-06 Will Newton <will.newton@linaro.org>
7570 * benchtests/Makefile (string-bench): Add memcpy.
7572 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7573 Cong Wang <amwang@redhat.com>
7576 * sysdeps/unix/sysv/linux/bits/in.h
7577 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7578 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7579 before __USE_KERNEL_IPV6_DEFS uses.
7580 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7582 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7583 sockaddr_in6, or ipv6_mreq.
7585 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7587 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7588 memory access for final bytes in some large inputs.
7589 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7591 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7593 * string/test-memrchr.c: New file.
7594 * string/test-memrchr-ifunc.c: New file.
7595 * string/Makefile: Add new memrchr testcase.
7597 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7599 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7600 fanotify_init returns EPERM.
7602 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7604 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7606 (top level): Treat second token from macro or constant entries for
7607 allowed headers as allowed.
7608 * include/complex.h: Condition internal declarations on
7610 * include/fenv.h: Condition include of <stdbool.h> and internal
7611 declarations on [!_ISOMAC].
7613 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7616 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7618 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7620 * configure.in (--enable-versioning): Remove configure option.
7621 (libc_cv_asm_symver_directive): Remove configure test.
7622 (libc_cv_ld_version_script_option): Likewise.
7623 (VERSIONING): Remove variable and AC_SUBST.
7624 (DO_VERSIONING): Remove AC_DEFINE.
7625 * configure: Regenerated.
7626 * config.h.in (DO_VERSIONING): Remove macro.
7627 * Makerules [$(versioning) = yes]: Change conditionals to
7628 [$(build-shared) = yes].
7629 * config.make.in (versioning): Remove variable.
7630 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7631 [$(build-shared) = yes].
7632 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7633 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7634 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7635 [$(build-shared) = yes].
7636 * extra-lib.mk [$(versioning) = yes]: Likewise.
7637 * hurd/Makefile [$(versioning) = yes]: Likewise.
7638 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7640 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7642 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7643 [SHARED && !NO_HIDDEN].
7644 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7646 [SHARED && DO_VERSIONING]: Likewise..
7647 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7648 [$(build-shared) = yes].
7649 * manual/install.texi (--disable-versioning): Remove
7651 * INSTALL: Regenerated.
7652 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7654 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7655 [$(build-shared) = yes].
7656 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7657 * sysdeps/i386/i686/multiarch/strstr-c.c
7658 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7659 [SHARED && !NO_HIDDEN].
7660 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7661 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7662 * sysdeps/powerpc/powerpc32/dl-machine.c
7663 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7664 * sysdeps/powerpc/powerpc32/sysdep.h
7665 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7666 to [SHARED && PIC && !NO_HIDDEN].
7667 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7668 conditional to [SHARED].
7670 2013-09-04 Will Newton <will.newton@linaro.org>
7672 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7673 * benchtests/bench-string.h: Include bench-timing.h instead
7674 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7675 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7676 call to HP_TIMING_DIFF_INIT.
7677 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7678 instead of hp-timing.h macros.
7679 * benchtests/bench-memchr.c: Likewise.
7680 * benchtests/bench-memcmp.c: Likewise.
7681 * benchtests/bench-memcpy.c: Likewise.
7682 * benchtests/bench-memmem.c: Likewise.
7683 * benchtests/bench-memmove.c: Likewise.
7684 * benchtests/bench-memset.c: Likewise.
7685 * benchtests/bench-rawmemchr.c: Likewise.
7686 * benchtests/bench-strcasecmp.c: Likewise.
7687 * benchtests/bench-strcasestr.c: Likewise.
7688 * benchtests/bench-strcat.c: Likewise.
7689 * benchtests/bench-strchr.c: Likewise.
7690 * benchtests/bench-strcmp.c: Likewise.
7691 * benchtests/bench-strcpy.c: Likewise.
7692 * benchtests/bench-strcpy_chk.c: Likewise.
7693 * benchtests/bench-strlen.c: Likewise.
7694 * benchtests/bench-strncasecmp.c: Likewise.
7695 * benchtests/bench-strncat.c: Likewise.
7696 * benchtests/bench-strncmp.c: Likewise.
7697 * benchtests/bench-strncpy.c: Likewise.
7698 * benchtests/bench-strnlen.c: Likewise.
7699 * benchtests/bench-strpbrk.c: Likewise.
7700 * benchtests/bench-strrchr.c: Likewise.
7701 * benchtests/bench-strspn.c: Likewise.
7702 * benchtests/bench-strstr.c: Likewise.
7704 2013-09-04 Will Newton <will.newton@linaro.org>
7706 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7708 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7711 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7712 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7713 * math/libm-test.inc (lgamma_test_data): Add more tests.
7714 * sysdeps/i386/fpu/libm-test-ulps: Update.
7715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7717 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7719 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7723 Add strcmp-sse2-unaligned
7724 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7726 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7728 * Versions.def (libc): Add GLIBC_2.19.
7730 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7732 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7733 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7735 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7738 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7739 intermediate calculations in recurrence.
7740 (__ieee754_ynf): Likewise.
7741 * math/libm-test.inc (jn_test_data): Do not allow spurious
7742 underflow exception. Add more tests.
7743 (yn_test_data): Add more tests.
7744 * sysdeps/i386/fpu/libm-test-ulps: Update.
7745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7747 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7749 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7751 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7753 * csu/init-first.c: Fix then/than typos.
7754 * locale/programs/ld-collate.c: Likewise.
7755 * locale/programs/linereader.h: Likewise.
7756 * manual/charset.texi: Likewise.
7757 * manual/filesys.texi: Likewise.
7758 * manual/stdio.texi: Likewise.
7759 * manual/string.texi: Likewise.
7760 * stdlib/fmtmsg.c: Likewise.
7761 * sysdeps/i386/stpncpy.S: Likewise.
7762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7763 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7764 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7765 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7767 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7769 * elf/dl-open.c: Fix typos.
7770 * iconvdata/gbbig5.c: Likewise.
7771 * iconvdata/iso-2022-jp.c: Likewise.
7772 * iconv/gconv_int.h: Likewise.
7773 * iconv/loop.c: Likewise.
7774 * nis/rpcsvc/nis.h: Likewise.
7775 * resolv/ns_name.c: Likewise.
7776 * stdio-common/vfscanf.c: Likewise.
7777 * streams/stropts.h: Likewise.
7778 * sunrpc/rpc_thread.c: Likewise.
7779 * sysdeps/i386/strpbrk.S: Likewise.
7780 * sysdeps/ieee754/k_standard.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7783 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7784 * sysdeps/mach/hurd/profil.c: Likewise.
7785 * sysdeps/s390/dl-procinfo.h: Likewise.
7786 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7787 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7788 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7789 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7790 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7792 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7794 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7797 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7799 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7801 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7803 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7806 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7808 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7810 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7811 Roland McGrath <roland@hack.frob.com>
7813 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7814 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7816 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7818 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7819 __executable_start symbol instead of _start.
7821 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7823 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7824 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7826 * sysdeps/gnu/ldsodefs.h: ... this new file.
7828 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7829 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7830 instead of ELFOSABI_LINUX.
7832 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7833 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7834 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7835 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7837 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7838 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7839 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7841 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7842 (ibm_extended_long_double): Add ieee_nan member.
7843 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7844 (do_test): New function.
7846 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7848 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7849 functions, renamed from truncdfsf_test, trunctfsf_test,
7851 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7853 (do_test): Run all these.
7855 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7857 * argp/argp-help.c: Fix typos.
7858 * argp/argp-parse.c: Likewise.
7859 * debug/backtracesyms.c: Likewise.
7860 * elf/elf.h: Likewise.
7861 * malloc/malloc.c: Likewise.
7862 * nis/nis_print.c: Likewise.
7863 * resolv/res_comp.c: Likewise.
7864 * stdlib/stdlib.h: Likewise.
7865 * sunrpc/clnt_tcp.c: Likewise.
7866 * sunrpc/clnt_udp.c: Likewise.
7867 * sunrpc/clnt_unix.c: Likewise.
7868 * sysdeps/unix/bsd/ptsname.c: Likewise.
7869 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7870 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7877 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7879 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7881 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7884 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7887 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7888 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7889 ($(objpfx)bug-dl-leaf): New rule.
7890 ($(objpfx)bug-dl-leaf.so): Likewise.
7891 ($(objpfx)bug-dl-leaf.out): Likewise.
7892 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7893 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7894 * dlfcn/bug-dl-leaf.c: New test.
7895 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7896 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7897 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7898 (dlclose): Likewise.
7899 (dlmopen): Likewise.
7901 2013-08-27 Roland McGrath <roland@hack.frob.com>
7903 * include/netdb.h [!_ISOMAC]:
7904 Don't include <tls.h>.
7905 (h_errno, __libc_h_errno): Move declaration and macros out of
7908 * include/resolv.h [_RESOLV_H_]:
7909 Don't include <tls.h>.
7910 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7911 * resolv/res_libc.c: Don't include <tls.h>.
7912 (_res): Use __attribute__ ((nocommon)) in place of
7913 __attribute__ ((section (".bss"))).
7915 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7916 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7918 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7920 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7921 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7923 * resolv/res_mkquery.c: Include <sys/time.h>.
7925 * inet/ifreq.c: Moved to ...
7926 * sysdeps/unix/ifreq.c: ... here.
7927 * inet/ifreq.c: New file, true stub version.
7929 * socket/sa_len.c: New file.
7930 * socket/Makefile (aux): Add it.
7931 * sysdeps/unix/sysv/linux/Makefile
7932 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7933 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7934 and #include <socket/sa_len.c>.
7935 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7936 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7938 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7939 * bits/socket.h: ... here.
7941 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7942 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7943 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7945 2013-08-27 Andreas Schwab <schwab@suse.de>
7948 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7949 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7950 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7951 * string/test-strcasecmp.c (test_main): Run tests in several
7953 * string/test-strncasecmp.c (test_main): Likewise.
7955 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7956 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7957 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7959 (__strncasecmp_ssse3) [PIC]: Likewise.
7961 2013-08-26 Roland McGrath <roland@hack.frob.com>
7963 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7965 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7966 instead of explicitly declaring xdecrypt.
7967 * nis/nss_nis/nis-publickey.c: Likewise.
7969 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7972 * nscd/aicache.c: Include res_hconf.h.
7973 (addhstaiX): Initialize res_hconf.
7975 2013-08-26 Andreas Schwab <schwab@suse.de>
7977 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7978 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7980 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7982 * nscd/aicache.c (addhstaiX): Fix indentation.
7984 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7986 * configure.ac: Quote $build_pt_chown test.
7987 * configure: Regenerated.
7989 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7992 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7993 * math/s_cexpf.c (__cexpf): Likewise.
7994 * math/s_cexpl.c (__cexpl): Likewise.
7995 * math/libm-test.inc (cexp_test_data): Correct expected return
7996 value for NaN + i0. Add another test.
7998 2013-08-22 David S. Miller <davem@davemloft.net>
8000 * po/ca.po: Update Catalan translation from translation project.
8001 * po/uk.po: Add Ukrainian translations from translation project.
8003 2013-08-21 Joseph Myers <joseph@codesourcery.com>
8006 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8007 is infinite, not alongside NaN test.
8008 * math/s_fdimf.c (__fdimf): Likewise.
8009 * math/s_fdiml.c (__fdiml): Likewise.
8010 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8013 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
8015 * argp/argp-help.c: Fix typos.
8016 * crypt/speeds.c: Likewise.
8017 * csu/check_fds.c: Likewise.
8018 * elf/dl-load.c: Likewise.
8019 * elf/dl-open.c: Likewise.
8020 * elf/reldep3.c: Likewise.
8021 * elf/reldep.c: Likewise.
8022 * elf/sprof.c: Likewise.
8023 * iconv/iconv_charmap.c: Likewise.
8024 * iconv/skeleton.c: Likewise.
8025 * iconv/strtab.c: Likewise.
8026 * io/lockf64.c: Likewise.
8027 * libio/libioP.h: Likewise.
8028 * resolv/gai_notify.c: Likewise.
8029 * resolv/ns_name.c: Likewise.
8030 * resolv/ns_samedomain.c: Likewise.
8031 * resolv/res_send.c: Likewise.
8032 * stdlib/random.c: Likewise.
8033 * sunrpc/rpc/xdr.h: Likewise.
8034 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8035 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8036 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8037 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8038 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8039 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8041 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8042 * sysdeps/mach/hurd/check_fds.c: Likewise.
8043 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8044 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8045 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8046 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8047 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8048 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8049 * sysdeps/pthread/aio_notify.c: Likewise.
8050 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8051 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8052 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8053 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8054 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8056 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8058 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8059 version if bit_Slow_SSE4_2 is set.
8060 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8061 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8063 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8066 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8067 trampoline stack frame information.
8068 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8069 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8070 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8071 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8072 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8073 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8074 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8075 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8077 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8078 interrupting a syscall and set with option SA_SIGINFO.
8080 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8083 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8084 argument is infinite.
8085 * math/s_cprojf.c (__cprojf): Likewise.
8086 * math/s_cprojl.c (__cprojl): Likewise.
8087 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8088 * math/libm-test.inc (cproj_test_data): Add more tests.
8090 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8092 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8093 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8094 size. Use __ffs to determine corresponding shift.
8096 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8097 Roland McGrath <roland@hack.frob.com>
8099 * Makefile (INSTALL): Remove trailing blank lines from output of
8102 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8104 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8105 Align 32 bit compat elf_greg to 8 bytes.
8107 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8109 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8111 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8113 * string/strcoll_l.c (coll_seq): New structure.
8114 (get_next_seq_cached): New function.
8115 (get_next_seq): New function.
8116 (do_compare): New function.
8117 (STRCOLL): Use GNU style definition. Simplify implementation
8118 by using get_next_seq, get_next_seq_cached and do_compare.
8120 2013-08-16 Florian Weimer <fweimer@redhat.com>
8124 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8126 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8128 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8129 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8130 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8132 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8133 GETDENTS_64BIT_ALIGNED.
8134 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8135 * manual/filesys.texi (Reading/Closing Directory): Document
8136 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8138 * manual/conf.texi (Limits for Files): Add portability note to
8140 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8142 2013-08-13 Andreas Schwab <schwab@suse.de>
8145 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8147 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8148 LDBL_MAX_EXP >= 16384]: Add tests for it.
8150 2013-08-12 David S. Miller <davem@davemloft.net>
8152 * version.h (RELEASE): Set to "development".
8153 (VERSION): Set to "2.18.90".
8154 * NEWS: Add 2.19 section.
8156 2013-08-03 David S. Miller <davem@davemloft.net>
8158 * po/ko.po: Update Korean translation from translation project.
8160 2013-08-01 David S. Miller <davem@davemloft.net>
8162 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8163 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8166 2013-07-30 David S. Miller <davem@davemloft.net>
8168 * po/fr.po: Update French translation from translation project.
8170 2013-07-28 David S. Miller <davem@davemloft.net>
8172 * po/cs.po: Update Czech translation from translation project.
8174 * po/sv.po: Update Swedish translation from translation project.
8176 2013-07-27 David S. Miller <davem@davemloft.net>
8178 * po/eo.po: Update Esperanto translation from translation project.
8180 * po/vi.po: Update Vietnamese translation from translation project.
8182 * po/de.po: Update German translation from translation project.
8184 2013-07-26 David S. Miller <davem@davemloft.net>
8186 * po/bg.po: Update Bulgarian translation from translation project.
8188 * po/nl.po: Update Dutch translation from translation project.
8189 * po/pl.po: Update Polish translation from translation project.
8190 * po/ru.po: Update Russian translation from translation project.
8192 2013-07-24 David S. Miller <davem@davemloft.net>
8194 * po/libc.pot: Update.
8196 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8198 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8200 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8201 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8202 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8204 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8206 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8208 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8209 Andreas Schwab <schwab@suse.de>
8210 Roland McGrath <roland@hack.frob.com>
8211 Joseph Myers <joseph@codesourcery.com>
8212 Carlos O'Donell <carlos@redhat.com>
8215 * config.h.in: Define HAVE_PT_CHOWN.
8216 * config.make.in (build-pt-chown): New variable.
8217 * configure.in (--enable-pt_chown): New configure option.
8218 * configure: Regenerate.
8219 * login/Makefile: Include Makeconfig. Build pt_chown only if
8220 build-pt-chown is enabled.
8221 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8222 pt_chown to fix pty ownership.
8223 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8225 * manual/install.texi (Configuring and compiling): Mention
8226 --enable-pt_chown. Add @findex for grantpt.
8227 * INSTALL: Regenerate.
8229 2013-07-20 David S. Miller <davem@davemloft.net>
8231 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8232 difference between 32-bit and 64-bit.
8234 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8237 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8238 Avoid system header dependency with -ffreestanding.
8239 ($(objpfx)bits/syscall%d): Likewise.
8241 2013-07-13 David S. Miller <davem@davemloft.net>
8243 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8244 underflows from atanl/atan2l due to bug 15319.
8245 (casinh_test_data): Likewise.
8247 2013-07-07 David S. Miller <davem@davemloft.net>
8249 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8251 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8253 * sysdeps/i386/fpu/libm-test-ulps: Update.
8254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8256 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8258 * configure.in (--enable-lock-elision): Fix message text.
8259 * INSTALL: Regenerate.
8260 * configure: Regenerate.
8262 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8266 2013-07-03 Andreas Jaeger <aj@suse.de>
8268 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8270 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8271 (ptrace_peeksiginfo_args): Add.
8272 (__ptrace_peeksiginfo_flags): Add.
8273 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8274 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8275 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8277 2013-07-03 Allan McRae <allan@archlinux.org>
8279 * sysdeps/i386/fpu/libm-test-ulps: Update.
8281 2013-07-02 David S. Miller <davem@davemloft.net>
8283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8285 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8289 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8291 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8294 2013-07-02 Andi Kleen <ak@linux.intel.com>
8296 * config.h.in (ENABLE_LOCK_ELISION): Add.
8297 * configure.in (--enable-lock-elision): Add option.
8298 * manual/install.texi: Document --enable lock elision.
8299 * configure: Regenerate
8300 * INSTALL: Regenerate.
8302 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8304 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8305 SSE4.2 strcasecmp for libc.a.
8306 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8308 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8311 * soft-fp/op-common.h (_FP_FMA): New macro.
8312 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8313 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8314 (_FP_MUL_MEAT_1_imm): ... here.
8315 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8316 (_FP_MUL_MEAT_1_wide): ... here.
8317 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8318 (_FP_MUL_MEAT_1_hard): ... here.
8319 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8320 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8321 (_FP_MUL_MEAT_2_wide): ... here.
8322 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8323 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8324 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8325 (_FP_MUL_MEAT_2_gmp): ... here.
8326 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8327 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8328 (_FP_MUL_MEAT_4_wide): ... here.
8329 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8330 (_FP_MUL_MEAT_4_gmp): ... here.
8331 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8332 (_FP_WFRACBITS_DW_S): Likewise.
8333 (_FP_WFRACXBITS_DW_S): Likewise.
8334 (_FP_HIGHBIT_DW_S): Likewise.
8335 (FP_FMA_S): Likewise.
8336 (_FP_FRAC_HIGH_DW_S): Likewise.
8337 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8338 (_FP_WFRACBITS_DW_D): Likewise.
8339 (_FP_WFRACXBITS_DW_D): Likewise.
8340 (_FP_HIGHBIT_DW_D): Likewise.
8341 (FP_FMA_D): Likewise.
8342 (_FP_FRAC_HIGH_DW_D): Likewise.
8343 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8344 (_FP_WFRACBITS_DW_E): Likewise.
8345 (_FP_WFRACXBITS_DW_E): Likewise.
8346 (_FP_HIGHBIT_DW_E): Likewise.
8347 (FP_FMA_E): Likewise.
8348 (_FP_FRAC_HIGH_DW_E): Likewise.
8349 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8350 (_FP_WFRACBITS_DW_Q): Likewise.
8351 (_FP_WFRACXBITS_DW_Q): Likewise.
8352 (_FP_HIGHBIT_DW_Q): Likewise.
8353 (FP_FMA_Q): Likewise.
8354 (_FP_FRAC_HIGH_DW_Q): Likewise.
8355 * soft-fp/fmasf4.c: New file.
8356 * soft-fp/fmadf4.c: Likewise.
8357 * soft-fp/fmatf4.c: Likewise.
8359 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8362 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8364 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8366 (index_Slow_SSE4_2): Likewise.
8367 (index_Prefer_PMINUB_for_stringop): Likewise.
8368 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8369 bit_Slow_SSE4_2 is set.
8370 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8371 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8373 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8375 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8376 rtld_global._dl_hwcap2.
8377 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8379 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8380 POWER8 feature descriptions defined in _dl_hwcap2.
8381 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8382 string handling for POWER8 feature bits.
8383 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8384 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8385 _dl_powerpc_cap_flags.
8386 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8387 * sysdeps/powerpc/rtld-global-offsets.sym
8388 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8389 _dl_hwcap2 in the rtld_global_ro structure.
8391 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8393 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8394 hardware capabilities in support of AT_HWCAP2.
8395 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8396 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8398 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8399 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8400 explicitly the unknown a_type display mechanism is used.
8401 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8402 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8404 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8405 to macro prototype for AT_HWCAP2 support.
8406 * sysdeps/i386/dl-procinfo.h: Likewise.
8407 * sysdeps/s390/dl-procinfo.h: Likewise.
8408 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8409 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8410 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8411 return -1 for unknown a_type display fallback.
8412 * sysdeps/sparc/dl-procinfo.h: Likewise.
8413 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8414 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8416 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8418 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8419 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8421 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8424 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8425 mprotect making __stack_prot writable.
8427 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8428 Joseph Myers <joseph@codesourcery.com>
8430 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8431 as being properly aligned.
8433 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8435 * dlfcn/modstatic5.c: New file.
8436 * dlfcn/tststatic5.c: New file.
8437 * dlfcn/Makefile (tests): Add tststatic5.
8438 (tests-static): Likewise.
8439 (modules-names): Add modstatic5.
8440 (tststatic5-ENV): New variable.
8441 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8444 * elf/dl-support.c (_dl_main_map): New variable.
8445 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8446 (_dl_nns, _dl_load_adds): Set to 1.
8447 (_dl_initial_searchlist): Refer to _dl_main_map.
8448 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8449 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8450 call to _dl_get_origin.
8451 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8453 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8454 * dlfcn/modstatic3.c: New file.
8455 * dlfcn/tststatic3.c: New file.
8456 * dlfcn/tststatic4.c: New file.
8457 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8458 (tests-static): Likewise.
8459 (modules-names): Add modstatic3.
8460 (tststatic3-ENV, tststatic4-ENV): New variables.
8461 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8462 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8464 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8466 * configure.in (CC): Require GCC version 4.4 or later.
8467 * configure: Regenerated.
8468 * manual/install.texi (Tools for Compilation): Update GCC version
8470 * INSTALL: Regenerated.
8472 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8475 * string/test-memcmp.c (check2): New.
8476 (main): Call check2.
8478 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8480 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8483 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8485 (dl_open_worker) [!SHARED]: ... here.
8487 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8489 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8491 2013-06-25 Richard Henderson <rth@redhat.com>
8493 * locale/programs/locarchive.c: Include <libc-internal.h>
8495 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8497 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8498 trailing whitespace removed.
8500 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8503 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8504 * locale/programs/locarchive.c: Include libc-mmap.h.
8505 (prepare_address_space): Take two new outputs (the mmap base and len).
8506 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8508 (create_archive): Declare new mmap base and len values for
8509 prepare_address_space, and store the result in ah.
8510 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8511 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8512 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8513 Declare new mmap base and len values for
8514 prepare_address_space, and store the result in new_ah.
8515 (open_archive): Declare new mmap base and len values for
8516 prepare_address_space, and store the result in ah.
8517 (close_archive): If ah->mmap_base is not NULL, use that and
8518 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8519 * sysdeps/generic/libc-mmap.h: New file.
8521 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8523 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8524 (ALIGN_UP): Likewise.
8525 (PTR_ALIGN_DOWN): Likewise.
8526 (PTR_ALIGN_UP): Likewise.
8528 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8530 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8531 entry mapped to PPC_PLATFORM_POWER8.
8532 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8534 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8535 (_dl_string_platform): Add case for exporting platform position for
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8538 search path to sysdeps/powerpc/powerpc32/power8 directory.
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8540 search path to sysdeps/powerpc/powerpc64/power8 directory.
8541 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8543 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8546 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8548 * INSTALL: Regenerate.
8550 * nscd/connections.c (nscd_init): Fix comment.
8552 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8554 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8557 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8558 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8560 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8562 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8564 (DL_DST_REQ_STATIC): Remove macro.
8566 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8569 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8570 with a shift of 0 bits.
8572 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8574 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8577 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8580 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8582 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8584 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8585 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8586 accepts -fno-tree-loop-distribute-patterns.
8587 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8588 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8590 * string/memset.c (memset): Likewise.
8591 * string/test-memmove.c (simple_memmove): Disable loop transformation
8593 * string/test-memset.c (simple_memset): Likewise.
8594 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8595 * benchtests/bench-memset.c (simple_memset): Likewise.
8596 * configure: Regenerated.
8598 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8600 * math/test-misc.c (main): Ignore fesetround failure when failures
8601 of subsequent rounding tests would be ignored.
8604 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8605 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8606 * math/fegetenv.c (__fegetenv): Return 0.
8607 * math/fegetexcept.c (fegetexcept): Return 0.
8608 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8610 * math/feholdexcpt.c (feholdexcept): Return 0.
8611 * math/fesetenv.c (__fesetenv): Return 0.
8612 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8613 argument FE_TONEAREST.
8614 * math/feupdateenv.c (__feupdateenv): Return 0.
8615 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8617 2013-06-18 Roland McGrath <roland@hack.frob.com>
8619 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8620 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8621 ($(objpfx)rtld-%.os rules): Use them.
8623 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8625 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8628 2013-06-17 Roland McGrath <roland@hack.frob.com>
8630 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8631 length of target pattern, then descending length of dependency pattern.
8632 * configure.in (AWK): Require gawk 3.1.2 or newer.
8633 * manual/install.texi (Tools for Compilation): Say that we do.
8634 * configure: Regenerated.
8636 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8637 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8638 * scripts/sysd-rules.awk: ... this new script.
8639 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8640 than a glob-style pattern.
8642 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8644 * math/test-misc.c (main): Do not treat incorrectly rounded
8645 conversions as failure unless ROUNDING_TESTS passes.
8647 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8650 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8651 restore exception state around main square root computation, then
8652 check for inexactness explicitly.
8654 * math/libm-test.inc (fma_test_data): Add another test.
8656 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8658 * manual/threads.texi (Non-POSIX Extensions): New document
8659 node. Document pthread_getattr_default_np and
8660 pthread_setattr_default_np.
8662 * Versions.def (libpthread): Add GLIBC_2.18.
8663 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8672 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8683 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8686 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8688 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8689 H.J. Lu <hjl.tools@gmail.com>
8692 * sysdeps/x86_64/rtld-memset.c: Remove file.
8693 * sysdeps/x86_64/rtld-memset.S: New file.
8695 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8697 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8698 (test_in_one_mode): Take arguments for whether the rounding mode
8699 is supported for each floating-point type.
8700 (do_test): Pass new arguments to test_in_one_mode using
8703 2013-06-13 Roland McGrath <roland@hack.frob.com>
8705 * posix/tst-waitid.c (do_test): Distinguish different instances of
8706 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8707 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8708 before entering the kernel for waitpid.
8710 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8712 * NEWS: Fix note on clock function precision. Text by Roland
8715 2013-06-13 Roland McGrath <roland@hack.frob.com>
8717 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8718 it into place only when and if the sanity check passes.
8720 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8722 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8723 output for whether conversion result is exact. Take argument
8724 indicating whether type is IBM long double.
8725 (round_for_all): Change need_exact field to ibm_ld.
8726 * stdlib/tst-strtod-round.c (struct exactness): New type.
8727 (struct test): Change bool ld_ok field to struct exactness exact.
8728 (TEST): Update all definitions for change to field.
8729 (tests): Regenerate array contents.
8730 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8731 field value. Check for IBM long double here.
8732 (do_test): Update calls to test_in_one_mode.
8734 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8737 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8738 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8740 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8743 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8744 generated by the compiler on loop optimizations.
8745 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8746 general definitions.
8748 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8750 * math/bug-nextafter.c: Include <math-tests.h>.
8751 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8753 * math/bug-nexttoward.c: Include <math-tests.h>.
8754 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8756 * math/test-misc.c: Include <math-tests.h>.
8757 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8760 2013-06-12 Andreas Jaeger <aj@suse.de>
8762 * po/ia.po: Update Interlingua translation from translation
8765 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8767 * include/fenv.h: Include stdbool.h.
8768 (struct rm_ctx): New structure.
8769 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8771 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8772 (SET_RESTORE_ROUNDF): Likewise.
8773 (SET_RESTORE_ROUNDL): Likewise.
8774 (SET_RESTORE_ROUND_NOEX): Likewise.
8775 (SET_RESTORE_ROUND_NOEXF): Likewise.
8776 (SET_RESTORE_ROUND_NOEXL): Likewise.
8777 (SET_RESTORE_ROUND_53BIT): Likewise.
8778 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8779 (libc_feresetround_noexf_ctx): Likewise.
8780 (libc_feresetround_noexl_ctx): Likewise.
8781 (libc_feholdsetround_53bit_ctx): Likewise.
8782 (libc_feresetround_53bit_ctx): Likewise.
8783 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8784 (libc_feholdexcept_setround_sse_ctx): New function.
8785 (libc_fesetenv_sse_ctx): Likewise.
8786 (libc_feupdateenv_sse_ctx): Likewise.
8787 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8788 (libc_feholdexcept_setround_387_ctx): Likewise.
8789 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8790 (libc_feholdsetround_387_prec_ctx): Likewise.
8791 (libc_feholdsetround_387_ctx): Likewise.
8792 (libc_feholdsetround_387_53bit_ctx): Likewise.
8793 (libc_feholdsetround_sse_ctx): Likewise.
8794 (libc_feresetround_sse_ctx): Likewise.
8795 (libc_feresetround_387_ctx): Likewise.
8796 (libc_feupdateenv_387_ctx): Likewise.
8797 (libc_feholdexcept_setroundf_ctx): Define macro.
8798 (libc_fesetenvf_ctx): Likewise.
8799 (libc_feupdateenvf_ctx): Likewise.
8800 (libc_feholdsetroundf_ctx): Likewise.
8801 (libc_feresetroundf_ctx): Likewise.
8802 (libc_feholdexcept_setround_ctx): Likewise.
8803 (libc_fesetenv_ctx): Likewise.
8804 (libc_feupdateenv_ctx): Likewise.
8805 (libc_feholdsetround_ctx): Likewise.
8806 (libc_feresetround_ctx): Likewise.
8807 (libc_feholdexcept_setroundl_ctx): Likewise.
8808 (libc_feupdateenvl_ctx): Likewise.
8809 (libc_feholdsetroundl_ctx): Likewise.
8810 (libc_feresetroundl_ctx): Likewise.
8811 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8812 (libc_feresetround_53bit_ctx): Likewise.
8814 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8816 * locale/iso-639.def: Convert to UTF-8.
8818 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8820 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8821 (EXCEPTION_TESTS_double): Likewise.
8822 (EXCEPTION_TESTS_long_double): Likewise.
8823 (EXCEPTION_TESTS): Likewise.
8824 * math/libm-test.inc (test_exceptions): Only test exceptions if
8825 EXCEPTION_TESTS (FLOAT).
8827 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8829 * benchtests/Makefile (string-bench): Add strcpy_chk and
8831 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8832 * benchtests/bench-stpcpy_chk.c: New file.
8833 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8834 * benchtests/bench-strcpy_chk.c: New file.
8835 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8837 (do_test): Likewise.
8839 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8841 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8842 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8843 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8844 with tabs where appropriate.
8845 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8847 [PPC_PLATFORM_PPC440]: Likewise.
8848 [PPC_PLATFORM_PPC464]: Likewise.
8849 [PPC_PLATFORM_PPC476]: Likewise.
8850 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8851 ppc464, and ppc476 platform strings merging from ports/
8854 2013-06-11 Andreas Schwab <schwab@suse.de>
8857 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8858 (from_ucs4_idx): Regenerate.
8859 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8860 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8861 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8862 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8863 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8864 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8865 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8866 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8867 from FROM_LOOP and TO_LOOP specific macros.
8868 (BODY): Handle combining characters.
8869 * iconvdata/BIG5HKSCS.irreversible: Update.
8870 * iconvdata/BIG5HKSCS.precomposed: New file.
8871 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8873 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8875 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8877 * include/sys/time.h: Fix indentation and add copyright header.
8879 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8880 (do_test): Likewise.
8881 * string/test-memchr.c (do_one_test): Likewise.
8882 (do_test): Likewise.
8883 * string/test-memcmp.c (do_one_test): Likewise.
8884 (do_test): Likewise.
8885 * string/test-memcpy.c (do_one_test): Likewise.
8886 (do_test): Likewise.
8887 * string/test-memmem.c (do_one_test): Likewise.
8888 (do_test): Likewise.
8889 (do_random_tests): Likewise.
8890 * string/test-memmove.c (do_one_test): Likewise.
8891 (do_test): Likewise.
8892 * string/test-memset.c (do_one_test): Likewise.
8893 (do_test): Likewise.
8894 * string/test-rawmemchr.c (do_one_test): Likewise.
8895 (do_test): Likewise.
8896 * string/test-strcasecmp.c (do_one_test): Likewise.
8897 (do_test): Likewise.
8898 * string/test-strcasestr.c (do_one_test): Likewise.
8899 (do_test): Likewise.
8900 * string/test-strcat.c (do_one_test): Likewise.
8901 (do_test): Likewise.
8902 * string/test-strchr.c (do_one_test): Likewise.
8903 (do_test): Likewise.
8904 * string/test-strcmp.c (do_one_test): Likewise.
8905 (do_test): Likewise.
8906 * string/test-strcpy.c (do_one_test): Likewise.
8907 (do_test): Likewise.
8908 * string/test-string.h: Likewise.
8909 (test_init): Likewise.
8910 * string/test-strlen.c (do_one_test): Likewise.
8911 (do_test): Likewise.
8912 * string/test-strncasecmp.c (do_one_test): Likewise.
8913 (do_test): Likewise.
8914 * string/test-strncat.c (do_one_test): Likewise.
8915 (do_test): Likewise.
8916 * string/test-strncmp.c (do_one_test): Likewise.
8917 (do_test_limit): Likewise.
8918 (do_test): Likewise.
8919 * string/test-strncpy.c (do_one_test): Likewise.
8920 (do_test): Likewise.
8921 * string/test-strnlen.c (do_one_test): Likewise.
8922 (do_test): Likewise.
8923 * string/test-strpbrk.c (do_one_test): Likewise.
8924 (do_test): Likewise.
8925 * string/test-strrchr.c (do_one_test): Likewise.
8926 (do_test): Likewise.
8927 * string/test-strspn.c (do_one_test): Likewise.
8928 (do_test): Likewise.
8929 * string/test-strstr.c (do_one_test): Likewise.
8930 (do_test): Likewise.
8932 * benchtests/Makefile (string-bench): Add string benchmarks.
8933 * benchtests/bench-bcopy-ifunc.c: New file.
8934 * benchtests/bench-bcopy.c: New file.
8935 * benchtests/bench-bzero-ifunc.c: New file.
8936 * benchtests/bench-bzero.c: New file.
8937 * benchtests/bench-memccpy-ifunc.c: New file.
8938 * benchtests/bench-memccpy.c: New file.
8939 * benchtests/bench-memchr-ifunc.c: New file.
8940 * benchtests/bench-memchr.c: New file.
8941 * benchtests/bench-memcmp-ifunc.c: New file.
8942 * benchtests/bench-memcmp.c: New file.
8943 * benchtests/bench-memmem-ifunc.c: New file.
8944 * benchtests/bench-memmem.c: New file.
8945 * benchtests/bench-memmove-ifunc.c: New file.
8946 * benchtests/bench-memmove.c: New file.
8947 * benchtests/bench-mempcpy-ifunc.c: New file.
8948 * benchtests/bench-mempcpy.c: New file.
8949 * benchtests/bench-memset-ifunc.c: New file.
8950 * benchtests/bench-memset.c: New file.
8951 * benchtests/bench-rawmemchr-ifunc.c: New file.
8952 * benchtests/bench-rawmemchr.c: New file.
8953 * benchtests/bench-stpcpy-ifunc.c: New file.
8954 * benchtests/bench-stpcpy.c: New file.
8955 * benchtests/bench-stpncpy-ifunc.c: New file.
8956 * benchtests/bench-stpncpy.c: New file.
8957 * benchtests/bench-strcasecmp-ifunc.c: New file.
8958 * benchtests/bench-strcasecmp.c: New file.
8959 * benchtests/bench-strcasestr-ifunc.c: New file.
8960 * benchtests/bench-strcasestr.c: New file.
8961 * benchtests/bench-strcat-ifunc.c: New file.
8962 * benchtests/bench-strcat.c: New file.
8963 * benchtests/bench-strchr-ifunc.c: New file.
8964 * benchtests/bench-strchr.c: New file.
8965 * benchtests/bench-strchrnul-ifunc.c: New file.
8966 * benchtests/bench-strchrnul.c: New file.
8967 * benchtests/bench-strcmp-ifunc.c: New file.
8968 * benchtests/bench-strcmp.c: New file.
8969 * benchtests/bench-strcpy-ifunc.c: New file.
8970 * benchtests/bench-strcpy.c: New file.
8971 * benchtests/bench-strcspn-ifunc.c: New file.
8972 * benchtests/bench-strcspn.c: New file.
8973 * benchtests/bench-strlen-ifunc.c: New file.
8974 * benchtests/bench-strlen.c: New file.
8975 * benchtests/bench-strncasecmp-ifunc.c: New file.
8976 * benchtests/bench-strncasecmp.c: New file.
8977 * benchtests/bench-strncat-ifunc.c: New file.
8978 * benchtests/bench-strncat.c: New file.
8979 * benchtests/bench-strncmp-ifunc.c: New file.
8980 * benchtests/bench-strncmp.c: New file.
8981 * benchtests/bench-strncpy-ifunc.c: New file.
8982 * benchtests/bench-strncpy.c: New file.
8983 * benchtests/bench-strnlen-ifunc.c: New file.
8984 * benchtests/bench-strnlen.c: New file.
8985 * benchtests/bench-strpbrk-ifunc.c: New file.
8986 * benchtests/bench-strpbrk.c: New file.
8987 * benchtests/bench-strrchr-ifunc.c: New file.
8988 * benchtests/bench-strrchr.c: New file.
8989 * benchtests/bench-strspn-ifunc.c: New file.
8990 * benchtests/bench-strspn.c: New file.
8991 * benchtests/bench-strstr-ifunc.c: New file.
8992 * benchtests/bench-strstr.c: New file.
8994 * benchtests/Makefile: Disable parallel execution of targets.
8995 (string-bench): Add memcpy.
8996 (benchset): New variable to store a list of benchmark sets.
8997 (bench-func): Renamed from bench.
8998 (bench-set): New target.
8999 (bench): Depend on bench-func and bench-set.
9000 * benchtests/README: Add section on benchmark sets.
9001 * benchtests/bench-memcpy-ifunc.c: New file.
9002 * benchtests/bench-memcpy.c: New file.
9003 * benchtests/bench-string.h: New file.
9005 2013-06-11 Andreas Schwab <schwab@suse.de>
9008 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9009 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9010 values in the triple.
9011 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9012 terminator in the group key.
9014 2013-06-11 Andreas Jaeger <aj@suse.de>
9016 * po/zh_TW.po: Update Chinese (traditional) translation from
9017 translation project.
9019 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9021 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9022 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9023 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9024 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9025 (clock_getcpuclockid): Likewise.
9026 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9027 Add weak_alias and libc_hidden_def.
9028 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9029 * rt/clock_gettime.c (clock_gettime): Rename to
9030 __clock_gettime. Add weak_alias and libc_hidden_def.
9031 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9032 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9033 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9034 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9035 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9037 * rt/clock_settime.c (clock_settime): Rename to
9038 __clock_settime. Add weak_alias and libc_hidden_def.
9039 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9041 2013-06-10 Joseph Myers <joseph@codesourcery.com>
9043 * mach/err_boot.sub: Remove trailing whitespace.
9044 * mach/err_ipc.sub: Likewise.
9045 * mach/err_mach.sub: Likewise.
9047 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9048 (ROUNDING_TESTS_double): Likewise.
9049 (ROUNDING_TESTS_long_double): Likewise.
9050 (ROUNDING_TESTS): Likewise.
9051 * math/libm-test.inc: Include <math-tests.h>.
9052 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9053 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9054 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9055 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9057 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9059 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9062 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9064 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9065 otherwise empty TRANS lines.
9066 * sysdeps/gnu/errlist.c: Regenerated.
9068 * catgets/gencat.c (error_print): Use (void) in function
9070 * crypt/crypt_util.c (__init_des): Likewise.
9071 * crypt/speeds.c (Stop): Likewise.
9073 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9074 * inet/ruserpass.c (token): Likewise.
9075 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9076 * intl/localealias.c (extend_alias_table): Likewise.
9077 * intl/plural-exp.c (init_germanic_plural): Likewise.
9078 * libio/fcloseall.c (__fcloseall): Likewise.
9079 * libio/genops.c (_IO_flush_all): Likewise.
9080 (_IO_flush_all_linebuffered): Likewise.
9081 (_IO_cleanup): Likewise.
9082 (_IO_iter_begin): Likewise.
9083 (_IO_iter_end): Likewise.
9084 (_IO_list_lock): Likewise.
9085 (_IO_list_unlock): Likewise.
9086 (_IO_list_resetlock): Likewise.
9087 * libio/getchar.c (getchar): Likewise.
9088 * libio/getchar_u.c (getchar_unlocked): Likewise.
9089 * libio/getwchar.c (getwchar): Likewise.
9090 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9091 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9092 * login/getpt.c (__getpt): Likewise.
9093 * login/tst-utmp.c (main): Likewise.
9094 * malloc/hooks.c (__malloc_check_init): Likewise.
9095 * malloc/malloc.c (__malloc_stats): Likewise.
9096 * malloc/mtrace.c (tr_break): Likewise.
9098 (muntrace): Likewise.
9099 * misc/fstab.c (endfsent): Likewise.
9100 * misc/getclktck.c (__getclktck): Likewise.
9101 * misc/getdtsz.c (__getdtablesize): Likewise.
9102 * misc/gethostid.c (gethostid): Likewise.
9103 * misc/getpagesize.c (__getpagesize): Likewise.
9104 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9105 (__get_nprocs): Likewise.
9106 (__get_phys_pages): Likewise.
9107 (__get_avphys_pages): Likewise.
9108 * misc/getttyent.c (getttyent): Likewise.
9109 (setttyent): Likewise.
9110 (endttyent): Likewise.
9111 * misc/getusershell.c (getusershell): Likewise.
9112 (endusershell): Likewise.
9113 (setusershell): Likewise.
9114 (initshells): Likewise.
9115 * misc/hsearch.c (__hdestroy): Likewise.
9116 * misc/sync.c (sync): Likewise.
9117 * misc/syslog.c (closelog_internal): Likewise.
9118 (closelog): Likewise.
9119 * misc/ttyslot.c (ttyslot): Likewise.
9120 * misc/vhangup.c (vhangup): Likewise.
9121 * posix/fork.c (__fork): Likewise.
9122 * posix/getegid.c (__getegid): Likewise.
9123 * posix/geteuid.c (__geteuid): Likewise.
9124 * posix/getgid.c (__getgid): Likewise.
9125 * posix/getpid.c (__getpid): Likewise.
9126 * posix/getppid.c (__getppid): Likewise.
9127 * posix/getuid.c (__getuid): Likewise.
9128 * posix/pause.c (pause): Likewise.
9129 * posix/setpgrp.c (setpgrp): Likewise.
9130 * posix/setsid.c (__setsid): Likewise.
9131 * posix/test-vfork.c (noop): Likewise.
9132 * resolv/gethnamaddr.c (_endhtent): Likewise.
9133 (_gethtent): Likewise.
9134 (ht_endhostent): Likewise.
9135 (gethostent): Likewise.
9136 (dns_service): Likewise.
9137 * stdlib/drand48.c (drand48): Likewise.
9138 * stdlib/lrand48.c (lrand48): Likewise.
9139 * stdlib/mrand48.c (mrand48): Likewise.
9140 * stdlib/rand.c (rand): Likewise.
9141 * stdlib/random.c (__random): Likewise.
9142 * stdlib/setenv.c (clearenv): Likewise.
9143 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9144 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9145 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9146 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9147 (__get_nprocs): Likewise.
9148 (__get_phys_pages): Likewise.
9149 (__get_avphys_pages): Likewise.
9150 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9151 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9152 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9153 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9154 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9155 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9156 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9157 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9158 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9159 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9160 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9161 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9162 * sysdeps/posix/clock.c (clock): Likewise.
9163 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9164 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9165 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9166 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9167 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9168 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9169 (__get_nprocs_conf): Likewise.
9170 (__get_phys_pages): Likewise.
9171 (__get_avphys_pages): Likewise.
9172 * time/clock.c (clock): Likewise.
9173 * time/tzset.c (__tzname_max): Likewise.
9175 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9177 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9178 (__bswap_32): Do not use "register".
9179 * crypt/crypt.c (_ufc_doit_r): Likewise.
9180 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9181 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9182 * gmon/gmon.c (__monstartup): Likewise.
9183 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9184 * hurd/hurdmalloc.c (more_memory): Likewise.
9187 (realloc): Likewise.
9188 (malloc_fork_prepare): Likewise.
9189 (malloc_fork_parent): Likewise.
9190 (malloc_fork_child): Likewise.
9191 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9192 (_svcauth_des): Likewise.
9193 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9194 * inet/inet_net.c (inet_network): Likewise.
9195 * inet/inet_netof.c (inet_netof): Likewise.
9196 * inet/rcmd.c (__validuser2_sa): Likewise.
9197 * io/fts.c (fts_open): Likewise.
9198 (fts_load): Likewise.
9199 (fts_close): Likewise.
9200 (fts_read): Likewise.
9201 (fts_children): Likewise.
9202 (fts_build): Likewise.
9203 (fts_stat): Likewise.
9204 (fts_sort): Likewise.
9205 (fts_alloc): Likewise.
9206 (fts_lfree): Likewise.
9207 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9208 (_IO_file_xsgetn): Likewise.
9209 (_IO_file_xsgetn_mmap): Likewise.
9210 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9211 (_IO_cookie_write): Likewise.
9212 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9213 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9214 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9215 * malloc/obstack.c (_obstack_begin): Likewise.
9216 (_obstack_begin_1): Likewise.
9217 (_obstack_newchunk): Likewise.
9218 (_obstack_allocated_p): Likewise.
9219 (obstack_free): Likewise.
9220 (_obstack_memory_used): Likewise.
9221 * misc/getttyent.c (getttynam): Likewise.
9222 (getttyent): Likewise.
9225 * misc/getusershell.c (initshells): Likewise.
9226 * misc/syslog.c (__vsyslog_chk): Likewise.
9227 * misc/ttyslot.c (ttyslot): Likewise.
9228 * nis/nis_hash.c (__nis_hash): Likewise.
9229 * posix/fnmatch_loop.c (FCT): Likewise.
9230 * posix/getconf.c (print_all): Likewise.
9232 * posix/getopt.c (exchange): Likewise.
9233 * posix/glob.c (globfree): Likewise.
9234 (prefix_array): Likewise.
9235 (__glob_pattern_type): Likewise.
9236 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9237 (NS_GET32): Likewise.
9238 (NS_PUT16): Likewise.
9239 (NS_PUT32): Likewise.
9240 * resolv/gethnamaddr.c (getanswer): Likewise.
9241 (gethostbyname2): Likewise.
9242 (gethostbyaddr): Likewise.
9243 (_gethtent): Likewise.
9244 (_gethtbyname2): Likewise.
9245 (_gethtbyaddr): Likewise.
9246 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9247 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9248 * resolv/res_init.c (__res_vinit): Likewise.
9249 (net_mask): Likewise.
9250 * resolv/res_mkquery.c (outchar): Likewise.
9252 * stdio-common/printf_fp.c (outchar): Likewise.
9254 * stdio-common/printf_fphex.c (outchar): Likewise.
9256 * stdio-common/printf_size.c (outchar): Likewise.
9258 * stdio-common/test_rdwr.c (main): Likewise.
9259 * stdio-common/tfformat.c (matches): Likewise.
9260 * stdio-common/vfprintf.c (outchar): Likewise.
9261 (printf_unknown): Likewise.
9262 (buffered_vfprintf): Likewise.
9263 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9264 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9265 (ReadFile): Likewise.
9266 * stdlib/qsort.c (SWAP): Likewise.
9267 (_quicksort): Likewise.
9268 * stdlib/setenv.c (__add_to_environ): Likewise.
9269 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9270 * stdlib/strtol_l.c (__strtol_l): Likewise.
9271 * stdlib/tst-strtod.c (main): Likewise.
9272 * stdlib/tst-strtol.c (main): Likewise.
9273 * stdlib/tst-strtoll.c (main): Likewise.
9274 * string/bits/string2.h (__strcmp_cc): Likewise.
9275 (__strcmp_cg): Likewise.
9276 (__strcspn_c1): Likewise.
9277 (__strcspn_c2): Likewise.
9278 (__strcspn_c3): Likewise.
9279 (__strspn_c1): Likewise.
9280 (__strspn_c2): Likewise.
9281 (__strspn_c3): Likewise.
9282 (__strsep_1c): Likewise.
9283 (__strsep_2c): Likewise.
9284 (__strsep_3c): Likewise.
9285 * string/memccpy.c (__memccpy): Likewise.
9286 * string/stpcpy.c (__stpcpy): Likewise.
9287 * string/strcmp.c (strcmp): Likewise.
9288 * string/strrchr.c (strrchr): Likewise.
9289 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9291 * sysdeps/mach/hurd/getcwd.c
9292 (_hurd_canonicalize_directory_name_internal): Likewise.
9293 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9294 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9295 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9296 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9297 Likewise, in both definitions.
9298 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9300 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9301 64] (__bswap_64): Likewise.
9302 * time/test_time.c (main): Likewise.
9303 * time/tzfile.c (__tzfile_read): Likewise.
9304 (__tzfile_compute): Likewise.
9305 * time/tzset.c (__tzset_parse_tz): Likewise.
9306 (tzset_internal): Likewise.
9307 (compute_change): Likewise.
9308 * wcsmbs/wcscat.c (__wcscat): Likewise.
9309 * wcsmbs/wcschr.c (wcschr): Likewise.
9310 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9311 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9312 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9313 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9314 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9315 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9316 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9317 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9318 * wcsmbs/wmemset.c (wmemset): Likewise.
9320 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9322 * scripts/config.guess: Update to version 2013-05-16.
9323 * scripts/config.sub: Update to version 2013-04-24.
9324 * scripts/install-sh: Update to version 2011-11-20.07.
9325 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9326 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9328 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9330 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9331 * elf/sln.c: Likewise.
9332 * hurd/hurd/ioctl.h: Likewise.
9333 * hurd/hurdmalloc.c: Likewise.
9334 * hurd/xattr.c: Likewise.
9335 * include/shlib-compat.h: Likewise.
9336 * inet/ruserpass.c: Likewise.
9337 * libio/iofgets_u.c: Likewise.
9338 * libio/iofgetws_u.c: Likewise.
9339 * locale/programs/ld-identification.c: Likewise.
9340 * locale/programs/ld-time.c: Likewise.
9341 * mach/msg-destroy.c: Likewise.
9342 * nss/nss_files/files-netgrp.c: Likewise.
9343 * resolv/res_data.c: Likewise.
9344 * soft-fp/op-1.h: Likewise.
9345 * soft-fp/op-2.h: Likewise.
9346 * soft-fp/op-4.h: Likewise.
9347 * soft-fp/op-common.h: Likewise.
9348 * stdio-common/printf_fphex.c: Likewise.
9349 * stdlib/strtod_l.c: Likewise.
9350 * sunrpc/rpc/clnt.h: Likewise.
9351 * sysdeps/generic/framestate.c: Likewise.
9352 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9353 * sysdeps/i386/bsd-setjmp.S: Likewise.
9354 * sysdeps/i386/__longjmp.S: Likewise.
9355 * sysdeps/i386/setjmp.S: Likewise.
9356 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9357 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9358 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9363 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9370 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9371 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9372 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9373 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9374 * sysdeps/ieee754/support.c: Likewise.
9375 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9376 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9377 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9378 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9379 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9380 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9381 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9382 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9383 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9384 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9385 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9386 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9387 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9388 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9389 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9390 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9391 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9394 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9396 * posix/transbug.c: Remove executable mode.
9398 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9400 * crypt/speeds.c: Remove trailing whitespace.
9401 * dlfcn/default.c: Likewise.
9402 * elf/ifuncdep2.c: Likewise.
9403 * elf/ifuncmain1.c: Likewise.
9404 * elf/ifuncmain1vis.c: Likewise.
9405 * elf/testobj.h: Likewise.
9406 * elf/tst-stackguard1.c: Likewise.
9407 * gmon/sys/gmon.h: Likewise.
9408 * hurd/hurdmsg.c: Likewise.
9409 * hurd/new-fd.c: Likewise.
9410 * hurd/ports-get.c: Likewise.
9411 * iconvdata/ibm1008_420.c: Likewise.
9412 * inet/tst-getni1.c: Likewise.
9413 * inet/tst-getni2.c: Likewise.
9414 * libio/ioungetc.c: Likewise.
9415 * libio/wfiledoalloc.c: Likewise.
9416 * manual/libm-err-tab.pl: Likewise.
9417 * math/w_dremf.c: Likewise.
9418 * misc/ftruncate.c: Likewise.
9419 * posix/bug-glob2.c: Likewise.
9420 * posix/tst-pcre.c: Likewise.
9421 * posix/wait4.c: Likewise.
9422 * resolv/README: Likewise.
9423 * resolv/res_debug.h: Likewise.
9424 * resolv/tst-inet_ntop.c: Likewise.
9425 * setjmp/bug269-setjmp.c: Likewise.
9426 * soft-fp/extended.h: Likewise.
9427 * soft-fp/op-1.h: Likewise.
9428 * soft-fp/op-2.h: Likewise.
9429 * soft-fp/op-4.h: Likewise.
9430 * soft-fp/op-8.h: Likewise.
9431 * soft-fp/testit.c: Likewise.
9432 * stdio-common/bug16.c: Likewise.
9433 * stdlib/random.c: Likewise.
9434 * sunrpc/rpcsvc/rquota.x: Likewise.
9435 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9436 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9437 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9438 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9439 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9440 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9441 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9442 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9443 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9444 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9445 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9462 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9464 * sysdeps/ieee754/s_lib_version.c: Likewise.
9465 * sysdeps/mach/hurd/check_fds.c: Likewise.
9466 * sysdeps/mach/hurd/getsockname.c: Likewise.
9467 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9468 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9469 * sysdeps/powerpc/bits/link.h: Likewise.
9470 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9471 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9472 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9473 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9474 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9475 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9476 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9477 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9478 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9479 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9480 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9481 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9482 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9483 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9484 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9485 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9486 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9487 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9488 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9489 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9490 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9491 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9492 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9493 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9494 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9495 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9496 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9497 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9498 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9499 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9500 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9501 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9502 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9503 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9504 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9505 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9506 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9507 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9508 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9509 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9510 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9511 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9512 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9513 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9515 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9516 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9517 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9518 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9519 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9522 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9523 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9524 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9525 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9526 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9527 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9528 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9529 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9530 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9531 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9532 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9533 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9534 * sysdeps/powerpc/sysdep.h: Likewise.
9535 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9536 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9537 * sysdeps/sh/dl-trampoline.S: Likewise.
9538 * sysdeps/sh/memset.S: Likewise.
9539 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9540 * sysdeps/sh/strlen.S: Likewise.
9541 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9542 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9543 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9544 * sysdeps/sparc/sparc32/rem.S: Likewise.
9545 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9546 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9547 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9548 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9549 * sysdeps/sparc/sparc32/urem.S: Likewise.
9550 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9551 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9552 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9553 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9554 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9555 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9556 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9557 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9558 * sysdeps/unix/bsd/times.c: Likewise.
9559 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9560 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9564 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9565 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9566 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9567 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9568 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9569 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9570 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9571 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9572 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9573 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9574 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9575 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9576 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9577 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9578 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9579 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9580 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9581 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9582 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9583 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9584 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9585 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9586 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9587 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9588 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9589 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9590 * sysdeps/x86_64/strcspn.S: Likewise.
9592 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9594 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9595 generated file. Regenerate properly from gen-translit.pl.
9596 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9597 locale/C-translit.h.
9599 2013-06-05 Andreas Schwab <schwab@suse.de>
9602 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9603 week as 6 instead of -1.
9604 * time/tst-strptime.c (day_tests): Add test case.
9606 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9608 * sysdeps/generic/math_private.h
9609 (libc_feholdexcept_setround_53bit): Replace with
9610 libc_feholdsetround_53bit.
9611 (libc_feupdateenv_53bit): Replace with
9612 libc_feresetround_53bit.
9613 (SET_RESTORE_ROUND_53BIT): Adjust.
9615 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9617 * string/test-strchrnul.c: Add copyright header.
9619 * posix/tst-getaddrinfo4.c: Increase test timeout.
9621 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9624 * math/libm-test.inc (MAX_EXP): Remove
9626 (ulp): Use MIN_EXP - MANT_DIG.
9627 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9629 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9631 * po/be.po: Revert last change.
9632 * po/zh_CN.po: Likewise.
9633 * po/header.pot: Likewise.
9635 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9637 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9638 link-libc-deps to empty as target-specific variable.
9639 * Makerules (link-libc-args): New variable.
9640 (libc-for-link): Likewise.
9641 (link-libc-deps): Likewise.
9642 (lib%.so): Depend on $(link-libc-deps). Link with
9644 (build-module): Link with $(link-libc-args).
9645 (build-module-asneeded): Likewise.
9646 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9648 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9649 target-specific variable.
9650 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9651 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9652 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9654 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9656 ($(objpfx)libpcprofile.so): Likewise.
9657 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9659 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9660 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9661 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9663 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9664 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9665 * login/Makefile ($(objpfx)libutil.so): Likewise.
9666 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9667 * math/Makefile ($(objpfx)libm.so): Likewise.
9668 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9669 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9670 variable instead of depending directly on libc.
9671 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9672 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9674 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9676 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9677 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9678 ($(objpfx)libanl.so): Likewise.
9679 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9681 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9683 * sysdeps/i386/fpu/Makefile: Remove file.
9684 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9685 ($(objpfx)libm.so): Remove dependency on ld.so.
9687 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9690 * nis/yp_xdr.c (XDRMAXNAME): Define.
9691 (XDRMAXRECORD): Define.
9692 (xdr_domainname): Use XDRMAXNAME.
9693 (xdr_mapname): Likewise.
9694 (xdr_peername): Likewise.
9695 (xdr_keydat): Use XDRMAXRECORD.
9696 (xdr_valdat): Likewise.
9698 2013-05-30 Jeff Law <law@redhat.com>
9701 * manual/errno.texi (ESTALE): Update to account for more than
9702 just NFS file systems.
9703 * sysdeps/gnu/errlist.c: Regenerated.
9705 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9708 * elf/Makefile (tests): Add tst-null-argv.
9709 (modules-names): Add tst-null-argv-lib.
9710 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9711 (tst-null-argv-ENV): Set environment for tst-null-argv.
9712 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9713 (RTLD_PROGNAME): New macro.
9714 * elf/tst-null-argv.c: New test case.
9715 * elf/tst-null-argv-lib.c: Library for test case.
9716 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9717 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9718 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9719 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9720 * elf/dl-init.c (call_init): Likewise.
9721 (_dl_init): Likewise.
9722 * elf/dl-load.c (print_search_path): Likewise.
9723 (_dl_map_object): Likewise.
9724 * elf/dl-lookup.c (do_lookup_x): Likewise.
9725 (add_dependency): Likewise.
9726 (_dl_lookup_symbol_x): Likewise.
9727 (_dl_debug_bindings): Likewise.
9728 * elf/dl-open.c (_dl_show_scope): Likewise.
9729 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9730 * elf/dl-version.c (match_symbol): Likewise.
9731 (_dl_check_map_versions): Likewise.
9732 * elf/rtld.c (dl_main): Likewise.
9733 (print_unresolved): Use RTLD_PROGNAME.
9734 (print_missing_version): Likewise.
9735 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9736 (elf_machine_rela): Likewise.
9737 * sysdeps/powerpc/powerpc32/dl-machine.c
9738 (__process_machine_rela): Likewise.
9739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9741 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9743 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9745 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9746 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9748 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9750 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9752 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9754 * po/be.po: Add descriptive title.
9755 * po/zh_CN.po: Likewise.
9756 * po/header.pot: Likewise.
9758 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9760 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9762 (enlarge_archive): Likewise.
9764 2013-05-28 Ben North <ben@redfrontdoor.org>
9766 * manual/arith.texi (frexp): It is the magnitude of the return
9767 value which lies in [0.5, 1), not the return value itself.
9769 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9773 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9775 * stdio-common/bug26.c (main): Correct fscanf template.
9777 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9778 declare _dl_skip_args.
9780 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9783 * manual/platform.texi: Add missing @end deftypefun.
9785 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9788 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9789 bit of mantissa of 2^16382.
9790 * math/libm-test.inc (hypot_test_data): Add more tests.
9792 * math/libm-test.inc: Add drem and pow10 to list of tested
9794 (pow10_test): New function.
9795 (drem_test): Likewise.
9796 (drem_test_tonearest): Likewise.
9797 (drem_test_towardzero): Likewise.
9798 (drem_test_downward): Likewise.
9799 (drem_test_upward): Likewise.
9800 (main): Call the new functions.
9802 * math/libm-test.inc (finite_test_data): Remove.
9803 (finite_test): Run tests from isfinite_test_data.
9804 (gamma_test_data): Remove.
9805 (gamma_test): Run tests from lgamma_test_data.
9806 * sysdeps/i386/fpu/libm-test-ulps: Update.
9807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9809 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9811 * manual/platform.texi: Add PowerPC PPR function set documentation.
9812 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9815 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9817 * math/libm-test.inc (MAX_EXP): Define.
9819 (ulp): New function.
9820 (check_float_internal): Use ULPDIFF.
9821 (cpow_test): Disable failing test.
9822 (check_ulp): Test ulp() implemetnation.
9823 (main): Call check_ulp before starting tests.
9825 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9827 * math/gen-libm-test.pl (generate_testfile): Do not handle
9828 START_DATA and END_DATA.
9829 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9831 (acos_tonearest_test_data): Likewise.
9832 (acos_towardzero_test_data): Likewise.
9833 (acos_downward_test_data): Likewise.
9834 (acos_upward_test_data): Likewise.
9835 (acosh_test_data): Likewise.
9836 (asin_test_data): Likewise.
9837 (asin_tonearest_test_data): Likewise.
9838 (asin_towardzero_test_data): Likewise.
9839 (asin_downward_test_data): Likewise.
9840 (asin_upward_test_data): Likewise.
9841 (asinh_test_data): Likewise.
9842 (atan_test_data): Likewise.
9843 (atanh_test_data): Likewise.
9844 (atan2_test_data): Likewise.
9845 (cabs_test_data): Likewise.
9846 (cacos_test_data): Likewise.
9847 (cacosh_test_data): Likewise.
9848 (carg_test_data): Likewise.
9849 (casin_test_data): Likewise.
9850 (casinh_test_data): Likewise.
9851 (catan_test_data): Likewise.
9852 (catanh_test_data): Likewise.
9853 (cbrt_test_data): Likewise.
9854 (ccos_test_data): Likewise.
9855 (ccosh_test_data): Likewise.
9856 (ceil_test_data): Likewise.
9857 (cexp_test_data): Likewise.
9858 (cimag_test_data): Likewise.
9859 (clog_test_data): Likewise.
9860 (clog10_test_data): Likewise.
9861 (conj_test_data): Likewise.
9862 (copysign_test_data): Likewise.
9863 (cos_test_data): Likewise.
9864 (cos_tonearest_test_data): Likewise.
9865 (cos_towardzero_test_data): Likewise.
9866 (cos_downward_test_data): Likewise.
9867 (cos_upward_test_data): Likewise.
9868 (cosh_test_data): Likewise.
9869 (cosh_tonearest_test_data): Likewise.
9870 (cosh_towardzero_test_data): Likewise.
9871 (cosh_downward_test_data): Likewise.
9872 (cosh_upward_test_data): Likewise.
9873 (cpow_test_data): Likewise.
9874 (cproj_test_data): Likewise.
9875 (creal_test_data): Likewise.
9876 (csin_test_data): Likewise.
9877 (csinh_test_data): Likewise.
9878 (csqrt_test_data): Likewise.
9879 (ctan_test_data): Likewise.
9880 (ctan_tonearest_test_data): Likewise.
9881 (ctan_towardzero_test_data): Likewise.
9882 (ctan_downward_test_data): Likewise.
9883 (ctan_upward_test_data): Likewise.
9884 (ctanh_test_data): Likewise.
9885 (ctanh_tonearest_test_data): Likewise.
9886 (ctanh_towardzero_test_data): Likewise.
9887 (ctanh_downward_test_data): Likewise.
9888 (ctanh_upward_test_data): Likewise.
9889 (erf_test_data): Likewise.
9890 (erfc_test_data): Likewise.
9891 (exp_test_data): Likewise.
9892 (exp_tonearest_test_data): Likewise.
9893 (exp_towardzero_test_data): Likewise.
9894 (exp_downward_test_data): Likewise.
9895 (exp_upward_test_data): Likewise.
9896 (exp10_test_data): Likewise.
9897 (exp2_test_data): Likewise.
9898 (expm1_test_data): Likewise.
9899 (fabs_test_data): Likewise.
9900 (fdim_test_data): Likewise.
9901 (finite_test_data): Likewise.
9902 (floor_test_data): Likewise.
9903 (fma_test_data): Likewise.
9904 (fma_towardzero_test_data): Likewise.
9905 (fma_downward_test_data): Likewise.
9906 (fma_upward_test_data): Likewise.
9907 (fmax_test_data): Likewise.
9908 (fmin_test_data): Likewise.
9909 (fmod_test_data): Likewise.
9910 (fpclassify_test_data): Likewise.
9911 (frexp_test_data): Likewise.
9912 (gamma_test_data): Likewise.
9913 (hypot_test_data): Likewise.
9914 (ilogb_test_data): Likewise.
9915 (isfinite_test_data): Likewise.
9916 (isgreater_test_data): Likewise.
9917 (isgreaterequal_test_data): Likewise.
9918 (isinf_test_data): Likewise.
9919 (isless_test_data): Likewise.
9920 (islessequal_test_data): Likewise.
9921 (islessgreater_test_data): Likewise.
9922 (isnan_test_data): Likewise.
9923 (isnormal_test_data): Likewise.
9924 (issignaling_test_data): Likewise.
9925 (isunordered_test_data): Likewise.
9926 (j0_test_data): Likewise.
9927 (j1_test_data): Likewise.
9928 (jn_test_data): Likewise.
9929 (ldexp_test_data): Likewise.
9930 (lgamma_test_data): Likewise.
9931 (lrint_test_data): Likewise.
9932 (lrint_tonearest_test_data): Likewise.
9933 (lrint_towardzero_test_data): Likewise.
9934 (lrint_downward_test_data): Likewise.
9935 (lrint_upward_test_data): Likewise.
9936 (llrint_test_data): Likewise.
9937 (llrint_tonearest_test_data): Likewise.
9938 (llrint_towardzero_test_data): Likewise.
9939 (llrint_downward_test_data): Likewise.
9940 (llrint_upward_test_data): Likewise.
9941 (log_test_data): Likewise.
9942 (log10_test_data): Likewise.
9943 (log1p_test_data): Likewise.
9944 (log2_test_data): Likewise.
9945 (logb_test_data): Likewise.
9946 (logb_downward_test_data): Likewise.
9947 (lround_test_data): Likewise.
9948 (llround_test_data): Likewise.
9949 (modf_test_data): Likewise.
9950 (nearbyint_test_data): Likewise.
9951 (nextafter_test_data): Likewise.
9952 (nexttoward_test_data): Likewise.
9953 (pow_test_data): Likewise.
9954 (pow_tonearest_test_data): Likewise.
9955 (pow_towardzero_test_data): Likewise.
9956 (pow_downward_test_data): Likewise.
9957 (pow_upward_test_data): Likewise.
9958 (remainder_test_data): Likewise.
9959 (remainder_tonearest_test_data): Likewise.
9960 (remainder_towardzero_test_data): Likewise.
9961 (remainder_downward_test_data): Likewise.
9962 (remainder_upward_test_data): Likewise.
9963 (remquo_test_data): Likewise.
9964 (rint_test_data): Likewise.
9965 (rint_tonearest_test_data): Likewise.
9966 (rint_towardzero_test_data): Likewise.
9967 (rint_downward_test_data): Likewise.
9968 (rint_upward_test_data): Likewise.
9969 (round_test_data): Likewise.
9970 (scalb_test_data): Likewise.
9971 (scalbn_test_data): Likewise.
9972 (scalbln_test_data): Likewise.
9973 (signbit_test_data): Likewise.
9974 (sin_test_data): Likewise.
9975 (sin_tonearest_test_data): Likewise.
9976 (sin_towardzero_test_data): Likewise.
9977 (sin_downward_test_data): Likewise.
9978 (sin_upward_test_data): Likewise.
9979 (sincos_test_data): Likewise.
9980 (sinh_test_data): Likewise.
9981 (sinh_tonearest_test_data): Likewise.
9982 (sinh_towardzero_test_data): Likewise.
9983 (sinh_downward_test_data): Likewise.
9984 (sinh_upward_test_data): Likewise.
9985 (sqrt_test_data): Likewise.
9986 (tan_test_data): Likewise.
9987 (tan_tonearest_test_data): Likewise.
9988 (tan_towardzero_test_data): Likewise.
9989 (tan_downward_test_data): Likewise.
9990 (tan_upward_test_data): Likewise.
9991 (tanh_test_data): Likewise.
9992 (tgamma_test_data): Likewise.
9993 (trunc_test_data): Likewise.
9994 (y0_test_data): Likewise.
9995 (y1_test_data): Likewise.
9996 (yn_test_data): Likewise.
9997 (significand_test_data): Likewise.
9999 * math/gen-libm-test.pl (@functions): Remove variable.
10000 (generate_testfile): Don't handle START and END lines.
10001 * math/libm-test.inc (START): New macro.
10003 (END_COMPLEX): Likewise.
10004 (acos_test): Use END macro without arguments.
10005 (acos_test_tonearest): Likewise.
10006 (acos_test_towardzero): Likewise.
10007 (acos_test_downward): Likewise.
10008 (acos_test_upward): Likewise.
10009 (acosh_test): Likewise.
10010 (asin_test): Likewise.
10011 (asin_test_tonearest): Likewise.
10012 (asin_test_towardzero): Likewise.
10013 (asin_test_downward): Likewise.
10014 (asin_test_upward): Likewise.
10015 (asinh_test): Likewise.
10016 (atan_test): Likewise.
10017 (atanh_test): Likewise.
10018 (atan2_test): Likewise.
10019 (cabs_test): Likewise.
10020 (cacos_test): Use END_COMPLEX macro without arguments.
10021 (cacosh_test): Likewise.
10022 (carg_test): Use END macro without arguments.
10023 (casin_test): Use END_COMPLEX macro without arguments.
10024 (casinh_test): Likewise.
10025 (catan_test): Likewise.
10026 (catanh_test): Likewise.
10027 (cbrt_test): Use END macro without arguments.
10028 (ccos_test): Use END_COMPLEX macro without arguments.
10029 (ccosh_test): Likewise.
10030 (ceil_test): Use END macro without arguments.
10031 (cexp_test): Use END_COMPLEX macro without arguments.
10032 (cimag_test): Use END macro without arguments.
10033 (clog_test): Use END_COMPLEX macro without arguments.
10034 (clog10_test): Likewise.
10035 (conj_test): Likewise.
10036 (copysign_test): Use END macro without arguments.
10037 (cos_test): Likewise.
10038 (cos_test_tonearest): Likewise.
10039 (cos_test_towardzero): Likewise.
10040 (cos_test_downward): Likewise.
10041 (cos_test_upward): Likewise.
10042 (cosh_test): Likewise.
10043 (cosh_test_tonearest): Likewise.
10044 (cosh_test_towardzero): Likewise.
10045 (cosh_test_downward): Likewise.
10046 (cosh_test_upward): Likewise.
10047 (cpow_test): Use END_COMPLEX macro without arguments.
10048 (cproj_test): Likewise.
10049 (creal_test): Use END macro without arguments.
10050 (csin_test): Use END_COMPLEX macro without arguments.
10051 (csinh_test): Likewise.
10052 (csqrt_test): Likewise.
10053 (ctan_test): Likewise.
10054 (ctan_test_tonearest): Likewise.
10055 (ctan_test_towardzero): Likewise.
10056 (ctan_test_downward): Likewise.
10057 (ctan_test_upward): Likewise.
10058 (ctanh_test): Likewise.
10059 (ctanh_test_tonearest): Likewise.
10060 (ctanh_test_towardzero): Likewise.
10061 (ctanh_test_downward): Likewise.
10062 (ctanh_test_upward): Likewise.
10063 (erf_test): Use END macro without arguments.
10064 (erfc_test): Likewise.
10065 (exp_test): Likewise.
10066 (exp_test_tonearest): Likewise.
10067 (exp_test_towardzero): Likewise.
10068 (exp_test_downward): Likewise.
10069 (exp_test_upward): Likewise.
10070 (exp10_test): Likewise.
10071 (exp2_test): Likewise.
10072 (expm1_test): Likewise.
10073 (fabs_test): Likewise.
10074 (fdim_test): Likewise.
10075 (finite_test): Likewise.
10076 (floor_test): Likewise.
10077 (fma_test): Likewise.
10078 (fma_test_towardzero): Likewise.
10079 (fma_test_downward): Likewise.
10080 (fma_test_upward): Likewise.
10081 (fmax_test): Likewise.
10082 (fmin_test): Likewise.
10083 (fmod_test): Likewise.
10084 (fpclassify_test): Likewise.
10085 (frexp_test): Likewise.
10086 (gamma_test): Likewise.
10087 (hypot_test): Likewise.
10088 (ilogb_test): Likewise.
10089 (isfinite_test): Likewise.
10090 (isgreater_test): Likewise.
10091 (isgreaterequal_test): Likewise.
10092 (isinf_test): Likewise.
10093 (isless_test): Likewise.
10094 (islessequal_test): Likewise.
10095 (islessgreater_test): Likewise.
10096 (isnan_test): Likewise.
10097 (isnormal_test): Likewise.
10098 (issignaling_test): Likewise.
10099 (isunordered_test): Likewise.
10100 (j0_test): Likewise.
10101 (j1_test): Likewise.
10102 (jn_test): Likewise.
10103 (ldexp_test): Likewise.
10104 (lgamma_test): Likewise.
10105 (lrint_test): Likewise.
10106 (lrint_test_tonearest): Likewise.
10107 (lrint_test_towardzero): Likewise.
10108 (lrint_test_downward): Likewise.
10109 (lrint_test_upward): Likewise.
10110 (llrint_test): Likewise.
10111 (llrint_test_tonearest): Likewise.
10112 (llrint_test_towardzero): Likewise.
10113 (llrint_test_downward): Likewise.
10114 (llrint_test_upward): Likewise.
10115 (log_test): Likewise.
10116 (log10_test): Likewise.
10117 (log1p_test): Likewise.
10118 (log2_test): Likewise.
10119 (logb_test): Likewise.
10120 (logb_test_downward): Likewise.
10121 (lround_test): Likewise.
10122 (llround_test): Likewise.
10123 (modf_test): Likewise.
10124 (nearbyint_test): Likewise.
10125 (nextafter_test): Likewise.
10126 (nexttoward_test): Likewise.
10127 (pow_test): Likewise.
10128 (pow_test_tonearest): Likewise.
10129 (pow_test_towardzero): Likewise.
10130 (pow_test_downward): Likewise.
10131 (pow_test_upward): Likewise.
10132 (remainder_test): Likewise.
10133 (remainder_test_tonearest): Likewise.
10134 (remainder_test_towardzero): Likewise.
10135 (remainder_test_downward): Likewise.
10136 (remainder_test_upward): Likewise.
10137 (remquo_test): Likewise.
10138 (rint_test): Likewise.
10139 (rint_test_tonearest): Likewise.
10140 (rint_test_towardzero): Likewise.
10141 (rint_test_downward): Likewise.
10142 (rint_test_upward): Likewise.
10143 (round_test): Likewise.
10144 (scalb_test): Likewise.
10145 (scalbn_test): Likewise.
10146 (scalbln_test): Likewise.
10147 (signbit_test): Likewise.
10148 (sin_test): Likewise.
10149 (sin_test_tonearest): Likewise.
10150 (sin_test_towardzero): Likewise.
10151 (sin_test_downward): Likewise.
10152 (sin_test_upward): Likewise.
10153 (sincos_test): Likewise.
10154 (sinh_test): Likewise.
10155 (sinh_test_tonearest): Likewise.
10156 (sinh_test_towardzero): Likewise.
10157 (sinh_test_downward): Likewise.
10158 (sinh_test_upward): Likewise.
10159 (sqrt_test): Likewise.
10160 (tan_test): Likewise.
10161 (tan_test_tonearest): Likewise.
10162 (tan_test_towardzero): Likewise.
10163 (tan_test_downward): Likewise.
10164 (tan_test_upward): Likewise.
10165 (tanh_test): Likewise.
10166 (tgamma_test): Likewise.
10167 (trunc_test): Likewise.
10168 (y0_test): Likewise.
10169 (y1_test): Likewise.
10170 (yn_test): Likewise.
10171 (significand_test): Likewise.
10173 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10176 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10178 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10181 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10182 __ppc_mdoio and __ppc_mdoom.
10183 * manual/platform.texi: Document new functions __ppc_yield,
10184 __ppc_mdoio and __ppc_mdoom.
10186 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10188 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10189 (main): Mention "tls" pseudo-hwcap is legacy.
10190 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10192 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10194 * math/gen-libm-test.pl (parse_args): Output only string of
10195 arguments as text for test name, not full call or descriptions of
10196 tests for extra outputs.
10197 (generate_testfile): Do not pass function name to parse_args.
10198 Generate this_func variable from START.
10199 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10201 (struct test_ff_f_data): Likewise.
10202 (test_ff_f_data_nexttoward): Likewise.
10203 (struct test_fi_f_data): Likewise.
10204 (struct test_fl_f_data): Likewise.
10205 (struct test_if_f_data): Likewise.
10206 (struct test_fff_f_data): Likewise.
10207 (struct test_c_f_data): Likewise.
10208 (struct test_f_f1_data): Likewise. Remove field extra_name.
10209 (struct test_fF_f1_data): Likewise.
10210 (struct test_ffI_f1_data): Likewise.
10211 (struct test_c_c_data): Rename test_name field to arg_str.
10212 (struct test_cc_c_data): Likewise.
10213 (struct test_f_i_data): Likewise.
10214 (struct test_ff_i_data): Likewise.
10215 (struct test_f_l_data): Likewise.
10216 (struct test_f_L_data): Likewise.
10217 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10219 (COMMON_TEST_SETUP): New macro.
10220 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10221 (COMMON_TEST_CLEANUP): Likewise.
10222 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10223 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10225 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10226 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10228 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10229 (RUN_TEST_fff_f): Take argument string. Call new setup and
10231 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10232 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10234 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10235 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10237 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10238 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10240 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10241 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10243 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10244 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10246 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10247 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10249 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10250 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10252 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10253 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10255 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10256 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10258 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10259 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10261 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10262 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10264 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10265 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10267 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10268 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10270 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10271 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10273 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10274 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10276 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10278 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10280 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10281 to _sifields.sigfault.
10282 (si_addr_lsb): Define new macro.
10283 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10284 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10285 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10287 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10290 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10292 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10294 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10295 loading the domain.
10297 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10299 * math/gen-libm-test.pl (parse_args): Do not include expected
10300 result in test name.
10301 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10302 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10303 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10304 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10305 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10308 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10310 * benchtests/Makefile: Sort function entries.
10312 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10313 tanh, asinh, acosh, atanh.
10314 * benchtests/acos-inputs: New file.
10315 * benchtests/acosh-inputs: New file.
10316 * benchtests/asin-inputs: New file.
10317 * benchtests/asinh-inputs: New file.
10318 * benchtests/atanh-inputs: New file.
10319 * benchtests/cosh-inputs: New file.
10320 * benchtests/log-inputs: New file.
10321 * benchtests/sinh-inputs: New file.
10322 * benchtests/tanh-inputs: New file.
10324 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10327 * posix/tst-getaddrinfo4.c: New test.
10328 * posix/Makefile (tests): Add it.
10330 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10333 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10334 when no services were used.
10335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10336 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10338 2013-05-21 Andreas Schwab <schwab@suse.de>
10341 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10342 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10344 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10345 redundant variable declarations and reallocation of buffer when
10346 parsing as IPv6 address. Always set NSS status when called from
10347 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10348 buffer too small. Correct computation of needed size.
10349 * nss/Makefile (tests): Add test-digits-dots.
10350 * nss/test-digits-dots.c: New test.
10352 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10354 * benchtests/Makefile: Remove instructions for adding
10356 * benchtests/README: New file to explain how to execute and
10357 enhance the benchmark tests.
10359 2013-05-21 Andreas Schwab <schwab@suse.de>
10362 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10363 * setjmp/tst-sigsetjmp.c: New test.
10365 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10367 * sysdeps/x86_64/memset.S (memset): New implementation.
10368 (__bzero): Likewise.
10369 (__memset_tail): New function.
10371 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10373 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10374 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10375 __memcpy_sse2_unaligned ifunc selection.
10376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10377 Add memcpy-sse2-unaligned.S.
10378 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10379 Add: __memcpy_sse2_unaligned.
10381 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10384 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10385 math_force_eval before restoring floating-point envrionment.
10386 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10387 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10389 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10391 (__nearbyintl): Use math_force_eval before restoring
10392 floating-point environment.
10393 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10395 * math/gen-libm-test.pl (special_functions): Remove.
10396 (parse_args): Don't handle TEST_extra. Handle functions with no
10398 * math/libm-test.inc (struct test_sincos_data): Replace with
10399 struct test_fFF_11_data.
10400 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10401 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10402 (sincos_test_data): Change element type to struct
10403 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10404 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10405 RUN_TEST_LOOP_sincos.
10406 * math/README.libm-test: Don't mention special handling of
10407 individual functions.
10408 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10410 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10412 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10415 * math/gen-libm-test.pl (get_variable): Remove function.
10416 (parse_args): Don't show pointer parameters to call in test
10417 names. Use "extra output N" in test names for extra outputs
10418 rather than naming variables.
10420 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10423 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10424 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10425 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10427 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10429 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10432 * math/gen-libm-test.pl (@tests): Remove variable.
10433 ($count): Likewise.
10434 (new_test): Remove function.
10435 (show_exceptions): New function.
10436 (special_functions): Use show_exceptions instead of new_test.
10437 (parse_args): Likewise.
10438 (generate_testfile): Pass only function name in generated call to
10439 print_max_error or print_complex_max_error.
10440 (get_ulps): Do not handle complex tests specially.
10441 (output_test): Rename to ...
10442 (get_all_ulps_for_test): ... this. Return a string rather than
10443 printing to a file. Require ulps to be present.
10444 (output_ulps): Generate arrays rather than #defines.
10445 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10446 (struct ulp_data): New type.
10447 (BUILD_COMPLEX_ULP): Remove macro.
10448 (compare_ulp_data): New function.
10449 (find_ulps): Likewise.
10450 (find_test_ulps): Likewise.
10451 (find_function_ulps): Likewise.
10452 (find_complex_function_ulps): Likewise.
10453 (print_max_error): Determine allowed ulps using
10454 find_function_ulps.
10455 (print_complex_max_error): Determine allowed ulps using
10456 find_complex_function_ulps.
10457 (check_float_internal): Determine max ulps using find_test_ulps.
10458 (check_float): Do not take max_ulp parameter. Update call to
10459 check_float_internal.
10460 (check_complex): Likewise.
10461 (check_int): Do not take max_ulp parameter.
10462 (check_long): Likewise.
10463 (check_bool): Likewise.
10464 (check_longlong): Likewise.
10465 (struct test_f_f_data): Remove max_ulp field.
10466 (struct test_ff_f_data): Likewise.
10467 (struct test_ff_f_data_nexttoward): Likewise.
10468 (struct test_fi_f_data): Likewise.
10469 (struct test_fl_f_data): Likewise.
10470 (struct test_if_f_data): Likewise.
10471 (struct test_fff_f_data): Likewise.
10472 (struct test_c_f_data): Likewise.
10473 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10474 (struct test_fF_f1_data): Likewise.
10475 (struct test_ffI_f1_data): Likewise.
10476 (struct test_c_c_data): Remove max_ulp field.
10477 (struct test_cc_c_data): Likewise.
10478 (struct test_f_i_data): Likewise.
10479 (struct test_ff_i_data): Likewise.
10480 (struct test_f_l_data): Likewise.
10481 (struct test_f_L_data): Likewise.
10482 (struct test_sincos_data): Likewise.
10483 (RUN_TEST_f_f): Do not handle ulps.
10484 (RUN_TEST_LOOP_f_f): Likewise.
10485 (RUN_TEST_2_f): Likewise.
10486 (RUN_TEST_LOOP_2_f): Likewise.
10487 (RUN_TEST_fff_f): Likewise.
10488 (RUN_TEST_LOOP_fff_f): Likewise.
10489 (RUN_TEST_c_f): Likewise.
10490 (RUN_TEST_LOOP_c_f): Likewise.
10491 (RUN_TEST_f_f1): Likewise.
10492 (RUN_TEST_LOOP_f_f1): Likewise.
10493 (RUN_TEST_fF_f1): Likewise.
10494 (RUN_TEST_LOOP_fF_f1): Likewise.
10495 (RUN_TEST_fI_f1): Likewise.
10496 (RUN_TEST_LOOP_fI_f1): Likewise.
10497 (RUN_TEST_ffI_f1): Likewise.
10498 (RUN_TEST_LOOP_ffI_f1): Likewise.
10499 (RUN_TEST_c_c): Likewise.
10500 (RUN_TEST_LOOP_c_c): Likewise.
10501 (RUN_TEST_cc_c): Likewise.
10502 (RUN_TEST_LOOP_cc_c): Likewise.
10503 (RUN_TEST_f_i): Likewise.
10504 (RUN_TEST_LOOP_f_i): Likewise.
10505 (RUN_TEST_f_i_tg): Likewise.
10506 (RUN_TEST_LOOP_f_i_tg): Likewise.
10507 (RUN_TEST_ff_i_tg): Likewise.
10508 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10509 (RUN_TEST_f_b): Likewise.
10510 (RUN_TEST_LOOP_f_b): Likewise.
10511 (RUN_TEST_f_b_tg): Likewise.
10512 (RUN_TEST_LOOP_f_b_tg): Likewise.
10513 (RUN_TEST_f_l): Likewise.
10514 (RUN_TEST_LOOP_f_l): Likewise.
10515 (RUN_TEST_f_L): Likewise.
10516 (RUN_TEST_LOOP_f_L): Likewise.
10517 (RUN_TEST_sincos): Likewise.
10518 (RUN_TEST_LOOP_sincos): Likewise.
10520 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10524 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10525 main case of finite arguments, set rounding mode to FE_TONEAREST
10526 and discard exceptions.
10527 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10529 (remainder_tonearest_test_data): New variable.
10530 (remainder_test_tonearest): New function.
10531 (remainder_towardzero_test_data): New variable.
10532 (remainder_test_towardzero): New function.
10533 (remainder_downward_test_data): New variable.
10534 (remainder_test_downward): New function.
10535 (remainder_upward_test_data): New variable.
10536 (remainder_test_upward): New function.
10537 (main): Call the new test functions.
10539 * math/libm-test.inc (struct test_f_f1_data): Remove field
10541 (struct test_fF_f1_data): Likewise.
10542 (struct test_ffI_f1_data): Likewise.
10543 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10544 based on value of EXTRA_EXPECTED.
10545 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10546 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10547 EXTRA_VAR based on value of EXTRA_EXPECTED.
10548 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10549 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10550 EXTRA_VAR based on value of EXTRA_EXPECTED.
10551 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10552 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10553 EXTRA_VAR based on value of EXTRA_EXPECTED.
10554 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10555 * math/gen-libm-test.pl (parse_args): Don't output initializers
10556 for extra output values.
10558 * math/libm-test.inc (check_int): Expect result to be exactly
10559 equal to expected value and do not handle ulps.
10560 (check_long): Likewise.
10561 (check_longlong): Likewise.
10563 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10565 (cimag_test_data): Likewise.
10566 (conj_test_data): Likewise.
10567 (copysign_test_data): Likewise.
10568 (cproj_test_data): Likewise.
10569 (creal_test_data): Likewise.
10570 (fabs_test_data): Likewise.
10571 (fdim_test_data): Likewise.
10572 (finite_test_data): Likewise.
10573 (floor_test_data): Likewise.
10574 (fmax_test_data): Likewise.
10575 (fmin_test_data): Likewise.
10576 (fmod_test_data): Likewise.
10577 (fpclassify_test_data): Likewise.
10578 (frexp_test_data): Likewise.
10579 (ilogb_test_data): Likewise.
10580 (isfinite_test_data): Likewise.
10581 (isgreater_test_data): Likewise.
10582 (isgreaterequal_test_data): Likewise.
10583 (isinf_test_data): Likewise.
10584 (isless_test_data): Likewise.
10585 (islessequal_test_data): Likewise.
10586 (islessgreater_test_data): Likewise.
10587 (isnan_test_data): Likewise.
10588 (isnormal_test_data): Likewise.
10589 (issignaling_test_data): Likewise.
10590 (isunordered_test_data): Likewise.
10591 (ldexp_test_data): Likewise.
10592 (lrint_test_data): Likewise.
10593 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10594 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10595 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10596 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10597 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10598 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10600 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10601 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10602 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10603 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10605 (lrint_downward_test_data): Test for "inexact" exceptions.
10606 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10607 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10608 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10610 (lrint_upward_test_data): Test for "inexact" exceptions.
10611 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10613 (llrint_test_data): Test for "inexact" exceptions.
10614 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10615 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10616 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10617 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10618 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10619 (llrint_downward_test_data): Test for "inexact" exceptions.
10620 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10621 (llrint_upward_test_data): Test for "inexact" exceptions.
10622 (logb_test_data): Likewise.
10623 (logb_downward_test_data): Likewise.
10624 (nextafter_test_data): Likewise.
10625 (nexttoward_test_data): Likewise.
10626 (remainder_test_data): Likewise.
10627 (remquo_test_data): Likewise.
10628 (scalbn_test_data): Likewise.
10629 (scalbln_test_data): Likewise.
10630 (signbit_test_data): Likewise.
10631 (sqrt_test_data): Likewise.
10632 (significand_test_data): Likewise.
10634 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10637 * benchtests/bench-modf.c (struct args): Mark arg0 as
10639 * scripts/bench.pl: Mark members of struct args as volatile.
10641 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10644 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10645 negative infinity on POWER6 or lower.
10646 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10648 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10651 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10652 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10653 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10654 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10655 (_FP_SETQNAN): New macro.
10656 (_FP_SETQNAN_SEMIRAW): Likewise.
10657 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10658 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10659 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10660 (FP_EXTEND): Use _FP_FRAC_SNANP.
10661 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10662 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10664 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10669 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10671 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10672 with DIVIDE_BY_ZERO_EXCEPTION.
10673 (gamma_test_data): Likewise.
10674 (lgamma_test_data): Likewise.
10675 (log_test_data): Likewise.
10676 (log10_test_data): Likewise.
10677 (log2_test_data): Likewise.
10678 (tgamma_test_data): Likewise.
10680 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10681 (acos_test_tonearest): Likewise.
10682 (acos_test_towardzero): Likewise.
10683 (acos_test_downward): Likewise.
10684 (acos_test_upward): Likewise.
10685 (acosh_test): Likewise.
10686 (asin_test): Likewise.
10687 (asin_test_tonearest): Likewise.
10688 (asin_test_towardzero): Likewise.
10689 (asin_test_downward): Likewise.
10690 (asin_test_upward): Likewise.
10691 (asinh_test): Likewise.
10692 (atan_test): Likewise.
10693 (atanh_test): Likewise.
10694 (atan2_test): Likewise.
10695 (cabs_test): Likewise.
10696 (cacos_test): Likewise.
10697 (cacosh_test): Likewise.
10698 (casin_test): Likewise.
10699 (casinh_test): Likewise.
10700 (catan_test): Likewise.
10701 (catanh_test): Likewise.
10702 (cbrt_test): Likewise.
10703 (ccos_test): Likewise.
10704 (ccosh_test): Likewise.
10705 (cexp_test): Likewise.
10706 (clog_test): Likewise.
10707 (clog10_test): Likewise.
10708 (cos_test): Likewise.
10709 (cos_test_tonearest): Likewise.
10710 (cos_test_towardzero): Likewise.
10711 (cos_test_downward): Likewise.
10712 (cos_test_upward): Likewise.
10713 (cosh_test): Likewise.
10714 (cosh_test_tonearest): Likewise.
10715 (cosh_test_towardzero): Likewise.
10716 (cosh_test_downward): Likewise.
10717 (cosh_test_upward): Likewise.
10718 (cpow_test): Likewise.
10719 (csin_test): Likewise.
10720 (csinh_test): Likewise.
10721 (csqrt_test): Likewise.
10722 (ctan_test): Likewise.
10723 (ctan_test_tonearest): Likewise.
10724 (ctan_test_towardzero): Likewise.
10725 (ctan_test_downward): Likewise.
10726 (ctan_test_upward): Likewise.
10727 (ctanh_test): Likewise.
10728 (ctanh_test_tonearest): Likewise.
10729 (ctanh_test_towardzero): Likewise.
10730 (ctanh_test_downward): Likewise.
10731 (ctanh_test_upward): Likewise.
10732 (erf_test): Likewise.
10733 (erfc_test): Likewise.
10734 (exp_test): Likewise.
10735 (exp_test_tonearest): Likewise.
10736 (exp_test_towardzero): Likewise.
10737 (exp_test_downward): Likewise.
10738 (exp_test_upward): Likewise.
10739 (exp10_test): Likewise.
10740 (exp2_test): Likewise.
10741 (expm1_test): Likewise.
10742 (fmod_test): Likewise.
10743 (gamma_test): Likewise.
10744 (hypot_test): Likewise.
10745 (j0_test): Likewise.
10746 (j1_test): Likewise.
10747 (jn_test): Likewise.
10748 (lgamma_test): Likewise.
10749 (log_test): Likewise.
10750 (log10_test): Likewise.
10751 (log1p_test): Likewise.
10752 (log2_test): Likewise.
10753 (logb_test_downward): Likewise.
10754 (pow_test): Likewise.
10755 (pow_test_tonearest): Likewise.
10756 (pow_test_towardzero): Likewise.
10757 (pow_test_downward): Likewise.
10758 (pow_test_upward): Likewise.
10759 (remainder_test): Likewise.
10760 (remquo_test): Likewise.
10761 (sin_test): Likewise.
10762 (sin_test_tonearest): Likewise.
10763 (sin_test_towardzero): Likewise.
10764 (sin_test_downward): Likewise.
10765 (sin_test_upward): Likewise.
10766 (sincos_test): Likewise.
10767 (sinh_test): Likewise.
10768 (sinh_test_tonearest): Likewise.
10769 (sinh_test_towardzero): Likewise.
10770 (sinh_test_downward): Likewise.
10771 (sinh_test_upward): Likewise.
10772 (sqrt_test): Likewise.
10773 (tan_test): Likewise.
10774 (tan_test_tonearest): Likewise.
10775 (tan_test_towardzero): Likewise.
10776 (tan_test_downward): Likewise.
10777 (tan_test_upward): Likewise.
10778 (tanh_test): Likewise.
10779 (tgamma_test): Likewise.
10780 (y0_test): Likewise.
10781 (y1_test): Likewise.
10782 (yn_test): Likewise.
10784 * math/gen-libm-test.pl (adjust_arg): Remove function.
10785 (special_function): Remove argument $in_func. Only handle
10786 generating output for tables of tests, not inside functions.
10787 (parse_args): Likewise.
10788 (generate_testfile): Remove variable $in_func. Update call to
10790 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10791 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10792 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10793 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10794 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10795 (MAX_VALUE_INIT): Rename macro to max_value.
10796 (MIN_VALUE_INIT): Rename macro to min_value.
10797 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10798 (plus_zero): Remove variable.
10799 (minus_zero): Likewise.
10800 (plus_infty): Likewise.
10801 (minus_infty): Likewise.
10802 (qnan_value): Likewise.
10803 (max_value): Likewise.
10804 (min_value): Likewise.
10805 (min_subnorm_value): Likewise.
10807 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10809 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10810 uint64_t or uint32_t usage.
10811 * crypt/sha256-block.c: Likewise.
10812 * crypt/sha256-crypt.c: Likewise.
10813 * crypt/sha256.c: Likewise.
10814 * crypt/sha512-block.c: Likewise.
10815 * crypt/sha512-crypt.c: Likewise.
10816 * crypt/sha512.c: Likewise.
10817 * debug/backtrace-tst.c: Likewise.
10818 * debug/pcprofiledump.c: Likewise.
10819 * elf/cache.c: Likewise.
10820 * elf/dl-cache.c: Likewise.
10821 * elf/dl-misc.c: Likewise.
10822 * elf/dl-profile.c: Likewise.
10823 * elf/dl-support.c: Likewise.
10824 * elf/ldconfig.c: Likewise.
10825 * elf/sprof.c: Likewise.
10826 * iconv/dummy-repertoire.c: Likewise.
10827 * iconv/iconv_charmap.c: Likewise.
10828 * iconv/skeleton.c: Likewise.
10829 * iconvdata/8bit-generic.c: Likewise.
10830 * iconvdata/cp737.h: Likewise.
10831 * iconvdata/cp775.h: Likewise.
10832 * iconvdata/ibm1008.h: Likewise.
10833 * iconvdata/ibm1025.h: Likewise.
10834 * iconvdata/ibm1046.h: Likewise.
10835 * iconvdata/ibm1097.h: Likewise.
10836 * iconvdata/ibm1112.h: Likewise.
10837 * iconvdata/ibm1122.h: Likewise.
10838 * iconvdata/ibm1123.h: Likewise.
10839 * iconvdata/ibm1124.h: Likewise.
10840 * iconvdata/ibm1129.h: Likewise.
10841 * iconvdata/ibm1130.h: Likewise.
10842 * iconvdata/ibm1132.h: Likewise.
10843 * iconvdata/ibm1133.h: Likewise.
10844 * iconvdata/ibm1137.h: Likewise.
10845 * iconvdata/ibm1140.h: Likewise.
10846 * iconvdata/ibm1141.h: Likewise.
10847 * iconvdata/ibm1142.h: Likewise.
10848 * iconvdata/ibm1143.h: Likewise.
10849 * iconvdata/ibm1144.h: Likewise.
10850 * iconvdata/ibm1145.h: Likewise.
10851 * iconvdata/ibm1146.h: Likewise.
10852 * iconvdata/ibm1147.h: Likewise.
10853 * iconvdata/ibm1148.h: Likewise.
10854 * iconvdata/ibm1149.h: Likewise.
10855 * iconvdata/ibm1153.h: Likewise.
10856 * iconvdata/ibm1154.h: Likewise.
10857 * iconvdata/ibm1155.h: Likewise.
10858 * iconvdata/ibm1156.h: Likewise.
10859 * iconvdata/ibm1157.h: Likewise.
10860 * iconvdata/ibm1158.h: Likewise.
10861 * iconvdata/ibm1160.h: Likewise.
10862 * iconvdata/ibm1161.h: Likewise.
10863 * iconvdata/ibm1162.h: Likewise.
10864 * iconvdata/ibm1163.h: Likewise.
10865 * iconvdata/ibm1164.h: Likewise.
10866 * iconvdata/ibm1166.h: Likewise.
10867 * iconvdata/ibm1167.h: Likewise.
10868 * iconvdata/ibm12712.h: Likewise.
10869 * iconvdata/ibm1390.h: Likewise.
10870 * iconvdata/ibm1399.h: Likewise.
10871 * iconvdata/ibm16804.h: Likewise.
10872 * iconvdata/ibm4517.h: Likewise.
10873 * iconvdata/ibm4899.h: Likewise.
10874 * iconvdata/ibm4909.h: Likewise.
10875 * iconvdata/ibm4971.h: Likewise.
10876 * iconvdata/ibm5347.h: Likewise.
10877 * iconvdata/ibm803.h: Likewise.
10878 * iconvdata/ibm856.h: Likewise.
10879 * iconvdata/ibm901.h: Likewise.
10880 * iconvdata/ibm902.h: Likewise.
10881 * iconvdata/ibm9030.h: Likewise.
10882 * iconvdata/ibm9066.h: Likewise.
10883 * iconvdata/ibm921.h: Likewise.
10884 * iconvdata/ibm922.h: Likewise.
10885 * iconvdata/ibm9448.h: Likewise.
10886 * iconvdata/isiri-3342.h: Likewise.
10887 * iconvdata/jis0201.h: Likewise.
10888 * include/link.h: Likewise.
10889 * include/netdb.h: Likewise.
10890 * inet/check_native.c: Likewise.
10891 * inet/check_pf.c: Likewise.
10892 * inet/getipv4sourcefilter.c: Likewise.
10893 * inet/getnameinfo.c: Likewise.
10894 * inet/getsourcefilter.c: Likewise.
10895 * inet/htonl.c: Likewise.
10896 * inet/setipv4sourcefilter.c: Likewise.
10897 * inet/setsourcefilter.c: Likewise.
10898 * inet/test-inet6_opt.c: Likewise.
10899 * inet/tst-network.c: Likewise.
10900 * locale/C-collate.c: Likewise.
10901 * locale/C-ctype.c: Likewise.
10902 * locale/C-time.c: Likewise.
10903 * locale/C-translit.h: Likewise.
10904 * locale/loadarchive.c: Likewise.
10905 * locale/programs/3level.h: Likewise.
10906 * locale/programs/charmap.c: Likewise.
10907 * locale/programs/charmap.h: Likewise.
10908 * locale/programs/ld-address.c: Likewise.
10909 * locale/programs/ld-collate.c: Likewise.
10910 * locale/programs/ld-ctype.c: Likewise.
10911 * locale/programs/ld-identification.c: Likewise.
10912 * locale/programs/ld-measurement.c: Likewise.
10913 * locale/programs/ld-messages.c: Likewise.
10914 * locale/programs/ld-monetary.c: Likewise.
10915 * locale/programs/ld-name.c: Likewise.
10916 * locale/programs/ld-numeric.c: Likewise.
10917 * locale/programs/ld-paper.c: Likewise.
10918 * locale/programs/ld-telephone.c: Likewise.
10919 * locale/programs/ld-time.c: Likewise.
10920 * locale/programs/linereader.c: Likewise.
10921 * locale/programs/locale.c: Likewise.
10922 * locale/programs/locarchive.c: Likewise.
10923 * locale/programs/locfile.h: Likewise.
10924 * locale/programs/repertoire.c: Likewise.
10925 * locale/programs/simple-hash.c: Likewise.
10926 * locale/programs/simple-hash.h: Likewise.
10927 * malloc/memusage.c: Likewise.
10928 * malloc/memusagestat.c: Likewise.
10929 * nis/nis_defaults.c: Likewise.
10930 * nis/nis_hash.c: Likewise.
10931 * nis/nis_print.c: Likewise.
10932 * nis/nis_xdr.c: Likewise.
10933 * nscd/connections.c: Likewise.
10934 * nscd/hstcache.c: Likewise.
10935 * nscd/nscd_gethst_r.c: Likewise.
10936 * nscd/nscd_getserv_r.c: Likewise.
10937 * nscd/nscd_helper.c: Likewise.
10938 * nscd/servicescache.c: Likewise.
10939 * nss/makedb.c: Likewise.
10940 * nss/nss_db/db-XXX.c: Likewise.
10941 * nss/nss_db/db-initgroups.c: Likewise.
10942 * nss/nss_db/db-netgrp.c: Likewise.
10943 * nss/nss_files/files-network.c: Likewise.
10944 * nss/nss_files/files-parse.c: Likewise.
10945 * posix/bug-regex5.c: Likewise.
10946 * posix/fnmatch_loop.c: Likewise.
10947 * posix/regcomp.c: Likewise.
10948 * posix/regexec.c: Likewise.
10949 * posix/tst-rfc3484-2.c: Likewise.
10950 * posix/tst-rfc3484-3.c: Likewise.
10951 * posix/tst-rfc3484.c: Likewise.
10952 * resolv/nss_dns/dns-canon.c: Likewise.
10953 * resolv/nss_dns/dns-network.c: Likewise.
10954 * resolv/res_init.c: Likewise.
10955 * resolv/res_mkquery.c: Likewise.
10956 * resolv/tst-aton.c: Likewise.
10957 * stdlib/cxa_atexit.c: Likewise.
10958 * stdlib/cxa_finalize.c: Likewise.
10959 * stdlib/gen-fpioconst.c: Likewise.
10960 * stdlib/strtol_l.c: Likewise.
10961 * string/tst-endian.c: Likewise.
10962 * sunrpc/auth_des.c: Likewise.
10963 * sunrpc/clnt_udp.c: Likewise.
10964 * sunrpc/rtime.c: Likewise.
10965 * sunrpc/svcauth_des.c: Likewise.
10966 * sunrpc/xdr.c: Likewise.
10967 * sunrpc/xdr_intXX_t.c: Likewise.
10968 * sunrpc/xdr_rec.c: Likewise.
10969 * sysdeps/generic/ldconfig.h: Likewise.
10970 * sysdeps/generic/ldsodefs.h: Likewise.
10971 * sysdeps/generic/memusage.h: Likewise.
10972 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10975 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10981 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10982 * sysdeps/posix/getaddrinfo.c: Likewise.
10983 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10984 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10985 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10986 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10987 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10988 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10989 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10990 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10991 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10992 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10993 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10994 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10995 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10996 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10997 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10998 * sysdeps/x86_64/dl-tls.h: Likewise.
10999 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11000 * time/alt_digit.c: Likewise.
11001 * time/era.c: Likewise.
11002 * wcsmbs/tst-c16c32-1.c: Likewise.
11004 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11006 * math/libm-test.inc (struct test_sincos_data): New type.
11007 (RUN_TEST_LOOP_sincos): New macro.
11008 (sincos_test_data): New variable.
11009 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11011 2013-05-16 Richard Henderson <rth@redhat.com>
11013 * math/atest-exp2.c (LIMB64): New macro.
11014 (CONSTSZ): New macro.
11015 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11017 (print_mpn_fp): ... to function scope.
11018 (read_mpn_hex): Remove.
11019 (get_log2): Remove.
11020 (exp2_mpn): Use mp_log2.
11021 (main): Use mp_exp1.
11023 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11025 * math/libm-test.inc: Remove comment about not testing "inexact"
11027 (INEXACT_EXCEPTION): New macro.
11028 (NO_INEXACT_EXCEPTION): Likewise.
11029 (INVALID_EXCEPTION_OK): Update value.
11030 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11031 (OVERFLOW_EXCEPTION_OK): Likewise.
11032 (UNDERFLOW_EXCEPTION_OK): Likewise.
11033 (IGNORE_ZERO_INF_SIGN): Likewise.
11034 (ERRNO_UNCHANGED): Likewise.
11035 (ERRNO_EDOM): Likewise.
11036 (ERRNO_ERANGE): Likewise.
11037 (test_exceptions): Handle testing "inexact" exceptions.
11038 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11039 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11040 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11041 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11043 (rint_towardzero_test_data): Likewise.
11044 (rint_downward_test_data): Likewise.
11045 (rint_upward_test_data): Likewise.
11047 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11048 with OVERFLOW_EXCEPTION.
11049 (exp10_test_data): Likewise.
11050 (exp2_test_data): Likewise.
11051 (expm1_test_data): Likewise.
11052 (lgamma_test_data): Likewise.
11053 (pow_test_data): Likewise.
11054 (tgamma_test_data): Likewise.
11055 (yn_test_data): Remove duplicate test of overflow.
11057 * math/libm-test.inc (struct test_cc_c_data): New type.
11058 (RUN_TEST_LOOP_cc_c): New macro.
11059 (cpow_test_data): New variable.
11060 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11062 * math/libm-test.inc (struct test_f_L_data): New type.
11063 (RUN_TEST_LOOP_f_L): New macro.
11064 (llrint_test_data): New variable.
11065 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11066 (llrint_tonearest_test_data): New variable.
11067 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11068 (llrint_towardzero_test_data): New variable.
11069 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11070 (llrint_downward_test_data): New variable.
11071 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11072 (llrint_upward_test_data): New variable.
11073 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11074 (llround_test_data): New variable.
11075 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11077 2013-05-13 Peter Collingbourne <pcc@google.com>
11079 * math/atest-exp2.c (get_log2): Remove const attribute.
11081 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11083 * math/libm-test.inc (struct test_f_l_data): New type.
11084 (RUN_TEST_LOOP_f_l): New macro.
11085 (lrint_test_data): New variable.
11086 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11087 (lrint_tonearest_test_data): New variable.
11088 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11089 (lrint_towardzero_test_data): New variable.
11090 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11091 (lrint_downward_test_data): New variable.
11092 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11093 (lrint_upward_test_data): New variable.
11094 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11095 (lround_test_data): New variable.
11096 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11098 2013-05-15 Peter Collingbourne <pcc@google.com>
11100 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11101 (EXTRACT_WORDS64) Use where appropriate.
11102 (INSERT_WORDS64) Likewise.
11104 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11105 constraints with x constraints.
11106 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11108 * malloc/obstack.c (_obstack_compat): Add initializer.
11110 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11112 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11113 si_trapno and add si_addr_lsb to _sifields.sigfault.
11114 (si_trapno): Remove macro.
11115 (si_addr_lsb): Define new macro.
11116 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11118 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11120 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11121 instead of TEST_f_l.
11122 (llrint_test_tonearest): Likewise.
11123 (llrint_test_towardzero): Likewise.
11124 (llrint_test_downward): Likewise.
11125 (llrint_test_upward): Likewise.
11126 (llround_test): Likewise.
11128 * math/libm-test.inc (struct test_f_i_data): Add comment.
11129 (RUN_TEST_LOOP_f_b): New macro.
11130 (RUN_TEST_LOOP_f_b_tg): Likewise.
11131 (finite_test_data): New variable.
11132 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11133 (isfinite_test_data): New variable.
11134 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11135 (isinf_test_data): New variable.
11136 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11137 (isnan_test_data): New variable.
11138 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11139 (isnormal_test_data): New variable.
11140 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11141 (issignaling_test_data): New variable.
11142 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11143 (signbit_test_data): New variable.
11144 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11146 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11147 with INVALID_EXCEPTION.
11148 (acosh_test_data): Likewise.
11149 (asin_test_data): Likewise.
11150 (atanh_test_data): Likewise.
11151 (fmod_test_data): Likewise.
11152 (log_test_data): Likewise.
11153 (log10_test_data): Likewise.
11154 (log2_test_data): Likewise.
11155 (pow_test_data): Likewise.
11156 (sqrt_test_data): Likewise.
11157 (y0_test_data): Likewise.
11158 (y1_test_data): Likewise.
11159 (yn_test_data): Likewise.
11161 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11164 * math/libm-test.inc (struct test_ff_i_data): New type.
11165 (RUN_TEST_LOOP_ff_i_tg): New macro.
11166 (isgreater_test_data): New variable.
11167 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11168 (isgreaterequal_test_data): New variable.
11169 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11170 (isless_test_data): New variable.
11171 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11172 (islessequal_test_data): New variable.
11173 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11174 (islessgreater_test_data): New variable.
11175 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11176 (isunordered_test_data): New variable.
11177 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11179 2013-05-14 David S. Miller <davem@davemloft.net>
11181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11183 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11185 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11187 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11189 (struct test_f_i_data): Change type of max_ulp to int.
11191 * math/libm-test.inc (test_ffI_f1_data): New type.
11192 (RUN_TEST_LOOP_ffI_f1): New macro.
11193 (remquo_test_data): New variable.
11194 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11196 * setjmp/tst-setjmp-fp.c: New file.
11197 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11198 (link-libm): New variable.
11199 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11201 * math/libm-test.inc (struct test_f_i_data): New type.
11202 (RUN_TEST_LOOP_f_i): New macro.
11203 (RUN_TEST_LOOP_f_i_tg): Likewise.
11204 (fpclassify_test_data): New variable.
11205 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11206 (ilogb_test_data): New variable.
11207 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11209 * math/libm-test.inc (scalbln_test): Correct function name in END
11212 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11213 (RUN_TEST_LOOP_fI_f1): New macro.
11214 (frexp_test_data): New variable.
11215 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11217 * math/libm-test.inc (struct test_fF_f1_data): New type.
11218 (RUN_TEST_LOOP_fF_f1): New macro.
11219 (modf_test_data): New variable.
11220 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11222 * math/libm-test.inc (struct test_f_f1_data): New type.
11223 (RUN_TEST_LOOP_f_f1): New macro.
11224 (gamma_test_data): New variable.
11225 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11226 (lgamma_test_data): New variable.
11227 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11229 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11231 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11232 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11233 (main): Comment "tls" pseudo-hwcap.
11235 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11237 * math/libm-test.inc (struct test_fl_f_data): New type.
11238 (RUN_TEST_LOOP_fl_f): New variable.
11239 (scalbln_test_data): New variable.
11240 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11242 * math/libm-test.inc (struct test_fi_f_data): New type.
11243 (RUN_TEST_LOOP_fi_f): New macro.
11244 (ldexp_test_data): New variable.
11245 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11246 (scalbn_test_data): New variable.
11247 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11249 * math/libm-test.inc (struct test_c_f_data): New type.
11250 (RUN_TEST_LOOP_c_f): New macro.
11251 (cabs_test_data): New variable.
11252 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11253 (carg_test_data): New variable.
11254 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11255 (cimag_test_data): New variable.
11256 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11257 (creal_test_data): New variable.
11258 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11260 * math/libm-test.inc (struct test_if_f_data): New type.
11261 (RUN_TEST_LOOP_if_f): New macro.
11262 (jn_test_data): New variable.
11263 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11264 (yn_test_data): New variable.
11265 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11267 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11269 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11271 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11272 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11274 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11276 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11277 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11278 (bench-deps): Add bench-timing.h.
11279 * benchtests-bench-skeleton.c: Include bench-timing.h.
11280 (main): Use TIMING_* macros instead of clock_gettime.
11281 * benchtests/bench-timing.h: New file.
11284 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11285 Renamed from _LIB_VERSION.
11286 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11288 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11290 * math/libm-test.inc (struct test_fff_f_data): New type.
11291 (RUN_TEST_LOOP_fff_f): New macro.
11292 (fma_test_data): New variable.
11293 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11294 (fma_towardzero_test_data): New variable.
11295 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11296 (fma_downward_test_data): New variable.
11297 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11298 (fma_upward_test_data): New variable.
11299 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11301 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11302 (struct test_c_c_data): New type.
11303 (RUN_TEST_LOOP_c_c): New macro.
11304 (cacos_test_data): New variable.
11305 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11306 (cacosh_test_data): New variable.
11307 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11308 (casin_test_data): New variable.
11309 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11310 (casinh_test_data): New variable.
11311 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11312 (catan_test_data): New variable.
11313 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11314 (catanh_test_data): New variable.
11315 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11316 (ccos_test_data): New variable.
11317 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11318 (ccosh_test_data): New variable.
11319 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11320 (cexp_test_data): New variable.
11321 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11322 (clog_test_data): New variable.
11323 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11324 (clog10_test_data): New variable.
11325 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11326 (conj_test_data): New variable.
11327 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11328 (cproj_test_data): New variable.
11329 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11330 (csin_test_data): New variable.
11331 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11332 (csinh_test_data): New variable.
11333 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11334 (csqrt_test_data): New variable.
11335 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11336 (ctan_test_data): New variable.
11337 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11338 (ctan_tonearest_test_data): New variable.
11339 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11340 (ctan_towardzero_test_data): New variable.
11341 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11342 (ctan_downward_test_data): New variable.
11343 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11344 (ctan_upward_test_data): New variable.
11345 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11346 (ctanh_test_data): New variable.
11347 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11348 (ctanh_tonearest_test_data): New variable.
11349 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11350 (ctanh_towardzero_test_data): New variable.
11351 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11352 (ctanh_downward_test_data): New variable.
11353 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11354 (ctanh_upward_test_data): New variable.
11355 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11356 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11359 * math/libm-test.inc (struct test_ff_f_data): New type.
11360 (struct test_ff_f_data_nexttoward): Likewise.
11361 (RUN_TEST_LOOP_2_f): New macro.
11362 (RUN_TEST_LOOP_ff_f): Likewise.
11363 (atan2_test_data): New variable.
11364 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11365 (copysign_test_data): New variable.
11366 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11367 (fdim_test_data): New variable.
11368 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11369 (fmax_test_data): New variable.
11370 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11371 (fmin_test_data): New variable.
11372 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11373 (fmod_test_data): New variable.
11374 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11375 (hypot_test_data): New variable.
11376 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11377 (nextafter_test_data): New variable.
11378 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11379 (nexttoward_test_data): New variable.
11380 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11381 (pow_test_data): New variable.
11382 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11383 (pow_tonearest_test_data): New variable.
11384 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11385 (pow_towardzero_test_data): New variable.
11386 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11387 (pow_downward_test_data): New variable.
11388 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11389 (pow_upward_test_data): New variable.
11390 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11391 (remainder_test_data): New variable.
11392 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11393 (scalb_test_data): New variable.
11394 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11395 * sysdeps/i386/fpu/libm-test-ulps: Update.
11397 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11399 * math/libm-test.inc (fma_test): Use max_value instead of local
11401 (nextafter_test): Likewise.
11403 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11404 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11405 (acos_downward_test_data): New variable.
11406 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11407 (acos_upward_test_data): New variable.
11408 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11409 (acosh_test_data): New variable.
11410 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11411 (asin_test_data): New variable.
11412 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11413 (asin_tonearest_test_data): New variable.
11414 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11415 (asin_towardzero_test_data): New variable.
11416 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11417 (asin_downward_test_data): New variable.
11418 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11419 (asin_upward_test_data): New variable.
11420 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11421 (asinh_test_data): New variable.
11422 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11423 (atan_test_data): New variable.
11424 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11425 (atanh_test_data): New variable.
11426 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11427 (cbrt_test_data): New variable.
11428 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11429 (ceil_test_data): New variable.
11430 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11431 (cos_test_data): New variable.
11432 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11433 (cos_tonearest_test_data): New variable.
11434 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11435 (cos_towardzero_test_data): New variable.
11436 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11437 (cos_downward_test_data): New variable.
11438 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11439 (cos_upward_test_data): New variable.
11440 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11441 (cosh_test_data): New variable.
11442 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11443 (cosh_tonearest_test_data): New variable.
11444 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11445 (cosh_towardzero_test_data): New variable.
11446 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11447 (cosh_downward_test_data): New variable.
11448 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11449 (cosh_upward_test_data): New variable.
11450 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11451 (erf_test_data): New variable.
11452 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11453 (erfc_test_data): New variable.
11454 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11455 (exp_test_data): New variable.
11456 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11457 (exp_tonearest_test_data): New variable.
11458 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11459 (exp_towardzero_test_data): New variable.
11460 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11461 (exp_downward_test_data): New variable.
11462 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11463 (exp_upward_test_data): New variable.
11464 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11465 (exp10_test_data): New variable.
11466 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11467 (exp2_test_data): New variable.
11468 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11469 (expm1_test_data): New variable.
11470 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11471 (fabs_test_data): New variable.
11472 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11473 (floor_test_data): New variable.
11474 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11475 (j0_test_data): New variable.
11476 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11477 (j1_test_data): New variable.
11478 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11479 (log_test_data): New variable.
11480 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11481 (log10_test_data): New variable.
11482 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11483 (log1p_test_data): New variable.
11484 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11485 (log2_test_data): New variable.
11486 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11487 (logb_test_data): New variable.
11488 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11489 (logb_downward_test_data): New variable.
11490 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11491 (nearbyint_test_data): New variable.
11492 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11493 (rint_test_data): New variable.
11494 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11495 (rint_tonearest_test_data): New variable.
11496 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11497 (rint_towardzero_test_data): New variable.
11498 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11499 (rint_downward_test_data): New variable.
11500 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11501 (rint_upward_test_data): New variable.
11502 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11503 (round_test_data): New variable.
11504 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11505 (sin_test_data): New variable.
11506 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11507 (sin_tonearest_test_data): New variable.
11508 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11509 (sin_towardzero_test_data): New variable.
11510 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11511 (sin_downward_test_data): New variable.
11512 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11513 (sin_upward_test_data): New variable.
11514 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11515 (sinh_test_data): New variable.
11516 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11517 (sinh_tonearest_test_data): New variable.
11518 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11519 (sinh_towardzero_test_data): New variable.
11520 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11521 (sinh_downward_test_data): New variable.
11522 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11523 (sinh_upward_test_data): New variable.
11524 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11525 (sqrt_test_data): New variable.
11526 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11527 (tan_test_data): New variable.
11528 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11529 (tan_tonearest_test_data): New variable.
11530 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11531 (tan_towardzero_test_data): New variable.
11532 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11533 (tan_downward_test_data): New variable.
11534 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11535 (tan_upward_test_data): New variable.
11536 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11537 (tanh_test_data): New variable.
11538 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11539 (tgamma_test_data): New variable.
11540 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11541 (trunc_test_data): New variable.
11542 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11543 (y0_test_data): New variable.
11544 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11545 (y1_test_data): New variable.
11546 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11547 (significand_test_data): New variable.
11548 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11550 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11553 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11555 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11557 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11559 2013-05-10 Andreas Jaeger <aj@suse.de>
11562 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11563 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11565 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11567 * math/gen-libm-test.pl (adjust_arg): New function.
11568 (special_functions): Handle generating output in both functions
11570 (parse_args): Likewise.
11571 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11572 $in_func argument to parse_args.
11573 * math/libm-test.inc (struct test_f_f_data): New type.
11574 (IF_ROUND_INIT_): New macro.
11575 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11576 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11577 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11578 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11579 (ROUND_RESTORE_): Likewise.
11580 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11581 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11582 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11583 (ROUND_RESTORE_FE_UPWARD): Likewise.
11584 (RUN_TEST_LOOP_f_f): New macro.
11585 (acos_test_data): New variable.
11586 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11587 (acos_tonearest_test_data): New variable.
11588 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11590 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11592 * benchtests/bench-skeleton.c (startup): Fix coding style.
11594 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11597 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11598 negative infinity argument.
11599 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11600 negative infinity argument.
11601 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11602 negative infinity argument.
11603 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11606 2013-05-10 Florian Weimer <fweimer@redhat.com>
11608 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11609 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11610 * iconv/iconv_prog.c (main): Likewise.
11611 * locale/programs/charmap-dir.c (charmap_readdir)
11612 (fopen_uncompressed): Likewise.
11613 * locale/programs/locfile.c (siblings_uncached)
11614 (write_locale_data): Use lstat64 instead of lstat.
11615 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11618 2013-05-10 Andreas Jaeger <aj@suse.de>
11621 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11623 Include <locale.h>.
11625 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11627 * elf/dl-close.c (_dl_close_worker): Add comments.
11629 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11632 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11634 (__ieee754_rem_pio2l): Update comments.
11637 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11639 (__ieee754_rem_pio2l): Update comments.
11641 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11642 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11644 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11647 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11648 (M_PI_34_LOG10El): Likewise.
11649 (M_PI2_LOG10El): Likewise.
11650 (M_PI4_LOG10El): Likewise.
11651 (M_PI_LOG10El): Likewise.
11653 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11657 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11659 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11660 (MINUS_ZERO_INIT): Likewise.
11661 (PLUS_INFTY_INIT): Likewise.
11662 (MINUS_INFTY_INIT): Likewise.
11663 (QNAN_VALUE_INIT): Likewise.
11664 (MAX_VALUE_INIT): Likewise.
11665 (MIN_VALUE_INIT): Likewise.
11666 (MIN_SUBNORM_VALUE_INIT): Likewise.
11667 (plus_zero): Initialize with PLUS_ZERO_INIT.
11668 (minus_zero): Initialize with MINUS_ZERO_INIT.
11669 (plus_infty): Initialize with PLUS_INFTY_INIT.
11670 (minus_infty): Initialize with MINUS_INFTY_INIT.
11671 (qnan_value): Initialize with QNAN_VALUE_INIT.
11672 (max_value): Initialize with MAX_VALUE_INIT.
11673 (min_value): Initialize with MIN_VALUE_INIT.
11674 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11676 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11677 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11678 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11679 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11681 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11682 (RUN_TEST_2_f): Likewise.
11683 (RUN_TEST_ff_f): Likewise.
11684 (RUN_TEST_fi_f): Likewise.
11685 (RUN_TEST_fl_f): Likewise.
11686 (RUN_TEST_fff_f): Likewise.
11687 (RUN_TEST_c_f): Likewise.
11688 (RUN_TEST_f_f1): Likewise.
11689 (RUN_TEST_fF_f1): Likewise.
11690 (RUN_TEST_fI_f1): Likewise.
11691 (RUN_TEST_ffI_f1): Likewise.
11692 (RUN_TEST_c_c): Likewise.
11693 (RUN_TEST_cc_c): Likewise.
11694 (RUN_TEST_f_i): Likewise.
11695 (RUN_TEST_f_i_tg): Likewise.
11696 (RUN_TEST_ff_i_tg): Likewise.
11697 (RUN_TEST_f_b): Likewise.
11698 (RUN_TEST_f_b_tg): Likewise.
11699 (RUN_TEST_f_l): Likewise.
11700 (RUN_TEST_f_L): Likewise.
11701 (RUN_TEST_sincos): Likewise.
11702 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11703 whether to show exceptions. Do not include ");\n" in return
11705 (special_functions): Output call to RUN_TEST_sincos instead of
11706 check_float calls. Update calls to new_test.
11707 (parse_args): Output call to single RUN_TEST_* macro instead of
11708 check_* calls and other assignments. Update calls to new_test.
11714 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11715 input to result for tgamma overflow.
11716 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11717 (gamma_coeff): New variable.
11718 (NCOEFF): New macro.
11719 (gamma_positive): New function.
11720 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11721 underflow here. Use gamma_positive instead of exp (lgamma) for
11723 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11724 (gamma_coeff): New variable.
11725 (NCOEFF): New macro.
11726 (gammaf_positive): New function.
11727 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11728 underflow here. Use gamma_positive instead of exp (lgamma) for
11730 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11731 (gamma_coeff): New variable.
11732 (NCOEFF): New macro.
11733 (gammal_positive): New function.
11734 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11735 underflow here. Use gamma_positive instead of exp (lgamma) for
11737 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11738 (gamma_coeff): New variable.
11739 (NCOEFF): New macro.
11740 (gammal_positive): New function.
11741 (__ieee754_gammal_r): Handle positive infinity, overflow and
11742 underflow here. Handle NaN the same as positive infinity. Remove
11743 check x < 0xffffffff for negative integers. Use gamma_positive
11744 instead of exp (lgamma) for other arguments.
11745 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11746 (gamma_coeff): New variable.
11747 (NCOEFF): New macro.
11748 (gammal_positive): New function.
11749 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11750 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11754 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11755 * sysdeps/generic/math_private.h (__gamma_productf): New
11757 (__gamma_product): Likewise.
11758 (__gamma_productl): Likewise.
11759 * math/Makefile (libm-calls): Add gamma_product.
11760 * math/libm-test.inc (tgamma_test): Add more tests.
11761 * sysdeps/i386/fpu/libm-test-ulps: Update.
11762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11764 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11766 * benchtests/bench-skeleton.c (main): Preheat CPU.
11768 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11770 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11772 2013-05-07 Roland McGrath <roland@hack.frob.com>
11774 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11775 and _dl_skip_args_internal.
11777 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11779 * manual/message.texi (Message Translation): Talk about users.
11780 Message to key mapping impacts design.
11782 2013-05-06 Roland McGrath <roland@hack.frob.com>
11784 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11786 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11788 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11789 * sysdeps/wordsize-64/glob64.c: ... here.
11791 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11792 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11795 * debug/getlogin_r_chk.c: Moved to ...
11796 * login/getlogin_r_chk.c: ... here.
11797 * debug/Makefile (routines): Move getlogin_r_chk to ...
11798 * login/Makefile (routines): ... here.
11799 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11800 * login/Versions (libc: GLIBC_2.4): ... here.
11802 * io/poll.c (__poll): Renamed from poll.
11803 Add libc_hidden_def.
11804 (poll): Define as weak alias.
11806 * debug/ptsname_r_chk.c: Moved to ...
11807 * login/ptsname_r_chk.c: ... here.
11808 * debug/Makefile (routines): Move ptsname_r_chk to ...
11809 * login/Makefile (routines): ... here.
11810 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11811 * login/Versions (libc: GLIBC_2.4): ... here.
11813 * posix/getlogin.c: Moved to ...
11814 * login/getlogin.c: ... here.
11815 * posix/getlogin_r.c: Moved to ...
11816 * login/getlogin_r.c: ... here.
11817 * posix/getlogin_r.c: Moved to ...
11818 * login/getlogin_r.c: ... here.
11819 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11820 * login/Makefile (routines): ... here.
11821 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11822 * login/Versions (libc: GLIBC_2.0): ... here.
11824 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11825 (setrlimit): Define as weak alias.
11827 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11828 Call __ names for open, ftruncate, and close.
11829 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11830 (truncate): Define as weak alias.
11832 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11834 * math/gen-libm-test.pl (parse_args): Initialize x before each
11835 test of frexp, modf and remquo.
11837 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11838 test signgam value.
11840 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11844 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11846 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11848 2013-05-06 Roland McGrath <roland@hack.frob.com>
11850 * elf/dl-writev.h: New file.
11851 * elf/dl-misc.c: Include it.
11852 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11853 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11855 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11857 * math/libm-test.inc (noXFails): Remove variable.
11858 (noXPasses): Likewise.
11859 (BUILD_COMPLEX_INT): Remove macro.
11860 (print_screen): Remove xfail argument.
11861 (print_screen_max_error): Likewise.
11862 (update_stats): Likewise.
11863 (print_max_error): Likewise. Update calls to other affected
11865 (print_complex_max_error): Likewise.
11866 (test_single_exception): Update calls to print_screen.
11867 (test_single_errno): Likewise.
11868 (check_float_internal): Remove xfail argument. Update calls to
11869 other affected functions.
11870 (check_float): Likewise.
11871 (check_complex): Likewise.
11872 (check_int): Likewise.
11873 (check_long): Likewise.
11874 (check_bool): Likewise.
11875 (check_longlong): Likewise.
11876 (main): Don't print noXFails and noXPasses.
11877 * math/gen-libm-test.pl (top level): Don't mention expected
11878 failure handling in comment.
11879 (new_test): Don't handle expected failures.
11880 (parse_args): Don't mention expected failure handling in comment.
11881 (generate_testfile): Don't handle expected failures.
11882 (parse_ulps): Likewise.
11883 (print_ulps_file): Likewise.
11884 (get_failure): Remove function.
11885 (output_test): Don't handle expected failures.
11886 * make/README.libm-test: Don't mention expected failure handling.
11888 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11889 (minus_zero): Likewise.
11890 (plus_infty): Likewise.
11891 (minus_infty): Likewise.
11892 (qnan_value): Likewise.
11893 (max_value): Likewise.
11894 (min_value): Likewise.
11895 (min_subnorm_value): Likewise.
11896 (initialize): Do not initialize those variables dynamically.
11898 2013-05-03 Roland McGrath <roland@hack.frob.com>
11900 * io/open.c (__open_2): Moved to ...
11901 * io/open_2.c: ... this new file.
11902 * io/open64.c (__open64_2): Moved to ...
11903 * io/open64_2.c: ... this new file.
11904 * io/openat.c (__openat_2): Moved to ...
11905 * io/openat_2.c: ... this new file.
11906 * io/openat64.c (__openat64_2): Moved to ...
11907 * io/openat64_2.c: ... this new file.
11908 * io/Makefile (routines): Add them.
11909 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11910 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11911 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11912 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11913 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11914 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11915 (__openat64): Add hidden_ver.
11916 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11917 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11919 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11920 Separately conditionalize setting of GLRO(dl_sysinfo) so
11921 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11922 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11924 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11926 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11927 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11929 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11930 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11931 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11932 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11933 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11935 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11937 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11938 test signgam value.
11940 * math/libm-test.inc (hypot_test): Do not use
11941 IGNORE_ZERO_INF_SIGN.
11943 2013-05-03 Andreas Jaeger <aj@suse.de>
11945 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11947 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11948 (PF_MAX): Adjust for VSOCK change.
11950 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11954 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11957 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11958 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11959 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11961 2013-05-02 David S. Miller <davem@davemloft.net>
11963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11965 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11967 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11969 2013-05-01 Roland McGrath <roland@hack.frob.com>
11971 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11973 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11976 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11977 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11978 Use __attribute__ ((__gnu_inline__)).
11979 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11980 Don't use __attribute__ ((__gnu_inline__)).
11982 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11985 * math/s_catan.c (__catan): Handle small real or imaginary part of
11986 input specially to avoid spurious underflow.
11987 * math/s_catanf.c (__catanf): Likewise.
11988 * math/s_catanh.c (__catanh): Likewise.
11989 * math/s_catanhf.c (__catanhf): Likewise.
11990 * math/s_catanhl.c (__catanhl): Likewise.
11991 * math/s_catanl.c (__catanl): Likewise.
11992 * math/libm-test.inc (catan_test): Add more tests.
11993 (catanh_test): Likewise.
11994 * sysdeps/i386/fpu/libm-test-ulps: Update.
11995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11997 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12001 2013-04-30 Joseph Myers <joseph@codesourcery.com>
12004 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12005 accurately for denominator in atan2.
12006 * math/s_catanf.c (__catanf): Likewise.
12007 * math/s_catanh.c (__catanh): Likewise.
12008 * math/s_catanhf.c (__catanhf): Likewise.
12009 * math/s_catanhl.c (__catanhl): Likewise.
12010 * math/s_catanl.c (__catanl): Likewise.
12011 * math/libm-test.inc (catan_test): Add more tests.
12012 (catanh_test): Likewise.
12013 * sysdeps/i386/fpu/libm-test-ulps: Update.
12014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12016 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12018 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12020 * benchtests/Makefile (bench): Remove slow benchmarks.
12021 * benchtests/atan-inputs: Add slow benchmark inputs.
12022 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12023 (BENCH_FUNC): Accept variant offset.
12025 * benchtests/bench-skeleton.c (main): Run benchmark for each
12027 * benchtests/cos-inputs: Add slow benchmark inputs.
12028 * benchtests/exp-inputs: Likewise.
12029 * benchtests/pow-inputs: Likewise.
12030 * benchtests/sin-inputs: Likewise.
12031 * benchtests/slowatan-inputs: Remove.
12032 * benchtests/slowatan.c: Remove.
12033 * benchtests/slowcos-inputs: Remove.
12034 * benchtests/slowcos.c: Remove.
12035 * benchtests/slowexp-inputs: Remove.
12036 * benchtests/slowexp.c: Remove.
12037 * benchtests/slowpow-inputs: Remove.
12038 * benchtests/slowpow.c: Remove.
12039 * benchtests/slowsin-inputs: Remove.
12040 * benchtests/slowsin.c: Remove.
12041 * benchtests/slowtan-inputs: Remove.
12042 * benchtests/slowtan.c: Remove.
12043 * benchtests/tan-inputs: Add slow benchmark inputs.
12044 * scripts/bench.pl: Parse comments and directives.
12046 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12048 ($(objpfx)bench-%.c): Remove *-ITER.
12049 * benchtests/bench-modf.c: Remove definition of ITER.
12050 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12051 (main): Loop for DURATION seconds instead of fixed number of
12053 * scripts/bench.pl: Don't expect iterations in parameters.
12055 2013-04-29 Roland McGrath <roland@hack.frob.com>
12057 * io/fchdir.c (__fchdir): Renamed from fchdir.
12058 (fchdir): Define as weak alias.
12060 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12062 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12063 (ERRNO_EDOM): Likewise.
12064 (ERRNO_ERANGE): Likewise.
12065 (noErrnoTests): New variable.
12066 (init_max_error): Set errno to 0.
12067 (test_single_errno): New function.
12068 (test_errno): Likewise.
12069 (check_float_internal): Call test_errno. Set errno to 0.
12070 (check_complex): Refer to errno tests in comment.
12071 (check_int): Call test_errno. Set errno to 0.
12072 (check_long): Likewise.
12073 (check_bool): Likewise.
12074 (check_longlong): Likewise.
12075 (cos_test): Use ERRNO_* flags for errno tests instead of
12077 (expm1_test): Likewise.
12078 (fmod_test): Likewise.
12079 (ilogb_test): Likewise.
12080 (lgamma_test): Likewise.
12081 (pow_test): Likewise.
12082 (remainder_test): Likewise.
12083 (sin_test): Likewise.
12084 (tan_test): Likewise.
12085 (yn_test): Likewise.
12086 (initialize): Set errno to 0.
12087 (main): Print number of errno tests.
12088 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12090 2013-04-29 Andreas Jaeger <aj@suse.de>
12093 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12097 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12098 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12102 * stdlib/random.c (__initstate): Return NULL if
12106 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12107 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12110 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12114 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12116 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12117 of individual tests.
12118 (casin_test): Likewise.
12119 (casinh_test): Likewise.
12121 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12124 * math/s_catan.c (__catan): Handle arguments with large real or
12125 imaginary part separately without squaring.
12126 * math/s_catanf.c (__catanf): Likewise.
12127 * math/s_catanh.c (__catanh): Likewise.
12128 * math/s_catanhf.c (__catanhf): Likewise.
12129 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12131 (__catanhl): Handle arguments with large real or imaginary part
12132 separately without squaring.
12133 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12135 (__catanl): Handle arguments with large real or imaginary part
12136 separately without squaring.
12137 * math/libm-test.inc (catan_test): Add more tests.
12138 (catanh_test): Likewise.
12139 * sysdeps/i386/fpu/libm-test-ulps: Update.
12140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12142 2013-04-27 Andreas Jaeger <aj@suse.de>
12145 * stdlib/stdlib.h: Update guards for qecvt.
12146 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12149 2013-04-27 Allan McRae <allan@archlinux.org>
12151 * sysdeps/i386/fpu/libm-test-ulps: Update.
12153 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12156 * math/s_catan.c: Include <float.h>.
12157 (__catan): Ensure underflow exception occurs for underflowed
12159 * math/s_catanf.c: Include <float.h>.
12160 (__catanf): Ensure underflow exception occurs for underflowed
12162 * math/s_catanh.c: Include <float.h>.
12163 (__catanh): Ensure underflow exception occurs for underflowed
12165 * math/s_catanhf.c: Include <float.h>.
12166 (__catanhf): Ensure underflow exception occurs for underflowed
12168 * math/s_catanhl.c: Include <float.h>.
12169 (__catanhl): Ensure underflow exception occurs for underflowed
12171 * math/s_catanl.c: Include <float.h>.
12172 (__catanl): Ensure underflow exception occurs for underflowed
12174 * math/libm-test.inc (catan_test): Add more tests.
12175 (catanh_test): Likewise.
12178 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12179 underflowed result.
12180 * math/s_ccoshf.c (__ccoshf): Likewise.
12181 * math/s_ccoshl.c (__ccoshl): Likewise.
12182 * math/s_csin.c (__csin): Likewise.
12183 * math/s_csinf.c (__csinf): Likewise.
12184 * math/s_csinh.c (__csinh): Likewise.
12185 * math/s_csinhf.c (__csinhf): Likewise.
12186 * math/s_csinhl.c (__csinhl): Likewise.
12187 * math/s_csinl.c (__csinl): Likewise.
12188 * math/libm-test.inc (ccos_test): Add more tests.
12189 (ccosh_test): Likewise.
12190 (csin_test): Likewise.
12191 (csinh_test): Likewise.
12193 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12195 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12196 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12197 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12198 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12199 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12200 powerpc/power5+/fpu folders.
12201 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12204 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12208 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12210 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12211 additions to variable.
12212 [$(config-machine) = x86_64] (modules-names): Likewise.
12213 ($(objpfx)tst-audit3): Remove dependency.
12214 ($(objpfx)tst-audit3.out): Likewise.
12215 ($(objpfx)tst-audit4): Likewise.
12216 ($(objpfx)tst-audit4.out): Likewise.
12217 ($(objpfx)tst-audit5): Likewise.
12218 ($(objpfx)tst-audit5.out): Likewise.
12219 ($(objpfx)tst-audit6): Likewise.
12220 ($(objpfx)tst-audit6.out): Likewise.
12221 ($(objpfx)tst-audit7): Likewise.
12222 ($(objpfx)tst-audit7.out): Likewise.
12223 (tst-audit3-ENV): Remove variable.
12224 (tst-audit4-ENV): Likewise.
12225 (tst-audit5-ENV): Likewise.
12226 (tst-audit6-ENV): Likewise.
12227 (tst-audit7-ENV): Likewise.
12228 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12229 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12230 addition to variable.
12231 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12232 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12233 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12234 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12235 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12236 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12237 tst-audit3, tst-audit4 and tst-audit5.
12238 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12239 tst-audit6 and tst-audit7.
12240 [$(subdir) = elf] (modules-names): Add audit modules for those
12242 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12243 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12244 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12245 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12246 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12247 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12248 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12249 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12250 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12251 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12252 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12253 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12254 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12255 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12256 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12257 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12259 [$(subdir) = elf && $(config-cflags-avx) = yes]
12260 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12261 [$(subdir) = elf && $(config-cflags-avx) = yes]
12262 (CFLAGS-tst-auditmod4a.c): Likewise.
12263 [$(subdir) = elf && $(config-cflags-avx) = yes]
12264 (CFLAGS-tst-auditmod4b.c): Likewise.
12265 [$(subdir) = elf && $(config-cflags-avx) = yes]
12266 (CFLAGS-tst-auditmod6b.c): Likewise.
12267 [$(subdir) = elf && $(config-cflags-avx) = yes]
12268 (CFLAGS-tst-auditmod6c.c): Likewise.
12269 [$(subdir) = elf && $(config-cflags-avx) = yes]
12270 (CFLAGS-tst-auditmod7b.c): Likewise.
12271 * elf/tst-audit3.c: Move to ...
12272 * sysdeps/x86_64/tst-audit3.c: ... here.
12273 * elf/tst-audit4.c: Move to ...
12274 * sysdeps/x86_64/tst-audit4.c: ... here.
12275 * elf/tst-audit5.c: Move to ...
12276 * sysdeps/x86_64/tst-audit5.c: ... here.
12277 * elf/tst-audit6.c: Move to ...
12278 * sysdeps/x86_64/tst-audit6.c: ... here.
12279 * elf/tst-audit7.c: Move to ...
12280 * sysdeps/x86_64/tst-audit7.c: ... here.
12281 * elf/tst-auditmod3a.c: Move to ...
12282 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12283 * elf/tst-auditmod3b.c: Move to ...
12284 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12285 * elf/tst-auditmod4a.c: Move to ...
12286 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12287 * elf/tst-auditmod4b.c: Move to ...
12288 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12289 * elf/tst-auditmod5a.c: Move to ...
12290 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12291 * elf/tst-auditmod5b.c: Move to ...
12292 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12293 * elf/tst-auditmod6a.c: Move to ...
12294 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12295 * elf/tst-auditmod6b.c: Move to ...
12296 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12297 * elf/tst-auditmod6c.c: Move to ...
12298 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12299 * elf/tst-auditmod7a.c: Move to ...
12300 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12301 * elf/tst-auditmod7b.c: Move to ...
12302 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12304 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12307 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12308 define unconditionally.
12309 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12310 define unconditionally.
12311 (INT8_C, INT16_C, etc.): Likewise.
12313 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12315 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12316 __ehdr_start with hidden visibility.
12318 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12320 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12322 * math/libm-test.inc (cos_test): Use accurate hex constants.
12323 (sincost_test): Likewise.
12325 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12327 * math/libm-test.inc (catan_test): Add more tests.
12328 (catanh_test): Likewise.
12330 * math/s_catanf.c (__catanf): Use suffixed floating-point
12332 * math/s_catanhf.c (__catanhf): Likewise.
12333 * math/s_catanhl.c (__catanhl): Likewise.
12334 * math/s_catanl.c (__catanl): Likewise.
12337 * math/s_catan.c (__catan): Calculate imaginary part of result
12338 with log1p not log unless computing log of number close to 0.
12339 * math/s_catanf.c (__catanf): Likewise.
12340 * math/s_catanl.c (__catanl): Likewise.
12341 * math/s_catanh.c (__catanh): Calculate real part of result with
12342 log1p not log unless computing log of number close to 0.
12343 * math/s_catanhf.c (__catanhf): Likewise.
12344 * math/s_catanhl.c (__catanhl): Likewise.
12345 * math/libm-test.inc (catan_test): Add more tests.
12346 (catanh_test): Likewise.
12347 * sysdeps/i386/fpu/libm-test-ulps: Update.
12348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12350 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12352 * benchtests/Makefile: Mention files in which fast and slow
12353 paths of math functions are implemented.
12355 2013-04-23 Roland McGrath <roland@hack.frob.com>
12357 * sysdeps/posix/timespec_get.c: New file.
12359 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12361 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12363 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12365 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12366 powerpc/power5/fpu folders.
12367 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12368 * benchtests/Makefile: Add modf testcase.
12369 * benchtests/bench-modf.c: New file: Benchmark test for mo
12371 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12374 * time/Makefile (tests): Add tst-strptime-whitespace.
12375 * time/strptime_l.c (get_number): Use ISSPACE.
12376 (__strptime_internal): Likewise.
12377 * time/tst-strptime-whitespace.c: New test case.
12379 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12381 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12383 (_nss_files_init): Set it here.
12385 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12387 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12388 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12391 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12393 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12395 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12397 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12400 2013-04-21 David S. Miller <davem@davemloft.net>
12402 * po/ru.po: Update Russion translation from translation project.
12404 2013-04-17 Adam Conrad <adconrad@0c3.net>
12406 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12409 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12411 * configure.in: Remove i386 configure warning. Remove i386 case.
12412 * configure: Regenerate.
12413 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12414 Add example to error message.
12415 * sysdeps/i386/configure: Regenerate.
12417 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12419 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12421 * benchtests/cos-inputs: New file.
12422 * benchtests/slowcos-inputs: New file.
12423 * benchtests/slowcos.c: New file.
12424 * benchtests/slowtan-inputs: New file.
12425 * benchtests/slowtan.c: New file.
12426 * benchtests/tan-inputs: New file.
12428 2013-04-16 Roland McGrath <roland@hack.frob.com>
12430 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12433 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12435 * benchtests/Makefile: Include cppflags-iterator.mk to add
12436 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12438 * Makefile.in (bench-clean): New target.
12439 * benchtests/Makefile (bench-clean): Likewise.
12441 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12443 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12445 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12447 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12449 2013-04-15 Andreas Schwab <schwab@suse.de>
12451 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12453 * nscd/pwdcache.c (cache_addpw): Likewise.
12454 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12457 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12459 * benchtests/Makefile (bench): Write all output to
12460 bench-out.tmp together.
12462 2013-04-15 Andreas Schwab <schwab@suse.de>
12464 * nscd/nscd.c (main): Don't fork again after closing files.
12466 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12468 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12470 * benchtests/Rules (bench-deps): Collect dependencies into a
12471 single variable. Add Makefile to dependencies.
12472 ($(objpfx)bench-%.c): Depend on bench-deps.
12474 2013-04-12 Roland McGrath <roland@hack.frob.com>
12475 Xavier Roche <roche+kml2@exalead.com>
12478 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12479 just that it's a file descriptor.
12480 * manual/llio.texi (Synchronizing AIO Operations): Update description
12481 for EBADF error from aio_fsync.
12483 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12485 * Rules (bench): Move target definition...
12486 * benchtests/Makefile: ... here.
12488 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12490 * math/libm-test.inc (cos_test): Fix PI/2 test.
12491 (sincos_test): Likewise.
12492 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12493 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12495 2013-04-11 Andreas Schwab <schwab@suse.de>
12498 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12499 accept exponent character only when digits were seen.
12500 * stdio-common/Makefile (tests): Add bug26.
12501 * stdio-common/bug26.c: New file.
12504 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12507 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12509 * Makeconfig (rtld-prefix): Define built linker prefix.
12510 * Rules (run-bench): Use it.
12511 * math/Makefile (run-regen-ulps): Likewise.
12513 * Rules (bench): Remove eval.
12515 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12516 Roland McGrath <roland@hack.frob.com>
12517 Ondrej Bilka <neleai@seznam.cz>
12520 * time/getdate.c: Include ctype.h and alloca.h.
12521 (__getdate_r): Trim leading and trailing spaces of input.
12522 * time/tst-getdate.c (tests): Add tests with leading and
12525 2013-04-08 Roland McGrath <roland@hack.frob.com>
12528 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12529 when computing value.
12531 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12533 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12534 Use testrun.sh to run libm tests.
12537 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12539 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12542 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12544 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12546 * Makefile.in (regen-ulps): New target.
12547 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12548 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12549 [ifneq (no,$(PERL)] (regen-ulps): New target.
12550 [ifeq (no,$(PERL)] (regen-ulps): New target.
12551 * math/libm-test.inc (ulps_file_name): Define.
12552 (output_dir): New variable.
12553 (options): Add "output-dir" option.
12554 (parse_opt): Handle 'o' case.
12555 (main): If output_dir is non-NULL use it as a prefix
12557 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12559 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12561 [BZ #10060, #10062]
12562 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12563 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12564 fail configure if __sync_val_compare_and_swap is not inlined.
12565 * sysdeps/i386/configure: Regenerate.
12566 * configure.in: Build for i686 when configured for i386.
12567 * configure: Regenerate.
12568 * README: Remove i386 reference.
12570 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12572 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12573 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12575 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12577 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12578 (lmsnanval): New variables.
12579 (F): Add conversion tests.
12580 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12581 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12583 * stdio-common/tstdiomisc.c (F): Properly collect individual
12586 [BZ #14686, #15336]
12587 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12588 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12589 Instead, use input NaN values or generate a qNaN by arithmetic
12590 operation. Also fix bugs to comply with the standard.
12591 * math/libm-test.inc (remainder_test): Add more tests.
12593 [BZ #15335, #15342]
12594 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12595 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12596 input NaN values or generate a qNaN by arithmetic operation.
12598 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12601 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12604 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12607 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12608 underflowed result.
12609 * math/s_cexpf.c (__cexpf): Likewise.
12610 * math/s_cexpl.c (__cexpl): Likewise.
12611 * math/libm-test.inc (cexp_test): Add more tests.
12613 2013-04-03 Andreas Schwab <schwab@suse.de>
12616 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12617 order arrays from heap if bigger than alloca cutoff.
12619 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12621 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12622 (SNAN_TESTS_double): Refer to GCC PR56831.
12623 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12626 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12628 * Rules (bench): Move bench.out after the run is complete.
12630 * Rules (bench): Echo currently running benchmark.
12632 * benchtests/Makefile (bench): Add atan and slowatan.
12633 * benchtests/atan-inputs: New file.
12634 * benchtests/slowatan-inputs: New file.
12635 * benchtests/slowatan.c: New file.
12637 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12638 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12642 * sysdeps/unix/sysv/linux/kernel-features.h
12643 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12644 __ASSUME_XFS_RESTRICTED_CHOWN.
12645 * sysdeps/unix/sysv/linux/pathconf.c
12646 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12647 Save and restore errno.
12649 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12652 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12653 arguments using __kernel_casinh.
12654 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12655 arguments using __kernel_casinhf.
12656 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12657 arguments using __kernel_casinhl.
12658 * math/libm-test.inc (cacosh_test): Add more tests.
12659 * sysdeps/i386/fpu/libm-test-ulps: Update.
12660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12662 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12664 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12667 * bench/Makefile (bench): Add sin and slowsin.
12668 * benchtests/sin-inputs: New file.
12669 * benchtests/slowsin-inputs: New file.
12670 * benchtests/slowsin.c: New file.
12672 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12673 (bench): Add slowexp and slowpow.
12674 (exp-ITER): Increase iterations.
12675 (pow-ITER): Likewise.
12676 * benchtests/exp-inputs: Change input.
12677 * benchtests/pow-inputs: Likewise.
12678 * benchtests/slowexp-inputs: New file.
12679 * benchtests/slowexp.c: New file.
12680 * benchtests/slowpow-inputs: New file.
12681 * benchtests/slowpow.c: New file.
12683 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12685 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12687 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12688 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12689 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12690 * benchtests/Makefile: Add rint benchtest.
12691 * benchtests/rint-inputs: Input for rint benchtest.
12693 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12695 * Versions.def (libm): Add GLIBC_2.18.
12696 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12697 hidden libm prototypes.
12698 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12699 * math/Makefile (libm-calls): Add s_issignaling.
12700 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12701 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12702 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12704 * math/math.h [__USE_GNU] (issignaling): New macro.
12705 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12706 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12708 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12710 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12711 * manual/arith.texi (issignaling): New section.
12712 * manual/libm-err-tab.pl (@all_functions): Update comment.
12713 * math/gen-libm-test.pl (parse_args): Apply special handling for
12715 * math/libm-test.inc (print_float, issignaling_test): New
12717 (check_float_internal): Add issignaling checks.
12718 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12719 default definition.
12720 * sysdeps/powerpc/math-tests.h: New file.
12721 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12723 * math/test-snan.c (TEST_FUNC): Likewise.
12725 2013-03-30 David S. Miller <davem@davemloft.net>
12727 * po/de.po: Update from translation team.
12729 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12732 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12733 imaginary part less than 1.0 and real part less than 0.5
12735 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12736 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12737 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12738 (cacos_test): Add more tests.
12739 (casin_test): Likewise.
12740 (casinh_test): Likewise.
12741 * sysdeps/i386/fpu/libm-test-ulps: Update.
12742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12744 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12746 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12747 ONE with its value.
12749 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12750 (__pow_mp): Replace ONE and MONE with their values.
12751 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12752 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12753 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12754 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12755 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12756 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12758 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12760 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12761 (__pow_mp): Replace ZERO and MZERO with their values.
12762 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12763 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12764 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12765 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12766 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12767 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12770 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12772 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12774 2013-03-28 Roland McGrath <roland@hack.frob.com>
12776 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12777 Declare with __attribute__ ((weak)).
12778 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12779 Call __call_tls_dtors only if it's not NULL.
12781 2013-03-28 Roland McGrath <roland@hack.frob.com>
12783 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12784 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12785 magic __ehdr_start linker symbol if it's defined.
12786 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12787 them up here if it was already done.
12789 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12790 (_dl_aux_init): Use const in cast when setting it.
12791 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12792 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12793 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12795 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12797 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12798 * csu/libc-tls.c: Nor here.
12799 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12801 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12802 (__libc_message): Never call vsyslog.
12804 2013-03-28 Alan Modra <amodra@gmail.com>
12806 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12808 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12811 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12814 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12818 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12821 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12822 Don't add gid passed as argument.
12824 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12826 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12829 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12830 imaginary part between 1.0 and 1.5 and real part less than 0.5
12832 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12833 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12834 * math/libm-test.inc (cacos_test): Add more tests.
12835 (casin_test): Likewise.
12836 (casinh_test): Likewise.
12837 * sysdeps/i386/fpu/libm-test-ulps: Update.
12838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12840 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12842 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12845 (denorm): Likewise.
12846 (__dbl_mp): Likewise.
12847 (add_magnitudes): Likewise.
12848 (sub_magnitudes): Likewise.
12856 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12858 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12859 (__dubcos): Likewise.
12860 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12861 (__ieee754_acos): Likewise.
12862 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12863 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12864 (__exp1): Likewise.
12865 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12866 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12868 (my_log2): Likewise.
12869 (checkint): Likewise.
12870 * sysdeps/ieee754/dbl-64/e_remainder.c
12871 (__ieee754_remainder): Likewise.
12872 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12873 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12874 (bsloww): Likewise.
12875 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12877 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12878 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12879 MANTISSA_STORE_T to store computations on mantissa. Use
12880 macros for rounding and division.
12881 (denorm): Likewise.
12882 (__dbl_mp): Likewise.
12883 (add_magnitudes): Likewise.
12884 (sub_magnitudes): Likewise.
12887 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12888 powers of two in terms of TWOPOW macro.
12889 (mp_no): Make type of mantissa as MANTISSA_T.
12890 [!RADIXI]: Define RADIXI.
12891 [!TWO52]: Define TWO52.
12892 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12894 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12896 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12897 llroundl symbol when building for PPC32.
12899 2013-03-24 Mark H Weaver <mhw@netris.org>
12901 * manual/arith.texi (Normalization Functions): Fix prototypes for
12902 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12904 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12908 high value to check if expl overflow.
12909 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12910 to check for underflow and overflow.
12911 * math/libm-test.inc: Add exp test.
12913 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12916 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12919 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12921 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12924 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12926 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12927 wrap blocks consisting of several statements.
12929 * sysdeps/generic/math-tests.h: New file.
12930 * sysdeps/i386/fpu/math-tests.h: Likewise.
12931 * math/test-snan.c: Include it.
12932 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12934 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12937 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12938 (__ieee754_j0l): Do not improve calculations using cos of twice
12939 input for inputs above LDBL_MAX / 2.0L.
12940 (__ieee754_y0l): Likewise.
12941 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12942 (__ieee754_j1l): Do not improve calculations using cos of twice
12943 input for inputs above LDBL_MAX / 2.0L.
12944 (__ieee754_y1l): Likewise.
12945 * math/libm-test.inc (j0_test): Add another test.
12946 (j1_test): Likewise.
12947 (y0_test): Likewise.
12948 (y1_test): Likewise.
12949 * sysdeps/i386/fpu/libm-test-ulps: Update.
12951 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12953 * Rules ($(objpfx)bench-%.c): Include code from a C source
12956 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12959 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12960 imaginary part 1.0 and real part less than 0.5 specially.
12961 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12962 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12963 * math/libm-test.inc (cacos_test): Add more tests.
12964 (casin_test): Likewise.
12965 (casinh_test): Likewise.
12966 * sysdeps/i386/fpu/libm-test-ulps: Update.
12967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12969 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12971 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12972 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12974 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12976 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12977 * config.make.in (config-cflags-sse4): Remove variable.
12978 (config-cflags-avx): Likewise.
12979 (config-cflags-sse2avx): Likewise.
12980 (config-cflags-novzeroupper): Likewise.
12981 (config-asflags-i686): Likewise.
12982 (have-mfma4): Likewise.
12983 (have-as-vis3): Likewise.
12985 * configure.in (MIG): Do not AC_SUBST.
12986 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12987 (libc_cv_cc_sse4): Do not AC_SUBST.
12988 (libc_cv_cc_avx): Likewise.
12989 (libc_cv_cc_sse2avx): Likewise.
12990 (libc_cv_cc_novzeroupper): Likewise.
12991 (libc_cv_cc_fma4): Likewise.
12992 (libc_cv_as_i686): Likewise.
12993 (libc_cv_sparc_as_vis3): Likewise.
12994 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12996 (config-asflags-i686): Likewise.
12997 (config-cflags-avx): Likewise.
12998 (config-cflags-sse2avx): Likewise.
12999 (have-mfma4): Likewise.
13000 (config-cflags-novzeroupper): Likewise.
13001 * sysdeps/mach/configure.in (MIG): Likewise.
13002 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13003 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13005 (config-cflags-avx): Likewise.
13006 (config-cflags-sse2avx): Likewise.
13007 (have-mfma4): Likewise.
13008 (config-cflags-novzeroupper): Likewise.
13009 * configure: Regenerated.
13010 * sysdeps/i386/configure: Likewise.
13011 * sysdeps/mach/configure: Likewise.
13012 * sysdeps/sparc/configure: Likewise.
13013 * sysdeps/x86_64/configure: Likewise.
13015 2013-03-20 Roland McGrath <roland@hack.frob.com>
13018 * locale/programs/localedef.c (options): Put N_ translation marker
13019 on argument names, not just descriptions.
13021 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13023 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13025 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
13028 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13030 2013-03-19 Roland McGrath <roland@hack.frob.com>
13032 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13033 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13034 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13035 [!BEFORE_ABORT] (before_abort): New function.
13036 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13037 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13038 (writev_for_fatal): New function.
13039 (WRITEV_FOR_FATAL): New macro; call that.
13040 (backtrace_and_maps): New function.
13041 (BEFORE_ABORT): New macro; call that.
13042 (struct str_list): Type removed.
13043 (__libc_message, __libc_fatal): Functions removed.
13044 Include <sysdeps/posix/libc_fatal.c> instead.
13046 2013-03-19 Joseph Myers <joseph@codesourcery.com>
13048 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13050 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13053 2013-03-19 Andreas Schwab <schwab@suse.de>
13055 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13056 * sysdeps/gnu/configure: Regenerate.
13058 * configure.in: Substitute libc_cv_rtlddir.
13059 * configure: Regenerate.
13060 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13061 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13062 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13063 * elf/Makefile (install-others, CFLAGS-interp.c)
13064 (ldso_install, common-ldd-rewrite): Likewise.
13065 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13066 $(inst_slibdir)/$(rtld-installed-name).
13067 * scripts/rellns-sh: Add -p option.
13068 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13071 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13073 * manual/nptl.texi: Renamed to ...
13074 * manual/threads.texi: ... this.
13075 * manual/Makefile (chapters): Update.
13077 2013-03-18 Roland McGrath <roland@hack.frob.com>
13080 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13081 on argument names, not just descriptions.
13082 * malloc/memusagestat.c (options): Likewise.
13083 * nss/getent.c (options): Likewise.
13085 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13088 * iconv/iconv_prog.c (options): Put N_ translation marker
13089 on argument names, not just descriptions.
13090 * iconv/iconvconfig.c (options): Likewise.
13092 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13094 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13095 implementation which is faster on all x86_64 architectures.
13096 Tested on AMD, Intel Nehalem, SNB, IVB.
13097 * sysdeps/x86_64/strnlen.S: Likewise.
13099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13100 Remove all multiarch strlen and strnlen versions.
13101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13102 Remove strlen and strnlen related parts.
13104 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13105 Inline strlen part.
13106 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13108 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13109 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13110 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13111 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13112 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13113 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13115 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13117 * manual/memory.texi (Malloc Tunable Parameters):
13118 Sort parameters alphabetically. Add comments for missing entries.
13120 2013-03-17 David S. Miller <davem@davemloft.net>
13122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13124 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13127 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13128 for arguments at most half maximum finite value.
13129 * math/libm-test.inc (j0_test): Add more tests.
13130 (j1_test): Likewise.
13131 (y0_test): Likewise.
13132 (y1_test): Likewise.
13133 * sysdeps/i386/fpu/libm-test-ulps: Update.
13134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13137 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13138 1 / x and functions P and Q for arguments above 0x1p256L.
13139 (__ieee754_y0l): Likewise.
13140 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13141 (__ieee754_y1l): Likewise.
13142 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13143 (j1_test): Likewise.
13144 (y0_test): Likewise.
13145 (y1_test): Likewise.
13147 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13149 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13152 2013-03-15 Roland McGrath <roland@hack.frob.com>
13154 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13155 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13156 zero since it's initialized to EXEC_PAGESIZE.
13158 * sysdeps/unix/sysv/linux/ldsodefs.h
13159 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13160 * sysdeps/generic/ldsodefs.h: ... here.
13162 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13164 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13166 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13168 * math/test-snan.c: Renamed from
13169 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13170 * math/Makefile (tests): Add test-snan.
13171 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13174 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13175 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13177 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13178 __builtin_nan family of functions.
13179 * math/libm-test.inc (initialize): Initialize qnan_value with
13180 __builtin_nan family of functions.
13181 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13183 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13185 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13186 storage class. Initialize qNaN_var and sNaN_var with
13187 __builtin_nan and __builtin_nans families of functions,
13190 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13191 (sqrt_test): Remove duplicate test with qNaN input.
13192 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13193 (round_test, signbit_test, significand_test): Note missing +/-Inf
13194 as well as qNaN tests.
13196 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13197 qNaN_var. Fix a few strings, too.
13198 * math/libm-test.inc (nan_value): Rename to qnan_value.
13199 * math/gen-libm-test.pl (%beautify): Adjust to that.
13200 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13201 * math/test-misc.c (main): Likewise.
13202 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13203 to __qnan_bytes, and __qnan_union, respectively.
13204 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13206 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13207 and lqnanval, respectively.
13208 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13209 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13210 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13211 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13213 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13214 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13217 * math/test-misc.c (main): Fix copy'n'pastos.
13218 * misc/tst-efgcvt.c (special): Likewise.
13220 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13221 Remove declarations.
13223 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13225 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13226 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13227 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13228 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13230 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13232 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13233 macro to return vdso values correctly in IFUNC implementations.
13234 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13235 Optimization by using IFUNC.
13237 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13238 Richard Henderson <rth@redhat.com>
13239 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13241 * Makefile.in (bench): New target.
13242 * NEWS: Mention the benchmark framework.
13243 * Rules (bench): Likewise.
13244 (binaries-bench): Generate binaries for functions to
13246 * benchtests/Makefile: New makefile for benchmark tests.
13247 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13249 * benchtests/exp-inputs: New input file for EXP function.
13250 * benchtests/pow-inputs: New input file for POW function.
13251 * scripts/bench.pl: New script to generate source files for
13252 benchmark programs.
13254 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13256 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13257 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13258 computations on mantissa. Use macros for rounding and
13260 (denorm): Likewise.
13261 (__dbl_mp): Likewise.
13262 (add_magnitudes): Likewise.
13263 (sub_magnitudes): Likewise.
13266 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13267 powers of two in terms of TWOPOW macro.
13268 (mp_no): Make type of mantissa as MANTISSA_T.
13269 [!RADIXI]: Define RADIXI.
13270 [!TWO52]: Define TWO52.
13271 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13273 * manual/nptl.texi (cindex): Modify threads to pthreads.
13275 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13277 * sysdeps/x86_64/preconfigure: Regenerated.
13279 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13282 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13284 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13285 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13287 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13288 * math/libm-test.inc (j0_test): Do not allow one spurious
13289 underflow exception.
13290 (y1_test): Likewise.
13292 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13294 * manual/Makefile (chapters): Add nptl.
13295 * manual/debug.texi (Debugging Support): Add link to Threads
13297 * manual/nptl.texi: New file.
13299 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13301 2013-03-14 Petr Baudis <pasky@ucw.cz>
13303 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13304 for non-NULL pointer before the memory validity test. Pointed
13305 out by Holger Brunck <holger.brunck@keymile.com>.
13307 2013-03-13 Andreas Schwab <schwab@suse.de>
13309 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13312 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13314 * timezone/zic.c: Update from tzcode 2013b.
13316 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13318 * manual/install.texi (Configuring and compiling):
13319 Mention i686 and i586.
13320 * INSTALL: Regenerate.
13322 2013-03-12 Roland McGrath <roland@hack.frob.com>
13324 * sysdeps/init_array/elf-init.c: New file.
13326 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13327 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13329 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13330 __gmon_start__ as global, but as static with a .preinit_array pointer.
13331 * sysdeps/init_array/gmon-start.c: New file. Use that.
13332 * sysdeps/init_array/crti.S: New file, empty except for comments.
13333 * sysdeps/init_array/crtn.S: Likewise.
13335 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13337 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13340 Remove Prefer_SSE_for_memop.
13341 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13342 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13343 HAS_PREFER_SSE_FOR_MEMOP.
13344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13347 Remove bzero, memset ifunc support.
13348 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13349 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13350 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13351 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13353 2013-03-11 Andreas Schwab <schwab@suse.de>
13356 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13359 (GLIBC_2.16): Remove pthread_atfork.
13361 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13363 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13364 (ptestcases.h): Likewise.
13366 2013-03-08 Roland McGrath <roland@hack.frob.com>
13368 * Makeconfig ($(common-objpfx)config.status): Depend on
13369 sysdeps/*/preconfigure{,.in} too.
13371 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13373 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13374 (__free_hook): Use void * instead of __malloc_ptr_t.
13375 (__malloc_hook): Likewise.
13376 (__realloc_hook): Likewise.
13377 (__memalign_hook): Likewise.
13378 (__after_morecore_hook): Likewise.
13379 * malloc/arena.c (save_malloc_hook): Likewise.
13380 (save_free_hook): Likewise.
13381 * malloc/hooks.c (malloc_hook_ini): Likewise.
13382 (realloc_hook_ini): Likewise.
13383 (memalign_hook_ini): Likewise.
13384 * malloc/malloc.c (malloc_hook_ini): Likewise.
13385 (realloc_hook_ini): Likewise.
13386 (memalign_hook_ini): Likewise.
13387 (__free_hook): Likewise.
13388 (__malloc_hook): Likewise.
13389 (__realloc_hook): Likewise.
13390 (__memalign_hook): Likewise.
13391 (__libc_malloc): Likewise.
13392 (__libc_free): Likewise.
13393 (__libc_realloc): Likewise.
13394 (__libc_memalign): Likewise.
13395 (__libc_valloc): Likewise.
13396 (__libc_pvalloc): Likewise.
13397 (__libc_calloc): Likewise.
13398 (__posix_memalign): Likewise.
13399 * malloc/morecore.c (__sbrk): Likewise.
13400 (__default_morecore): Likewise.
13402 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13404 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13405 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13406 __malloc_ptrdiff_t.
13408 * malloc/malloc.h (__malloc_size_t): Remove macro.
13409 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13411 (old_memalign_hook): Likewise.
13412 (old_realloc_hook): Likewise.
13413 (struct hdr): Likewise.
13415 (mallochook): Likewise.
13416 (memalignhook): Likewise.
13417 (reallochook): Likewise.
13418 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13419 (tr_old_realloc_hook): Likewise.
13420 (tr_old_memalign_hook): Likewise.
13421 (tr_mallochook): Likewise.
13422 (tr_reallochook): Likewise.
13423 (tr_memalignhook): Likewise.
13425 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13427 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13428 default_ldbl_pack and using as default implementation.
13429 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13431 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13432 redundant definition.
13433 (ldbl_insert_mantissa): Likewise.
13434 (ldbl_canonicalize): Likewise.
13435 (ldbl_nearbyint): Likewise.
13436 (ldbl_pack): Rename to ldbl_pack_ppc.
13437 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13438 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13439 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13441 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13444 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13445 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13446 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13448 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13449 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13450 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13452 2013-03-07 Andreas Jaeger <aj@suse.de>
13454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13457 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13459 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13460 Include mpa.h and declare __MPEXP.
13461 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13462 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13463 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13464 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13465 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13466 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13467 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13469 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13470 (__slowpow): Use long double EXPL and LOGL functions to
13472 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13473 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13474 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13475 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13476 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13477 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13480 intermediate variable to calculate exponent.
13482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13486 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13487 [!NO__SQR]: Define __sqr.
13488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13489 and NO__SQR. Remove all code except __mul and __sqr. Include
13490 sysdeps/ieee754/dbl-64/mpa.c.
13491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13494 * posix/Makefile (tests): Add tst-pathconf.
13495 * posix/tst-pathconf.c: New test case.
13496 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13498 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13500 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13502 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13504 2013-03-06 Andreas Jaeger <aj@suse.de>
13506 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13507 definition via __MAP_ANONYMOUS.
13509 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13510 it's not part of Linux headers.
13512 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13513 (MAP_HUGE_MASK): Define.
13515 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13517 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13518 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13520 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13521 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13523 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13524 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13526 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13528 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13529 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13530 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13531 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13532 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13533 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13535 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13538 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13539 Handle f2fs and efivarfs.
13541 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13544 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13545 (EFIVARFS_MAGIC): Add.
13546 (F2FS_LINK_MAX): Add.
13548 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13550 * stdio-common/vfprintf.c: Replace __builtin_expect with
13553 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13556 * sysdeps/generic/bp-sym.h: Remove file.
13557 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13558 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13559 <bp-sym.h> and <bp-asm.h>.
13560 (__longjmp): Don't use BP_SYM.
13561 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13563 (memcpy): Don't use BP_SYM.
13564 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13565 <bp-sym.h> and <bp-asm.h>.
13566 (memcpy): Don't use BP_SYM.
13567 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13569 (memcpy): Don't use BP_SYM.
13570 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13572 (memset): Don't use BP_SYM.
13573 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13574 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13575 (__bzero): Don't use BP_SYM.
13576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13578 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13579 <bp-sym.h> and <bp-asm.h>.
13580 (memcmp): Don't use BP_SYM. Remove comment about bounded
13582 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13583 <bp-sym.h> and <bp-asm.h>.
13584 (memcpy): Don't use BP_SYM.
13585 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13586 <bp-sym.h> and <bp-asm.h>.
13587 (memset): Don't use BP_SYM.
13588 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13589 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13590 (__bzero): Don't use BP_SYM.
13591 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13592 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13593 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13594 <bp-sym.h> and <bp-asm.h>.
13595 (strncmp): Don't use BP_SYM. Remove comment about bounded
13597 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13598 <bp-sym.h> and <bp-asm.h>.
13599 (memcpy): Don't use BP_SYM.
13600 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13601 <bp-sym.h> and <bp-asm.h>.
13602 (memset): Don't use BP_SYM.
13603 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13604 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13605 (__bzero): Don't use BP_SYM.
13606 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13607 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13608 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13609 <bp-sym.h> and <bp-asm.h>.
13610 (__memchr): Don't use BP_SYM.
13611 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13612 <bp-sym.h> and <bp-asm.h>.
13613 (memcmp): Don't use BP_SYM. Remove comment about bounded
13615 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13616 <bp-sym.h> and <bp-asm.h>.
13617 (memcpy): Don't use BP_SYM.
13618 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13619 <bp-sym.h> and <bp-asm.h>.
13620 (__mempcpy): Don't use BP_SYM.
13621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13622 <bp-sym.h> and <bp-asm.h>.
13623 (__memrchr): Don't use BP_SYM.
13624 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13625 <bp-sym.h> and <bp-asm.h>.
13626 (memset): Don't use BP_SYM.
13627 (__bzero): Likewise.
13628 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13629 <bp-sym.h> and <bp-asm.h>.
13630 (__rawmemchr): Don't use BP_SYM.
13631 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13632 <bp-sym.h> and <bp-asm.h>.
13633 (__STRCMP): Don't use BP_SYM.
13634 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13635 <bp-sym.h> and <bp-asm.h>.
13636 (strchr): Don't use BP_SYM.
13637 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13638 <bp-sym.h> and <bp-asm.h>.
13639 (__strchrnul): Don't use BP_SYM.
13640 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13641 <bp-sym.h> and <bp-asm.h>.
13642 (strlen): Don't use BP_SYM.
13643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13644 <bp-sym.h> and <bp-asm.h>.
13645 (strncmp): Don't use BP_SYM. Remove comment about bounded
13647 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13648 <bp-sym.h> and <bp-asm.h>.
13649 (__strnlen): Don't use BP_SYM.
13650 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13651 <bp-sym.h> and <bp-asm.h>.
13652 (__GI__setjmp): Don't use BP_SYM.
13653 (_setjmp): Likewise.
13654 (__sigsetjmp): Likewise.
13655 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13656 (L(start_addresses)): Don't use BP_SYM.
13657 (_start): Likewise.
13658 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13660 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13661 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13662 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13663 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13664 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13666 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13667 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13668 about bounded pointers.
13669 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13670 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13671 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13673 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13674 about bounded pointers. Remove GKM FIXME comments.
13675 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13676 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13678 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13679 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13680 Remove GKM FIXME comments.
13681 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13682 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13683 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13685 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13686 about bounded pointers. Remove GKM FIXME comment.
13687 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13689 (strncmp): Don't use BP_SYM. Remove comment about bounded
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13692 <bp-sym.h> and <bp-asm.h>.
13693 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13695 <bp-sym.h> and <bp-asm.h>.
13696 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13699 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13701 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13704 2013-03-05 David S. Miller <davem@davemloft.net>
13706 * po/es.po: Update from translation team.
13708 2013-03-05 Andreas Jaeger <aj@suse.de>
13710 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13711 <bits/mman-linux.h>.
13712 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13714 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13715 <bits/mman-linux.h> to end of file.
13716 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13718 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13719 <bits/mman-linux.h> to end of file.
13720 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13722 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13723 <bits/mman-linux.h> to end of file.
13725 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13726 (MCL_CURRENT, MCL_FUTURE): Define here.
13728 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13731 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13733 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13735 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13737 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13738 fourth parameter needed for rt_sigprocmask syscall.
13739 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13740 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13741 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13742 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13743 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13744 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13746 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13749 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13750 comment about bounded pointers.
13751 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13752 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13754 2013-03-04 Andreas Jaeger <aj@suse.de>
13756 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13757 common definitions.
13759 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13760 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13761 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13762 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13763 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13764 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13766 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13770 __ieee754_sqrl instead of __sqrl.
13772 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13774 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13775 * sysdeps/powerpc/fpu_control.h: ... here.
13776 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13777 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13778 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13779 * sysdeps/powerpc/bits/mathinline.h: ... here.
13781 2013-03-01 Roland McGrath <roland@hack.frob.com>
13783 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13784 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13785 to just [NEED_DL_SYSINFO_DSO].
13786 * elf/dl-support.c: Likewise.
13787 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13788 * elf/rtld.c (dl_main): Likewise.
13789 * elf/setup-vdso.h (setup_vdso): Likewise.
13790 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13791 * sysdeps/unix/sysv/linux/dl-sysdep.c
13792 (_dl_discover_osversion): Likewise.
13794 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13796 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13797 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13799 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13801 * NEWS: Mention libm performance improvements and non-x86 PI
13804 * csu/libc-start.c (__pthread_initialize_minimal): Change
13805 function arguments.
13806 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13808 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13811 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13812 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13813 <bp-sym.h> and <bp-asm.h>.
13814 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13815 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13817 (memcpy): Don't use BP_SYM.
13818 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13820 (__mpn_add_n): Don't use BP_SYM.
13821 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13822 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13824 (__mpn_addmul_1): Don't use BP_SYM.
13825 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13826 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13828 (_setjmp): Don't use BP_SYM.
13829 (__novmx_setjmp): Likewise.
13830 (__GI__setjmp): Likewise.
13831 (__vmx_setjmp): Likewise.
13832 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13834 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13835 (__bzero): Don't use BP_SYM.
13836 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13837 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13838 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13839 <bp-sym.h> and <bp-asm.h>.
13840 (memcpy): Don't use BP_SYM.
13841 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13842 <bp-sym.h> and <bp-asm.h>.
13843 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13844 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13845 <bp-sym.h> and <bp-asm.h>.
13846 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13847 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13849 (__mpn_lshift): Don't use BP_SYM.
13850 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13851 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13853 (memset): Don't use BP_SYM.
13854 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13855 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13856 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13858 (__mpn_mul_1): Don't use BP_SYM.
13859 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13860 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13861 <bp-sym.h> and <bp-asm.h>.
13862 (memcmp): Don't use BP_SYM.
13863 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13864 <bp-sym.h> and <bp-asm.h>.
13865 (memcpy): Don't use BP_SYM.
13866 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13867 <bp-sym.h> and <bp-asm.h>.
13868 (memset): Don't use BP_SYM.
13869 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13870 <bp-sym.h> and <bp-asm.h>.
13871 (strncmp): Don't use BP_SYM.
13872 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13873 <bp-sym.h> and <bp-asm.h>.
13874 (memcpy): Don't use BP_SYM.
13875 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13876 <bp-sym.h> and <bp-asm.h>.
13877 (memset): Don't use BP_SYM.
13878 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13879 <bp-sym.h> and <bp-asm.h>.
13880 (__memchr): Don't use BP_SYM.
13881 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13882 <bp-sym.h> and <bp-asm.h>.
13883 (memcmp): Don't use BP_SYM.
13884 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13885 <bp-sym.h> and <bp-asm.h>.
13886 (memcpy): Don't use BP_SYM.
13887 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13888 <bp-sym.h> and <bp-asm.h>.
13889 (__mempcpy): Don't use BP_SYM.
13890 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13891 <bp-sym.h> and <bp-asm.h>.
13892 (__memrchr): Don't use BP_SYM.
13893 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13894 <bp-sym.h> and <bp-asm.h>.
13895 (memset): Don't use BP_SYM.
13896 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13897 <bp-sym.h> and <bp-asm.h>.
13898 (__rawmemchr): Don't use BP_SYM.
13899 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13900 <bp-sym.h> and <bp-asm.h>.
13901 (__STRCMP): Don't use BP_SYM.
13902 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13903 <bp-sym.h> and <bp-asm.h>.
13904 (strchr): Don't use BP_SYM.
13905 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13906 <bp-sym.h> and <bp-asm.h>.
13907 (__strchrnul): Don't use BP_SYM.
13908 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13909 <bp-sym.h> and <bp-asm.h>.
13910 (strlen): Don't use BP_SYM.
13911 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13912 <bp-sym.h> and <bp-asm.h>.
13913 (strncmp): Don't use BP_SYM.
13914 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13915 <bp-sym.h> and <bp-asm.h>.
13916 (__strnlen): Don't use BP_SYM.
13917 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13919 (__mpn_rshift): Don't use BP_SYM.
13920 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13921 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13922 <bp-sym.h> and <bp-asm.h>.
13923 (__sigsetjmp): Don't use BP_SYM.
13924 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13925 (L(start_addresses)): Don't use BP_SYM.
13926 (_start): Likewise.
13927 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13929 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13930 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13931 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13932 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13934 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13935 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13936 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13937 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13939 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13941 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13942 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13944 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13946 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13947 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13948 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13950 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13952 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13954 (strncmp): Don't use BP_SYM,
13955 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13957 (__mpn_sub_n): Don't use BP_SYM.
13958 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13959 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13961 (__mpn_submul_1): Don't use BP_SYM.
13962 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13964 <bp-sym.h> and <bp-asm.h>.
13965 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13967 <bp-sym.h> and <bp-asm.h>.
13968 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13971 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13974 Use ZK to minimize writes to Z.
13975 (sub_magnitudes): Simplify code a bit.
13976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13977 Use ZK to minimize writes to Z.
13978 (sub_magnitudes): Simplify code a bit.
13980 2013-02-27 Roland McGrath <roland@hack.frob.com>
13982 * csu/gmon-start.c: Add special exception to license text.
13984 2013-02-27 Richard Henderson <rth@redhat.com>
13986 * scripts/config.guess: Update from config.git.
13987 * scripts/config.sub: Likewise.
13989 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13991 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13993 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13995 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13997 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13999 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14001 2013-02-26 Roland McGrath <roland@hack.frob.com>
14003 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14004 [$(build-shared = yes].
14006 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14008 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14009 (__mul): Reduce iterations for calculating mantissa.
14011 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14013 (__mpranred): Likewise.
14016 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14017 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14019 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14021 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14022 Define __attribute__.
14024 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14026 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14028 * posix/regex_internal.h (__attribute): Remove.
14029 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14030 (re_string_context_at): Likewise.
14031 (bitset_not): Use __attribute__ and mark function as possibly
14033 (bitset_merge): Likewise.
14034 (bitset_mask): Likewise.
14035 (re_string_char_size_at): Likewise.
14036 (re_string_wchar_at): Likewise.
14037 (re_string_elem_size_at): Likewise.
14039 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14041 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14045 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14049 (denorm): Likewise.
14050 (__dbl_mp): Likewise.
14051 (add_magnitudes): Likewise.
14052 (sub_magnitudes): Likewise.
14056 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14059 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14062 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14066 up changes with default code.
14067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14070 2013-02-24 Allan McRae <allan@archlinux.org>
14072 * manual/socket.texi (The Internet Namespace): Order menu items
14073 to match that in the file.
14075 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14076 node listing of the info page menu.
14078 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14081 * sysdeps/i386/bp-asm.h: Remove file.
14082 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14083 (PARMS): Do not use macros from bp-asm.h.
14087 (__mpn_add_n): Do not use BP_SYM
14088 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14090 (PARMS): Do not use macros from bp-asm.h.
14093 (__mpn_addmul_1): Do not use BP_SYM
14094 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14096 (PARMS): Do not use macros from bp-asm.h.
14097 (SIGMSK): Likewise.
14098 (_setjmp): Likewise. Do not use BP_SYM.
14099 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14101 (PARMS): Do not use macros from bp-asm.h.
14102 (SIGMSK): Likewise.
14103 (setjmp): Likewise. Do not use BP_SYM.
14104 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14106 (PARMS): Do not use macros from bp-asm.h.
14107 (__frexp): Do not use BP_SYM.
14109 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14111 (PARMS): Do not use macros from bp-asm.h.
14112 (__frexpf): Do not use BP_SYM.
14113 (frexpf): Likewise.
14114 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14116 (PARMS): Do not use macros from bp-asm.h.
14117 (__frexpl): Do not use BP_SYM.
14118 (frexpl): Likewise.
14119 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14121 (PARMS): Do not use macros from bp-asm.h.
14122 (__remquo): Do not use BP_SYM.
14123 (remquo): Likewise.
14124 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14126 (PARMS): Do not use macros from bp-asm.h.
14127 (__remquof): Do not use BP_SYM.
14128 (remquof): Likewise.
14129 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14131 (PARMS): Do not use macros from bp-asm.h.
14132 (__remquol): Do not use BP_SYM.
14133 (remquol): Likewise.
14134 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14136 (PARMS): Do not use macros from bp-asm.h.
14139 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14140 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14142 (PARMS): Do not use macros from bp-asm.h.
14143 (strlen): Do not use BP_SYM.
14144 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14146 (PARMS): Do not use macros from bp-asm.h.
14150 (__mpn_add_n): Do not use BP_SYM.
14151 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14153 (PARMS): Do not use macros from bp-asm.h.
14156 (__mpn_addmul_1): Do not use BP_SYM.
14157 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14160 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14162 (PARMS): Do not use macros from bp-asm.h.
14165 (__mpn_lshift): Do not use BP_SYM.
14166 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14168 (PARMS): Do not use macros from bp-asm.h.
14172 (memcpy): Likewise. Do not use BP_SYM.
14173 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14174 libc_hidden_def and weak_alias.
14175 (mempcpy): Do not use BP_SYM in weak_alias.
14176 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14178 (PARMS): Do not use macros from bp-asm.h.
14181 [!BZERO_P] (CHR): Likewise.
14182 (memset): Likewise. Do not use BP_SYM.
14183 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14185 (PARMS): Do not use macros from bp-asm.h.
14188 (__mpn_mul_1): Do not use BP_SYM.
14189 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14191 (PARMS): Do not use macros from bp-asm.h.
14194 (__mpn_rshift): Do not use BP_SYM.
14195 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14197 (PARMS): Do not use macros from bp-asm.h.
14200 (strchr): Likewise. Do not use BP_SYM.
14201 (index): Do not use BP_SYM in weak_alias.
14202 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14204 (PARMS): Do not use macros from bp-asm.h.
14207 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14208 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14210 (PARMS): Do not use macros from bp-asm.h.
14211 (strlen): Do not use BP_SYM.
14212 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14214 (PARMS): Do not use macros from bp-asm.h.
14218 (__mpn_sub_n): Do not use BP_SYM.
14219 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14221 (PARMS): Do not use macros from bp-asm.h.
14224 (__mpn_submul_1): Do not use BP_SYM.
14225 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14227 (PARMS): Do not use macros from bp-asm.h.
14231 (__mpn_add_n): Do not use BP_SYM.
14232 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14235 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14237 (PARMS): Do not use macros from bp-asm.h.
14240 (memcmp): Do not use BP_SYM.
14241 (bcmp): Do not use BP_SYM in weak_alias.
14242 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14244 (PARMS): Do not use macros from bp-asm.h.
14248 (memcpy): Likewise. Do not use BP_SYM.
14249 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14251 (PARMS): Do not use macros from bp-asm.h.
14255 (memmove): Likewise. Do not use BP_SYM.
14256 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14258 (PARMS): Do not use macros from bp-asm.h.
14262 (__mempcpy): Likewise. Do not use BP_SYM.
14263 (mempcpy): Do not use BP_SYM in weak_alias.
14264 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14266 (PARMS): Do not use macros from bp-asm.h.
14269 [!BZERO_P] (CHR): Likewise.
14270 (memset): Likewise. Do not use BP_SYM.
14271 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14273 (PARMS): Do not use macros from bp-asm.h.
14275 (strcmp): Do not use BP_SYM.
14276 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14278 (PARMS): Do not use macros from bp-asm.h.
14281 [USE_AS_STRTOK_R] (SAVE): Likewise.
14282 (FUNCTION): Likewise. Do not use BP_SYM.
14283 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14285 (strtok_r): Likewise.
14286 (__GI___strtok_r): Likewise.
14287 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14288 (PARMS): Do not use macros from bp-asm.h.
14291 (__mpn_lshift): Do not use BP_SYM.
14292 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14293 (PARMS): Do not use macros from bp-asm.h.
14296 (__memchr): Do not use BP_SYM.
14297 (memchr): Do not use BP_SYM in weak_alias.
14298 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14299 (PARMS): Do not use macros from bp-asm.h.
14302 (memcmp): Do not use BP_SYM.
14303 (bcmp): Do not use BP_SYM in weak_alias.
14304 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14305 (PARMS): Do not use macros from bp-asm.h.
14308 (__mpn_mul_1): Do not use BP_SYM.
14309 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14311 (PARMS): Do not use macros from bp-asm.h.
14314 (__rawmemchr): Do not use BP_SYM.
14315 (rawmemchr): Do not use BP_SYM in weak_alias.
14316 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14317 (PARMS): Do not use macros from bp-asm.h.
14320 (__mpn_rshift): Do not use BP_SYM.
14321 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14322 (PARMS): Do not use macros from bp-asm.h.
14323 (SIGMSK): Likewise.
14324 (__sigsetjmp): Likewise. Do not use BP_SYM.
14325 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14326 (_start): Do not use BP_SYM.
14327 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14328 (PARMS): Do not use macros from bp-asm.h.
14331 (__stpcpy): Likewise. Do not use BP_SYM.
14332 (stpcpy): Do not use BP_SYM in weak_alias.
14333 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14335 (PARMS): Do not use macros from bp-asm.h.
14339 (__stpncpy): Likewise. Do not use BP_SYM.
14340 (stpncpy): Do not use BP_SYM in weak_alias.
14341 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14342 (PARMS): Do not use macros from bp-asm.h.
14345 (strchr): Likewise. Do not use BP_SYM.
14346 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14348 (PARMS): Do not use macros from bp-asm.h.
14351 (__strchrnul): Likewise. Do not use BP_SYM.
14352 (strchrnul): Do not use BP_SYM in weak_alias.
14353 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14355 (PARMS): Do not use macros from bp-asm.h.
14357 (strcspn): Do not use BP_SYM.
14358 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14360 (PARMS): Do not use macros from bp-asm.h.
14363 (strpbrk): Likewise. Do not use BP_SYM.
14364 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14366 (PARMS): Do not use macros from bp-asm.h.
14369 (strrchr): Likewise. Do not use BP_SYM.
14370 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14371 (PARMS): Do not use macros from bp-asm.h.
14373 (strspn): Do not use BP_SYM.
14374 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14375 (PARMS): Do not use macros from bp-asm.h.
14379 (FUNCTION): Likewise. Do not use BP_SYM.
14380 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14382 (strtok_r): Likewise.
14383 (__GI___strtok_r): Likewise.
14384 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14385 (PARMS): Do not use macros from bp-asm.h.
14389 (__mpn_sub_n): Do not use BP_SYM.
14390 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14392 (PARMS): Do not use macros from bp-asm.h.
14395 (__mpn_submul_1): Do not use BP_SYM.
14396 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14398 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14400 (PARMS): Do not use macros from bp-asm.h.
14405 (__clone): Do not use BP_SYM.
14406 (clone): Do not use BP_SYM in weak_alias.
14407 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14409 (PARMS): Do not use macros from bp-asm.h.
14411 (__mmap64): Do not use BP_SYM.
14412 (mmap64): Do not use BP_SYM in weak_alias.
14413 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14414 <bp-sym.h> and <bp-asm.h>.
14415 (PARMS): Do not use macros from bp-asm.h.
14416 (__posix_fadvise64_l64): Do not use BP_SYM.
14417 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14418 (PARMS): Do not use macros from bp-asm.h.
14420 (semtimedop): Do not use BP_SYM.
14421 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14424 2013-02-21 Allan McRae <allan@archlinux.org>
14426 * manual/message.texi (Charset conversion in gettext):
14427 Move @end statement to beginning of line.
14429 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14436 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14437 (denorm): Likewise.
14438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14441 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14443 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14444 tail-call to the resolved function if pltexit isn't needed.
14446 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14449 or Y being zero as being unlikely.
14450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14453 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14455 * manual/nss.texi (System Databases and Name Service Switch):
14456 Remove frobnicate @pxref.
14458 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14460 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14461 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14463 2013-02-20 Petr Machata <pmachata@redhat.com>
14465 * elf/elf.h (R_ARM_TARGET1): New macro.
14466 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14467 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14468 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14469 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14470 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14471 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14472 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14473 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14474 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14475 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14476 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14477 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14478 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14479 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14480 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14481 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14482 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14483 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14484 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14485 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14486 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14487 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14488 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14489 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14490 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14491 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14492 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14493 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14494 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14495 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14496 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14497 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14498 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14499 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14500 (R_ARM_THM_GOT_BREL12): Likewise.
14501 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14502 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14503 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14504 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14505 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14506 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14507 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14508 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14509 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14511 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14513 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14514 __attribute_used__ to __attribute__ ((unused)).
14516 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14518 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14521 comment formatting.
14522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14524 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14527 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14529 (ENTER): Remove both macro definitions.
14531 (CHECK_BOUNDS_LOW): Likewise.
14532 (CHECK_BOUNDS_HIGH): Likewise.
14533 (CHECK_BOUNDS_BOTH): Likewise.
14534 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14535 (RETURN_BOUNDED_POINTER): Likewise.
14536 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14537 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14538 (POP_ERRNO_LOCATION_RETURN): Likewise.
14539 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14540 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14541 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14543 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14544 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14545 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14546 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14547 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14548 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14549 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14550 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14551 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14552 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14553 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14554 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14555 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14556 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14558 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14559 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14561 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14562 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14563 * sysdeps/i386/i586/memset.S (memset): Likewise.
14564 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14565 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14566 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14568 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14569 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14570 Change uses of L(2) to L(out).
14571 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14572 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14573 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14574 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14575 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14577 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14578 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14580 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14581 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14582 (RETURN): Do not use macro LEAVE.
14583 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14584 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14585 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14586 * sysdeps/i386/i686/memset.S (memset): Likewise.
14587 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14588 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14589 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14590 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14592 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14593 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14594 L(1_2) and L(1_3) into L(1).
14595 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14596 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14597 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14598 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14599 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14600 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14601 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14602 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14603 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14605 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14606 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14607 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14608 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14609 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14610 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14611 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14612 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14613 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14614 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14615 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14616 * sysdeps/i386/strspn.S (strspn): Likewise.
14617 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14619 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14620 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14621 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14622 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14623 L(1_3) into L(1_1).
14624 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14625 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14626 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14628 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14630 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14632 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14635 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14637 * math/atest-exp.c (exp_mpn): Remove ROUND.
14638 * math/atest-exp2.c (exp_mpn): Likewise.
14639 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14641 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14642 * stdlib/tst-tls-atexit-lib.c: Likewise.
14643 * stdlib/tst-tls-atexit.c: Likewise.
14645 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14647 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14648 and __attribute_alloc_size__.
14650 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14652 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14653 __attribute_alloc_size__.
14654 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14655 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14657 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14659 * include/programs/xmalloc.h: New file.
14660 * catgets/gencat.c: Include it.
14661 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14662 * elf/pldd.c: Likewise.
14663 * iconv/iconv_charmap.c: Likewise.
14664 * iconv/iconvconfig.c: Likewise.
14665 * iconv/strtab.c: Likewise.
14666 * locale/programs/locale.c: Likewise.
14667 * locale/programs/localedef.h: Likewise.
14668 * locale/programs/simple-hash.c: Likewise.
14669 * nscd/nscd.h: Likewise.
14670 * nss/makedb.c: Likewise.
14671 * sysdeps/generic/ldconfig.h: Likewise.
14673 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14675 * Versions.def: Add GLIBC_2.18.
14676 * include/link.h (struct link_map): New member l_tls_dtor_count.
14677 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14678 (__call_tls_dtors): Likewise.
14679 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14680 __cxa_thread_atexit_impl.
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14689 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14697 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14698 (tests): Add test case tst-tls-atexit.
14699 (modules-names): Add shared library for tst-tls-atexit.
14700 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14701 (GLIBC_PRIVATE): Add __call_tls_dtors.
14702 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14704 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14705 * stdlib/tst-tls-atexit.c: New test case.
14706 * stdlib/tst-tls-atexit-lib.c: New test case.
14708 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14710 * elf/Versions (ld): Add _dl_find_dso_for_object.
14711 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14712 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14713 (dl_open_worker): Use _dl_find_dso_for_object.
14714 * elf/dl-sym.c (do_sym): Likewise.
14715 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14717 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14719 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14720 Syntactic changes only.
14721 (_dl_runtime_profile): Do a tail-call to the resolved function.
14723 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14726 * sysdeps/x86_64/bp-asm.h: Remove file.
14727 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14728 <bp-sym.h> and <bp-asm.h>.
14729 (__clone): Do not use BP_SYM.
14730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14731 <bp-sym.h> and <bp-asm.h>.
14732 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14733 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14735 (_setjmp): Do not use BP_SYM.
14736 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14738 (setjmp): Do not use BP_SYM.
14739 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14741 (mempcpy): Do not use BP_SYM in weak_alias.
14742 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14744 (strchr): Do not use BP_SYM.
14745 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14747 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14748 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14749 (_start): Do not use BP_SYM.
14750 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14752 (strcat): Do not use BP_SYM.
14753 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14755 (STRCMP): Do not use BP_SYM.
14756 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14758 (STRCPY): Do not use BP_SYM.
14759 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14761 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14763 (FUNCTION): Do not use BP_SYM.
14764 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14766 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14768 2013-02-17 Andreas Jaeger <aj@suse.de>
14770 * time/Versions: Sort entries.
14771 * string/Versions: Likewise.
14772 * resolv/Versions: Likewise.
14773 * posix/Versions: Likewise.
14774 * iconv/Versions: Likewise.
14775 * elf/Versions: Likewise.
14776 * wcsmbs/Versions: Likewise.
14778 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14780 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14781 loop termination condition.
14783 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14784 variable to calculate EZ.
14787 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14788 the lower precision input.
14790 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14793 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14794 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14795 (run-via-rtld-prefix): Do not handle %-bp tests.
14796 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14797 (all-object-suffixes): Remove .ob.
14798 (bppfx): Remove variable.
14799 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14800 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14801 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14802 [$(build-bounded) = yes] (libtype.ob): Likewise.
14803 * Makerules (elide-routines.ob): Remove variable.
14804 (do-tests-clean): Do not handle *-bp.out.
14805 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14806 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14807 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14808 (tests): Do not include $(tests-bp.out).
14809 (xtests): Do not include $(xtests-bp.out).
14810 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14811 [$(build-bounded) = yes] ($(addprefix
14812 $(objpfx),$(binaries-bounded))): Remove rule.
14813 ($(objpfx)%-bp.out): Remove rule.
14814 * config.make.in (build-bounded): Remove variable.
14815 * crypt/Makefile [$(build-bounded) = yes]
14816 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14817 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14818 append to variable.
14819 [$(build-bounded) = yes] (install-lib): Likewise.
14820 [$(build-bounded) = yes] (generated): Likewise.
14821 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14823 * intl/Makefile [$(build-bounded) = yes]
14824 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14825 * math/Makefile [$(build-bounded) = yes]
14826 ($(tests:%=$(objpfx)%-bp): Likewise.
14827 * misc/Makefile [$(build-bounded) = yes]
14828 ($(objpfx)tst-tsearch-bp): Likewise.
14829 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14830 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14832 * string/Makefile (o-objects.ob): Remove variable.
14833 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14834 (CFLAGS-.ob): Remove variable.
14835 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14836 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14837 both definitions of variable.
14838 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14839 (ASFLAGS-.ob): Remove variable.
14841 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14844 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14845 Remove __BOUNDED_POINTERS__ from condition.
14846 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14847 * string/bits/string2.h [!__NO_STRING_INLINES &&
14848 !__BOUNDED_POINTERS__]: Likewise.
14849 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14851 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14852 Remove conditional code.
14853 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14854 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14855 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14859 * csu/libc-start.c: Do not include <bp-sym.h>.
14860 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14861 * elf/dl-open.c: Do not include <bp-sym.h>.
14862 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14863 * math/fegetenv.c: Do not include <bp-sym.h>.
14864 (fegetenv): Do not use BP_SYM in versioned symbols.
14865 * nptl/sysdeps/pthread/bits/libc-lockP.h
14866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14869 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14871 (__pthread_mutex_destroy): Likewise.
14872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14873 (__pthread_mutex_lock): Likewise.
14874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14875 (__pthread_mutex_trylock): Likewise.
14876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14877 (__pthread_mutex_unlock): Likewise.
14878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14879 (__pthread_mutexattr_init): Likewise.
14880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14881 (__pthread_mutexattr_destroy): Likewise.
14882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14883 (__pthread_mutexattr_settype): Likewise.
14884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14885 (__pthread_rwlock_init): Likewise.
14886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14887 (__pthread_rwlock_destroy): Likewise.
14888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14889 (__pthread_rwlock_rdlock): Likewise.
14890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14891 (__pthread_rwlock_tryrdlock): Likewise.
14892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14893 (__pthread_rwlock_wrlock): Likewise.
14894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14895 (__pthread_rwlock_trywrlock): Likewise.
14896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14897 (__pthread_rwlock_unlock): Likewise.
14898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14899 (__pthread_key_create): Likewise.
14900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14901 (__pthread_setspecific): Likewise.
14902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14903 (__pthread_getspecific): Likewise.
14904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14907 (_pthread_cleanup_push_defer): Likewise.
14908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14909 (_pthread_cleanup_pop_restore): Likewise.
14910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14911 (pthread_setcancelstate): Likewise.
14912 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14914 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14915 (memchr): Do not use BP_SYM in weak_alias.
14916 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14917 (fegetenv): Do not use BP_SYM in versioned symbols.
14918 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14919 (fesetenv): Do not use BP_SYM in versioned symbols.
14920 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14921 (feupdateenv): Do not use BP_SYM in versioned symbols.
14922 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14923 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14924 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14925 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14926 (open64): Do not use BP_SYM in weak_alias.
14927 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14928 (fegetenv): Do not use BP_SYM in versioned symbols.
14929 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14930 (fesetenv): Do not use BP_SYM in versioned symbols.
14931 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14932 (feupdateenv): Do not use BP_SYM in versioned symbols.
14933 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14934 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14935 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14936 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14937 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14938 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14939 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14941 (__libc_start_main): Do not use BP_SYM.
14943 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14946 redundant return line.
14948 (denorm): Likewise.
14949 (dbl_mp): Likewise.
14950 (sub_magnitudes): Likewise.
14956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14958 (denorm): Likewise.
14959 (dbl_mp): Likewise.
14960 (sub_magnitudes): Likewise.
14967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14969 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14970 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14973 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14974 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14975 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14976 of __mul for squares.
14977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14981 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14982 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14984 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14987 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14989 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14990 prototype or function definition. Rename ubp_* variables and
14991 parameters. Remove argv definitions conditional on
14992 [__BOUNDED_POINTERS__].
14993 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14994 * elf/dl-runtime.c (_dl_fixup): Likewise.
14995 * include/set-hooks.h (RUN_HOOK): Likewise.
14996 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14998 * string/strcpy.c (strcpy): Do not use __unbounded.
14999 * sysdeps/generic/frame.h (struct layout): Likewise.
15000 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15001 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15002 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15003 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15004 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15005 (__backtrace): Likewise.
15006 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15008 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15009 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15010 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15012 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15013 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15014 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15015 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15016 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15017 Do not use __unbounded.
15018 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15019 Rename __unboundedrlimits parameter to rlimits in prototype.
15020 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15021 Do not use __unbounded.
15022 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15023 not use __ptrvalue.
15024 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15025 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15026 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15027 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15028 __ptrvalue or __unbounded.
15029 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15030 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15032 (__new_msgctl): Do not use __ptrvalue.
15033 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15035 (__libc_msgrcv): Do not use __ptrvalue.
15036 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15037 startup_info): Do not use __unbounded.
15038 (__libc_start_main): Likewise. Rename ubp_* variables and
15039 parameters. Remove argv definitions conditional on
15040 [__BOUNDED_POINTERS__].
15041 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15043 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15045 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15047 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15049 (__new_shmctl): Do not use __ptrvalue.
15050 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15051 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15053 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15054 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15055 (__libc_sigaction): Likewise.
15056 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15057 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15059 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15061 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15063 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15065 * string/mempcpy.c: Implement by calling memcpy.
15067 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15074 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15075 values in the mantissa.
15077 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15078 minimize writes to Z.
15079 (sub_magnitudes): Simplify code a bit.
15081 2013-02-12 Roland McGrath <roland@hack.frob.com>
15083 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15084 from the message. The linker prefixes all warnings with that already.
15086 2013-02-12 Andreas Schwab <schwab@suse.de>
15089 * posix/regexec.c (extend_buffers): Add parameter min_len.
15090 (check_matching): Pass minimum needed length.
15091 (clean_state_log_if_needed): Likewise.
15092 (get_subexp): Likewise.
15093 * posix/Makefile (tests): Add bug-regex34.
15094 (bug-regex34-ENV): Define.
15095 * posix/bug-regex34.c: New file.
15098 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15099 elements compare against the byte sequence of it, not its name.
15100 * posix/Makefile (tests): Add bug-regex35.
15101 (bug-regex35-ENV): Define.
15102 * posix/bug-regex35.c: New file.
15104 2013-02-11 Tom de Vries <tom@codesourcery.com>
15106 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15108 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15109 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15110 (CHECK_EOL): Add undef.
15112 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15114 * bits/stdlib-bsearch.h: New file.
15115 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15116 * stdlib/stdlib.h: Likewise.
15118 2013-02-11 Roland McGrath <roland@hack.frob.com>
15120 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15121 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15123 * manual/search.texi (Array Search Function): Add missing const in
15125 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15126 declaration to use rlim_t.
15127 (Basic Scheduling Functions): Remove erroneous const from
15128 sched_getparam prototype. Remove erroneous * from
15129 sched_get_priority_max and sched_get_priority_min prototypes.
15130 (Resource Usage): Fix summary @comment on vtimes to refer to
15131 sys/vtimes.h rather than vtimes.h.
15132 Add missing *s in vtimes prototype.
15133 (Limits on Resources): Fix ulimit prototype to return long int.
15134 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15135 prototypes to use long int rather than double.
15136 (BSD Random): Fix initstate and setstate to use char *, not void *.
15137 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15138 prototype to make second argument 'struct aiocb64 *const[]'.
15139 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15140 (Status of AIO Operations): Remove erroneous const in aio_return and
15141 aio_return64 prototypes.
15142 (Synchronizing I/O): Fix sync prototype to return void.
15143 * manual/startup.texi (Suboptions): Remove an erroneous const in
15144 getsubopt prototype.
15145 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15146 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15147 use size_t rather than int.
15148 (Scanning All Users): Likewise for getpwent_r.
15149 (Setting Groups): Add missing const to setgroups prototype.
15150 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15151 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15152 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15153 'const void *' rather than 'const char *'.
15154 (Host Address Functions): Likewise for inet_ntop.
15155 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15156 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15157 ssize_t for return value.
15158 (Sending Data): Likewise for send, sendto, sendmsg.
15159 (Socket Option Functions): Add a missing const in setsockopt prototype.
15160 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15161 use wchar_t for the argument.
15162 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15163 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15165 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15166 double/float/long double for second argument.
15167 Fix return types of significand, significandf, significandl.
15168 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15169 argument in fchmod prototype.
15170 (File Owner): Use uid_t and gid_t in fchown prototype.
15171 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15172 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15173 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15174 use 'const struct dirent **' as argument types to CMP function pointer
15176 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15177 (File Times): Fix summary magic @comment for struct utimbuf and utime
15178 to refer to utime.h, not time.h.
15179 * manual/string.texi (Argz Functions): Add missing const in
15180 argz_extract and argz_next prototypes.
15181 (Finding Tokens in a String): Likewise for basename.
15182 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15183 (Copying and Concatenation): Fix typo in wmemmove prototype.
15184 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15185 (Signal Stack): Remove erroneous const in sigstack prototype.
15186 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15188 (Simple Calendar Time): Likewise for stime.
15189 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15191 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15192 say sys/sysctl.h instead.
15193 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15194 and vsyslog prototypes.
15196 2013-02-11 Tom de Vries <tom@codesourcery.com>
15198 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15201 2013-02-11 Roland McGrath <roland@hack.frob.com>
15203 * misc/sys/mman.h: Fix typo in mremap comment.
15205 2013-02-08 Roland McGrath <roland@hack.frob.com>
15207 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15208 the '\0' terminator.
15210 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15213 * debug/segfault.c: Don't include <bp-checks.h>.
15214 * sysdeps/generic/bp-checks.h: Remove file.
15215 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15216 (__GETDENTS): Don't use CHECK_N.
15217 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15218 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15219 (__getgroups): Don't use CHECK_N.
15220 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15221 (setgroups): Don't use CHECK_N.
15222 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15223 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15224 (__libc_msgrcv): Don't use CHECK_N.
15225 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15226 (__libc_msgsnd): Don't use CHECK_N.
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15229 (__libc_pread): Don't use CHECK_N.
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15231 include <bp-checks.h>.
15232 (__libc_pread64): Don't use CHECK_N.
15233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15234 include <bp-checks.h>.
15235 (__libc_pwrite): Don't use CHECK_N.
15236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15237 include <bp-checks.h>.
15238 (__libc_pwrite64): Don't use CHECK_N.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15241 (__libc_pread): Don't use CHECK_N.
15242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15243 include <bp-checks.h>.
15244 (__libc_pread64): Don't use CHECK_N.
15245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15246 include <bp-checks.h>.
15247 (__libc_pwrite): Don't use CHECK_N.
15248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15249 include <bp-checks.h>.
15250 (__libc_pwrite64): Don't use CHECK_N.
15251 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15252 (do_pread): Don't use CHECK_N.
15253 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15254 (do_pread64): Don't use CHECK_N.
15255 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15256 (do_pwrite): Don't use CHECK_N.
15257 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15258 (do_pwrite64): Don't use CHECK_N.
15259 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15260 (__libc_readv): Don't use CHECK_N.
15261 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15262 (semop): Don't use CHECK_N.
15263 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15265 (semtimedop): Don't use CHECK_N.
15266 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15267 (__libc_pread): Don't use CHECK_N.
15268 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15270 (__libc_pread64): Don't use CHECK_N.
15271 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15273 (__libc_pwrite): Don't use CHECK_N.
15274 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15276 (__libc_pwrite64): Don't use CHECK_N.
15277 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15279 (__libc_msgrcv): Don't use CHECK_N.
15280 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15281 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15282 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15283 (__libc_writev): Don't use CHECK_N.
15285 2013-02-08 Roland McGrath <roland@hack.frob.com>
15287 * string/strcpy.c: Removed unused variable.
15289 * Makeconfig (+sysdep-includes): Define with := rather than =.
15290 Use an existing include/ subdir of each sysdeps dir before it.
15292 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15294 * nscd/connection.c (register_traced_file): Comment function.
15295 [HAVE_INOTIFY] (union __inev): Define.
15296 [HAVE_INOTIFY] (inotify_check_files): New function.
15297 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15298 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15300 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15302 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15304 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15305 loaded if not already and that a failure is permanent.
15307 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15310 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15311 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15313 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15316 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15317 (CHECK_1_NULL_OK): Likewise.
15318 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15319 (__fxstat): Do not use CHECK_1.
15320 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15322 (___fxstat64): Do not use CHECK_1.
15323 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15325 (__fxstatat): Do not use CHECK_1.
15326 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15328 (__fxstatat64): Do not use CHECK_1.
15329 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15331 (__fxstat): Do not use CHECK_1.
15332 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15334 (__fxstatat): Do not use CHECK_1.
15335 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15337 (__getresgid): Do not use CHECK_1.
15338 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15340 (__getresuid): Do not use CHECK_1.
15341 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15343 (__lxstat): Do not use CHECK_1.
15344 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15346 (__old_msgctl): Do not use CHECK_1.
15347 (__new_msgctl): Likewise.
15348 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15350 (__new_setrlimit): Do not use CHECK_1.
15351 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15353 (__old_shmctl): Do not use CHECK_1.
15354 (__new_shmctl): Likewise.
15355 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15357 (__xstat): Do not use CHECK_1.
15358 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15359 (__lxstat): Do not use CHECK_1.
15360 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15362 (___lxstat64): Do not use CHECK_1.
15363 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15364 (__old_msgctl): Do not use CHECK_1.
15365 (__new_msgctl): Likewise.
15366 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15368 (__gettimeofday): Do not use CHECK_1.
15369 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15370 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15371 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15373 (__gettimeofday): Do not use CHECK_1.
15374 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15375 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15376 (__new_shmctl): Do not use CHECK_1.
15377 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15379 (do_sigtimedwait): Do not use CHECK_1.
15380 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15382 (do_sigwaitinfo): Do not use CHECK_1.
15383 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15385 (msgctl): Do not use CHECK_1.
15386 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15388 (shmctl): Do not use CHECK_1.
15389 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15390 (ustat): Do not use CHECK_1.
15391 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15393 (__fxstat): Do not use CHECK_1.
15394 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15396 (__fxstatat): Do not use CHECK_1.
15397 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15399 (__lxstat): Do not use CHECK_1.
15400 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15402 (__xstat): Do not use CHECK_1.
15403 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15404 (__xstat): Do not use CHECK_1.
15405 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15406 (___xstat64): Do not use CHECK_1.
15409 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15411 (CHECK_BOUNDS_HIGH): Likewise.
15412 * string/strcpy.c: Do not include <bp-checks.h>.
15413 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15415 2013-02-07 Roland McGrath <roland@hack.frob.com>
15417 * nscd/nscd-client.h (__nscd_drop_map_ref):
15418 Add __attribute__ ((unused)).
15419 * nis/nss-nisplus.h (niserr2nss): Likewise.
15421 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15422 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15424 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15425 Remove inline keyword.
15426 * include/rounding-mode.h (round_away): Likewise.
15427 * libio/wfileops.c (adjust_wide_data): Likewise.
15428 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15429 (__m128i_strloadu_tolower): Likewise.
15430 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15431 (__m128i_strloadu_tolower): Likewise.
15432 * time/mktime.c (ydhms_diff): Likewise.
15433 * locale/elem-hash.h (elem_hash): Likewise.
15434 * locale/setlocale.c (setdata): Likewise.
15435 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15436 (re_string_wchar_at): Likewise.
15437 (bitset_not, bitset_merge, bitset_mask): Likewise.
15438 [!(__GNUC__ > 3)] (inline): Remove macro.
15439 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15440 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15441 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15442 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15443 * string/memcmp.c (memcmp_bytes): Likewise.
15444 * locale/programs/locarchive.c (compute_hashval): Likewise.
15445 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15446 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15447 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15448 * nss/getent.c (print_rpc, print_protocols): Likewise.
15449 (print_passwd, print_group, print_aliases): Likewise.
15450 * nis/nss-nisplus.h (niserr2nss): Likewise.
15451 * nscd/connections.c (restart_p): Likewise.
15452 Change return type to bool.
15454 2013-02-05 Roland McGrath <roland@hack.frob.com>
15456 * Makeconfig (all-Depend-files): Add existing
15457 $(sorted-subdirs:=/Depend) files.
15458 (all-subdirs): Remove nss.
15459 * sysdeps/unix/inet/Subdirs: Add it here instead.
15460 * hesiod/Depend: New file.
15462 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15463 instead of calling alloca.
15465 * io/lseek.c (__lseek): Rename to __libc_lseek.
15466 Define __lseek as an alias.
15468 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15470 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15472 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15473 else clause and remove check for non-standard endianness.
15475 2013-02-04 David S. Miller <davem@davemloft.net>
15477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15479 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15482 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15483 (__ubp_memchr): Remove prototype.
15484 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15485 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15486 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15487 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15488 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15490 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15491 (__ubp_memchr): Likewise.
15492 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15493 (__ubp_memchr): Likewise.
15494 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15495 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15496 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15497 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15499 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15500 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15501 (__getcwd): Do not use CHECK_STRING.
15502 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15504 (__real_chown): Do not use CHECK_STRING.
15505 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15507 (fchownat): Do not use CHECK_STRING.
15508 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15510 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15512 (__lchown): Do not use CHECK_STRING.
15513 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15514 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15515 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15516 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15518 include <bp-checks.h>.
15519 (truncate64): Do not use CHECK_STRING.
15520 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15522 (__real_chown): Do not use CHECK_STRING.
15523 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15525 (__lchown): Do not use CHECK_STRING.
15526 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15528 (__chown): Do not use CHECK_STRING.
15529 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15531 (truncate64): Do not use CHECK_STRING.
15532 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15534 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15535 (__xmknod): Do not use CHECK_STRING.
15536 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15538 (__xmknodat): Do not use CHECK_STRING.
15539 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15540 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15542 2013-02-04 Andreas Schwab <schwab@suse.de>
15545 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15546 * include/netdb.h: Likewise for h_errno.
15547 * elf/tst-stackguard1.c: Include <tls.h>.
15549 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15551 * elf/link.h (struct link_map): Extend the l_addr comment.
15552 * include/link.h (struct link_map): Likewise.
15554 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15557 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15558 (BOUNDED_1): Remove macro.
15559 * debug/backtrace.c: Don't include <bp-checks.h>.
15560 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15561 (__backtrace): Likewise.
15562 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15564 (__backtrace): Don't use BOUNDED_1.
15565 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15567 (__backtrace): Don't use BOUNDED_1.
15568 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15569 (__backtrace): Don't use BOUNDED_1.
15570 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15571 (shmat): Don't use BOUNDED_N.
15573 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15576 * sysdeps/generic/bp-start.h: Remove file.
15577 * csu/libc-start.c: Don't include <bp-start.h>.
15578 (LIBC_START_MAIN): Set up __environ directly instead of using
15579 INIT_ARGV_and_ENVIRON.
15580 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15584 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15586 (CHECK_FCNTL): Likewise.
15587 (CHECK_N_PAGES): Likewise.
15590 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15592 (CHECK_SIGSET_NULL_OK): Likewise.
15593 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15595 (sigpending): Don't use CHECK_SIGSET.
15596 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15598 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15599 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15601 (do_sigsuspend): Don't use CHECK_SIGSET.
15602 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15604 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15605 (do_sigwait): Don't use CHECK_SIGSET.
15606 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15608 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15609 include <bp-checks.h>.
15610 (sigpending): Don't use CHECK_SIGSET.
15611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15612 include <bp-checks.h>.
15613 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15614 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15616 (sigpending): Don't use CHECK_SIGSET.
15617 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15619 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15622 * sysdeps/generic/bp-semctl.h: Remove file.
15623 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15624 <bp-checks.h> and <bp-semctl.h>.
15625 (__old_semctl): Don't use CHECK_SEMCTL.
15626 (__new_semctl): Likewise.
15627 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15629 (__old_semctl): Don't use CHECK_SEMCTL.
15630 (__new_semctl): Likewise.
15631 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15632 <bp-checks.h> and <bp-semctl.h>.
15633 (__old_semctl): Don't use CHECK_SEMCTL.
15634 (__new_semctl): Likewise.
15635 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15636 <bp-checks.h> and <bp-semctl.h>.
15637 (semctl): Don't use CHECK_SEMCTL.
15640 * Makerules (elide-bp-thunks): Remove variable.
15641 (elide-routines.oS): Don't use $(elide-bp-thunks).
15642 (elide-routines.os): Likewise.
15643 (elide-routines.o): Likewise.
15644 (elide-routines.op): Likewise.
15645 (elide-routines.og): Likewise.
15646 (objects): Don't use $(bp-thunks).
15647 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15649 (common-generated): Do not add s-proto-bp.d.
15650 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15653 Do not generate makefile rules for bounded-pointer thunks.
15654 * sysdeps/generic/bp-thunks.h: Remove file.
15655 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15656 * sysdeps/unix/s-proto-bp.S: Likewise.
15659 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15660 parts of result separately when argument is not close to line from
15661 -i to i and one part of argument is small.
15662 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15663 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15664 * math/libm-test.inc (cacos_test): Add more tests.
15665 (casin_test): Likewise.
15666 (casinh_test): Likewise.
15667 * sysdeps/i386/fpu/libm-test-ulps: Update.
15668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15670 2013-01-31 David S. Miller <davem@davemloft.net>
15672 * po/de.po: Update from translation team.
15674 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15676 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15678 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15680 * configure.in (_AC_PROG_CC_C89): New definition.
15681 * configure: Regenerate.
15683 * configure.in (AC_PROG_CPP): New definition.
15684 * configure: Regenerate.
15686 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15688 * debug/tst-backtrace.h: New file.
15689 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15690 (ret): Remove variable.
15692 (FAIL): Remove macro.
15693 (NO_INLINE): Likewise.
15694 (fn1): Use match function instead of strstr.
15695 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15696 (ret): Remove variable.
15698 (FAIL): Remove macro.
15699 (NO_INLINE): Likewise.
15700 (fn): Use match function instead of strstr.
15701 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15702 (ret): Remove variable.
15704 (FAIL): Remove macro.
15705 (NO_INLINE): Likewise.
15706 (handle_signal): Use match function instead of strstr.
15707 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15708 (ret): Remove variable.
15710 (FAIL): Remove macro.
15711 (NO_INLINE): Likewise.
15712 (handle_signal): Use match function instead of strstr.
15714 2013-01-23 Roland McGrath <roland@hack.frob.com>
15716 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15718 2013-01-23 David S. Miller <davem@davemloft.net>
15720 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15721 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15722 argument of CAS if possible.
15723 * sysdeps/sparc/sparc64/bits/atomic.h
15724 (__arch_compare_and_exchange_val_32_acq): Likewise.
15725 (__arch_compare_and_exchange_val_64_acq): Likewise.
15727 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15729 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15730 * sysdeps/posix/ulimit.c: ... this.
15731 Include <limits.h>.
15732 * sysdeps/unix/bsd/ulimit.c: Remove file.
15734 2013-01-23 Adam Conrad <adconrad@0c3.net>
15736 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15737 (LDFLAGS-tst-array5): Likewise.
15739 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15742 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15743 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15744 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15745 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15747 2013-01-21 David S. Miller <davem@davemloft.net>
15749 * sysdeps/sparc/backtrace.c: New file.
15750 * sysdeps/sparc/sparc32/backtrace.h: New file.
15751 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15752 * sysdeps/sparc/sparc64/backtrace.h: New file.
15753 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15754 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15757 2013-01-21 Andreas Schwab <schwab@suse.de>
15760 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15763 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15769 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15770 Mark Mitchell <mark@codesourcery.com>
15771 Tom de Vries <tom@codesourcery.com>
15772 Paul Pluzhnikov <ppluzhnikov@google.com>
15774 * debug/tst-backtrace2.c: New file.
15775 * debug/tst-backtrace3.c: Likewise.
15776 * debug/tst-backtrace4.c: Likewise.
15777 * debug/tst-backtrace5.c: Likewise.
15778 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15779 (CFLAGS-tst-backtrace3.c): Likewise.
15780 (CFLAGS-tst-backtrace4.c): Likewise.
15781 (CFLAGS-tst-backtrace5.c): Likewise.
15782 (LDFLAGS-tst-backtrace2): Likewise.
15783 (LDFLAGS-tst-backtrace3): Likewise.
15784 (LDFLAGS-tst-backtrace4): Likewise.
15785 (LDFLAGS-tst-backtrace5): Likewise.
15786 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15787 tst-backtrace4 and tst-backtrace5.
15789 2013-01-18 Anton Blanchard <anton@samba.org>
15790 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15792 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15793 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15794 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15795 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15797 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15798 "+r" and remove output regs list as redundant. Add explicit inline
15799 asm to specify register of return val to work around compiler codegen
15800 bug. Remove (int) cast on return value. Add return type parameter to
15801 use in macro so that this macro does not truncate return value for
15803 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15804 pass to INTERNAL_VSYSCALL_NCS.
15805 (INLINE_VSYSCALL): Add 'long int' as return type to
15806 INTERNAL_VSYSCALL_NCS macro invocation.
15807 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15808 INTERNAL_VSYSCALL_NCS macro invocation.
15809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15811 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15814 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15815 Fix application of SIMD FP exception mask.
15817 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15818 mp_no from a power of two.
15819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15820 __mpexp_twomm1. Use __pow_mp.
15822 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15825 2013-01-17 David S. Miller <davem@davemloft.net>
15827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15829 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15832 * include/complex.h: Condition contents on [!_COMPLEX_H].
15833 (__kernel_casinhf): New prototype.
15834 (__kernel_casinh): Likewise.
15835 (__kernel_casinhl): Likewise.
15836 * math/Makefile (libm_calls): Add k_casinh.
15837 * math/k_casinh.c: New file.
15838 * math/k_casinhf.c: Likewise.
15839 * math/k_casinhl.c: Likewise.
15840 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15841 finite nonzero arguments.
15842 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15843 finite nonzero arguments.
15844 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15845 finite nonzero arguments.
15846 * math/s_casinh.c: Do not include <float.h>.
15847 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15848 * math/s_casinhf.c: Do not include <float.h>.
15849 (__casinhf): Move code for finite nonzero arguments to
15851 * math/s_casinhl.c: Do not include <float.h>.
15852 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15854 (__casinhl): Move code for finite nonzero arguments to
15856 * math/libm-test.inc (cacos_test): Add more tests.
15857 * sysdeps/i386/fpu/libm-test-ulps: Update.
15858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15860 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15862 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15863 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15864 [!HAVE_MREMAP]: Remove [defined linux] case.
15865 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15867 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15869 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15871 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15873 * elf/elf.h (R_386_SIZE32): New relocation.
15874 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15876 (elf_machine_rela): Likewise.
15877 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15878 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15880 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15882 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15883 (FP_FAST_FMA): Do not define.
15884 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15885 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15886 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15887 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15888 !_SOFT_FLOAT]: Likewise.
15889 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15890 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15892 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15893 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15894 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15895 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15896 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15897 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15900 2013-01-16 Andreas Schwab <schwab@suse.de>
15903 * include/stdlib.h (__mktemp): Add declaration.
15904 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15905 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15907 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15909 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15911 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15912 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15913 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15915 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15916 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15918 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15920 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15921 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15922 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15924 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15925 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15927 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15929 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15931 2013-01-15 David S. Miller <davem@davemloft.net>
15933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15934 trunc{,f} to libm-sysdep_routes.
15935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15945 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15946 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15947 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15948 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15949 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15950 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15953 nearbyint{,f} to libm-sysdep_routes.
15954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15965 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15967 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15968 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15970 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15971 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15972 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15974 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15975 libc_feholdexcept and libc_fesetenv.
15977 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15979 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15981 2013-01-14 David S. Miller <davem@davemloft.net>
15983 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15984 (SPARC_ASM_VIS2_IFUNC): Likewise.
15985 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15987 use of 'siam' instruction.
15988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16021 routines to libm-sysdep_routines.
16022 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16025 fdim/fdimf to libm-sysdep_routines.
16026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16034 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16035 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16036 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16037 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16039 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16041 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16042 to optimize copies.
16044 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16049 local variable MPTWO.
16050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16053 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16055 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16058 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16060 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16062 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16064 * manual/pattern.texi (glob_t): Document gl_flags.
16065 (glob64_t): Likewise.
16067 2013-01-11 David S. Miller <davem@davemloft.net>
16069 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16070 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16071 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16072 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16073 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16074 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16075 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16076 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16077 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16078 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16079 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16080 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16081 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16083 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16084 sparc V9 rather than using V8 code.
16085 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16086 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16088 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16090 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16093 2013-01-11 Roland McGrath <roland@hack.frob.com>
16095 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16096 not in the main loop.
16097 * configure: Regenerated.
16099 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16101 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16102 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16104 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16105 [!__GLIBC_HAVE_LONG_LONG] case.
16106 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16107 condition to just #else.
16108 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16109 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16110 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16111 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16113 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16114 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16115 #elif condition to just #else.
16116 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16117 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16118 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16119 #elif condition to just #else.
16121 2013-01-11 Steve Ellcey <sellcey@mips.com>
16123 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16124 (EF_MIPS_ARCH_64): Fix value.
16125 (EF_MIPS_ARCH_32R2): New.
16126 (EF_MIPS_ARCH_64R2): New.
16128 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16130 * Makeconfig (+link-pie-before-libc): New.
16131 (+link-pie-after-libc): Likewise.
16132 (+link-pie-tests): Likewise.
16133 (+link-pie): Rewritten.
16134 (link-before-libc): Remove $(config-LDFLAGS).
16135 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16136 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16137 (config-LDFLAGS): Renamed to ...
16138 (rtld-LDFLAGS): This.
16139 (rtld-tests-LDFLAGS): New macro.
16140 (link-libc-rpath-link): Likewise.
16141 (link-libc-tests-rpath-link): Likewise.
16142 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16143 (link-libc): Prepand $(link-libc-rpath-link).
16144 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16145 (test-program-prefix): New macro.
16146 (test-via-rtld-prefix): Likewise.
16147 (test-program-cmd): Likewise.
16148 (host-test-program-cmd): Likewise.
16149 * Makefile ($(common-objpfx)testrun.sh): Replace
16150 $(run-program-prefix) with $(test-program-prefix).
16151 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16153 ($(common-objpfx)shlib.lds): Likewise.
16154 (build-module-helper): Likewise.
16155 ($(common-objpfx)format.lds): Likewise.
16156 * Rules (binaries-pie-tests): New.
16157 (binaries-pie-notests): Likewise.
16158 (binaries-pie): Rewritten.
16159 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16160 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16161 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16162 (make-test-out): Replace $(host-built-program-cmd) with
16163 $(host-test-program-cmd).
16164 * config.make.in (build-hardcoded-path-in-tests): New variable.
16165 * configure.in (--enable-hardcoded-path-in-tests): New configure
16167 (hardcoded_path_in_tests): New AC_SUBST.
16168 * configure: Regenerated.
16169 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16170 $(built-program-cmd) with $(test-program-cmd).
16171 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16172 (test_program_cmd): This.
16173 * elf/Makefile ($(objpfx)order.out): Run test with
16174 $(test-program-prefix).
16175 ($(objpfx)order2.out): Likewise.
16176 ($(objpfx)tst-initorder.out): Likewise.
16177 ($(objpfx)tst-initorder2.out): Likewise.
16178 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16179 $(test-program-cmd).
16180 ($(objpfx)tst-array1-static.out): Likewise.
16181 ($(objpfx)tst-array2.out): Likewise.
16182 ($(objpfx)tst-array3.out): Likewise.
16183 ($(objpfx)tst-array4.out): Likewise.
16184 ($(objpfx)tst-array5.out): Likewise.
16185 ($(objpfx)tst-array5-static.out): Likewise.
16186 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16187 $(test-program-cmd).
16188 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16189 $(run-program-prefix) with $(test-program-prefix).
16190 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16191 (test_program_prefix): This.
16192 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16193 $(run-program-prefix) with $(test-program-prefix).
16194 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16195 (test_program_prefix): This.
16196 * iconvdata/tst-tables.sh: Likewise.
16197 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16198 $(run-program-prefix) with $(test-program-prefix).
16199 ($(objpfx)tst-translit.out): Likewise.
16200 ($(objpfx)tst-gettext2.out): Likewise.
16201 ($(objpfx)tst-gettext4.out): Likewise.
16202 ($(objpfx)tst-gettext6.out): Likewise.
16203 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16204 (test_program_prefix): This.
16205 * intl/tst-gettext2.sh: Likewise.
16206 * intl/tst-gettext4.sh Likewise.
16207 * intl/tst-gettext6.sh: Likewise.
16208 * intl/tst-translit.sh: Likewise.
16209 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16210 with $(test-program-cmd).
16211 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16212 $(run-program-prefix) with $(test-program-prefix).
16213 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16214 (test_program_prefix): This.
16215 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16216 $(run-program-prefix) with $(test-program-prefix).
16217 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16218 (test_program_prefix): This.
16219 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16220 * posix/Makefile ($(objpfx)globtest.out): Replace
16221 $(run-via-rtld-prefix) and $(test-wrapper) with
16222 $(test-program-prefix) and $(test-via-rtld-prefix).
16223 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16224 $(test-program-prefix).
16225 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16226 $(host-test-program-cmd).
16227 (tst-spawn-ARGS): Likewise.
16228 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16229 $(test-program-prefix).
16230 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16231 (test_via_rtld_prefix): This.
16232 (test_wrapper): Renamed to ...
16233 (test_program_prefix): This.
16234 (run_program_prefix): Replaced by test_program_prefix.
16235 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16236 (test_program_prefix): This.
16237 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16238 with $(host-test-program-cmd).
16239 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16240 $(run-program-prefix) with $(test-program-prefix).
16241 ($(objpfx)tst-printf.out): Likewise.
16242 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16243 $(test-program-cmd).
16244 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16245 (test_program_prefix): This.
16246 * stdio-common/tst-unbputc.sh: Likewise.
16247 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16248 $(run-program-prefix) with $(test-program-prefix).
16249 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16250 (test_program_prefix): This.
16251 * string/Makefile ($(objpfx)tst-svc.out): Replace
16252 $(built-program-cmd) with $(test-program-cmd).
16254 2013-01-11 Andreas Jaeger <aj@suse.de>
16257 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16258 value. Sync with Linux 3.7.
16260 2013-01-10 David S. Miller <davem@davemloft.net>
16262 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16263 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16264 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16266 2013-01-10 Roland McGrath <roland@hack.frob.com>
16268 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16270 * configure: Regenerated.
16272 2013-01-10 David S. Miller <davem@davemloft.net>
16274 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16275 sparc V9 rather than using V8 code.
16276 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16277 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16279 2013-01-10 Roland McGrath <roland@hack.frob.com>
16281 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16282 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16283 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16284 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16285 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16286 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16287 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16288 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16289 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16290 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16291 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16292 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16293 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16294 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16295 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16296 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16297 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16298 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16299 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16300 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16301 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16302 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16303 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16304 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16305 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16306 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16307 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16309 2013-01-10 David S. Miller <davem@davemloft.net>
16311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16313 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16315 * posix/Makefile (tests-static): New variable.
16316 (tests): Add $(tests-static).
16317 (tst-exec-static-ARGS): New variable.
16318 (tst-spawn-static-ARGS): Likewise.
16319 * posix/tst-exec-static.c: New file.
16320 * posix/tst-spawn-static.c: Likewise.
16321 * posix/tst-exec.c: Support run directly.
16322 * posix/tst-spawn.c: Likewise.
16324 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16326 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16328 * math/bits/mathcalls.h (llrint): Likewise.
16329 (llround): Likewise.
16330 * stdlib/stdlib.h (struct drand48_data): Likewise.
16331 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16332 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16333 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16335 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16337 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16338 (elf_greg_t): Likewise.
16339 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16340 (__jmp_buf): Likewise.
16341 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16343 (llrint): Likewise, for all definitions.
16344 (llrintl): Likewise.
16346 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16347 Remove [__GNUC__] condition.
16348 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16349 condition to just [__USE_ISOC99].
16350 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16352 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16355 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16356 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16358 (_POSIX_V6_ILP32_OFF32): Likewise.
16359 (_XBS5_ILP32_OFF32): Likewise.
16360 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16361 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16363 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16365 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16368 doubles __mpexp_twomm1. Adjust usage.
16369 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16372 2013-01-10 Andreas Schwab <schwab@suse.de>
16375 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16376 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16378 2013-01-09 David S. Miller <davem@davemloft.net>
16381 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16382 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16383 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16384 TCP_FASTOPEN): Define.
16385 (tcp_repair_opt): New structure.
16386 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16388 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16389 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16390 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16391 (tcp_cookie_transactions): New structure.
16393 2013-01-09 Anton Blanchard <anton@samba.org>
16395 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16396 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16397 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16398 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16400 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16402 * include/features.h (__USE_ANSI): Remove.
16404 2013-01-09 Roland McGrath <roland@hack.frob.com>
16406 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16408 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16410 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16412 * sysdeps/s390/fpu/libm-test-ulps: Update.
16414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16416 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16420 (denorm): Likewise.
16421 (__mp_dbl): Likewise.
16422 (__dbl_mp): Likewise.
16423 (add_magnitudes): Likewise.
16424 (sub_magnitudes): Likewise.
16430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16434 (denorm): Likewise.
16435 (__mp_dbl): Likewise.
16436 (__dbl_mp): Likewise.
16437 (add_magnitudes): Likewise.
16438 (sub_magnitudes): Likewise.
16444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16448 (denorm): Likewise.
16449 (__mp_dbl): Likewise.
16450 (__dbl_mp): Likewise.
16451 (add_magnitudes): Likewise.
16452 (sub_magnitudes): Likewise.
16459 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16461 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16462 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16463 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16464 2 && __USE_EXTERN_INLINES]: Likewise.
16466 2013-01-08 Andreas Jaeger <aj@suse.de>
16469 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16471 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16472 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16474 2013-01-07 Anton Blanchard <anton@samba.org>
16476 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16477 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16478 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16479 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16480 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16481 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16482 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16483 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16485 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16486 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16487 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16488 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16489 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16490 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16491 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16492 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16493 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16494 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16495 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16496 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16497 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16498 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16499 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16500 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16501 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16502 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16503 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16504 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16505 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16506 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16508 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16509 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16510 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16511 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16513 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16514 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16515 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16516 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16518 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16520 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16522 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16523 (__MALLOC_PMT): Likewise.
16524 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16525 [__GNUC__], only on [_LIBC].
16526 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16527 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16528 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16529 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16530 forward declaration.
16531 (realloc_hook_ini): Likewise.
16532 (memalign_hook_ini): Likewise.
16533 (__libc_memalign): Do not use __MALLOC_PMT in variable
16535 (__libc_valloc): Likewise.
16536 (__libc_pvalloc): Likewise.
16537 (__libc_calloc): Likewise.
16538 (__posix_memalign): Likewise.
16541 * math/s_casinh.c: Include <float.h>.
16542 (__casinh): Do not do computation with squaring and square root
16543 for large arguments.
16544 * math/s_casinhf.c: Include <float.h>.
16545 (__casinhf): Do not do computation with squaring and square root
16546 for large arguments.
16547 * math/s_casinhl.c: Include <float.h>.
16548 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16549 (__casinhl): Do not do computation with squaring and square root
16550 for large arguments.
16551 * math/libm-test.inc (casin_test): Add more tests.
16552 (casinh_test): Likewise.
16553 * sysdeps/i386/fpu/libm-test-ulps: Update.
16554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16556 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16558 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16559 (__x86_64_raw_data_cache_size): Likewise.
16560 (__x86_64_data_cache_size_half): Likewise.
16561 (__x86_64_raw_data_cache_size_half): Likewise.
16562 (__x86_64_shared_cache_size): Likewise.
16563 (__x86_64_raw_shared_cache_size): Likewise.
16564 (__x86_64_shared_cache_size_half): Likewise.
16565 (__x86_64_raw_shared_cache_size_half): Likewise.
16566 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16568 (__x86_data_cache_size): This.
16569 (__x86_64_raw_data_cache_size): Renamed to ...
16570 (__x86_raw_data_cache_size): This.
16571 (__x86_64_data_cache_size_half): Renamed to ...
16572 (__x86_data_cache_size_half): This.
16573 (__x86_64_raw_data_cache_size_half): Renamed to ...
16574 (__x86_raw_data_cache_size_half): This.
16575 (__x86_64_shared_cache_size): Renamed to ...
16576 (__x86_shared_cache_size): This.
16577 (__x86_64_raw_shared_cache_size): Renamed to ...
16578 (__x86_raw_shared_cache_size): This.
16579 (__x86_64_shared_cache_size_half): Renamed to ...
16580 (__x86_shared_cache_size_half): This.
16581 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16582 (__x86_raw_shared_cache_size_half): This.
16583 * sysdeps/x86_64/memcpy.S: Updated.
16584 * sysdeps/x86_64/memset.S: Likewise.
16585 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16586 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16587 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16589 2013-01-04 David S. Miller <davem@davemloft.net>
16591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16593 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16595 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16596 1 to avoid redefinition warning.
16597 (__USE_GNU): Don't define.
16598 (init_signaling_nan): Protoize.
16600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16602 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16604 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16606 (__cpymn): Likewise.
16607 (norm): Remove commented code.
16608 (denorm): Likewise.
16609 (__mp_dbl): Likewise.
16611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16612 (__cpymn): Likewise.
16613 (norm): Remove commented code.
16614 (denorm): Likewise.
16615 (__mp_dbl): Likewise.
16618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16619 mp_no value for 1.0 and 2.0.
16620 (norm): Use RADIXI instead of radixi.d.
16621 (denorm): Likewise.
16622 (__mul): Use 0.0 instead of zero.d.
16623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16624 mp_no value for 1.0 and 2.0.
16625 (norm): Use RADIXI instead of radixi.d.
16626 (denorm): Likewise.
16627 (__mul): Use 0.0 instead of zero.d.
16629 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16632 * math/s_casinh.c (__casinh): Reduce finite argument to first
16633 quadrant then set signs of results at the end.
16634 * math/s_casinhf.c (__casinhf): Likewise.
16635 * math/s_casinhl.c (__casinhl): Likewise.
16636 * math/libm-test.inc (casin_test): Add more tests.
16637 (casinh_test): Likewise.
16638 * sysdeps/i386/fpu/libm-test-ulps: Update.
16639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16641 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16643 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16645 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16647 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16649 (denorm): Likewise.
16650 (__mp_dbl): Likewise.
16653 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16654 and adjust the header comment.
16656 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16657 variable name from declaration.
16659 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16662 Initialize COMMON_CPUID_INDEX_7 element.
16663 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16664 (CPUID_RTM): Likewise.
16665 (HAS_RTM): Likewise.
16666 (COMMON_CPUID_INDEX_7): New enum.
16668 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16671 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16672 size is zero, record memory as freed.
16674 2013-01-03 Andreas Jaeger <aj@suse.de>
16676 * po/ia.po: Add new Interlingua translation.
16678 2012-01-03 Allan McRae <allan@archlinux.org>
16680 * locale/programs/localedef.c: Fix description of '--posix' flag.
16682 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16684 * NEWS: Update dates in second copyright notice.
16685 * README: Update copyright dates in example.
16686 * manual/libc.texinfo: Update copyright dates.
16687 * scripts/test-installation.pl: Update copyright date in --version
16690 * hurd/ctty-input.c: Fix copyright notice formatting.
16691 * hurd/ctty-output.c: Likewise.
16692 * hurd/dtable.c: Likewise.
16693 * hurd/hurd-raise.c: Likewise.
16694 * hurd/hurdprio.c: Likewise.
16695 * hurd/msgportdemux.c: Likewise.
16696 * misc/sys/file.h: Likewise.
16697 * misc/sys/ioctl.h: Likewise.
16698 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16699 * sysdeps/mach/hurd/chdir.c: Likewise.
16700 * sysdeps/mach/hurd/fchdir.c: Likewise.
16701 * sysdeps/mach/hurd/rename.c: Likewise.
16702 * sysdeps/mach/hurd/rmdir.c: Likewise.
16703 * sysdeps/mach/hurd/seekdir.c: Likewise.
16704 * sysdeps/mach/hurd/setsid.c: Likewise.
16705 * sysdeps/posix/wait3.c: Likewise.
16707 * All files with FSF copyright notices: Update copyright dates
16708 using scripts/update-copyrights.
16709 * intl/plural.c: Regenerated.
16710 * locale/programs/charmap-kw.h: Likewise.
16711 * locale/programs/locfile-kw.h: Likewise.
16713 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16715 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16718 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16719 calculation loop and add branch prediction.
16721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16722 check access beyond bounds of m1np.
16724 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16726 (__inv): Remove local variable MPTWO to use the global
16728 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16729 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16731 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16732 MP3HALFS static const.
16734 2013-01-01 David S. Miller <davem@davemloft.net>
16736 * po/ca.po: Update from translation team.
16738 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16740 * scripts/update-copyrights: New file.
16741 * Makeconfig: Reformat copyright notice.
16742 * ctype/ctype.h: Likewise.
16743 * debug/swprintf_chk.c: Likewise.
16744 * elf/dl-cache.c: Likewise.
16745 * elf/dl-debug.c: Likewise.
16746 * elf/dl-object.c: Likewise.
16747 * grp/initgroups.c: Likewise.
16748 * hurd/Makefile: Likewise.
16749 * hurd/hurd/signal.h: Likewise.
16750 * hurd/hurdfault.c: Likewise.
16751 * hurd/hurdioctl.c: Likewise.
16752 * hurd/hurdlookup.c: Likewise.
16753 * hurd/intr-msg.c: Likewise.
16754 * iconv/gconv_open.c: Likewise.
16755 * libio/swprintf.c: Likewise.
16756 * locale/lc-ctype.c: Likewise.
16757 * locale/nl_langinfo.c: Likewise.
16758 * mach/Machrules: Likewise.
16759 * mach/Makefile: Likewise.
16760 * malloc/obstack.h: Likewise.
16761 * manual/Makefile: Likewise.
16762 * manual/tsort.awk: Likewise.
16763 * misc/bits/stab.def: Likewise.
16764 * nis/nis_print_group_entry.c: Likewise.
16765 * nis/nis_table.c: Likewise.
16766 * nis/nss_compat/compat-pwd.c: Likewise.
16767 * nis/nss_compat/compat-spwd.c: Likewise.
16768 * po/Makefile: Likewise.
16769 * posix/fnmatch.c: Likewise.
16770 * posix/regex.h: Likewise.
16771 * resolv/Makefile: Likewise.
16772 * resolv/nss_dns/dns-network.c: Likewise.
16773 * resolv/res_hconf.c: Likewise.
16774 * scripts/gen-sorted.awk: Likewise.
16775 * soft-fp/soft-fp.h: Likewise.
16776 * stdio-common/printf.h: Likewise.
16777 * stdlib/monetary.h: Likewise.
16778 * stdlib/random.c: Likewise.
16779 * stdlib/random_r.c: Likewise.
16780 * sysdeps/generic/Makefile: Likewise.
16781 * sysdeps/gnu/Makefile: Likewise.
16782 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16783 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16784 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16786 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16787 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16788 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16789 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16790 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16791 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16792 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16793 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16794 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16795 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16796 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16797 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16798 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16799 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16800 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16802 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16803 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16804 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16810 * sysdeps/mach/hurd/errnos.awk: Likewise.
16811 * sysdeps/mach/hurd/fork.c: Likewise.
16812 * sysdeps/mach/hurd/getcwd.c: Likewise.
16813 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16814 * sysdeps/mach/hurd/mmap.c: Likewise.
16815 * sysdeps/mach/hurd/utimes.c: Likewise.
16816 * sysdeps/mach/hurd/xmknod.c: Likewise.
16817 * sysdeps/posix/profil.c: Likewise.
16818 * sysdeps/posix/readdir_r.c: Likewise.
16819 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16820 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16821 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16822 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16824 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16825 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16826 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16828 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16829 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16830 * sysdeps/pthread/lio_listio.c: Likewise.
16831 * sysdeps/sparc/dl-procinfo.h: Likewise.
16832 * sysdeps/unix/i386/sysdep.S: Likewise.
16833 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16834 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16835 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16836 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16838 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16839 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16840 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16841 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16842 * sysdeps/wordsize-32/divdi3.c: Likewise.
16843 * time/sys/time.h: Likewise.
16844 * wcsmbs/Makefile: Likewise.
16846 2013-01-01 David S. Miller <davem@davemloft.net>
16848 * po/fr.po: Update from translation team.
16850 * catgets/gencat.c: Update copyright year.
16851 * csu/version.c: Likewise.
16852 * debug/catchsegv.sh: Likewise.
16853 * debug/pcprofiledump.c: Likewise.
16854 * debug/xtrace.sh: Likewise.
16855 * elf/ldconfig.c: Likewise.
16856 * elf/ldd.bash.in: Likewise.
16857 * elf/pldd.c: Likewise.
16858 * elf/sotruss.ksh: Likewise.
16859 * elf/sprof.c: Likewise.
16860 * iconv/iconv_prog.c: Likewise.
16861 * iconv/iconvconfig.c: Likewise.
16862 * locale/programs/locale.c: Likewise.
16863 * locale/programs/localedef.c: Likewise.
16864 * login/programs/pt_chown.c: Likewise.
16865 * malloc/memusage.sh: Likewise.
16866 * malloc/memusagestat.c: Likewise.
16867 * malloc/mtrace.pl: Likewise.
16868 * nscd/nscd.c: Likewise.
16869 * nss/getent.c: Likewise.
16870 * nss/makedb.c: Likewise.
16871 * posix/getconf.c: Likewise.
16873 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16875 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16878 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16880 * math/bits/mathcalls.h (modf): Use __nonnull.
16882 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16884 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16885 (split): Use macro CN instead of the bare value.
16886 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16889 instead of the bare value.
16890 (power1): Likewise.
16892 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16894 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16896 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16898 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16900 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16901 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16902 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16903 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16905 2012-12-28 Andreas Jaeger <aj@suse.de>
16907 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16908 values are from Linux 3.7.
16910 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16911 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16913 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16915 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16918 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16920 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16921 variables with preprocessor constants.
16922 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16923 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16924 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16926 2012-12-27 Bruno Haible <bruno@clisp.org>
16929 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16932 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16935 and use variable directly.
16936 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16938 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16940 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16941 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16943 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16945 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16946 include directive. Remove local variable MPONE.
16947 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16948 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16949 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16951 2012-12-25 David S. Miller <davem@davemloft.net>
16953 * version.h (RELEASE): Set to "development".
16954 (VERSION): Set to "2.17.90".
16955 * NEWS: Add 2.18 section.
16957 2012-12-21 David S. Miller <davem@davemloft.net>
16959 * po/hr.po: Update from translation team.
16961 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16963 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16965 2012-12-19 Steve Ellcey <sellcey@mips.com>
16967 * NEWS: Mention new memcpy for MIPS.
16969 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16971 * manual/contrib.texi (Contributors): Spelling correction.
16973 2012-12-15 David S. Miller <davem@davemloft.net>
16975 * po/ru.po: Update from translation team.
16977 2012-12-13 David S. Miller <davem@davemloft.net>
16979 * NEWS: Mention IFUNC testsuite enhancements.
16981 * po/pl.po: Update from translation team.
16982 * po/bg.po: Likewise.
16984 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16985 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16987 2012-12-11 David S. Miller <davem@davemloft.net>
16989 * po/sv.po: Update from translation team.
16991 * po/vi.po: Update from translation team.
16993 * po/cs.po: Update from translation team.
16995 * po/de.po: Update from translation team.
16996 * po/eo.po: Likewise.
16997 * po/nl.po: Likewise.
16999 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17002 * manual/argp.texi (Argp Helper Functions): Move node to follow
17003 Argp Parsing State.
17006 * manual/conf.texi (Limits on File System Capacity): Mention if
17007 terminating null is included in the max size.
17009 2012-12-10 Andreas Jaeger <aj@suse.de>
17011 * po/cs.po: Update from translation team.
17013 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17015 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17016 void pointer and cast to uintptr_t.
17017 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17019 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17020 * sysdeps/s390/s390-64/memset.S: Likewise.
17022 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
17025 * menual/message.texi (Message Translation): Fix typos.
17026 (Helper programs for gettext): Likewise.
17028 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17031 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17034 2012-12-07 David S. Miller <davem@davemloft.net>
17036 * po/libc.pot: Update.
17038 2012-12-07 Richard Henderson <rth@redhat.com>
17041 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17042 normal/normal case to before the switch.
17043 (_FP_DIV): Likewise.
17045 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17046 Mike Frysinger <vapier@gentoo.org>
17048 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17049 check for __NR_fadvise64_64.
17051 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17053 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17054 0, not just to plain "0" as a statement.
17055 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17058 2012-12-06 Joseph Myers <joseph@codesourcery.com>
17060 * NEWS: Use sourceware.org in Bugzilla URL.
17062 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17065 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17067 * stdio-common/tst-put-error.c (do_test): Add newline to the
17068 padded test to ensure flush.
17070 2012-12-05 Jeff Law <law@redhat.com>
17072 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17074 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17076 * README: Don't refer to ports add-on as distributed separately.
17077 Mention AArch64 in list of systems supported in the ports add-on.
17079 * LICENSES: Add more non-FSF copyright and license notices.
17081 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17084 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17086 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17087 10000 as width of padded output.
17089 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17091 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17093 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17094 variable LX with __attribute__ ((unused)).
17095 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17097 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17099 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17100 with __attribute__ ((unused)).
17102 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17104 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17106 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17108 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17109 (CFLAGS-nldbl-acos.c): New variable.
17110 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17111 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17112 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17113 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17114 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17115 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17116 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17117 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17118 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17119 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17120 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17121 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17122 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17123 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17124 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17125 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17126 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17127 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17128 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17129 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17130 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17131 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17132 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17133 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17134 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17135 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17136 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17137 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17138 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17139 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17140 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17141 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17142 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17143 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17144 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17145 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17146 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17147 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17148 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17149 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17150 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17151 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17152 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17153 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17154 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17155 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17156 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17157 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17158 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17159 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17160 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17161 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17162 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17163 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17164 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17165 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17166 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17167 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17168 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17169 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17170 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17171 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17172 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17173 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17174 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17175 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17176 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17177 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17178 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17179 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17180 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17181 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17182 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17183 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17184 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17185 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17186 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17187 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17188 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17189 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17190 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17191 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17192 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17193 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17194 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17195 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17196 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17197 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17198 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17199 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17200 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17201 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17202 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17203 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17204 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17205 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17206 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17209 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17212 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17213 whole low double instead of just low 47 bits when splitting values
17216 2012-12-03 Allan McRae <allan@archlinux.org>
17218 * manual/stdio.texi (Predefined Printf Handlers): Remove
17219 @hsep and @vsep usage.
17221 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17223 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17224 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17226 2012-12-03 Jeff Law <law@redhat.com>
17228 * time/sys/time.h (settimeofday): Do not mark TV argument
17231 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17233 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17234 when currently writing and seek to current position when not.
17235 * libio/Makefile (tests): Remove bug-fclose1.
17236 * libio/bug-fclose1.c: Delete.
17238 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17240 * manual/arith.texi (feenableexcept): Fix typo.
17241 (fedisableexcept): Likewise.
17243 2012-11-30 Roland McGrath <roland@hack.frob.com>
17245 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17246 second, differently-typed declaration, rather than a cast.
17248 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17250 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17251 * include/rpc/svc.h: ... here.
17253 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17256 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17257 depending n and resplen2 to catch cases where answer
17260 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17262 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17263 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17265 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17267 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17269 2012-11-29 Roland McGrath <roland@hack.frob.com>
17271 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17273 2012-11-28 Jeff Law <law@redhat.com>
17276 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17277 dataset_temporary. Track alloca usage into alloca_used.
17278 If dataset is large allocate and release it via malloc/free.
17280 2012-06-04 Florian Weimer <fweimer@redhat.com>
17283 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17285 2012-11-28 David S. Miller <davem@davemloft.net>
17287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17289 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17292 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17293 of pi/2 rounded to nearest to 64 bits.
17294 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17295 nearest to 64 bits.
17296 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17299 2012-11-28 Jeff Law <law@redhat.com>
17300 Martin Osvald <mosvald@redhat.com>
17303 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17304 * sunrpc/svc.c: Include time.h.
17305 (__svc_accept_failed): New function.
17306 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17307 any reason other than EINTR, call __svc_accept_failed.
17308 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17309 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17311 2012-11-28 Andreas Schwab <schwab@suse.de>
17313 * scripts/abilist.awk: Also handle indirect functions in .opd
17316 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17319 * sysdeps/x86/fpu/powl_helper.c: New file.
17320 * sysdeps/x86/fpu/Makefile: Likewise.
17321 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17323 (__ieee754_powl): Use __powl_helper for finite arguments except
17324 integer exponents below 8.
17325 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17327 (__ieee754_powl): Use __powl_helper for finite arguments except
17328 integer exponents below 8.
17329 * math/libm-test.inc (pow_test): Add more tests and enable some
17330 previously disabled tests.
17331 * sysdeps/i386/fpu/libm-test-ulps: Update.
17332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17334 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17335 Carlos O'Donell <carlos_odonell@mentor.com>
17337 * nss/makedb.c (is_prime): Assert that input is odd and greater
17338 than 4. Note that fact in a comment too.
17339 (next_prime): Add 4 to input.
17341 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17344 * libio/Makefile (tests): Add test case tst-fwrite-error.
17345 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17346 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17347 * libio/tst-fwrite-error.c: New test case.
17349 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17351 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17352 before casting to void *.
17353 * include/libc-internal.h (__pointer_type): New macro.
17354 (__integer_if_pointer_type_sub): Likewise.
17355 (__integer_if_pointer_type): Likewise.
17356 (cast_to_integer): Likewise.
17357 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17358 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17359 before casting to atomic64_t.
17360 (atomic_exchange_acq): Likewise.
17361 (__arch_exchange_and_add_body): Likewise.
17362 (__arch_add_body): Likewise.
17363 (atomic_add_negative): Likewise.
17364 (atomic_add_zero): Likewise.
17366 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17368 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17369 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17370 (add_fdes): Likewise.
17371 (linear_search_fdes): Likewise.
17372 (binary_search_unencoded_fdes): Likewise.
17374 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17376 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17378 2012-11-24 Adam Conrad <adconrad@0c3.net>
17380 * configure.in: Autodetect C++ header directories.
17381 * configure: Regenerated.
17383 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17385 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17387 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17391 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17393 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17394 LDBL_MANT_DIG == 106]: Disable some tests.
17395 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17397 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17401 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17402 input for small inputs. Return +/- pi/2 for large inputs.
17403 * math/libm-test.inc (atan_test): Add more tests.
17405 * sysdeps/generic/unwind-dw2-fde-glibc.c
17406 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17407 __attribute__ ((unused)).
17410 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17411 x * y if x and y are nonzero and z is zero.
17414 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17415 nonzero exponents with absolute value below 0x1p-117 to +/-
17419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17420 up arguments below 2**-450, not just those below 2**-500.
17421 * math/libm-test.inc (hypot_test): Add another test.
17424 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17425 Return a+b for ratio over 2**120, not 2**60.
17426 * math/libm-test.inc (hypot_test): Add another test.
17428 * math/libm-test.inc (clog_test): Use
17429 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17430 (clog10_test): Likewise.
17433 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17435 2012-11-22 Andreas Schwab <schwab@suse.de>
17437 * sysdeps/i386/fpu/libm-test-ulps: Update.
17439 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17441 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17442 printf output with newline.
17444 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17447 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17448 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17449 -z nodlopen, -z initfirst and -z execstack support.
17450 * configure: Regenerated.
17452 * elf/elf.h (DF_1_NODIRECT): New macro.
17453 (DF_1_IGNMULDEF): Likewise.
17454 (DF_1_NOKSYMS): Likewise.
17455 (DF_1_NOHDR): Likewise.
17456 (DF_1_EDITED): Likewise.
17457 (DF_1_NORELOC): Likewise.
17458 (DF_1_SYMINTPOSE): Likewise.
17459 (DF_1_GLOBAUDIT): Likewise.
17460 (DF_1_SINGLETON): Likewise.
17461 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17462 DT_1_SUPPORTED_MASK bits.
17463 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17465 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17467 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17469 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17471 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17474 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17475 (sendmmsg): Move declarations...
17476 * socket/sys/socket.h: ... here.
17477 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17478 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17480 * socket/recvmmsg.c: ... this new file.
17481 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17482 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17483 definition of __sendmmsg hidden.
17484 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17485 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17486 Move ENOSYS stub into and include it from...
17487 * socket/sendmmsg.c: ... this new file.
17488 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17489 (sysdep_routines): Move recvmmsg and sendmmsg...
17490 * socket/Makefile (routines): ... here.
17491 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17492 (GLIBC_PRIVATE): Add __sendmmsg.
17493 * include/sys/socket.h (__sendmmsg): Add declarations.
17494 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17497 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17499 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17500 variable I1 with __attribute__ ((unused)).
17501 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17503 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17505 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17506 DUMMY variables with __attribute__ ((unused)).
17508 * bits/byteswap.h: Include <bits/types.h>.
17509 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17511 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17513 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17514 string_t. Do not manually set errno.
17515 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17516 length with __strnlen. Make sure to both set errno and return it on
17519 2012-11-19 David S. Miller <davem@davemloft.net>
17521 With help from Joseph Myers.
17522 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17523 very large arguments properly.
17524 * math/libm-test.inc (atan_test): New tests.
17525 (atan2_test): New tests.
17526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17529 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17532 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17535 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17536 [POSIX] (EADDRNOTAVAIL): Likewise.
17537 [POSIX] (EAFNOSUPPORT): Likewise.
17538 [POSIX] (EALREADY): Likewise.
17539 [POSIX] (ECONNABORTED): Likewise.
17540 [POSIX] (ECONNREFUSED): Likewise.
17541 [POSIX] (ECONNRESET): Likewise.
17542 [POSIX] (EDESTADDRREQ): Likewise.
17543 [POSIX] (EDQUOT): Likewise.
17544 [POSIX] (EHOSTUNREACH): Likewise.
17545 [POSIX] (EIDRM): Likewise.
17546 [POSIX] (EISCONN): Likewise.
17547 [POSIX] (ELOOP): Likewise.
17548 [POSIX] (EMULTIHOP): Likewise.
17549 [POSIX] (ENETDOWN): Likewise.
17550 [POSIX] (ENETUNREACH): Likewise.
17551 [POSIX] (ENOBUFS): Likewise.
17552 [POSIX] (ENODATA): Likewise.
17553 [POSIX] (ENOLINK): Likewise.
17554 [POSIX] (ENOMSG): Likewise.
17555 [POSIX] (ENOPROTOOPT): Likewise.
17556 [POSIX] (ENOSR): Likewise.
17557 [POSIX] (ENOSTR): Likewise.
17558 [POSIX] (ENOTCONN): Likewise.
17559 [POSIX] (ENOTSOCK): Likewise.
17560 [POSIX] (EOPNOTSUPP): Likewise.
17561 [POSIX] (EOVERFLOW): Likewise.
17562 [POSIX] (EPROTO): Likewise.
17563 [POSIX] (EPROTONOSUPPORT): Likewise.
17564 [POSIX] (EPROTOTYPE): Likewise.
17565 [POSIX] (ESTALE): Likewise.
17566 [POSIX] (ETIME): Likewise.
17567 [POSIX] (ETXTBSY): Likewise.
17568 [POSIX] (EWOULDBLOCK): Likewise.
17569 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17570 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17571 [POSIX] (SEEK_CUR): Likewise.
17572 [POSIX] (SEEK_END): Likewise.
17573 [POSIX || UNIX98] (mode_t): Do not require.
17574 [POSIX] (off_t): Likewise.
17575 [POSIX] (pid_t): Likewise.
17576 [POSIX] (sys/stat.h): Do not allow header.
17577 [POSIX] (unistd.h): Likewise.
17578 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17579 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17580 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17581 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17583 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17584 sigevent): Specify elements.
17585 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17587 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17588 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17590 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17591 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17592 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17593 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17594 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17595 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17596 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17597 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17598 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17599 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17600 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17601 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17602 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17603 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17605 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17607 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17609 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17611 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17612 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17613 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17614 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17615 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17616 Specify lower bound on value.
17617 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17618 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17619 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17620 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17621 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17622 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17623 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17624 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17626 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17628 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17629 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17630 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17631 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17632 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17633 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17634 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17635 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17636 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17637 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17638 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17639 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17640 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17641 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17642 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17643 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17645 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17647 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17648 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17649 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17650 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17651 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17652 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17654 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17655 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17656 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17657 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17658 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17659 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17660 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17662 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17663 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17664 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17665 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17666 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17667 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17668 specify as optional.
17669 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17670 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17671 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17672 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17673 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17674 [XPG3] (NL_LANGMAX): Likewise.
17675 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17676 [POSIX || XPG3] (NL_NMAX): Likewise.
17677 [POSIX || XPG3] (NL_SETMAX): Likewise.
17678 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17679 [XPG3] (NZERO): Likewise.
17680 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17681 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17682 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17683 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17684 (REG_ERANGE): Expect.
17685 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17687 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17688 Use (void) in prototype.
17689 [POSIX] (*_t): Allow.
17690 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17691 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17692 (WRDE_BADVAL): Expect.
17694 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17696 [XPG3 || XPG4] (O_RSYNC): Likewise.
17697 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17699 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17700 [XPG3 || XPG4] (sigqueue): Likewise.
17701 [XPG3 || XPG4] (sigtimedwait): Likewise.
17702 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17703 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17704 [XPG3 || XPG4] (vsnprintf): Likewise.
17705 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17707 [XPG3 || XPG4] (blksize_t): Likewise.
17708 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17710 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17711 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17712 [XPG3 || XPG4] (struct itimerspec): Likewise.
17713 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17714 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17715 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17716 [XPG3 || XPG4] (clockid_t): Likewise.
17717 [XPG3 || XPG4] (timer_t): Likewise.
17718 [XPG3 || XPG4] (clock_getres): Likewise.
17719 [XPG3 || XPG4] (clock_gettime): Likewise.
17720 [XPG3 || XPG4] (clock_settime): Likewise.
17721 [XPG3 || XPG4] (nanosleep): Likewise.
17722 [XPG3 || XPG4] (timer_create): Likewise.
17723 [XPG3 || XPG4] (timer_delete): Likewise.
17724 [XPG3 || XPG4] (timer_gettime): Likewise.
17725 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17726 [XPG3 || XPG4] (timer_settime): Likewise.
17727 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17728 [XPG3 || XPG4] (getlogin_r): Likewise.
17729 [XPG3 || XPG4] (pread): Likewise.
17730 [XPG3 || XPG4] (pthread_atfork): Likewise.
17731 [XPG3 || XPG4] (pwrite): Likewise.
17734 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17737 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17739 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17740 finalizing MALLSTREAM.
17742 * sysdeps/mach/hurd/syncfs.c: New file.
17744 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17747 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17748 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17749 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17750 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17751 (_nss_dns_gethostbyname4_r): Likewise.
17752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17753 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17755 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17758 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17760 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17762 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17763 * elf/cache.c (print_entry): Print ",AArch64" for
17766 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17767 * elf/cache.c (print_entry): Print ",hard-float" for
17770 2012-11-18 David S. Miller <davem@davemloft.net>
17772 With help from Joseph Myers.
17773 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17775 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17777 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17778 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17780 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17781 * math/libm-test.inc (y0_test): New tests.
17782 (y1_test): New tests.
17783 * sysdeps/i386/fpu/libm-test-ulps: Update.
17784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17787 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17789 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17791 * configure: Regenerated.
17793 2012-11-17 David S. Miller <davem@davemloft.net>
17796 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17797 nonzero exponents with absolute value below 0x1p-128 to +/-
17800 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17802 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17804 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17806 * posix/getconf-speclist.c: New file.
17807 * posix/posix-envs.def: Likewise.
17808 * posix/confstr.c (START_ENV_GROUP): New macro.
17809 (END_ENV_GROUP): Likewise.
17810 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17811 (KNOWN_PRESENT_ENV_STRING): Likewise.
17812 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17813 (UNKNOWN_ENVIRONMENT): Likewise.
17814 (confstr): Include posix-envs.def instead of handling
17815 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17816 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17817 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17818 (END_ENV_GROUP): Likewise.
17819 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17820 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17821 (UNKNOWN_ENVIRONMENT): Likewise.
17822 (__sysconf): Include posix-envs.def instead of handling associated
17823 cases directly here.
17824 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17825 preprocessing getconf-speclist.c rather than running getconf or
17826 generating empty file.
17828 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17830 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17832 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17835 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17837 2012-11-16 David S. Miller <davem@davemloft.net>
17839 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17840 smaller than LDBL_EPSILON/2.0L, just return xm1.
17842 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17844 * elf/tst-array1.c (init): Set constructor priority to 1000.
17845 (fini): Set destructor priority to 1000.
17846 * elf/tst-array2dep.c: Likewise.
17848 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17851 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17852 (_IO_new_file_xsputn): Also return EOF if none of the input
17853 data was written when overflow failed.
17854 * libio/iopadn.c (_IO_padn): Likewise.
17855 * libio/iowpadn.c (_IO_wpadn): Likewise.
17856 * stdio-common/tst-put-error.c: Add copyright notice.
17857 (do_test): Add case for printing padded string.
17858 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17859 _IO_padn returned error.
17860 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17861 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17864 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17866 * libio/libioP.h: Add comment note that the references to C++
17867 bits are now obsolete.
17869 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17871 * math/libm-test.inc (check_complex): Use asprintf.
17873 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17875 * debug/pcprofiledump.c (print_version): Update copyright year.
17876 * malloc/memusagestat.c (print_version): Likewise.
17878 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17881 * elf/Makefile (tests): Add tst-audit8.
17882 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17883 ($(objpfx)tst-audit8.out): New target.
17884 (tst-audit8-ENV): New variable.
17885 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17886 audit if l_reloc_result is NULL.
17887 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17888 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17889 * elf/tst-audit8.c: New file.
17891 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17893 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17894 * misc/Makefile (CFLAGS-select.c): Define.
17895 * posix/Makefile (CFLAGS-pause.c): Define.
17897 2012-11-13 David S. Miller <davem@davemloft.net>
17899 * crypt/Makefile: Move test targets after toplevel Rules
17900 inclusion. Grab any necessary sysdep routines when linking.
17901 * crypt/md5.c (md5_process_block): Remove define, we will always
17902 name it __md5_process_block.
17903 (md5_finish_ctx): Update md5_process_block call.
17904 (md5_stream): Likewise.
17905 (md5_process_bytes): Likewise.
17906 (md5_process_block): Rename to __md5_process_block and move to ...
17907 * crypt/md5-block.c: ... here.
17908 * crypt/sha256.c (sha256_process_block): Move to ...
17909 * crypt/sha256-block.c: ... here.
17910 * crypt/sha512.c (sha512_process_block): Move to ...
17911 * crypt/sha512-block.c: ... here.
17912 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17914 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17915 * sysdeps/sparc/sparc64/multiarch/Makefile
17916 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17918 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17919 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17921 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17922 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17923 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17924 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17925 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17926 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17927 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17928 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17929 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17931 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17932 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17934 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17936 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17938 * timezone/tzselect.ksh: Update from tzcode git revision
17939 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17940 * timezone/zdump.c: Likewise.
17941 * timezone/zic.c: Likewise.
17942 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17943 in TZVERSION setting, not $(PKGVERSION).
17944 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17945 REPORT_BUGS_TO settings.
17948 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17951 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17953 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17954 detection to immediately after _FP_ROUND().
17955 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17958 2012-11-11 David S. Miller <davem@davemloft.net>
17960 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17962 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17963 __close rather than their public counterparts.
17965 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17967 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17969 [UNIX98] (sem_timedwait): Do not expect.
17970 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17971 [XPG4 || UNIX98] (sockatmark): Do not expect.
17972 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17973 (clock_getcpuclockid): Do not expect.
17974 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17975 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17977 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17978 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17979 [UNIX98] (vwscanf): Likewise.
17980 [UNIX98] (vswscanf): Likewise.
17982 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17984 * timezone/version.h: Remove file.
17985 * timezone/README: Do not refer to version.h.
17986 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17987 $(objpfx)version.h.
17988 ($(objpfx)zdump.o): Likewise.
17989 ($(objpfx)version.h): New target.
17991 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17993 * timezone/README: Don't mention modification to tzselect.ksh.
17994 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17995 work on unmodified tzselect.ksh. Substitute version numbers in
17998 * Makefile (format-me): Remove.
17999 (INSTALL): Adjust indentation. Use commands directly instead of
18000 using $(format-me).
18002 * aclocal.m4 (ACX_PKGVERSION): New macro.
18003 (ACX_BUGURL): Likewise.
18004 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18005 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18006 (REPORT_BUGS_TO): Likewise.
18007 * configure: Regenerated.
18008 * config.h.in (PKGVERSION): New macro.
18009 (REPORT_BUGS_TO): Likewise.
18010 * config.make.in (PKGVERSION): New variable.
18011 (PKGVERSION_TEXI): Likewise.
18012 (REPORT_BUGS_TO): Likewise.
18013 (REPORT_BUGS_TEXI): Likewise.
18014 * Makefile (format-me): Use -I$(common-objpfx)manual.
18015 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18016 ($(common-objpfx)manual/%): New target.
18017 (manual/%): Remove target.
18018 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18019 (print_version): Use PKGVERSION.
18020 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18021 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18022 and REPORT_BUGS_TO.
18023 ($(objpfx)xtrace): Likewise.
18024 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18025 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18026 (print_version): Use PKGVERSION.
18027 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18028 (do_version): Use PKGVERSION.
18029 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18031 (common-ldd-rewrite): Likewise.
18032 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18033 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18034 (print_version): Use PKGVERSION.
18035 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18036 * elf/pldd.c (argp_program_bug_address): Remove variable.
18037 (more_help): New function.
18038 (argp): Use more_help.
18039 (print_version): Use PKGVERSION.
18040 * elf/sln.c (main): Use PKGVERSION.
18041 (usage): Use REPORT_BUGS_TO.
18042 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18043 (top level): Use PKGVERSION.
18044 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18045 (print_version): Use PKGVERSION.
18046 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18047 (print_version): Use PKGVERSION.
18048 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18049 (print_version): Use PKGVERSION.
18050 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18051 (print_version): Use PKGVERSION.
18052 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18053 (print_version): Use PKGVERSION.
18054 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18055 (print_version): Use PKGVERSION.
18056 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18058 ($(objpfx)memusage): Likewise.
18059 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18060 (do_version): Use PKGVERSION.
18061 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18062 (print_version): Use PKGVERSION.
18063 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18064 ($PKGVERSION): New variable.
18065 ($REPORT_BUGS_TO): Likewise.
18066 (usage): Use $REPORT_BUGS_TO.
18067 (top level): Use $PKGVERSION.
18068 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18069 ($(objpfx)pkgvers.texi): New rule.
18070 ($(objpfx)stamp-pkgvers): Likewise.
18071 * manual/install.texi: Include pkgvers.texi.
18072 (--with-pkgversion): Document new configure option.
18073 (--with-bugurl): Likewise.
18074 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18075 than necessarily for this particular distribution. Use
18076 REPORT_BUGS_TO for where to report bugs.
18077 * INSTALL: Regenerated.
18078 * manual/libc.texinfo: Include pkgvers.texi.
18079 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18080 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18081 (print_version): Use PKGVERSION.
18082 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18083 (print_version): Use PKGVERSION.
18084 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18085 (print_version): Use PKGVERSION.
18086 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18087 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18089 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18090 (print_version): Use PKGVERSION.
18091 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18092 (print_version): Use PKGVERSION.
18093 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18096 * timezone/checktab.awk: Update from tzcode 2012i.
18097 * timezone/ialloc.c: Likewise.
18098 * timezone/private.h: Likewise.
18099 * timezone/scheck.c: Likewise.
18100 * timezone/tzfile.h: Likewise.
18101 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18102 (TZVERSION): Hardcode tzcode version number.
18103 * timezone/zdump.c: Update from tzcode 2012i.
18104 * timezone/zic.c: Likewise.
18105 * timezone/version.h: New file.
18106 * timezone/README: Describe version.h. Update upstream location.
18109 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18110 (mktemp): Enable declaration.
18111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18116 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18128 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18129 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18130 for copies of such integer values.
18131 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18132 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18134 2012-11-09 Andreas Jaeger <aj@suse.de>
18136 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18137 definitions and declarations that are provided by
18138 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18140 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18142 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18143 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18144 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18147 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18149 * elf/elf.h: Update comment before AArch64 relocations.
18151 2012-11-07 David S. Miller <davem@davemloft.net>
18153 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18154 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18155 (__start_context): Declare.
18156 (__makecontext_ret): Delete.
18157 (__makecontext): Hook up __start_context instead of
18159 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18160 (sysdep_routines): Add __start_context when in stdlib.
18162 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18164 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18165 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18166 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18168 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18169 (READELF): New variable. Use it instead of hardcoded "readelf".
18171 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18173 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18174 * sysdeps/x86/Makefile: Here.
18175 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18176 * sysdeps/x86/tst-xmmymm.sh: This.
18178 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18180 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18182 [UNIX98] (pthread_barrier_t): Do not expect.
18183 [UNIX98] (pthread_barrierattr_t): Likewise.
18184 [UNIX98] (pthread_spinlock_t): Likewise.
18185 [UNIX98] (pthread_barrier_destroy): Likewise.
18186 [UNIX98] (pthread_barrier_init): Likewise.
18187 [UNIX98] (pthread_barrier_wait): Likewise.
18188 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18189 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18190 [UNIX98] (pthread_barrierattr_init): Likewise.
18191 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18192 [UNIX98] (pthread_getcpuclockid): Likewise.
18193 [UNIX98] (pthread_mutex_timedlock): Likewise.
18194 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18195 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18196 [UNIX98] (pthread_sigmask): Likewise.
18197 [UNIX98] (pthread_spin_destroy): Likewise.
18198 [UNIX98] (pthread_spin_init): Likewise.
18199 [UNIX98] (pthread_spin_lock): Likewise.
18200 [UNIX98] (pthread_spin_trylock): Likewise.
18201 [UNIX98] (pthread_spin_unlock): Likewise.
18202 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18204 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18205 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18206 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18207 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18208 [XPG3 || XPG4] (pthread_key_t): Likewise.
18209 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18210 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18211 [XPG3 || XPG4] (pthread_once_t): Likewise.
18212 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18213 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18214 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18215 [XPG3 || XPG4] (pthread_t): Likewise.
18217 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18219 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18221 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18222 Change function return type to int.
18224 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18225 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18226 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18227 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18228 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18229 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18230 [!POSIX] (posix_madvise): Likewise.
18231 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18233 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18234 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18235 (mode_t): Likewise.
18236 (posix_mem_offset): Likewise.
18237 (posix_typed_mem_get_info): Likewise.
18238 (posix_typed_mem_open): Likewise.
18240 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18241 Change condition to [XOPEN2K8].
18243 * conform/conformtest.pl: Preprocess allow-header data with -x c
18244 instead of from stdin.
18245 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18246 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18247 [C99-based standards] (cerfc): Likewise.
18248 [C99-based standards] (cexp2): Likewise.
18249 [C99-based standards] (cexpm1): Likewise.
18250 [C99-based standards] (clog10): Likewise.
18251 [C99-based standards] (clog1p): Likewise.
18252 [C99-based standards] (clog2): Likewise.
18253 [C99-based standards] (clgamma): Likewise.
18254 [C99-based standards] (ctgamma): Likewise.
18255 [C99-based standards] (cerff): Likewise.
18256 [C99-based standards] (cerfcf): Likewise.
18257 [C99-based standards] (cexp2f): Likewise.
18258 [C99-based standards] (cexpm1f): Likewise.
18259 [C99-based standards] (clog10f): Likewise.
18260 [C99-based standards] (clog1pf): Likewise.
18261 [C99-based standards] (clog2f): Likewise.
18262 [C99-based standards] (clgammaf): Likewise.
18263 [C99-based standards] (ctgammaf): Likewise.
18264 [C99-based standards] (cerfl): Likewise.
18265 [C99-based standards] (cerfcl): Likewise.
18266 [C99-based standards] (cexp2l): Likewise.
18267 [C99-based standards] (cexpm1l): Likewise.
18268 [C99-based standards] (clog10l): Likewise.
18269 [C99-based standards] (clog1pl): Likewise.
18270 [C99-based standards] (clog2l): Likewise.
18271 [C99-based standards] (clgammal): Likewise.
18272 [C99-based standards] (ctgammal): Likewise.
18273 * conform/data/inttypes.h-data [C99-based standards]: Include
18274 stdint.h-data. Remove all expectations for stdint.h contents.
18275 [C99-based standards] (PRI*): Do not allow.
18276 [C99-based standards] (SCN*): Likewise.
18277 [C99-based standards] (*_t): Likewise.
18278 [C99-based-standards] (PRId8): Expect macro.
18279 [C99-based-standards] (PRIi8): Likewise.
18280 [C99-based-standards] (PRIo8): Likewise.
18281 [C99-based-standards] (PRIu8): Likewise.
18282 [C99-based-standards] (PRIx8): Likewise.
18283 [C99-based-standards] (PRIX8): Likewise.
18284 [C99-based-standards] (SCNd8): Likewise.
18285 [C99-based-standards] (SCNi8): Likewise.
18286 [C99-based-standards] (SCNo8): Likewise.
18287 [C99-based-standards] (SCNu8): Likewise.
18288 [C99-based-standards] (SCNx8): Likewise.
18289 [C99-based-standards] (PRIdLEAST8): Likewise.
18290 [C99-based-standards] (PRIiLEAST8): Likewise.
18291 [C99-based-standards] (PRIoLEAST8): Likewise.
18292 [C99-based-standards] (PRIuLEAST8): Likewise.
18293 [C99-based-standards] (PRIxLEAST8): Likewise.
18294 [C99-based-standards] (PRIXLEAST8): Likewise.
18295 [C99-based-standards] (SCNdLEAST8): Likewise.
18296 [C99-based-standards] (SCNiLEAST8): Likewise.
18297 [C99-based-standards] (SCNoLEAST8): Likewise.
18298 [C99-based-standards] (SCNuLEAST8): Likewise.
18299 [C99-based-standards] (SCNxLEAST8): Likewise.
18300 [C99-based-standards] (PRIdFAST8): Likewise.
18301 [C99-based-standards] (PRIiFAST8): Likewise.
18302 [C99-based-standards] (PRIoFAST8): Likewise.
18303 [C99-based-standards] (PRIuFAST8): Likewise.
18304 [C99-based-standards] (PRIxFAST8): Likewise.
18305 [C99-based-standards] (PRIXFAST8): Likewise.
18306 [C99-based-standards] (SCNdFAST8): Likewise.
18307 [C99-based-standards] (SCNiFAST8): Likewise.
18308 [C99-based-standards] (SCNoFAST8): Likewise.
18309 [C99-based-standards] (SCNuFAST8): Likewise.
18310 [C99-based-standards] (SCNxFAST8): Likewise.
18311 [C99-based-standards] (PRId16): Likewise.
18312 [C99-based-standards] (PRIi16): Likewise.
18313 [C99-based-standards] (PRIo16): Likewise.
18314 [C99-based-standards] (PRIu16): Likewise.
18315 [C99-based-standards] (PRIx16): Likewise.
18316 [C99-based-standards] (PRIX16): Likewise.
18317 [C99-based-standards] (SCNd16): Likewise.
18318 [C99-based-standards] (SCNi16): Likewise.
18319 [C99-based-standards] (SCNo16): Likewise.
18320 [C99-based-standards] (SCNu16): Likewise.
18321 [C99-based-standards] (SCNx16): Likewise.
18322 [C99-based-standards] (PRIdLEAST16): Likewise.
18323 [C99-based-standards] (PRIiLEAST16): Likewise.
18324 [C99-based-standards] (PRIoLEAST16): Likewise.
18325 [C99-based-standards] (PRIuLEAST16): Likewise.
18326 [C99-based-standards] (PRIxLEAST16): Likewise.
18327 [C99-based-standards] (PRIXLEAST16): Likewise.
18328 [C99-based-standards] (SCNdLEAST16): Likewise.
18329 [C99-based-standards] (SCNiLEAST16): Likewise.
18330 [C99-based-standards] (SCNoLEAST16): Likewise.
18331 [C99-based-standards] (SCNuLEAST16): Likewise.
18332 [C99-based-standards] (SCNxLEAST16): Likewise.
18333 [C99-based-standards] (PRIdFAST16): Likewise.
18334 [C99-based-standards] (PRIiFAST16): Likewise.
18335 [C99-based-standards] (PRIoFAST16): Likewise.
18336 [C99-based-standards] (PRIuFAST16): Likewise.
18337 [C99-based-standards] (PRIxFAST16): Likewise.
18338 [C99-based-standards] (PRIXFAST16): Likewise.
18339 [C99-based-standards] (SCNdFAST16): Likewise.
18340 [C99-based-standards] (SCNiFAST16): Likewise.
18341 [C99-based-standards] (SCNoFAST16): Likewise.
18342 [C99-based-standards] (SCNuFAST16): Likewise.
18343 [C99-based-standards] (SCNxFAST16): Likewise.
18344 [C99-based-standards] (PRId32): Likewise.
18345 [C99-based-standards] (PRIi32): Likewise.
18346 [C99-based-standards] (PRIo32): Likewise.
18347 [C99-based-standards] (PRIu32): Likewise.
18348 [C99-based-standards] (PRIx32): Likewise.
18349 [C99-based-standards] (PRIX32): Likewise.
18350 [C99-based-standards] (SCNd32): Likewise.
18351 [C99-based-standards] (SCNi32): Likewise.
18352 [C99-based-standards] (SCNo32): Likewise.
18353 [C99-based-standards] (SCNu32): Likewise.
18354 [C99-based-standards] (SCNx32): Likewise.
18355 [C99-based-standards] (PRIdLEAST32): Likewise.
18356 [C99-based-standards] (PRIiLEAST32): Likewise.
18357 [C99-based-standards] (PRIoLEAST32): Likewise.
18358 [C99-based-standards] (PRIuLEAST32): Likewise.
18359 [C99-based-standards] (PRIxLEAST32): Likewise.
18360 [C99-based-standards] (PRIXLEAST32): Likewise.
18361 [C99-based-standards] (SCNdLEAST32): Likewise.
18362 [C99-based-standards] (SCNiLEAST32): Likewise.
18363 [C99-based-standards] (SCNoLEAST32): Likewise.
18364 [C99-based-standards] (SCNuLEAST32): Likewise.
18365 [C99-based-standards] (SCNxLEAST32): Likewise.
18366 [C99-based-standards] (PRIdFAST32): Likewise.
18367 [C99-based-standards] (PRIiFAST32): Likewise.
18368 [C99-based-standards] (PRIoFAST32): Likewise.
18369 [C99-based-standards] (PRIuFAST32): Likewise.
18370 [C99-based-standards] (PRIxFAST32): Likewise.
18371 [C99-based-standards] (PRIXFAST32): Likewise.
18372 [C99-based-standards] (SCNdFAST32): Likewise.
18373 [C99-based-standards] (SCNiFAST32): Likewise.
18374 [C99-based-standards] (SCNoFAST32): Likewise.
18375 [C99-based-standards] (SCNuFAST32): Likewise.
18376 [C99-based-standards] (SCNxFAST32): Likewise.
18377 [C99-based-standards] (PRId64): Likewise.
18378 [C99-based-standards] (PRIi64): Likewise.
18379 [C99-based-standards] (PRIo64): Likewise.
18380 [C99-based-standards] (PRIu64): Likewise.
18381 [C99-based-standards] (PRIx64): Likewise.
18382 [C99-based-standards] (PRIX64): Likewise.
18383 [C99-based-standards] (SCNd64): Likewise.
18384 [C99-based-standards] (SCNi64): Likewise.
18385 [C99-based-standards] (SCNo64): Likewise.
18386 [C99-based-standards] (SCNu64): Likewise.
18387 [C99-based-standards] (SCNx64): Likewise.
18388 [C99-based-standards] (PRIdLEAST64): Likewise.
18389 [C99-based-standards] (PRIiLEAST64): Likewise.
18390 [C99-based-standards] (PRIoLEAST64): Likewise.
18391 [C99-based-standards] (PRIuLEAST64): Likewise.
18392 [C99-based-standards] (PRIxLEAST64): Likewise.
18393 [C99-based-standards] (PRIXLEAST64): Likewise.
18394 [C99-based-standards] (SCNdLEAST64): Likewise.
18395 [C99-based-standards] (SCNiLEAST64): Likewise.
18396 [C99-based-standards] (SCNoLEAST64): Likewise.
18397 [C99-based-standards] (SCNuLEAST64): Likewise.
18398 [C99-based-standards] (SCNxLEAST64): Likewise.
18399 [C99-based-standards] (PRIdFAST64): Likewise.
18400 [C99-based-standards] (PRIiFAST64): Likewise.
18401 [C99-based-standards] (PRIoFAST64): Likewise.
18402 [C99-based-standards] (PRIuFAST64): Likewise.
18403 [C99-based-standards] (PRIxFAST64): Likewise.
18404 [C99-based-standards] (PRIXFAST64): Likewise.
18405 [C99-based-standards] (SCNdFAST64): Likewise.
18406 [C99-based-standards] (SCNiFAST64): Likewise.
18407 [C99-based-standards] (SCNoFAST64): Likewise.
18408 [C99-based-standards] (SCNuFAST64): Likewise.
18409 [C99-based-standards] (SCNxFAST64): Likewise.
18410 [C99-based-standards] (PRIdMAX): Likewise.
18411 [C99-based-standards] (PRIiMAX): Likewise.
18412 [C99-based-standards] (PRIoMAX): Likewise.
18413 [C99-based-standards] (PRIuMAX): Likewise.
18414 [C99-based-standards] (PRIxMAX): Likewise.
18415 [C99-based-standards] (PRIXMAX): Likewise.
18416 [C99-based-standards] (SCNdMAX): Likewise.
18417 [C99-based-standards] (SCNiMAX): Likewise.
18418 [C99-based-standards] (SCNoMAX): Likewise.
18419 [C99-based-standards] (SCNuMAX): Likewise.
18420 [C99-based-standards] (SCNxMAX): Likewise.
18421 [C99-based-standards] (PRIdPTR): Likewise.
18422 [C99-based-standards] (PRIiPTR): Likewise.
18423 [C99-based-standards] (PRIoPTR): Likewise.
18424 [C99-based-standards] (PRIuPTR): Likewise.
18425 [C99-based-standards] (PRIxPTR): Likewise.
18426 [C99-based-standards] (PRIXPTR): Likewise.
18427 [C99-based-standards] (SCNdPTR): Likewise.
18428 [C99-based-standards] (SCNiPTR): Likewise.
18429 [C99-based-standards] (SCNoPTR): Likewise.
18430 [C99-based-standards] (SCNuPTR): Likewise.
18431 [C99-based-standards] (SCNxPTR): Likewise.
18432 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18434 * conform/data/stdint.h-data: Update comments to clarify
18436 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18438 [C99-based standards] (INT8_MAX): Likewise.
18439 [C99-based standards] (INT16_MIN): Likewise.
18440 [C99-based standards] (INT16_MAX): Likewise.
18441 [C99-based standards] (INT32_MIN): Likewise.
18442 [C99-based standards] (INT32_MAX): Likewise.
18443 [C99-based standards] (INT64_MIN): Likewise.
18444 [C99-based standards] (INT64_MAX): Likewise.
18445 [C99-based standards] (UINT8_MAX): Likewise.
18446 [C99-based standards] (UINT16_MAX): Likewise.
18447 [C99-based standards] (UINT32_MAX): Likewise.
18448 [C99-based standards] (UINT64_MAX): Likewise.
18449 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18450 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18451 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18452 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18453 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18454 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18455 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18456 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18457 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18458 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18459 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18460 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18461 [C99-based standards] (INT_FAST8_MIN): Likewise.
18462 [C99-based standards] (INT_FAST8_MAX): Likewise.
18463 [C99-based standards] (INT_FAST16_MIN): Likewise.
18464 [C99-based standards] (INT_FAST16_MAX): Likewise.
18465 [C99-based standards] (INT_FAST32_MIN): Likewise.
18466 [C99-based standards] (INT_FAST32_MAX): Likewise.
18467 [C99-based standards] (INT_FAST64_MIN): Likewise.
18468 [C99-based standards] (INT_FAST64_MAX): Likewise.
18469 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18470 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18471 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18472 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18473 [C99-based standards] (INTPTR_MIN): Likewise.
18474 [C99-based standards] (INTPTR_MAX): Likewise.
18475 [C99-based standards] (UINTPTR_MAX): Likewise.
18476 [C99-based standards] (INTMAX_MIN): Likewise.
18477 [C99-based standards] (INTMAX_MAX): Likewise.
18478 [C99-based standards] (UINTMAX_MAX): Likewise.
18479 [C99-based standards] (PTRDIFF_MIN): Likewise.
18480 [C99-based standards] (PTRDIFF_MAX): Likewise.
18481 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18482 [C99-based standards] (SIZE_MAX): Likewise.
18483 [C99-based standards] (WCHAR_MAX): Likewise.
18484 [C99-based standards] (WINT_MAX): Likewise.
18485 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18486 constraint on value.
18487 [C99-based standards] (WCHAR_MIN): Likewise.
18488 [C99-based standards] (WINT_MIN): Likewise.
18489 [C99-based standards] (*_t): Allow.
18490 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18491 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18492 Include math.h-data and complex.h-data. Remove all expectations
18493 of math.h and complex.h contents.
18494 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18496 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18497 (struct tm): Expect tag.
18498 [C99-based-standards] (wcstof): Expect function.
18499 [C99-based-standards] (wcstold): Likewise.
18500 [C99-based-standards] (wcstoll): Likewise.
18501 [C99-based-standards] (wcstoull): Likewise.
18502 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18503 macro-int-constant. Specify type.
18504 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18505 constraint on value.
18506 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18508 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18510 [ISO C standards]: Do not allow headers.
18511 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18512 wcs[abcdefghijklmnopqrstuvwxyz]*.
18513 [ISO C standards] (*_t): Do not allow.
18514 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18516 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18517 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18519 [ISO C standards]: Do not allow headers.
18520 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18521 is[abcdefghijklmnopqrstuvwxyz]*.
18522 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18523 to[abcdefghijklmnopqrstuvwxyz]*.
18524 [ISO C standards] (*_t): Do not allow.
18525 * conform/data/stdalign.h-data: New file.
18526 * conform/data/stdbool.h-data: Likewise.
18527 * conform/data/stdnoreturn.h-data: Likewise.
18529 2012-11-07 Roland McGrath <roland@hack.frob.com>
18532 * manual/filesys.texi (Directory Entries): Typo fix.
18533 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18535 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18537 * elf/elf.h (EM_AARCH64): New macro.
18538 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18539 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18540 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18541 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18542 (R_AARCH64_TLSDESC): Likewise.
18543 (NT_ARM_TLS): Likewise.
18544 (NT_ARM_HW_BREAK): Likewise.
18545 (NT_ARM_HW_WATCH): Likewise.
18547 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18550 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18551 (__ieee754_powl): Saturate nonzero exponents with absolute value
18552 below 0x1p-79 to +/- 0x1p-79.
18553 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18554 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18555 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18556 nonzero exponents with absolute value below 0x1p-32 to +/-
18558 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18559 (__ieee754_powl): Saturate nonzero exponents with absolute value
18560 below 0x1p-79 to +/- 0x1p-79.
18561 * math/libm-test.inc (pow_test): Add more tests.
18563 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18565 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18566 _dl_s390_cap_flags with kernel. Increase string length.
18567 (_dl_s390_platforms): Add z196 and zEC12.
18569 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18571 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18572 Change XOPEN21K to XOPEN2K.
18574 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18576 * string/memmove.c: Use memcpy when possible.
18578 2012-11-06 Andreas Jaeger <aj@suse.de>
18580 * po/eo.po: Update from translation team.
18582 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18586 exponent and small x and y exponents, scale x or y up. Increase
18587 by 2 the exponent used in scaling up.
18588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18590 * math/libm-test.inc (fma_test): Add more tests.
18591 (fma_test_towardzero): Likewise.
18592 (fma_test_downward): Likewise.
18593 (fma_test_upward): Likewise.
18595 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18598 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18602 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18603 namespace for names of struct fields.
18604 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18606 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18607 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18609 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18612 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18614 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18616 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18620 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18623 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18627 definitely overflow as x * y not x * y + z.
18628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18630 * math/libm-test.inc (fma_test): Add more tests.
18631 (fma_test_towardzero): Likewise.
18632 (fma_test_downward): Likewise.
18633 (fma_test_upward): Likewise.
18635 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18639 * include/stub-tag.h: Remove file.
18640 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18642 * manual/maint.texi (Porting): Don't reference it.
18643 * Makerules ($(objpfx)stubs): Likewise.
18644 * dirent/closedir.c: Don't include <stub-tag.h>.
18645 * dirent/dirfd.c: Likewise.
18646 * dirent/fdopendir.c: Likewise.
18647 * dirent/getdents.c: Likewise.
18648 * dirent/getdents64.c: Likewise.
18649 * dirent/opendir.c: Likewise.
18650 * dirent/readdir.c: Likewise.
18651 * dirent/readdir64.c: Likewise.
18652 * dirent/readdir64_r.c: Likewise.
18653 * dirent/readdir_r.c: Likewise.
18654 * dirent/rewinddir.c: Likewise.
18655 * dirent/seekdir.c: Likewise.
18656 * dirent/telldir.c: Likewise.
18657 * gmon/profil.c: Likewise.
18658 * grp/setgroups.c: Likewise.
18659 * inet/if_index.c: Likewise.
18660 * io/access.c: Likewise.
18661 * io/chdir.c: Likewise.
18662 * io/chmod.c: Likewise.
18663 * io/chown.c: Likewise.
18664 * io/close.c: Likewise.
18665 * io/dup.c: Likewise.
18666 * io/dup2.c: Likewise.
18667 * io/dup3.c: Likewise.
18668 * io/euidaccess.c: Likewise.
18669 * io/faccessat.c: Likewise.
18670 * io/fchdir.c: Likewise.
18671 * io/fchmod.c: Likewise.
18672 * io/fchmodat.c: Likewise.
18673 * io/fchown.c: Likewise.
18674 * io/fchownat.c: Likewise.
18675 * io/fcntl.c: Likewise.
18676 * io/flock.c: Likewise.
18677 * io/fstatfs.c: Likewise.
18678 * io/fstatfs64.c: Likewise.
18679 * io/fstatvfs.c: Likewise.
18680 * io/fstatvfs64.c: Likewise.
18681 * io/futimens.c: Likewise.
18682 * io/fxstat.c: Likewise.
18683 * io/fxstat64.c: Likewise.
18684 * io/fxstatat.c: Likewise.
18685 * io/fxstatat64.c: Likewise.
18686 * io/getcwd.c: Likewise.
18687 * io/isatty.c: Likewise.
18688 * io/lchmod.c: Likewise.
18689 * io/lchown.c: Likewise.
18690 * io/link.c: Likewise.
18691 * io/linkat.c: Likewise.
18692 * io/lseek.c: Likewise.
18693 * io/lseek64.c: Likewise.
18694 * io/lxstat64.c: Likewise.
18695 * io/mkdir.c: Likewise.
18696 * io/mkdirat.c: Likewise.
18697 * io/mkfifo.c: Likewise.
18698 * io/mkfifoat.c: Likewise.
18699 * io/open.c: Likewise.
18700 * io/open64.c: Likewise.
18701 * io/openat.c: Likewise.
18702 * io/openat64.c: Likewise.
18703 * io/pipe.c: Likewise.
18704 * io/pipe2.c: Likewise.
18705 * io/poll.c: Likewise.
18706 * io/posix_fadvise.c: Likewise.
18707 * io/posix_fadvise64.c: Likewise.
18708 * io/posix_fallocate.c: Likewise.
18709 * io/posix_fallocate64.c: Likewise.
18710 * io/read.c: Likewise.
18711 * io/readlink.c: Likewise.
18712 * io/readlinkat.c: Likewise.
18713 * io/rmdir.c: Likewise.
18714 * io/sendfile.c: Likewise.
18715 * io/sendfile64.c: Likewise.
18716 * io/statfs.c: Likewise.
18717 * io/statfs64.c: Likewise.
18718 * io/statvfs.c: Likewise.
18719 * io/statvfs64.c: Likewise.
18720 * io/symlink.c: Likewise.
18721 * io/symlinkat.c: Likewise.
18722 * io/ttyname.c: Likewise.
18723 * io/ttyname_r.c: Likewise.
18724 * io/umask.c: Likewise.
18725 * io/unlink.c: Likewise.
18726 * io/unlinkat.c: Likewise.
18727 * io/utime.c: Likewise.
18728 * io/utimensat.c: Likewise.
18729 * io/write.c: Likewise.
18730 * io/xmknod.c: Likewise.
18731 * io/xmknodat.c: Likewise.
18732 * io/xstat.c: Likewise.
18733 * io/xstat64.c: Likewise.
18734 * login/getpt.c: Likewise.
18735 * login/grantpt.c: Likewise.
18736 * login/unlockpt.c: Likewise.
18737 * math/e_acoshl.c: Likewise.
18738 * math/e_acosl.c: Likewise.
18739 * math/e_asinl.c: Likewise.
18740 * math/e_atan2l.c: Likewise.
18741 * math/e_atanhl.c: Likewise.
18742 * math/e_coshl.c: Likewise.
18743 * math/e_expl.c: Likewise.
18744 * math/e_fmodl.c: Likewise.
18745 * math/e_gammal_r.c: Likewise.
18746 * math/e_hypotl.c: Likewise.
18747 * math/e_j0l.c: Likewise.
18748 * math/e_j1l.c: Likewise.
18749 * math/e_jnl.c: Likewise.
18750 * math/e_lgammal_r.c: Likewise.
18751 * math/e_log10l.c: Likewise.
18752 * math/e_log2l.c: Likewise.
18753 * math/e_logl.c: Likewise.
18754 * math/e_powl.c: Likewise.
18755 * math/e_rem_pio2l.c: Likewise.
18756 * math/e_sinhl.c: Likewise.
18757 * math/e_sqrtl.c: Likewise.
18758 * math/fclrexcpt.c: Likewise.
18759 * math/fedisblxcpt.c: Likewise.
18760 * math/feenablxcpt.c: Likewise.
18761 * math/fegetenv.c: Likewise.
18762 * math/fegetexcept.c: Likewise.
18763 * math/fegetround.c: Likewise.
18764 * math/feholdexcpt.c: Likewise.
18765 * math/fesetenv.c: Likewise.
18766 * math/fesetround.c: Likewise.
18767 * math/feupdateenv.c: Likewise.
18768 * math/fgetexcptflg.c: Likewise.
18769 * math/fraiseexcpt.c: Likewise.
18770 * math/fsetexcptflg.c: Likewise.
18771 * math/ftestexcept.c: Likewise.
18772 * math/k_cosl.c: Likewise.
18773 * math/k_rem_pio2l.c: Likewise.
18774 * math/k_sinl.c: Likewise.
18775 * math/k_tanl.c: Likewise.
18776 * math/s_asinhl.c: Likewise.
18777 * math/s_atanl.c: Likewise.
18778 * math/s_cbrtl.c: Likewise.
18779 * math/s_erfl.c: Likewise.
18780 * math/s_expm1l.c: Likewise.
18781 * math/s_log1pl.c: Likewise.
18782 * math/s_tanhl.c: Likewise.
18783 * misc/acct.c: Likewise.
18784 * misc/brk.c: Likewise.
18785 * misc/chflags.c: Likewise.
18786 * misc/chroot.c: Likewise.
18787 * misc/fchflags.c: Likewise.
18788 * misc/fgetxattr.c: Likewise.
18789 * misc/flistxattr.c: Likewise.
18790 * misc/fremovexattr.c: Likewise.
18791 * misc/fsetxattr.c: Likewise.
18792 * misc/fsync.c: Likewise.
18793 * misc/ftruncate.c: Likewise.
18794 * misc/futimes.c: Likewise.
18795 * misc/futimesat.c: Likewise.
18796 * misc/getdomain.c: Likewise.
18797 * misc/getdtsz.c: Likewise.
18798 * misc/gethostid.c: Likewise.
18799 * misc/gethostname.c: Likewise.
18800 * misc/getloadavg.c: Likewise.
18801 * misc/getpagesize.c: Likewise.
18802 * misc/getsysstats.c: Likewise.
18803 * misc/getxattr.c: Likewise.
18804 * misc/gtty.c: Likewise.
18805 * misc/ioctl.c: Likewise.
18806 * misc/lgetxattr.c: Likewise.
18807 * misc/listxattr.c: Likewise.
18808 * misc/llistxattr.c: Likewise.
18809 * misc/lremovexattr.c: Likewise.
18810 * misc/lsetxattr.c: Likewise.
18811 * misc/lutimes.c: Likewise.
18812 * misc/madvise.c: Likewise.
18813 * misc/mincore.c: Likewise.
18814 * misc/mlock.c: Likewise.
18815 * misc/mlockall.c: Likewise.
18816 * misc/mmap.c: Likewise.
18817 * misc/mprotect.c: Likewise.
18818 * misc/msync.c: Likewise.
18819 * misc/munlock.c: Likewise.
18820 * misc/munlockall.c: Likewise.
18821 * misc/munmap.c: Likewise.
18822 * misc/preadv.c: Likewise.
18823 * misc/preadv64.c: Likewise.
18824 * misc/ptrace.c: Likewise.
18825 * misc/pwritev.c: Likewise.
18826 * misc/pwritev64.c: Likewise.
18827 * misc/readv.c: Likewise.
18828 * misc/reboot.c: Likewise.
18829 * misc/remap_file_pages.c: Likewise.
18830 * misc/removexattr.c: Likewise.
18831 * misc/revoke.c: Likewise.
18832 * misc/select.c: Likewise.
18833 * misc/setdomain.c: Likewise.
18834 * misc/setegid.c: Likewise.
18835 * misc/seteuid.c: Likewise.
18836 * misc/sethostid.c: Likewise.
18837 * misc/sethostname.c: Likewise.
18838 * misc/setregid.c: Likewise.
18839 * misc/setreuid.c: Likewise.
18840 * misc/setxattr.c: Likewise.
18841 * misc/sstk.c: Likewise.
18842 * misc/stty.c: Likewise.
18843 * misc/swapoff.c: Likewise.
18844 * misc/swapon.c: Likewise.
18845 * misc/sync.c: Likewise.
18846 * misc/syncfs.c: Likewise.
18847 * misc/syscall.c: Likewise.
18848 * misc/truncate.c: Likewise.
18849 * misc/ualarm.c: Likewise.
18850 * misc/usleep.c: Likewise.
18851 * misc/ustat.c: Likewise.
18852 * misc/utimes.c: Likewise.
18853 * misc/vhangup.c: Likewise.
18854 * misc/writev.c: Likewise.
18855 * posix/_exit.c: Likewise.
18856 * posix/alarm.c: Likewise.
18857 * posix/execve.c: Likewise.
18858 * posix/fexecve.c: Likewise.
18859 * posix/fork.c: Likewise.
18860 * posix/fpathconf.c: Likewise.
18861 * posix/getaddrinfo.c: Likewise.
18862 * posix/getegid.c: Likewise.
18863 * posix/geteuid.c: Likewise.
18864 * posix/getgid.c: Likewise.
18865 * posix/getgroups.c: Likewise.
18866 * posix/getlogin.c: Likewise.
18867 * posix/getlogin_r.c: Likewise.
18868 * posix/getpgid.c: Likewise.
18869 * posix/getpid.c: Likewise.
18870 * posix/getppid.c: Likewise.
18871 * posix/getresgid.c: Likewise.
18872 * posix/getresuid.c: Likewise.
18873 * posix/getsid.c: Likewise.
18874 * posix/getuid.c: Likewise.
18875 * posix/glob64.c: Likewise.
18876 * posix/nanosleep.c: Likewise.
18877 * posix/pathconf.c: Likewise.
18878 * posix/pause.c: Likewise.
18879 * posix/posix_madvise.c: Likewise.
18880 * posix/pread.c: Likewise.
18881 * posix/pread64.c: Likewise.
18882 * posix/pwrite.c: Likewise.
18883 * posix/pwrite64.c: Likewise.
18884 * posix/sched_getaffinity.c: Likewise.
18885 * posix/sched_getp.c: Likewise.
18886 * posix/sched_gets.c: Likewise.
18887 * posix/sched_primax.c: Likewise.
18888 * posix/sched_primin.c: Likewise.
18889 * posix/sched_rr_gi.c: Likewise.
18890 * posix/sched_setaffinity.c: Likewise.
18891 * posix/sched_setp.c: Likewise.
18892 * posix/sched_sets.c: Likewise.
18893 * posix/sched_yield.c: Likewise.
18894 * posix/setgid.c: Likewise.
18895 * posix/setlogin.c: Likewise.
18896 * posix/setpgid.c: Likewise.
18897 * posix/setresgid.c: Likewise.
18898 * posix/setresuid.c: Likewise.
18899 * posix/setsid.c: Likewise.
18900 * posix/setuid.c: Likewise.
18901 * posix/sleep.c: Likewise.
18902 * posix/spawni.c: Likewise.
18903 * posix/sysconf.c: Likewise.
18904 * posix/times.c: Likewise.
18905 * posix/wait.c: Likewise.
18906 * posix/wait3.c: Likewise.
18907 * posix/wait4.c: Likewise.
18908 * posix/waitpid.c: Likewise.
18909 * resolv/gai_sigqueue.c: Likewise.
18910 * resource/getpriority.c: Likewise.
18911 * resource/getrlimit.c: Likewise.
18912 * resource/getrusage.c: Likewise.
18913 * resource/nice.c: Likewise.
18914 * resource/setpriority.c: Likewise.
18915 * resource/setrlimit.c: Likewise.
18916 * resource/ulimit.c: Likewise.
18917 * rt/aio_cancel.c: Likewise.
18918 * rt/aio_fsync.c: Likewise.
18919 * rt/aio_read.c: Likewise.
18920 * rt/aio_sigqueue.c: Likewise.
18921 * rt/aio_suspend.c: Likewise.
18922 * rt/aio_write.c: Likewise.
18923 * rt/clock_getres.c: Likewise.
18924 * rt/clock_gettime.c: Likewise.
18925 * rt/clock_nanosleep.c: Likewise.
18926 * rt/clock_settime.c: Likewise.
18927 * rt/lio_listio.c: Likewise.
18928 * rt/mq_close.c: Likewise.
18929 * rt/mq_getattr.c: Likewise.
18930 * rt/mq_notify.c: Likewise.
18931 * rt/mq_open.c: Likewise.
18932 * rt/mq_receive.c: Likewise.
18933 * rt/mq_send.c: Likewise.
18934 * rt/mq_setattr.c: Likewise.
18935 * rt/mq_timedreceive.c: Likewise.
18936 * rt/mq_timedsend.c: Likewise.
18937 * rt/mq_unlink.c: Likewise.
18938 * rt/shm_open.c: Likewise.
18939 * rt/shm_unlink.c: Likewise.
18940 * rt/timer_create.c: Likewise.
18941 * rt/timer_delete.c: Likewise.
18942 * rt/timer_getoverr.c: Likewise.
18943 * rt/timer_gettime.c: Likewise.
18944 * rt/timer_settime.c: Likewise.
18945 * setjmp/__longjmp.c: Likewise.
18946 * setjmp/setjmp.c: Likewise.
18947 * signal/kill.c: Likewise.
18948 * signal/killpg.c: Likewise.
18949 * signal/raise.c: Likewise.
18950 * signal/sigaction.c: Likewise.
18951 * signal/sigaltstack.c: Likewise.
18952 * signal/sigblock.c: Likewise.
18953 * signal/sigignore.c: Likewise.
18954 * signal/sigintr.c: Likewise.
18955 * signal/signal.c: Likewise.
18956 * signal/sigpause.c: Likewise.
18957 * signal/sigpending.c: Likewise.
18958 * signal/sigqueue.c: Likewise.
18959 * signal/sigreturn.c: Likewise.
18960 * signal/sigset.c: Likewise.
18961 * signal/sigsetmask.c: Likewise.
18962 * signal/sigstack.c: Likewise.
18963 * signal/sigsuspend.c: Likewise.
18964 * signal/sigtimedwait.c: Likewise.
18965 * signal/sigvec.c: Likewise.
18966 * signal/sigwait.c: Likewise.
18967 * signal/sigwaitinfo.c: Likewise.
18968 * signal/sysv_signal.c: Likewise.
18969 * socket/accept.c: Likewise.
18970 * socket/accept4.c: Likewise.
18971 * socket/bind.c: Likewise.
18972 * socket/connect.c: Likewise.
18973 * socket/getpeername.c: Likewise.
18974 * socket/getsockname.c: Likewise.
18975 * socket/getsockopt.c: Likewise.
18976 * socket/isfdtype.c: Likewise.
18977 * socket/listen.c: Likewise.
18978 * socket/recv.c: Likewise.
18979 * socket/recvfrom.c: Likewise.
18980 * socket/recvmsg.c: Likewise.
18981 * socket/send.c: Likewise.
18982 * socket/sendmsg.c: Likewise.
18983 * socket/sendto.c: Likewise.
18984 * socket/setsockopt.c: Likewise.
18985 * socket/shutdown.c: Likewise.
18986 * socket/sockatmark.c: Likewise.
18987 * socket/socket.c: Likewise.
18988 * socket/socketpair.c: Likewise.
18989 * stdio-common/ctermid.c: Likewise.
18990 * stdio-common/cuserid.c: Likewise.
18991 * stdio-common/remove.c: Likewise.
18992 * stdio-common/rename.c: Likewise.
18993 * stdio-common/renameat.c: Likewise.
18994 * stdio-common/tempname.c: Likewise.
18995 * stdlib/getcontext.c: Likewise.
18996 * stdlib/makecontext.c: Likewise.
18997 * stdlib/setcontext.c: Likewise.
18998 * stdlib/swapcontext.c: Likewise.
18999 * stdlib/system.c: Likewise.
19000 * streams/fattach.c: Likewise.
19001 * streams/fdetach.c: Likewise.
19002 * streams/getmsg.c: Likewise.
19003 * streams/getpmsg.c: Likewise.
19004 * streams/putmsg.c: Likewise.
19005 * streams/putpmsg.c: Likewise.
19006 * sysdeps/unix/bsd/getpt.c: Likewise.
19007 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19008 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19009 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19012 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19013 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19014 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19015 * sysvipc/msgctl.c: Likewise.
19016 * sysvipc/msgget.c: Likewise.
19017 * sysvipc/msgrcv.c: Likewise.
19018 * sysvipc/msgsnd.c: Likewise.
19019 * sysvipc/semctl.c: Likewise.
19020 * sysvipc/semget.c: Likewise.
19021 * sysvipc/semop.c: Likewise.
19022 * sysvipc/semtimedop.c: Likewise.
19023 * sysvipc/shmat.c: Likewise.
19024 * sysvipc/shmctl.c: Likewise.
19025 * sysvipc/shmdt.c: Likewise.
19026 * sysvipc/shmget.c: Likewise.
19027 * termios/tcdrain.c: Likewise.
19028 * termios/tcflow.c: Likewise.
19029 * termios/tcflush.c: Likewise.
19030 * termios/tcgetattr.c: Likewise.
19031 * termios/tcgetpgrp.c: Likewise.
19032 * termios/tcsendbrk.c: Likewise.
19033 * termios/tcsetattr.c: Likewise.
19034 * termios/tcsetpgrp.c: Likewise.
19035 * time/adjtime.c: Likewise.
19036 * time/clock.c: Likewise.
19037 * time/getitimer.c: Likewise.
19038 * time/gettimeofday.c: Likewise.
19039 * time/setitimer.c: Likewise.
19040 * time/settimeofday.c: Likewise.
19041 * time/stime.c: Likewise.
19042 * time/time.c: Likewise.
19044 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
19046 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19049 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19051 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19053 2012-11-03 Joseph Myers <joseph@codesourcery.com>
19056 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19057 FE_TONEAREST before applying Dekker multiplication and Knuth
19058 addition. Clear inexact exceptions and check for exact zero
19059 results afterwards.
19060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19061 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19062 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19063 * math/libm-test.inc (fma_test): Add more tests.
19064 (fma_test_towardzero): Likewise.
19065 (fma_test_downward): Likewise.
19066 (fma_test_upward): Likewise.
19067 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19069 (libc_fesetround): New macro.
19070 (libc_fesetroundf): Likewise.
19071 (libc_fesetroundl): Likewise.
19072 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19074 (libc_fesetround_387): Likewise.
19075 (libc_fesetroundf): New macro.
19076 (libc_fesetround): Likewise.
19077 (libc_fesetroundl): Likewise.
19078 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19080 (libc_fesetroundf): New macro.
19081 (libc_fesetround): Likewise.
19082 (libc_fesetroundl): Likewise.
19083 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19084 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19085 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19087 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19088 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19090 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19091 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19093 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19097 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19098 integer constant usable in #if and use that to give value to enum
19100 (FE_DIVBYZERO): Likewise.
19101 (FE_UNDERFLOW): Likewise.
19102 (FE_OVERFLOW): Likewise.
19103 (FE_INVALID): Likewise.
19104 (FE_INVALID_SNAN): Likewise.
19105 (FE_INVALID_ISI): Likewise.
19106 (FE_INVALID_IDI): Likewise.
19107 (FE_INVALID_ZDZ): Likewise.
19108 (FE_INVALID_IMZ): Likewise.
19109 (FE_INVALID_COMPARE): Likewise.
19110 (FE_INVALID_SOFTWARE): Likewise.
19111 (FE_INVALID_SQRT): Likewise.
19112 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19113 (FE_TONEAREST): Likewise.
19114 (FE_TOWARDZERO): Likewise.
19115 (FE_UPWARD): Likewise.
19116 (FE_DOWNWARD): Likewise.
19117 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19118 (FE_DIVBYZERO): Likewise.
19119 (FE_OVERFLOW): Likewise.
19120 (FE_UNDERFLOW): Likewise.
19121 (FE_INEXACT): Likewise.
19122 (FE_TONEAREST): Likewise.
19123 (FE_DOWNWARD): Likewise.
19124 (FE_UPWARD): Likewise.
19125 (FE_TOWARDZERO): Likewise.
19126 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19127 (FE_UNDERFLOW): Likewise.
19128 (FE_OVERFLOW): Likewise.
19129 (FE_DIVBYZERO): Likewise.
19130 (FE_INVALID): Likewise.
19131 (FE_TONEAREST): Likewise.
19132 (FE_TOWARDZERO): Likewise.
19133 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19134 (FE_OVERFLOW): Likewise.
19135 (FE_UNDERFLOW): Likewise.
19136 (FE_DIVBYZERO): Likewise.
19137 (FE_INEXACT): Likewise.
19138 (FE_TONEAREST): Likewise.
19139 (FE_TOWARDZERO): Likewise.
19140 (FE_UPWARD): Likewise.
19141 (FE_DOWNWARD): Likewise.
19142 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19143 (FE_DIVBYZERO): Likewise.
19144 (FE_OVERFLOW): Likewise.
19145 (FE_UNDERFLOW): Likewise.
19146 (FE_INEXACT): Likewise.
19147 (FE_TONEAREST): Likewise.
19148 (FE_DOWNWARD): Likewise.
19149 (FE_UPWARD): Likewise.
19150 (FE_TOWARDZERO): Likewise.
19152 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19154 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19156 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19158 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19159 commands. Quote $PWD.
19160 (blacklist_exports): Don't use remove_newlines. Replace "declare
19162 (remove_newlines): Remove.
19164 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19166 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19167 * stdlib/stdlib.h (atof): Moved to ...
19168 * include/bits/stdlib-float.h: Here. New file.
19169 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19170 * stdlib/bits/stdlib-float.h: New file.
19171 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19173 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19176 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19178 * conform/conformtest.pl (@headers): Add fenv.h.
19179 * conform/data/fenv.h-data: New file.
19180 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19181 include of <math/fenv.h>.
19183 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19184 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19185 && !UNIX98]. Enables tests for XOPEN2K8.
19186 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19187 POSIX2008]: Likewise.
19189 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19190 (struct rusage): Do not expect type or its members.
19193 * math/math.h (FP_NAN): Define macro to integer constant usable in
19194 #if and use that to give value to enum constant.
19195 (FP_INFINITE): Likewise.
19196 (FP_ZERO): Likewise.
19197 (FP_SUBNORMAL): Likewise.
19198 (FP_NORMAL): Likewise.
19200 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19202 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19203 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19206 2012-11-02 Roland McGrath <roland@hack.frob.com>
19208 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19209 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19210 autoconf-time if not.
19211 * configure.in: Remove AC_PREREQ.
19213 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19215 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19216 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19217 of the internal implementation.
19219 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19221 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19222 except include of <misc/sys/syslog.h>.
19224 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19227 function returns with a NULL context exit with zero.
19229 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19231 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19233 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19235 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19236 (run_program_cmd): This.
19237 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19238 (tst_langinfo): New variable. Use it.
19240 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19242 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19243 floating point opcodes.
19245 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19247 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19250 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19252 * sysdeps/mach/hurd/powerpc: Remove directory.
19253 * sysdeps/mach/powerpc: Likewise.
19255 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19257 * scripts/check-local-headers.sh: Ignore c++ headers.
19259 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19261 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19262 __libc_cleanup_region_start argument.
19264 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19269 x * y using scaling, not as x * y + z.
19270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19271 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19272 * math/libm-test.inc (fma_test): Add more tests.
19273 (fma_test_towardzero): Likewise.
19274 (fma_test_downward): Likewise.
19275 (fma_test_upward): Likewise.
19277 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19279 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19281 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19283 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19286 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19288 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19290 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19297 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19300 Fix the order of the list for glibc 2.17.
19301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19304 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19308 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19311 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19312 for low part of x being zero before using __atanl (y).
19313 * math/libm-test.inc (atan2_test): Add another test.
19315 * manual/install.texi (Configuring and compiling): Document
19316 general use of test-wrapper and test-wrapper-env.
19317 * INSTALL: Regenerated.
19319 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19320 (__fma): Do not extract and scale down low bits on after-rounding
19321 systems when result rounded to normal precision would have normal
19323 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19324 (__fmal): Do not extract and scale down low bits on after-rounding
19325 systems when result rounded to normal precision would have normal
19327 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19328 (__fmal): Do not extract and scale down low bits on after-rounding
19329 systems when result rounded to normal precision would have normal
19331 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19333 (fma_test): Add more tests.
19334 (fma_test_towardzero): Likewise.
19335 (fma_test_downward): Likewise.
19336 (fma_test_upward): Likewise.
19338 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19340 * sysdeps/i386/tininess.h: Renamed to ...
19341 * sysdeps/x86/tininess.h: This.
19342 * sysdeps/x86_64/tininess.h: Removed.
19344 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19346 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19347 input. Use $(build-program-cmd).
19348 ($(objpfx)tst-array1-static.out): Likewise.
19349 ($(objpfx)tst-array2.out): Likewise.
19350 ($(objpfx)tst-array3.out): Likewise.
19351 ($(objpfx)tst-array4.out): Likewise.
19352 ($(objpfx)tst-array5.out): Likewise.
19353 ($(objpfx)tst-array5-static.out): Likewise.
19355 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19357 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19360 * nss/nsswitch.h (nss_interface_function): Provide new
19361 macro for use with NSS functions.
19362 * grp/initgroups.c: Use new macro.
19363 * nss/getXXbyYY.c: Likewise.
19364 * nss/getXXbyYY_r.c: Likewise.
19365 * nss/getXXent.c: Likewise.
19366 * nss/getXXent_r.c: Likewise.
19367 * sysdeps/posix/getaddrinfo.c: Likewise.
19369 2012-10-30 Andreas Jaeger <aj@suse.de>
19371 * po/ru.po: Update Russion translation from translation project.
19373 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19378 result and shift together with sticky bit instead of replicating
19379 round-to-nearest rounding.
19380 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19381 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19382 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19383 missing underflow exceptions.
19384 (fma_test_towardzero): Add more tests.
19385 (fma_test_downward): Likewise.
19386 (fma_test_upward): Likewise.
19389 * sysdeps/generic/tininess.h: New file.
19390 * sysdeps/i386/tininess.h: Likewise.
19391 * sysdeps/sh/tininess.h: Likewise.
19392 * sysdeps/x86_64/tininess.h: Likewise.
19393 * stdlib/tst-strtod-underflow.c: Likewise.
19394 * stdlib/tst-tininess.c: Likewise.
19395 * stdlib/strtod_l.c: Include <tininess.h>.
19396 (round_and_return): Do not set errno for exact underflow cases.
19397 Force an underflow exception when setting errno for underflow.
19398 Determine underflow based on rounding to normal precision if
19399 TININESS_AFTER_ROUNDING.
19400 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19401 ERANGE for exact underflow cases.
19402 * stdlib/Makefile (tests): Add tst-tininess and
19403 tst-strtod-underflow.
19404 ($(objpfx)tst-tininess): Use $(link-libm).
19405 ($(objpfx)tst-strtod-underflow): Likewise.
19407 2012-10-30 Andreas Jaeger <aj@suse.de>
19410 * elf/Makefile (tests): Remove conditional for have-initfini-array
19411 since this is now always required and the variable does not exist
19413 (tests-static): Likewise.
19414 (modules-names): Likewise.
19416 * po/eo.po: Add Esperanto translation from translation project.
19418 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19419 merged with constructor/destructor.
19420 (init_array): Likewise.
19421 * elf/tst-array2dep.c (fini_array): Likewise.
19422 (init_array): Likewise.
19424 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19426 * manual/message.texi: Delete @cartouche tags.
19428 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19430 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19432 * sysdeps/mach/hurd/fsync.c: Likewise.
19434 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19435 [_POSIX_REALTIME_SIGNALS]: Change condition to
19436 [_POSIX_REALTIME_SIGNALS > 0].
19438 2012-10-27 Andreas Jaeger <aj@suse.de>
19440 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19441 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19443 [__WORDSIZE != 64]: Likewise.
19445 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19447 * iconvdata/tst-table.sh: Remove ${SHELL}.
19448 * iconvdata/tst-tables.sh: Likewise.
19450 2012-10-25 David S. Miller <davem@davemloft.net>
19452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19453 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19458 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19459 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19460 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19463 2012-10-25 Roland McGrath <roland@hack.frob.com>
19465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19466 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19469 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19470 Jim Blandy <jimb@codesourcery.com>
19472 * scripts/cross-test-ssh.sh: New file.
19473 * manual/install.texi (Configuring and compiling): Document use of
19475 * INSTALL: Regenerated.
19477 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19479 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19482 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19484 * Makeconfig (run-program-prefix): Fix comment.
19486 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19487 Jim Blandy <jimb@codesourcery.com>
19489 * Makeconfig (test-wrapper): New variable,
19490 (test-wrapper-env): Likewise.
19491 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19492 (run-built-tests): Define to yes.
19493 (run-program-prefix): Use $(test-wrapper).
19494 (built-program-cmd): Likewise.
19495 * Rules (make-test-out): Use $(test-wrapper-env) and
19496 $(host-built-program-cmd).
19497 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19498 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19500 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19501 $(test-wrapper-env) to tst-rtld-load-self.sh.
19502 ($(objpfx)order2.out): Use $(test-wrapper).
19503 ($(objpfx)tst-initorder.out): Likewise.
19504 ($(objpfx)tst-initorder2.out): Likewise.
19505 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19506 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19507 (test_wrapper_env): New variable. Use it to run ld.so.
19508 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19509 Use it to run ld.so.
19510 (test_wrapper_env): Likewise.
19511 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19512 $(test-wrapper) to run-iconv-test.sh.
19513 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19514 (ICONV): Use $test_wrapper.
19515 * posix/Makefile ($(objpfx)globtest.out): Pass
19516 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19517 globtest.sh, not $(run-program-prefix).
19518 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19519 (test_wrapper): Likewise.
19520 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19521 set together with run_via_rtld_prefix.
19522 (run_program_prefix): Define in terms of test_wrapper and
19523 run_via_rtld_prefix.
19525 2012-10-24 Roland McGrath <roland@hack.frob.com>
19527 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19528 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19532 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19533 Declare __clock_getres, __clock_gettime, __clock_settime,
19534 __clock_nanosleep, and __clock_getcpuclockid.
19535 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19536 Remove librt_hidden_def (clock_gettime).
19537 * sysdeps/unix/clock_gettime.c: Likewise.
19538 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19540 * rt/clock_getres.c: Define __clock_getres as an alias.
19541 * sysdeps/posix/clock_getres.c: Likewise.
19542 * rt/clock_settime.c: Define __clock_settime as an alias.
19543 * sysdeps/unix/clock_settime.c: Likewise.
19544 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19545 * sysdeps/unix/clock_nanosleep.c: Likewise.
19546 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19547 * rt/clock-compat.c: New file.
19548 * rt/Makefile (librt-routines): Add clock-compat and move
19549 $(clock-routines) to ...
19550 (routines): ... here, new variable.
19551 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19552 Don't add get_clockfreq here.
19553 * rt/Versions (libc: GLIBC_2.17): New version set.
19554 Add clock_* symbols here.
19555 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19556 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19557 (GLIBC_2.17): Add clock_* symbols.
19558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19560 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19569 * NEWS: Mention the move.
19571 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19572 Use __open, __read, __close rather than their public counterparts.
19573 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19574 (__get_clockfreq_via_cpuinfo): Likewise.
19575 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19576 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19578 * config.h.in (HAVE_IFUNC): New #undef.
19579 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19581 * configure: Regenerated.
19583 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19585 * configure.in: Move READELF check to start of file.
19586 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19587 libc_cv_asm_gnu_indirect_function in the process.
19588 * configure: Regenerated.
19590 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19592 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19593 send the output to /dev/null.
19594 (libc_cv_cc_with_libunwind): Likewise.
19595 (libc_cv_as_noexecstack): Likewise.
19596 * configure: Regenerate.
19598 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19600 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19602 * posix/globtest.sh (TMPDIR): Do not set.
19603 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19604 (testout): Likewise.
19606 2012-10-24 Andreas Jaeger <aj@suse.de>
19608 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19609 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19610 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19611 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19612 posix_fadvise64, posix_fallocate64.
19614 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19615 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19616 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19618 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19620 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19623 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19624 <bits/fcntl-linux.h>.
19625 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19628 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19629 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19630 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19631 [__WORDSIZE != 64]: Likewise.
19633 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19635 * Makeconfig (run-built-tests): New variable.
19636 * Rules [$(cross-compiling) = yes]: Change condition to
19637 [$(run-built-tests) = no].
19638 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19639 to [$(run-built-tests) = yes].
19640 * elf/Makefile [$(cross-compiling) = no]: Likewise
19641 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19642 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19643 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19644 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19645 * io/Makefile [$(cross-compiling) = no]: Likewise.
19646 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19647 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19648 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19649 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19650 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19651 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19652 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19653 * string/Makefile [$(cross-compiling) = no]: Likewise.
19655 * posix/Makefile ($(objpfx)globtest.out): Pass
19656 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19657 $(rtld-installed-name).
19658 * posix/globtest.sh (elf_objpfx): Remove variable.
19659 (rtld_installed_name): Likewise.
19660 (library_path): Likewise.
19661 (run_program_prefix): New variable. Use for running globtest
19664 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19665 Joseph Myers <joseph@codesourcery.com>
19667 * Makeconfig (host-built-program-cmd): New variable.
19668 * elf/Makefile (tst-stackguard1-ARGS): Use
19669 $(host-built-program-cmd).
19670 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19671 (tst-spawn-ARGS): Likewise.
19672 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19674 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19675 Jim Blandy <jimb@codesourcery.com>
19677 * Makeconfig (run-via-rtld-prefix): New variable.
19678 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19679 (built-program-cmd): Likewise.
19681 2012-10-22 Andreas Jaeger <aj@suse.de>
19683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19684 __O_RSYNC if it exists, otherwise to O_SYNC.
19686 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19687 Joseph Myers <joseph@codesourcery.com>
19689 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19691 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19693 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19696 2012-10-22 Andreas Jaeger <aj@suse.de>
19698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19703 bits/fcntl-linux.h.
19705 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19706 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19713 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19714 Joseph Myers <joseph@codesourcery.com>
19716 * config.make.in (NM): New variable.
19718 2012-10-21 Andreas Jaeger <aj@suse.de>
19720 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19721 definitions and declarations that are provided by
19722 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19724 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19727 * elf/Makefile (tests-static): Add tst-leaks1-static.
19728 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19729 ($(objpfx)tst-leaks1-static): New rule.
19730 ($(objpfx)tst-leaks1-static-mem): Likewise.
19731 (tst-leaks1-static-ENV): New macro.
19732 * elf/dl-open.c (dl_open_worker): Check the main application
19733 only if SHARED is defined.
19734 * elf/tst-leaks1-static.c: New file.
19736 2012-10-20 Andreas Jaeger <aj@suse.de>
19738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19739 generic values for Linux.
19740 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19741 and declarations that are provided by <bits/fcntl-linux.h> and
19742 include <bits/fcntl-linux.h>.
19743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19746 2012-10-20 Roland McGrath <roland@hack.frob.com>
19748 * io/fcntl.h: Move include of <bits/types.h> to the top and
19749 include it unconditionally.
19751 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19753 * wcsmbs/Makefile (tests-ifunc): New variable.
19754 (tests): Add $(tests-ifunc).
19755 * wcsmbs/test-wcschr-ifunc.c: New file.
19756 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19757 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19758 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19759 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19760 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19762 * string/Makefile (tests-ifunc): New variable.
19763 (tests): Add $(tests-ifunc).
19764 * string/test-memccpy.c (TEST_NAME): New macro.
19765 * string/test-memchr.c (TEST_NAME): Likewise.
19766 * string/test-memcmp.c (TEST_NAME): Likewise.
19767 * string/test-memcpy.c (TEST_NAME): Likewise.
19768 * string/test-memmem.c (TEST_NAME): Likewise.
19769 * string/test-memmove.c (TEST_NAME): Likewise.
19770 * string/test-memset.c (TEST_NAME): Likewise.
19771 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19772 * string/test-stpcpy.c (TEST_NAME): Likewise.
19773 * string/test-stpncpy.c (TEST_NAME): Likewise.
19774 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19775 * string/test-strcasestr.c (TEST_NAME): Likewise.
19776 * string/test-strcat.c (TEST_NAME): Likewise.
19777 * string/test-strchr.c (TEST_NAME): Likewise.
19778 * string/test-strcmp.c(TEST_NAME): Likewise.
19779 * string/test-strcpy.c (TEST_NAME): Likewise.
19780 * string/test-strcspn.c (TEST_NAME): Likewise.
19781 * string/test-strlen.c (TEST_NAME): Likewise.
19782 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19783 * string/test-strncmp.c (TEST_NAME): Likewise.
19784 * string/test-strncpy.c (TEST_NAME): Likewise.
19785 * string/test-strnlen.c (TEST_NAME): Likewise.
19786 * string/test-strpbrk.c (TEST_NAME): Likewise.
19787 * string/test-strrchr.c (TEST_NAME): Likewise.
19788 * string/test-strspn.c (TEST_NAME): Likewise.
19789 * string/test-strstr.c (TEST_NAME): Likewise.
19790 * string/test-bcopy-ifunc.c: New file.
19791 * string/test-bzero-ifunc.c: Likewise.
19792 * string/test-memccpy-ifunc.c: Likewise.
19793 * string/test-memchr-ifunc.c: Likewise.
19794 * string/test-memcmp-ifunc.c: Likewise.
19795 * string/test-memcpy-ifunc.c: Likewise.
19796 * string/test-memmem-ifunc.c: Likewise.
19797 * string/test-memmove-ifunc.c: Likewise.
19798 * string/test-mempcpy-ifunc.c: Likewise.
19799 * string/test-memset-ifunc.c: Likewise.
19800 * string/test-rawmemchr-ifunc.c: Likewise.
19801 * string/test-stpcpy-ifunc.c: Likewise.
19802 * string/test-stpncpy-ifunc.c: Likewise.
19803 * string/test-strcasecmp-ifunc.c: Likewise.
19804 * string/test-strcasestr-ifunc.c: Likewise.
19805 * string/test-strcat-ifunc.c: Likewise.
19806 * string/test-strchr-ifunc.c: Likewise.
19807 * string/test-strchrnul-ifunc.c: Likewise.
19808 * string/test-strcmp-ifunc.c: Likewise.
19809 * string/test-strcpy-ifunc.c: Likewise.
19810 * string/test-strcspn-ifunc.c: Likewise.
19811 * string/test-strlen-ifunc.c: Likewise.
19812 * string/test-strncasecmp-ifunc.c: Likewise.
19813 * string/test-strncat-ifunc.c: Likewise.
19814 * string/test-strncmp-ifunc.c: Likewise.
19815 * string/test-strncpy-ifunc.c: Likewise.
19816 * string/test-strnlen-ifunc.c: Likewise.
19817 * string/test-strpbrk-ifunc.c: Likewise.
19818 * string/test-strrchr-ifunc.c: Likewise.
19819 * string/test-strspn-ifunc.c: Likewise.
19820 * string/test-strstr-ifunc.c: Likewise.
19822 * debug/Makefile (tests-ifunc): New variable.
19823 (tests): Add $(tests-ifunc).
19824 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19825 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19826 * debug/test-stpcpy_chk-ifunc.c: New file.
19827 * debug/test-strcpy_chk-ifunc.c: Likewise.
19829 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19832 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19833 header is not read in.
19835 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19837 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19838 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19839 directly. Pass built executable to script as
19840 $(built-program-cmd).
19841 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19842 $testprogram without using LD_LIBRARY_PATH and $ldso.
19844 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19845 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19846 $(rtld-installed-name).
19847 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19848 (rtld_installed_name): Likewise.
19849 (library_path): Likewise.
19850 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19851 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19852 $(run-program-prefix) to tst-tables.sh.
19853 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19854 it to run tst-table-from and tst-table-to.
19855 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19856 Pass it to tst-table.sh.
19857 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19858 $(run-program-prefix) to tst-gettext.sh.
19859 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19861 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19863 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19864 to run tst-gettext.
19865 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19866 to run tst-gettext2.
19867 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19868 to run tst-translit.
19869 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19870 $(run-program-prefix) to tst-mtrace.sh.
19871 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19873 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19874 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19875 $(rtld-installed-name).
19876 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19877 (rtld_installed_name): Likewise.
19878 (run_program_prefix): New variable. Use it to run wordexp-test.
19880 * Makeconfig (ARCH): Remove all definitions.
19881 (machine): Likewise.
19882 [ARCH]: Remove conditional code.
19883 [!objdir]: Give error.
19884 [!objdir] (objpfx): Remove.
19885 [!objdir] (common-objpfx): Likewise.
19886 [!objdir] (common-objdir): Likewise.
19887 * configure.in (config_makefile): Remove. Hardcode Makefile in
19888 AC_CONFIG_FILES call.
19889 * configure: Regenerated.
19892 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19894 (testout): Likewise.
19896 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19897 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19898 $(rtld-installed-name).
19899 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19900 (rtld_installed_name): Likwise.
19901 (runit): Remove function.
19902 (run_getconf): New variable, Use it for running getconf binary.
19904 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19907 * string/test-memmem.c (check_result): New function.
19908 (do_one_test): Use it.
19909 (check1): New function.
19910 (test_main): Use it.
19912 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19914 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19916 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19918 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19919 (_G_LSEEK64): Likewise.
19920 (_G_MMAP64): Likewise.
19921 (_G_FSTAT64): Likewise.
19922 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19923 (_G_LSEEK64): Likewise.
19924 (_G_MMAP64): Likewise.
19925 (_G_FSTAT64): Likewise.
19926 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19927 unconditional. Call __mmap64 directly.
19928 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19929 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19930 __lseek64 directly.
19931 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19932 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19934 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19935 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19936 __lseek64 directly.
19937 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19938 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19939 __lseek64 directly.
19940 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19941 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19942 __lseek64 directly.
19943 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19944 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19945 __fxstat64 directly.
19946 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19947 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19949 (freopen64) [!_G_OPEN64]: Remove conditional code.
19950 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19952 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19953 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19955 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19956 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19958 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19959 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19961 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19962 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19964 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19965 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19967 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19968 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19970 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19972 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19975 * manual/memory.texi (Malloc Tunable Parameters): Add note
19976 about free list pointers overwriting some perturb bytes.
19977 Wording suggested by Roland McGrath.
19979 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19981 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19982 (lgamma_test): Likewise.
19983 (tgamma_test): Likewise.
19985 2012-10-16 Florian Weimer <fweimer@redhat.com>
19988 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19989 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19991 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19993 * NEWS: Mention BZ #14716.
19994 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19995 when removing AVAILABLE1_USES_J macro.
19997 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19999 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20000 (__bswap_64): __uint64_t for unsigned 64-bit int.
20002 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20004 * include/string.h (memmem): Declare libc hidden alias.
20005 * string/memmem.c (memmem): Define libc hidden alias.
20006 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20007 __read, __close instead of open, read, close.
20009 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20012 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20014 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20015 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20016 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20018 (__rawmemchr_sse2): Likewise.
20019 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20020 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20021 (__strchr_sse2): Likewise.
20022 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20023 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20024 (__strcasecmp_sse2): Likewise.
20025 (__strncasecmp_sse2): Likewise.
20026 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20027 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20028 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20029 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20030 (__strrchr_sse2): Likewise.
20031 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20033 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20034 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20035 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20036 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20037 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20038 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20039 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20040 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20041 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20042 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20043 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20044 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20045 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20046 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20047 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20048 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20049 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20050 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20051 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20052 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20053 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20054 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20055 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20056 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20057 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20058 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20059 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20060 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20061 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20062 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20064 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20066 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20067 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20068 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20069 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20071 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20073 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20074 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20075 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20076 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20078 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20079 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20080 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20081 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20082 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20083 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20084 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20085 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20086 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20087 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20088 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20089 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20090 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20091 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20092 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20094 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20095 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20096 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20097 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20098 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20099 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20100 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20101 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20102 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20103 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20104 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20105 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20106 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20107 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20108 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20109 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20110 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20111 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20112 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20113 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20114 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20115 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20116 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20117 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20118 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20120 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20121 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20122 * include/ifunc-impl-list.h: New file.
20123 * misc/ifunc-impl-list.c: Likewise.
20124 * misc/Makefile (routines): Add ifunc-impl-list.
20125 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20126 * string/test-string.h: Include <ifunc-impl-list.h>.
20127 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20128 impl_array): New variables.
20129 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20131 (test_init): Call __libc_ifunc_impl_list to initialize
20132 func_list if TEST_IFUNC and TEST_NAME are defined.
20134 * string/Makefile (strop-tests): Add bcopy and bzero.
20135 * string/test-bcopy.c: New file.
20136 * string/test-bzero.c: Likewise.
20137 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20139 * string/test-memset.c: Support bzero test if TEST_BZERO is
20141 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20143 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20145 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20148 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20150 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20151 * configure: Regenerated.
20153 * Makeconfig (+link-static-before-libc): Don't include
20154 $(link-static-libc).
20156 * libio/libio.h (_IO_pos_t): Remove.
20158 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20160 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20163 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20165 * crypt/crypt-entry.c: Include fips-private.h.
20166 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20167 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20168 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20169 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20171 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20173 * crypt/crypt-private.h: Include stdbool.h.
20174 (_ufc_setup_salt_r): Return bool.
20175 * crypt/crypt-entry.c: Include errno.h.
20176 (__crypt_r): Return NULL with EINVAL for bad salt.
20177 * crypt/crypt_util.c (bad_for_salt): New.
20178 (_ufc_setup_salt_r): Check that salt is long enough and within
20179 the specified alphabet.
20180 * crypt/badsalttest.c: New file.
20181 * crypt/Makefile (tests): Add it.
20182 ($(objpfx)badsalttest): New.
20184 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20186 * NEWS: Add entry for BZ #14602.
20188 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20190 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20192 * math/libm-test.inc: Update comment listing what functions and
20194 (isgreater_test): New function.
20195 (isgreaterequal_test): Likewise.
20196 (isless_test): Likewise.
20197 (islessequal_test): Likewise.
20198 (islessgreater_test): Likewise.
20199 (isunordered_test): Likewise.
20200 (main): Call the new functions.
20202 2012-10-09 Roland McGrath <roland@hack.frob.com>
20204 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20205 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20206 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20207 * sysdeps/i386/configure: Regenerated.
20208 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20209 * sysdeps/mach/configure: Regenerated.
20210 * sysdeps/mach/hurd/configure: Regenerated.
20211 * sysdeps/powerpc/configure: Regenerated.
20212 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20213 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20214 * sysdeps/s390/s390-32/configure: Regenerated.
20215 * sysdeps/s390/s390-64/configure: Regenerated.
20216 * sysdeps/sh/configure: Regenerated.
20217 * sysdeps/sparc/configure: Regenerated.
20218 * sysdeps/unix/sysv/linux/configure: Regenerated.
20219 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20220 * sysdeps/x86_64/configure: Regenerated.
20222 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20223 defined. Don't check if MAP is NULL.
20225 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20227 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20228 (_G_stat64): Likewise.
20229 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20230 (_G_stat64): Likewise.
20231 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20232 instead of struct _G_stat64.
20233 * libio/fileops.c (mmap_remap_check): Likewise.
20234 (decide_maybe_mmap): Likewise.
20235 (_IO_new_file_seekoff): Likewise.
20236 (_IO_file_stat): Likewise.
20237 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20239 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20240 instead of struct _G_stat64.
20241 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20243 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20246 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20248 (CHECK_EOL): New macro.
20249 (two_way_short_needle): Check beginning of haystack for EOL. Use
20251 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20252 Replace with CHECK_EOL.
20253 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20254 Replace with CHECK_EOL.
20256 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20258 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20260 * math/libm-test.inc: Update comment listing what functions and
20262 (finite_test): New function.
20263 (isinf_test): Likewise.
20264 (isnan_test): Likewise.
20265 (fpclassify_test): Test subnormal input.
20266 (isfinite_test): Likewise.
20267 (isnormal_test): Likewise.
20268 (main): Call the new functions.
20270 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20273 * Makerules (%.dynsym): Force C locale when running
20274 $(OBJDUMP) --dynamic-syms.
20276 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20278 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20281 2012-10-06 David S. Miller <davem@davemloft.net>
20283 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20284 upper 32-bits of the length value in %o2 since we use branch-on-register
20285 tests which consider the entire 64-bit register.
20287 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20289 * string/test-strstr.c (check2): Add a test for page boundary.
20291 2012-10-05 David S. Miller <davem@davemloft.net>
20293 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20294 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20296 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20298 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20299 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20300 and bzero when HWCAP_SPARC_CRYPTO is present.
20302 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20305 * string/test-strstr.c (check2): New function.
20306 (test_main): Call check2.
20308 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20310 * string/bug-strcasestr1.c (do_test): Moved to ...
20311 * string/test-strcasestr.c (check1): Here. New function.
20312 (do_one_test): Break out result checking code into ...
20313 (check_result): This. New function.
20314 (do_one_test): Call check_result.
20315 (test_main): Call check1.
20316 * string/bug-strchr1.c (do_test): Moved to ...
20317 * string/test-strchr.c (check1): Here. New function.
20318 (do_one_test): Break out result checking code into ...
20319 (check_result): This. New function.
20320 (do_one_test): Call check_result.
20321 (test_main): Call check1.
20322 * string/bug-strstr1.c (main): Moved to ...
20323 * string/test-strstr.c (check1): Here. New function.
20324 (do_one_test): Break out result checking code into ...
20325 (check_result): This. New function.
20326 (do_one_test): Call check_result.
20327 (test_main): Call check1.
20328 * string/bug-strcasestr1.c: Removed.
20329 * string/bug-strchr1.c: Likewise.
20330 * string/bug-strstr1.c: Likewise.
20332 * elf/Makefile (dl-routines): Add hwcaps.
20333 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20334 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20335 (_dl_important_hwcaps): Moved to ...
20336 * elf/dl-hwcaps.c: Here. New file.
20337 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20340 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20341 if IS_IN_rtld isn't defined.
20343 * elf/dl-support.c (_dl_sysinfo_map): New.
20344 Include "get-dynamic-info.h" and "setup-vdso.h".
20345 (_dl_non_dynamic_init): Call setup_vdso.
20346 * elf/dynamic-link.h: Don't include <assert.h>.
20347 (elf_get_dynamic_info): Moved to ...
20348 * elf/get-dynamic-info.h: Here. New file.
20349 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20350 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20351 * elf/setup-vdso.h: Here. New file.
20352 * elf/rtld.c: Include "setup-vdso.h".
20353 (dl_main): Call setup_vdso.
20355 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20357 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20358 creal in comment listing functions tested. List finite, isinf,
20359 isnan, isless, islessequal, isgreater, isgreaterequal,
20360 islessgreater, isunordered, lgamma_r and pow10 as functions and
20361 macros not tested. Mention which functions not tested are aliases
20362 for other functions. Fix typo. Note that signs of NaNs are not
20365 * scripts/config.guess: Update from config.git.
20366 * scripts/config.sub: Likewise.
20368 2012-10-04 Roland McGrath <roland@hack.frob.com>
20370 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20371 * misc/madvise.c (madvise): Renamed to __madvise.
20372 Make madvise a weak alias.
20373 * include/sys/mman.h: Declare __madvise.
20374 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20375 * sysdeps/unix/syscalls.list
20376 (madvise): Make __madvise the strong name, and madvise a weak alias.
20377 * sysdeps/unix/sysv/linux/syscalls.list
20378 (madvise, mmap): Remove redundant entries.
20379 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20380 * malloc/malloc.c (mtrim): Likewise.
20381 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20383 2012-10-03 Roland McGrath <roland@hack.frob.com>
20385 * sysdeps/mach/hurd/dl-cache.c: File removed.
20386 * config.h.in (USE_LDCONFIG): New #undef.
20387 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20388 * configure: Regenerated.
20389 * elf/Makefile (dl-routines): Add dl-cache only under
20390 [$(use-ldconfig) = yes].
20391 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20392 cache on [USE_LDCONFIG].
20393 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20395 * elf/rtld.c (dl_main): Likewise.
20397 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20399 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20400 _SC_LEVEL4_CACHE_LINESIZE.
20402 2012-10-03 Roland McGrath <roland@hack.frob.com>
20404 * sysdeps/unix/bsd/confstr.h: File removed.
20406 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20408 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20411 2012-10-02 Roland McGrath <roland@hack.frob.com>
20413 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20414 Make 'mapoff' field ElfW(Off) rather than off_t.
20416 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20418 * nscd/Makefile: Remove nscd-cflags and all its users.
20419 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20420 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20423 * malloc.c (malloc_printerr): Clarify error message.
20425 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20429 Set bit_FMA_Usable if FMA is supported.
20430 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20432 (bit_FMA4_Usable): Updated.
20433 (index_FMA_Usable): New macro.
20434 (CPUID_FMA): Likewise
20435 (HAS_FMA): Defined with bit_FMA_Usable.
20437 2012-10-01 Roland McGrath <roland@hack.frob.com>
20439 * bits/types.h (__swblk_t): Type removed.
20440 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20441 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20442 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20443 (__SWBLK_T_TYPE): Likewise.
20444 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20445 (__SWBLK_T_TYPE): Likewise.
20446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20447 (__SWBLK_T_TYPE): Likewise.
20448 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20449 (__SWBLK_T_TYPE): Likewise.
20451 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20452 Honza Horak <hhorak@redhat.com>
20454 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20455 (xdr_mapname): Use YPMAXMAP as maxsize.
20456 (xdr_peername): Use YPMAXPEER as maxsize.
20457 (xdr_keydat): Use YPAXRECORD as maxsize.
20458 (xdr_valdat): Use YPMAXRECORD as maxsize.
20460 2012-10-01 Roland McGrath <roland@hack.frob.com>
20462 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20464 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20465 * csu/init-first.c: ... here.
20466 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20467 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20468 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20469 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20470 * sysdeps/i386/init-first.c: File removed.
20471 * sysdeps/sh/init-first.c: File removed.
20473 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20477 if x * y might underflow to zero and z is zero.
20478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20480 * math/libm-test.inc (min_subnorm_value): New variable.
20481 (fma_test): Add more tests.
20482 (fma_test_towardzero): Likewise.
20483 (fma_test_downward): Likewise
20484 (fma_test_upward): Likewise.
20485 (initialize): Set min_subnorm_value.
20487 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20492 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20493 mode for addition resulting in exact zero.
20494 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20497 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20499 * math/libm-test.inc (fma_test): Add more tests.
20500 (fma_test_towardzero): New function.
20501 (fma_test_downward): Likewise.
20502 (fma_test_upward): Likewise.
20503 (main): Call the new functions.
20505 2012-09-28 David S. Miller <davem@davemloft.net>
20507 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20509 2012-09-28 Roland McGrath <roland@hack.frob.com>
20511 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20512 instead of SIGALRM.
20514 * sysdeps/gnu/_G_config.h: Moved to ...
20515 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20516 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20517 * sysdeps/generic/_G_config.h: ... here.
20519 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20521 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20523 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20524 Conditionalize target on [libnss_test1.so-version].
20526 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20528 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20529 (elfobjdir): Move out of conditionals.
20531 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20532 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20533 (__nss_lookup_function): Conditionalize label remove_from_tree on
20534 [!DO_STATIC_NSS || SHARED], matching its only use.
20536 2012-09-28 David S. Miller <davem@davemloft.net>
20538 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20539 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20541 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20543 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20545 when HWCAP_SPARC_CRYPTO is present.
20547 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20549 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20551 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20554 * stdio-common/vfprintf.c (process_string_arg): Revert
20557 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20559 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20561 * stdio-common/tst-sprintf.c: Include <locale.h>
20562 (main): Test sprintf's handling of incomplete multibyte
20565 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20567 * elf/dl-runtime.c (VERSYMIDX): Removed.
20568 * elf/dl-version.c (VERSYMIDX): Likewise.
20569 * elf/do-rel.h (VERSYMIDX): Likewise.
20570 (VALIDX): Likewise.
20571 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20572 * elf/rtld.c (VALIDX): Likewise.
20573 (ADDRIDX): Likewise.
20574 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20575 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20576 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20577 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20578 (VALIDX): Likewise.
20579 (ADDRIDX): Likewise.
20581 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20583 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20585 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20588 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20590 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20591 addresses are in the same scope as 192.0.2/24.
20592 * posix/gai.conf: Document new scope table defaults.
20594 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20597 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20598 for ftell. Compute offsets from write pointers instead.
20599 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20601 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20604 * libio/Makefile (tests): New test case tst-fseek.
20605 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20606 combination works in wide mode.
20607 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20608 state when the external buffer state changes.
20610 2012-09-27 David S. Miller <davem@davemloft.net>
20613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20614 pass reloc->r_addend in as the 'high' argument to
20615 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20619 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20621 * rt/tst-aio2.c: Include <pthread.h>.
20622 * rt/tst-aio3.c: Likewise.
20624 2012-09-27 Steve Ellcey <sellcey@mips.com>
20626 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20628 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20630 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20631 contents on [SHARED].
20633 2012-09-26 Marek Polacek <polacek@redhat.com>
20637 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20638 for C++ and GCC <4.3 as well as for non GCC compilers.
20640 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20644 2012-09-25 Roland McGrath <roland@hack.frob.com>
20646 * Makefile.in (all, install): Declare with .PHONY.
20647 Reported by Michael Hope <michael.hope@linaro.org>.
20649 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20651 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20652 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20654 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20656 (sydep_routines): Add the new and the internal functions.
20657 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20658 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20660 (GLIBC_2.17): Add the new function.
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20662 (GLIBC_2.17): Likewise.
20663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20664 (GLIBC_2.17): Likewise.
20665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20666 (GLIBC_2.17): Likewise.
20667 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20669 2012-09-25 Alan Modra <amodra@gmail.com>
20671 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20672 Add release barrier before setting once_control to say
20673 initialisation is done. Add hints on lwarx. Use macro in
20675 (clear_once_control): Add release barrier.
20677 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20680 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20682 * math/s_clog10.c (__clog10): Likewise.
20683 * math/s_clog10f.c (__clog10f): Likewise.
20684 * math/s_clog10l.c (__clog10l): Likewise.
20685 * math/s_clogf.c (__clogf): Likewise.
20686 * math/s_clogl.c (__clogl): Likewise.
20687 * math/Makefile (libm-calls): Add x2y2m1.
20688 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20689 (__x2y2m1): Likewise.
20690 (__x2y2m1l): Likewise.
20691 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20692 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20693 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20694 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20695 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20696 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20697 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20698 * sysdeps/i386/fpu/libm-test-ulps: Update.
20699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20702 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20703 int as type of variable DEPTH.
20704 (glob): Use size_t instead of int as type of variables NEWCOUNT
20707 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20709 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20710 Add s_sincosf-sse2.
20711 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20712 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20713 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20714 macros for using routine as __sincosf_ia32.
20715 Use macro for function declaration and weak_alias.
20716 * sysdeps/i386/fpu/libm-test-ulps: Update.
20718 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20721 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20722 subnormal argument.
20723 * math/s_cexpf.c (__cexpf): Likewise.
20724 * math/s_csinf.c (__csinf): Likewise.
20725 * math/s_csinhf.c (__csinhf): Likewise.
20726 * math/s_ctanf.c (__ctanf): Likewise.
20727 * math/s_ctanhf.c (__ctanhf): Likewise.
20728 * math/s_ccosh.c (__ccoshf): Likewise.
20729 * math/s_cexp.c (__cexpl): Likewise.
20730 * math/s_csin.c (__csin): Likewise.
20731 * math/s_csinh.c (__csinh): Likewise.
20732 * math/s_ctan.c (__ctan): Likewise.
20733 * math/s_ctanh.c (ctanh): Likewise.
20734 * math/s_ccoshl.c (__ccoshl): Likewise.
20735 * math/s_cexpl.c (__cexpl): Likewise.
20736 * math/s_csinl.c (__csinl): Likewise.
20737 * math/s_csinhl.c (__csinhl): Likewise.
20738 * math/s_ctanl.c (__ctanl): Likewise.
20739 * math/s_ctanhl.c (__ctanhl): Likewise.
20741 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20743 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20744 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20745 (_IO_off_t): Define to __off_t, not _G_off_t.
20746 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20747 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20748 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20749 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20750 type of __dummy and __dummy2 fields.
20751 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20752 (_G_ssize_t): Likewise.
20753 (_G_off_t): Likewise.
20754 (_G_pid_t): Likewise.
20755 (_G_uid_t): Likewise.
20756 (_G_wchar_t): Likewise.
20757 (_G_wint_t): Likewise.
20758 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20759 (_G_ssize_t): Likewise.
20760 (_G_off_t): Likewise.
20761 (_G_pid_t): Likewise.
20762 (_G_uid_t): Likewise.
20763 (_G_wchar_t): Likewise.
20764 (_G_wint_t): Likewise.
20765 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20766 (_G_ssize_t): Likewise.
20767 (_G_off_t): Likewise.
20768 (_G_pid_t): Likewise.
20769 (_G_uid_t): Likewise.
20770 (_G_wchar_t): Likewise.
20771 (_G_wint_t): Likewise.
20773 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20775 * malloc/arena.c: Include malloc-sysdep.h.
20776 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20777 is sufficient to shrink the heap or an unmap is needed.
20778 * sysdeps/generic/malloc-sysdep.h: New file. Define
20779 new function check_may_shrink_heap.
20780 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20781 new function check_may_shrink_heap.
20783 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20785 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20788 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20790 * catgets/test-gencat.sh: Add "set -e".
20791 * elf/tst-pathopt.sh: Likewise.
20792 * grp/tst_fgetgrent.sh: Likewise.
20793 * iconvdata/run-iconv-test.sh: Likewise.
20794 * intl/tst-gettext.sh: Likewise.
20795 * intl/tst-gettext2.sh: Likewise.
20796 * intl/tst-gettext4.sh: Likewise.
20797 * intl/tst-gettext6.sh: Likewise.
20798 * intl/tst-translit.sh: Likewise.
20799 * io/ftwtest-sh: Likewise.
20800 * libio/test-freopen.sh: Likewise.
20801 * malloc/tst-mtrace.sh: Likewise.
20802 * posix/globtest.sh: Likewise.
20803 * posix/tst-getconf.sh: Likewise.
20804 * posix/wordexp-tst.sh: Likewise.
20805 * stdio-common/tst-printf.sh: Likewise.
20806 * stdio-common/tst-unbputc.sh: Likewise.
20807 * stdlib/tst-fmtmsg.sh: Likewise.
20808 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20809 * catgets/Makefile: Do not specify -e option when running
20810 testsuite shell scripts.
20811 * elf/Makefile: Likewise.
20812 * grp/Makefile: Likewise.
20813 * iconvdata/Makefile: Likewise.
20814 * intl/Makefile: Likewise.
20815 * io/Makefile: Likewise.
20816 * libio/Makefile: Likewise.
20817 * malloc/Makefile: Likewise.
20818 * posix/Makefile: Likewise.
20819 * stdio-common/Makefile: Likewise.
20820 * stdlib/Makefile: Likewise.
20821 * sysdeps/x86_64/Makefile: Likewise.
20823 * io/ftwtest-sh: Add copyright header.
20824 * posix/globtest.sh: Likewise.
20825 * posix/tst-getconf.sh: Likewise.
20826 * posix/wordexp-tst.sh: Likewise.
20827 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20829 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20832 * Makeconfig (+link): Defined as $(+link-static) if
20833 $(build-shared) isn't yes.
20834 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20836 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20838 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20841 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20842 new chunk size with MALLOC_ALIGN_MASK.
20844 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20847 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20849 (__printf_fphex): Determine rounding using get_rounding_mode and
20851 * stdio-common/tst-printf-round.c (struct hex_test): New
20853 (hex_tests): New variable.
20854 (test_hex_in_one_mode): New function.
20855 (do_test): Also run tests for hex float output.
20857 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20859 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20860 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20861 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20862 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20863 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20864 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20865 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20866 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20868 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20870 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20871 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20872 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20873 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20875 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20878 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20880 * elf/tst-rtld-load-self.sh: New test.
20881 * elf/Makefile: Run it.
20883 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20885 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20886 (tst-writev-ENV): Remove.
20887 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20889 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20891 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20893 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20895 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20897 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20899 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20900 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20901 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20904 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20907 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20908 * config.make.in (have-cpp-asm-debuginfo): Removed.
20909 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20910 * configure: Regenerated.
20912 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20915 * stdio-common/printf_fp.c: Include <stdbool.h> and
20917 (___printf_fp): Determine rounding using get_rounding_mode and
20919 * stdio-common/tst-printf-round.c: New file.
20920 * stdio-common/Makefile (tests): Add tst-printf-round.
20921 (link-libm): New variable.
20922 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20924 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20927 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20928 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20930 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20933 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20935 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20936 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20937 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20938 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20940 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20943 * include/rounding-mode.h: New file.
20944 * sysdeps/generic/get-rounding-mode.h: Likewise.
20945 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20946 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20947 (MAX_VALUE): New macro.
20948 (MIN_VALUE): Likewise.
20949 (overflow_value): New function.
20950 (underflow_value): Likewise.
20951 (round_and_return): Use overflow_value and underflow_value to
20952 determine return values in overflow and underflow cases. Use
20953 round_away to determine rounding depending on rounding mode.
20954 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20955 determine return values in overflow and underflow cases.
20956 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20957 (struct test_results): New structure.
20958 (struct test): Use struct test_results to store expected results
20959 for all rounding modes.
20960 (TEST): Include expected results for all rounding modes.
20961 (test_in_one_mode): New function.
20962 (do_test): Use test_in_one_mode to compute and check results.
20963 Check results for all rounding modes.
20964 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20967 2012-12-09 Allan McRae <allan@archlinux.org>
20969 * sysdeps/i386/fpu/libm-test-ulps: Update
20971 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20973 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20974 (_G_int32_t): Likewise.
20975 (_G_uint16_t): Likewise.
20976 (_G_uint32_t): Likewise.
20977 (_G_HAVE_BOOL): Likewise.
20978 (_G_HAVE_ATEXIT): Likewise.
20979 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20980 (_G_HAVE_IO_FILE_OPEN): Likewise.
20981 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20982 (_G_int32_t): Likewise.
20983 (_G_uint16_t): Likewise.
20984 (_G_uint32_t): Likewise.
20985 (_G_HAVE_BOOL): Likewise.
20986 (_G_HAVE_ATEXIT): Likewise.
20987 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20988 (_G_HAVE_IO_FILE_OPEN): Likewise.
20989 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20990 (_G_int32_t): Likewise.
20991 (_G_uint16_t): Likewise.
20992 (_G_uint32_t): Likewise.
20993 (_G_HAVE_BOOL): Likewise.
20994 (_G_HAVE_ATEXIT): Likewise.
20995 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20996 (_G_HAVE_IO_FILE_OPEN): Likewise.
20998 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21000 * csu/libc-tls.c: Update copyright years.
21002 2012-09-10 Joseph Myers <joseph@codesourcery.com>
21004 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21005 [!_G_USING_THUNKS]: Remove conditional code.
21006 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21007 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21009 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21010 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21011 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21012 (_G_VTABLE_LABEL_PREFIX): Likewise.
21013 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21014 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21015 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21016 (_G_VTABLE_LABEL_PREFIX): Likewise.
21017 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21018 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21019 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21020 (_G_VTABLE_LABEL_PREFIX): Likewise.
21021 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21023 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21025 * libio/Makefile: Include ../Makeconfig before tests.
21026 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21027 only if $(build-shared) is yes.
21029 * iconv/gconv_db.c: Update copyright years.
21031 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21033 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21034 unwind info if defined PIC. Fix special cases description.
21035 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21037 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21039 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21041 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21043 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21045 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21048 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21049 (LDLIBS-tst-chk4): This.
21050 (LDFLAGS-tst-chk5): Renamed to ...
21051 (LDLIBS-tst-chk5): This.
21052 (LDFLAGS-tst-chk6): Renamed to ...
21053 (LDLIBS-tst-chk6): This.
21054 (LDFLAGS-tst-lfschk4): Renamed to ...
21055 (LDLIBS-tst-lfschk4): This.
21056 (LDFLAGS-tst-lfschk5): Renamed to ...
21057 (LDLIBS-tst-lfschk5): This.
21058 (LDFLAGS-tst-lfschk6): Renamed to ...
21059 (LDLIBS-tst-lfschk6): This.
21061 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21062 on $(common-objpfx)soversions.mk.
21064 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21067 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21070 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21072 * malloc/arena.c (arena_get_retry): New function that gets
21073 another arena for the caller to try its request on.
21074 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21075 current arena cannot fulfill the request.
21076 (__libc_memalign): Likewise.
21077 (__libc_memalign): Likewise.
21078 (__libc_pvalloc): Likewise.
21079 (__libc_calloc): Likewise.
21081 2012-09-05 John Tobey <john.tobey@gmail.com>
21084 * manual/arith.texi (Operations on Complex): Fix description
21085 of carg branch cut.
21087 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21090 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21094 * manual/memory.texi (Memory): Make order of menu items match
21097 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21099 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21100 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21101 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21103 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21105 * csu/libc-tls.c (static_dtv): Renamed to ...
21106 (_dl_static_dtv): This. Make it global.
21107 (_dl_initial_dtv): Removed.
21108 (__libc_setup_tls): Updated.
21109 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21110 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21113 2012-09-06 Petr Machata <pmachata@redhat.com>
21115 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21116 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21117 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21118 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21120 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21123 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21124 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21127 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21130 * Makeconfig (link-static-before-libc): Replace $(+prector)
21132 (link-static-after-libc): Replace $(+postctor) with
21134 (link-bounded): Replace $(+prector)/$(+postctor) with
21135 $(+prectorT)/$(+postctorT).
21136 (+prectorT): New macro.
21137 (+postctorT): Likewise.
21139 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21141 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21142 (round_str): Handle values above the maximum for IBM long double
21144 * stdlib/tst-strtod-round.c (tests): Regenerated.
21146 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21148 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21150 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21151 zarch_nohighgprs around the zarch optimized routines.
21152 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21153 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21154 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21157 2012-09-05 David S. Miller <davem@davemloft.net>
21159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21161 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21162 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21163 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21164 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21167 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21169 * malloc/arena.c: Fold copyright years.
21170 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21172 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21174 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21176 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21178 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21180 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21182 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21183 change internal state upon failure.
21185 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21187 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21188 * malloc/memusage.c (mmap): Likewise.
21189 (mmap64, mremap): Likewise. Adjust name in comment.
21191 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21193 * libio/fileops.c: Fix typos in comments.
21194 * libio/oldfileops.c: Likewise.
21195 * libio/wfileops.c: Likewise.
21197 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21200 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21201 (tst-malloc-usable-ENV): Set environment for test case.
21202 * malloc/hooks.c (malloc_check_get_size): New function to get
21204 * malloc/malloc.c (musable): Use malloc_check_get_size.
21205 * malloc/tst-malloc-usable.c: New test case.
21207 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21209 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21211 2012-09-05 Allan McRae <allan@archlinux.org>
21214 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21215 determine header location.
21216 * configure: Regenerated.
21218 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21220 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21222 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21223 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21225 (test): Regenerate.
21227 2012-09-04 David S. Miller <davem@davemloft.net>
21229 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21230 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21231 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21233 2012-09-04 Florian Weimer <fweimer@redhat.com>
21235 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21238 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21240 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21243 * libio/iogetdelim.c: Include <limits.h>.
21244 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21245 + len + 1 would overflow.
21247 2012-09-03 Andreas Jaeger <aj@suse.de>
21249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21250 * sysdeps/i386/fpu/libm-test-ulps: Update.
21252 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21254 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21255 Add s_sinf-sse2, s_conf-sse2.
21257 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21258 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21259 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21260 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21262 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21263 for using routine as __sinf_ia32.
21264 Use macro for function declaration and weak_alias.
21265 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21266 for using routine as __cosf_ia32.
21267 Use macro for function declaration and weak_alias.
21269 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21270 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21272 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21273 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21276 * math/libm-test.inc (cos_test): Add more test cases.
21277 (sin_test): Likewise.
21278 (sincos_test): Likewise.
21280 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21282 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21283 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21285 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21287 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21290 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21291 first element of the GOT.
21292 (elf_machine_load_address): Return the difference between
21293 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21295 2012-09-01 Allan McRae <allan@archlinux.org>
21298 * configure.in (AWK): Require gawk version 3.0 or later.
21299 * configure: Regenerated.
21301 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21303 * sysdeps/unix/sysv/linux/kernel-features.h
21304 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21306 [__NR_clock_getres]: Make code unconditional.
21307 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21308 (clock_getcpuclockid): Remove code left unreachable by removal of
21310 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21311 code unconditional.
21312 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21313 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21314 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21315 Make code unconditional.
21316 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21317 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21318 * sysdeps/unix/sysv/linux/clock_settime.c
21319 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21321 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21322 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21324 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21327 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21328 scripts/test-installation.pl.
21330 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21331 and $ld_so_version if it is set.
21333 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21336 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21337 failure if reading from procfs failed.
21338 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21340 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21342 * sysdeps/unix/sysv/linux/kernel-features.h
21343 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21344 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21345 Remove conditional code.
21346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21347 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21348 Remove conditional code.
21349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21350 * sysdeps/unix/sysv/linux/i386/fxstat.c
21351 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21353 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21354 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21356 * sysdeps/unix/sysv/linux/i386/lxstat.c
21357 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21359 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21360 Remove conditional code.
21361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21362 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21363 Remove conditional code.
21364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21365 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21366 <kernel-features.h>.
21367 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21369 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21370 Remove conditional code.
21371 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21372 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21373 Remove conditional.
21375 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21378 * NEWS: Add fixed bug number.
21380 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21383 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21384 underflowing exponent in case of negative sign.
21385 * stdlib/tst-strtod-round-data: Add more tests.
21386 * stdlib/tst-strtod-round.c (tests): Regenerated.
21389 * stdlib/strtod_l.c (NDIG): Remove.
21390 (HEXNDIG): Likewise.
21391 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21392 smallest representable value.
21393 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21394 lie within an exact representation of 1/2 ulp of the result.
21395 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21397 (TENS_P9_IDX): Define unconditionally.
21398 (TENS_P9_SIZE): Likewise.
21399 (TENS_P10_IDX): Likewise.
21400 (TENS_P10_SIZE): Likewise.
21401 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21402 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21403 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21404 entries for 10^2^13 and 10^2^14.
21405 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21406 (TENS_P13_IDX): Define.
21407 (TENS_P13_SIZE): Likewise.
21408 (TENS_P14_IDX): Likewise.
21409 (TENS_P14_SIZE): Likewise.
21410 (_fpioconst_pow10): Change array size to
21411 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21413 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21414 1024]: Add entries for 10^2^13 and 10^2^14.
21415 [LAST_POW10 > _LAST_POW10]: Remove #error.
21416 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21417 (_fpioconst_pow10): Change array size to
21418 FPIOCONST_POW10_ARRAY_SIZE.
21419 * stdlib/gen-fpioconst.c: New file.
21420 * stdlib/gen-tst-strtod-round.c: Likewise.
21421 * stdlib/tst-strtod-round-data: Likewise.
21422 * stdlib/tst-strtod-round.c: Likewise.
21423 * stdlib/Makefile (tests): Add tst-strtod-round.
21426 * stdlib/strtod_l.c: Include <stdint.h>.
21427 (NDEBUG): Do not define.
21428 (round_and_return): Change EXPONENT parameter to type intmax_t.
21429 Rearrange calculations to avoid internal overflow possibilities.
21430 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21431 Rearrange calculations to avoid internal overflow possibilities.
21432 Assert that number fits inside MPNSIZE limbs.
21433 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21434 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21435 calculations and add assertions to avoid internal overflow
21436 possibilities. Add casts to avoid signed/unsigned operations.
21437 * stdlib/tst-strtod-overflow.c: New file.
21438 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21440 2012-08-25 Marek Polacek <polacek@redhat.com>
21442 * time/time.h: Fix some typos in comments.
21444 2012-08-23 Roland McGrath <roland@hack.frob.com>
21446 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21447 * posix/tst-rfc3484-2.c: Likewise.
21448 * posix/tst-rfc3484-3.c: Likewise.
21450 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21452 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21453 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21455 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21457 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21458 #include of fxstatat64.c.
21460 2012-08-22 Roland McGrath <roland@hack.frob.com>
21462 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21463 * shadow/getspent_r.c: Likewise.
21464 * shadow/getspnam.c: Likewise.
21465 * shadow/getspnam_r.c: Likewise.
21466 * gshadow/getsgent.c: Likewise.
21467 * gshadow/getsgent_r.c: Likewise.
21468 * gshadow/getsgnam.c: Likewise.
21469 * gshadow/getsgnam_r.c: Likewise.
21470 * inet/getnetbyad.c: Likewise.
21471 * inet/getnetbyad_r.c: Likewise.
21472 * inet/getnetbynm.c: Likewise.
21473 * inet/getnetbynm_r.c: Likewise.
21474 * inet/getnetent.c: Likewise.
21475 * inet/getnetent_r.c: Likewise.
21476 * inet/getproto.c: Likewise.
21477 * inet/getproto_r.c: Likewise.
21478 * inet/getprtent.c: Likewise.
21479 * inet/getprtent_r.c: Likewise.
21480 * inet/getprtname.c: Likewise.
21481 * inet/getprtname_r.c: Likewise.
21482 * inet/getrpcbyname.c: Likewise.
21483 * inet/getrpcbyname_r.c: Likewise.
21484 * inet/getrpcbynumber.c: Likewise.
21485 * inet/getrpcbynumber_r.c: Likewise.
21486 * inet/getrpcent.c: Likewise.
21487 * inet/getrpcent_r.c: Likewise.
21488 * inet/getaliasent.c: Likewise.
21489 * inet/getaliasent_r.c: Likewise.
21490 * inet/getaliasname.c: Likewise.
21491 * inet/getaliasname_r.c: Likewise.
21492 * nscd/getgrgid_r.c: Likewise.
21493 * nscd/getgrnam_r.c: Likewise.
21494 * nscd/gethstbyad_r.c: Likewise.
21495 * nscd/gethstbynm3_r.c: Likewise.
21496 * nscd/getpwnam_r.c: Likewise.
21497 * nscd/getpwuid_r.c: Likewise.
21498 * nscd/getsrvbynm_r.c: Likewise.
21499 * nscd/getsrvbypt_r.c: Likewise.
21500 * nscd/gai.c: Likewise.
21502 * configure.in (build_nscd): New substituted variable, set
21503 by --disable-build-nscd and defaults to $use_nscd.
21504 * configure: Regenerated.
21505 * config.make.in (build-nscd): New substituted variable.
21506 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21507 Change conditional to require [$(build-nscd) = yes] as well.
21508 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21511 * configure.in (use_nscd): New substituted variable, set by
21512 --disable-nscd. If enabled, define USE_NSCD.
21513 * configure: Regenerated.
21514 * config.h.in: Add USE_NSCD.
21515 * config.make.in (use-nscd): New substituted variable.
21516 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21517 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21518 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21519 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21520 (CFLAGS-getgrnam_r.c): Likewise.
21521 (CFLAGS-initgroups.c): Likewise.
21522 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21523 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21525 * inet/getnetgrent_r.c
21526 (nscd_setnetgrent): New function, broken out of ...
21527 (setnetgrent): ... here. Call it.
21528 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21529 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21530 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21531 * nscd/Makefile (routines, aux): Move definitions after include of
21532 Makeconfig. Conditionalize on [$(use-nscd) != no].
21533 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21534 Conditionalize on [USE_NSCD].
21535 (is_nscd, nscd_init_cb): Likewise.
21536 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21537 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21538 * nss/nss_db/db-init.c: Likewise.
21539 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21541 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21542 (make_request): Use it.
21543 (cache_valid_p): New function.
21544 (__check_pf): Use it.
21545 * NEWS: Add item for --disable-nscd.
21547 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21549 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21550 to support sed >= 4.2.1-20-ga9bf076.
21551 * configure: Regenerated.
21553 2012-08-22 Roland McGrath <roland@hack.frob.com>
21555 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21556 Conditionalize whole body on [IREL].
21558 2012-08-22 Jeff Law <law@redhat.com>
21561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21562 if the family is PF_UNSPEC.
21564 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21566 * Makerules (lib-version): Rename from V.
21567 (install-lib-nosubdir): Change V to lib-version.
21569 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21572 * powerpc32/power6/wcschr.c: New file.
21573 * powerpc32/power6/wcscpy.c: New file.
21574 * powerpc32/power6/wcsrchr.c: New file.
21575 * powerpc64/power6/wcschr.c: New file.
21576 * powerpc64/power6/wcscpy.c: New file.
21577 * powerpc64/power6/wcsrchr.c: New file.
21579 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21581 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21582 (two_way_short_needle): Use it.
21583 * string/strstr.c (AVAILABLE1_USES_J): Define.
21584 * string/strcasestr.c: Likewise.
21586 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21588 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21591 * NEWS: Add an entry.
21592 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21593 define their defaults.
21594 (two_way_short_needle): Detect end-of-string on-the-fly.
21595 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21596 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21597 * string/bug-strcasestr1.c: New test.
21598 * string/Makefile: Run it.
21600 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21603 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21604 the first character.
21606 2012-08-21 Roland McGrath <roland@hack.frob.com>
21608 * csu/elf-init.c (__libc_csu_irel): Function removed.
21609 * csu/libc-start.c (apply_irel): New function.
21610 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21612 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21614 * sysdeps/unix/sysv/linux/kernel-features.h
21615 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21616 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21617 <kernel-features.h>.
21618 [__NR_fadvise64_64]: Make code unconditional.
21619 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21620 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21621 !__NR_fadvise64_64)]: Likewise.
21622 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21623 !__NR_fadvise64_64))]: Likewise.
21624 [__NR_fadvise64]: Make code unconditional.
21625 [!__NR_fadvise64]: Remove conditional code.
21626 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21627 <kernel-features.h>.
21628 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21630 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21633 not include <kernel-features.h>.
21634 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21636 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21638 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21639 include <kernel-features.h>.
21640 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21642 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21645 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21647 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21648 slight instruction rearrangements per scrollpipe analysis.
21649 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21651 2012-08-20 Roland McGrath <roland@hack.frob.com>
21653 * manual/syslog.texi (syslog; vsyslog, closelog):
21654 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21655 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21657 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21658 DSOCAPS to match condition on defining it.
21660 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21662 * sysdeps/unix/sysv/linux/kernel-features.h
21663 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21665 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21666 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21668 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21669 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21671 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21672 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21674 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21675 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21677 * sysdeps/unix/sysv/linux/kernel-features.h
21678 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21679 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21681 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21682 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21683 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21684 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21685 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21686 Make code unconditional.
21687 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21688 (__mmap64) [!__NR_mmap2]: Likewise.
21689 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21690 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21691 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21692 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21693 [__NR_mmap2]: Make code unconditional.
21694 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21695 (__mmap64) [!__NR_mmap2]: Likewise.
21697 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21699 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21701 2012-08-18 Andreas Jaeger <aj@suse.de>
21703 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21705 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21707 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21708 * include/unistd.h (__have_sock_cloexec): Likewise.
21709 (__have_pipe2): Likewise.
21710 (__have_dup3): Likewise.
21712 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21715 * include/unistd.h (__have_pipe2): Change define into an extern int.
21716 (__have_dup3): Likewise.
21717 * socket/have_sock_cloexec.c: Include fcntl.h.
21718 (__have_pipe2): New variable.
21719 (__have_dup3): Likewise.
21721 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21723 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21725 2012-08-17 Marek Polacek <polacek@redhat.com>
21727 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21728 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21730 2012-08-17 Roland McGrath <roland@hack.frob.com>
21732 * configure.in: Add AC_SUBST for sysheaders.
21733 * configure: Regenerated.
21734 * config.make.in (sysheaders): New substituted variable.
21736 * sysdeps/unix/mkfifo.c: Moved ...
21737 * sysdeps/posix/mkfifo.c: ... here.
21738 * sysdeps/unix/mkfifoat.c: Moved ...
21739 * sysdeps/posix/mkfifoat.c: ... here.
21741 * sysdeps/unix/utime.c: Moved ...
21742 * sysdeps/posix/utime.c: ... here.
21744 * sysdeps/unix/time.c: Moved ...
21745 * sysdeps/posix/time.c: ... here.
21746 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21747 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21749 * sysdeps/unix/nice.c: Moved ...
21750 * sysdeps/posix/nice.c: ... here.
21752 * sysdeps/unix/alarm.c: Moved ...
21753 * sysdeps/posix/alarm.c: ... here.
21755 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21757 2012-08-17 Jeff Law <law@redhat.com>
21759 * intl/Makefile (codeset_mo): New variable.
21760 ($(codeset_mo)): New target.
21761 (tst-codeset.out): Depend on that. Remove explicit rule.
21762 (tst-gettext3.out, tst-gettext5.out): Likewise.
21763 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21764 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21765 * intl/tst-codeset.sh: Remove.
21766 * intl/tst-gettext3.sh: Likewise.
21767 * intl/tst-gettext5.sh: Likewise.
21769 2012-08-17 Roland McGrath <roland@hack.frob.com>
21771 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21772 * sysdeps/unix/syscalls.list: ... here.
21774 * sysdeps/posix/getaddrinfo.c
21775 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21776 (gaiconf_init, gaiconf_reload): Use them.
21777 [!_STATBUF_ST_NSEC]
21778 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21779 Define using time_t rather than struct timespec.
21781 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21782 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21784 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21786 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21787 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21790 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21791 __libc_cleanup_push argument.
21793 * bits/param.h: New file.
21794 * misc/sys/param.h: New file.
21795 * include/sys/param.h: New file.
21796 * misc/Makefile (headers): Add bits/param.h.
21797 * sysdeps/generic/sys/param.h: File removed.
21798 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21799 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21800 * sysdeps/mach/hurd/bits/param.h: New file.
21801 * sysdeps/mach/hurd/sys/param.h: File removed.
21803 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21806 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21808 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21809 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21812 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21813 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21814 rather than -D_IO_MTSAFE_IO conditionally.
21815 * stdio-common/Makefile (CPPFLAGS): Likewise.
21816 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21817 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21818 Use $(libio-mtsafe).
21819 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21820 of -D_IO_MTSAFE_IO.
21821 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21822 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21823 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21824 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21825 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21826 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21827 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21828 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21829 (CFLAGS-fread_u_chk.c): Likewise.
21830 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21831 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21832 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21833 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21834 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21835 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21836 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21837 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21838 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21840 * libio/Makefile: Test [$(libc-reentrant) = yes]
21841 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21844 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21845 * sysdeps/pthread/configure: File removed.
21846 * sysdeps/pthread/Makeconfig: New file.
21847 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21848 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21850 2012-08-16 Gary Benson <gbenson@redhat.com>
21852 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21853 unmapping the first object in a namespace.
21855 2012-08-16 Roland McGrath <roland@hack.frob.com>
21857 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21858 (__internal_setnetgrent): ... this. Add internal_function to
21859 definition. Add libc_hidden_def.
21860 (setnetgrent): Update caller.
21861 (internal_endnetgrent): Renamed to ...
21862 (__internal_endnetgrent): ... this. Add internal_function to
21863 definition. Add libc_hidden_def.
21864 (endnetgrent): Update caller.
21865 (internal_getnetgrent_r): Renamed to ...
21866 (__internal_getnetgrent_r): ... this. Add internal_function to
21867 definition. Add libc_hidden_def.
21868 (__getnetgrent_r): Update caller.
21869 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21871 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21873 * stdlib/longlong.h: Update from GCC.
21875 2012-08-16 Roland McGrath <roland@hack.frob.com>
21877 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21878 on _QL, which is set by umul_ppmm but never used.
21879 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21880 variables, which are set by GMP macros but never used.
21881 * stdio-common/_itowa.c (_itowa): Likewise.
21882 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21883 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21885 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21887 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21888 struct La_sh_regs is not constant.
21889 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21890 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21891 and struct La_sparc64_regs are not constant.
21893 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21895 * sysdeps/unix/sysv/linux/kernel-features.h
21896 (__ASSUME_POSIX_TIMERS): Remove.
21897 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21898 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21899 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21900 Make code unconditional.
21901 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21902 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21903 Make code unconditional.
21904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21905 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21906 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21908 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21909 Make code unconditional.
21910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21911 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21912 (__libc_missing_posix_timers): Remove.
21914 2012-08-15 Roland McGrath <roland@hack.frob.com>
21916 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21917 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21919 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21921 * elf/dl-sym.c: Include <stdlib.h>.
21923 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21924 constants, which avoids warnings in 32-bit builds.
21926 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21927 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21929 * misc/lseek.c: File moved to ...
21930 * io/lseek.c: ... here.
21932 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21934 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21935 shifting LEN more than 31 bits at once.
21937 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21940 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21941 segmentation fault for a case of two empty input strings.
21942 * string/test-strncasecmp.c (check1): Renamed to...
21943 (bz12205): ...this.
21944 (bz14195): Add new testcase for two empty input strings and N > 0.
21945 (test_main): Call new testcase, adapt for renamed function.
21947 2012-08-15 Andreas Jaeger <aj@suse.de>
21950 * crypt/md5test2.c: New test, based on test supplied by Serge
21951 Belyshev <belyshev@depni.sinp.msu.ru>.
21952 * crypt/Makefile (xtests): Add md5test-giant..
21953 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21955 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21958 * crypt/md5.c (md5_process_block): Don't assume the buffer
21959 length is less than 2**32.
21960 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21961 length is less than 2**64.
21963 2012-08-15 Roland McGrath <roland@hack.frob.com>
21965 * string/str-two-way.h: Include <sys/param.h>.
21966 (MAX): Macro removed.
21968 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21969 Move #define and #undef of memmove to just before and after
21970 including <string.h>.
21972 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21973 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21974 and after including <string.h>. Move declarations of
21975 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21976 to before #include "string/memmove.c".
21978 * include/dirent.h: Declare __getdirentries.
21980 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21981 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21983 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21985 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21986 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21987 * sysdeps/i386/configure: Regenerated.
21988 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21989 STABS_CURRENT_FILE, and STABS_FUN.
21990 (END): Remove call to STABS_FUN_END.
21991 (STABS_CURRENT_FILE1): Delete.
21992 (STABS_CURRENT_FILE): Likewise.
21993 (STABS_FUN): Likewise.
21994 (STABS_FUN_END): Likewise.
21995 (STABS_FUN2): Likewise.
21996 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21997 * sysdeps/x86_64/configure: Regenerated.
21999 2012-08-14 Roland McGrath <roland@hack.frob.com>
22001 * elf/dl-open.c: Include <atomic.h>.
22002 * elf/dl-lookup.c: Likewise.
22004 2012-08-14 Joseph Myers <joseph@codesourcery.com>
22006 * sysdeps/unix/sysv/linux/kernel-features.h
22007 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22008 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22010 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22012 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22013 condition on __ASSUME_CLONE_THREAD_FLAGS.
22015 2012-08-14 Andreas Jaeger <aj@suse.de>
22017 * sysdeps/i386/fpu/libm-test-ulps: Update.
22019 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22021 * include/atomic.h (atomic_exchange_and_add): Split into ...
22022 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22025 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22029 2012-08-13 Jeff Law <law@redhat.com>
22031 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22032 null byte in the output string.
22034 2012-08-10 Joseph Myers <joseph@codesourcery.com>
22036 * sysdeps/unix/sysv/linux/kernel-features.h
22037 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22038 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22039 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22040 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22041 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22042 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22043 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22045 2012-08-09 Jeff Law <law@redhat.com>
22048 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22049 When avoid_arena is set, don't retry in the that arena. Pick the
22050 next one, whatever it might be.
22051 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22052 (arena_lock): Pass in new parameter to arena_get2.
22053 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22055 (__libc_malloc): Unify retrying after main arena failure with
22056 __libc_memalign version.
22057 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22059 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22062 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22063 to __redirect_strstr.
22064 (__strstr_sse42): Use typeof __redirect_strstr.
22065 (__strstr_ia32): Likewise.
22066 (__libc_strstr): New prototype.
22067 (strstr): Renamed to ...
22068 (__libc_strstr): This.
22069 (strstr): New strong alias of __libc_strstr.
22070 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22071 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22074 (__libc_time): New prototype.
22075 (time_ifunc): Replace time with __libc_time.
22076 (time): New strong alias and hidden definition of __libc_time.
22077 (__GI_time): Remove strong alias.
22078 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22079 Include <stddef.h>.
22080 (memmove): Redefined to __redirect_memmove.
22081 (__memmove_sse2): Use typeof __redirect_memmove.
22082 (__memmove_ssse3): Likewise.
22083 (__memmove_ssse3_back): Likewise.
22084 (__libc_memmove): New prototype.
22085 (memmove): Renamed to ...
22086 (__libc_memmove): This.
22087 (memmove): New strong alias of __libc_memmove.
22089 2012-08-08 Mark Salter <msalter@redhat.com>
22092 (R_MN10300_TLS_GD): Define.
22093 (R_MN10300_TLS_LD): Likewise.
22094 (R_MN10300_TLS_LDO): Likewise.
22095 (R_MN10300_TLS_GOTIE): Likewise.
22096 (R_MN10300_TLS_IE): Likewise.
22097 (R_MN10300_TLS_LE): Likewise.
22098 (R_MN10300_TLS_DTPMOD): Likewise.
22099 (R_MN10300_TLS_DTPOFF): Likewise.
22100 (R_MN10300_TLS_TPOFF): Likewise.
22101 (R_MN10300_SYM_DIFF): Likewise.
22102 (R_MN10300_ALIGN): Likewise.
22103 (R_MN10300_NUM): Update.
22105 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22107 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22110 2012-08-08 Roland McGrath <roland@hack.frob.com>
22112 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22114 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22115 sysdeps/unix -> sysdeps/posix move.
22116 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22118 2012-08-07 Allan McRae <allan@archlinux.org>
22121 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22122 (SUNOS_CPP): Likewise.
22123 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22125 (open_input): Call CPP using execvp.
22127 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22129 * sysdeps/unix/sysv/linux/kernel-features.h
22130 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22131 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22132 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22133 (__ASSUME_WAITID_SYSCALL): Likewise.
22134 * sysdeps/unix/sysv/linux/dl-execstack.c
22135 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22136 code unconditional.
22137 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22139 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22140 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22141 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22143 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22145 [__ASSUME_WAITID_SYSCALL]: Likewise.
22146 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22148 2012-08-07 Roland McGrath <roland@hack.frob.com>
22150 * sysdeps/unix/closedir.c: Renamed to ...
22151 * sysdeps/posix/closedir.c: ... here.
22152 * sysdeps/unix/dirfd.c: Renamed to ...
22153 * sysdeps/posix/dirfd.c: ... here.
22154 * sysdeps/unix/dirstream.h: Renamed to ...
22155 * sysdeps/posix/dirstream.h: ... here.
22156 * sysdeps/unix/fdopendir.c: Renamed to ...
22157 * sysdeps/posix/fdopendir.c: ... here.
22158 * sysdeps/unix/opendir.c: Renamed to ...
22159 * sysdeps/posix/opendir.c: ... here.
22160 * sysdeps/unix/readdir.c: Renamed to ...
22161 * sysdeps/posix/readdir.c: ... here.
22162 * sysdeps/unix/readdir_r.c: Renamed to ...
22163 * sysdeps/posix/readdir_r.c: ... here.
22164 * sysdeps/unix/rewinddir.c: Renamed to ...
22165 * sysdeps/posix/rewinddir.c: ... here.
22166 * sysdeps/unix/seekdir.c: Renamed to ...
22167 * sysdeps/posix/seekdir.c: ... here.
22168 * sysdeps/unix/telldir.c: Renamed to ...
22169 * sysdeps/posix/telldir.c: ... here.
22170 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22171 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22172 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22173 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22175 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22176 * bits/fcntl.h: ... here.
22178 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22180 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22181 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22182 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22183 (struct flock): Move l_start, l_len to the beginning.
22184 Use __pid_t for l_pid.
22185 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22186 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22187 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22188 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22189 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22190 [__USE_LARGEFILE64] (struct flock64): New type.
22191 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22193 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22194 * bits/dirent.h: ... here.
22196 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22197 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22199 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22201 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22202 Change from 2.6.0 to 2.6.16.
22203 * sysdeps/unix/sysv/linux/configure: Regenerated.
22204 * sysdeps/unix/sysv/linux/kernel-features.h
22205 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22206 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22208 (__ASSUME_UTIMES): Likewise.
22209 (__ASSUME_CLONE_STOPPED): Remove.
22210 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22211 architectures, not kernel version.
22212 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22213 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22214 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22215 (__ASSUME_WAITID_SYSCALL): Likewise.
22216 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22217 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22218 * README: State 2.6.16 as minimum Linux kernel version. Do not
22219 refer to older versions.
22221 2012-08-06 Roland McGrath <roland@hack.frob.com>
22223 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22224 Define alphasort64 as an alias.
22225 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22226 Define versionsort64 as an alias.
22227 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22228 Define scandir64 as an alias.
22229 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22230 Define scandirat64 as an alias.
22231 * dirent/alphasort64.c (alphasort64):
22232 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22233 * dirent/versionsort64.c: Likewise.
22234 * dirent/scandir64.c: Likewise.
22235 * dirent/scandirat64.c: Likewise.
22236 * sysdeps/wordsize-64/alphasort.c: File removed.
22237 * sysdeps/wordsize-64/alphasort64.c: File removed.
22238 * sysdeps/wordsize-64/scandir.c: File removed.
22239 * sysdeps/wordsize-64/scandir64.c: File removed.
22240 * sysdeps/wordsize-64/scandirat.c: File removed.
22241 * sysdeps/wordsize-64/scandirat64.c: File removed.
22242 * sysdeps/wordsize-64/versionsort.c: File removed.
22243 * sysdeps/wordsize-64/versionsort64.c: File removed.
22244 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22245 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22246 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22247 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22248 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22249 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22251 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22253 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22255 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22257 [defined __arch64__ || defined __sparcv9]
22258 (__INO_T_MATCHES_INO64_T): New macro.
22259 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22260 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22261 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22262 * sysdeps/unix/sysv/linux/bits/dirent.h
22263 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22264 (_DIRENT_MATCHES_DIRENT64): New macro.
22266 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22267 Define lockf64 as an alias.
22268 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22269 Define fseeko64 as an alias.
22270 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22271 Define ftello64 as an alias.
22272 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22273 Define _IO_fgetpos64 and fgetpos64 as aliases.
22274 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22275 Define _IO_fsetpos64 and fsetpos64 as aliases.
22276 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22277 Conditionalize body on this.
22278 * libio/fseeko64.c: Likewise.
22279 * libio/ftello64.c: Likewise.
22280 * libio/iofgetpos64.c: Likewise.
22281 * libio/iofsetpos64.c: Likewise.
22282 * sysdeps/wordsize-64/lockf.c: File removed.
22283 * sysdeps/wordsize-64/lockf64.c: File removed.
22284 * sysdeps/wordsize-64/fseeko.c: File removed.
22285 * sysdeps/wordsize-64/fseeko64.c: File removed.
22286 * sysdeps/wordsize-64/ftello.c: File removed.
22287 * sysdeps/wordsize-64/ftello64.c: File removed.
22288 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22289 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22290 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22291 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22292 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22293 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22295 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22297 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22298 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22299 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22300 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22301 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22303 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22305 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22307 [defined __arch64__ || defined __sparcv9]
22308 (__OFF_T_MATCHES_OFF64_T): New macro.
22309 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22310 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22312 (__OFF_T_MATCHES_OFF64_T): New macro.
22314 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22316 * stdlib/secure-getenv.c (__secure_getenv): Replace
22317 GLIBC_2_16 with GLIBC_2_17.
22319 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22321 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22322 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22324 2012-08-03 David S. Miller <davem@davemloft.net>
22326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22328 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22332 (__ASSUME_CORRECT_SI_PID): Likewise.
22333 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22334 (__ASSUME_TMPFS_NAME): Likewise.
22335 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22336 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22337 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22338 (HAVE_AUX_SECURE): Make definition unconditional.
22339 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22340 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22342 2012-08-03 Roland McGrath <roland@hack.frob.com>
22344 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22345 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22346 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22347 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22348 __eloop_threshold instead of SYMLOOP_MAX.
22350 * sysdeps/generic/eloop-threshold.h: New file.
22351 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22353 * elf/chroot_canon.c (chroot_canon): Likewise.
22355 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22358 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22359 Change to 2.6.0 everywhere.
22360 * sysdeps/unix/sysv/linux/configure: Regenerated.
22361 * sysdeps/unix/sysv/linux/kernel-features.h
22362 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22363 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22365 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22366 (__ASSUME_FUTEX_REQUEUE): Remove.
22367 (__ASSUME_STATFS64): Define unconditionally.
22368 (__ASSUME_AT_SECURE): Likewise.
22369 (__ASSUME_CORRECT_SI_PID): Likewise.
22370 (__ASSUME_TGKILL): Define without depending on kernel version for
22372 (__ASSUME_UTIMES): Likewise.
22373 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22375 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22376 (__ASSUME_TMPFS_NAME): Likewise.
22377 * README: Update reference to Linux kernel versions.
22379 2012-08-02 Marek Polacek <polacek@redhat.com>
22382 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22383 libc_cv_asm_type_prefix with %.
22384 * configure: Regenerated.
22385 * include/libc-symbols.h: Remove comment about
22386 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22387 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22388 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22389 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22390 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22391 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22392 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22393 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22394 * elf/tst-unique2mod1.c: Likewise.
22395 * elf/tst-unique1mod2.c: Likewise.
22396 * elf/tst-unique1mod1.c: Likewise.
22397 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22398 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22399 Replace ASM_TYPE_DIRECTIVE with .type.
22400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22401 * sysdeps/i386/sysdep.h: Likewise.
22402 * sysdeps/x86_64/sysdep.h: Likewise.
22403 * sysdeps/sh/sysdep.h: Likewise.
22404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22405 Do not define ASM_TYPE_DIRECTIVE.
22406 * sysdeps/powerpc/sysdep.h: Likewise.
22407 * sysdeps/powerpc/powerpc32/sysdep.h:
22408 Replace ASM_TYPE_DIRECTIVE with .type.
22409 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22410 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22411 * sysdeps/i386/fpu/e_powf.S: Likewise.
22412 * sysdeps/i386/fpu/e_expl.S: Likewise.
22413 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22414 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22415 * sysdeps/i386/fpu/e_pow.S: Likewise.
22416 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22417 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22418 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22419 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22420 * sysdeps/i386/fpu/e_log2.S: Likewise.
22421 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22422 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22423 * sysdeps/i386/fpu/e_powl.S: Likewise.
22424 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22425 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22426 * sysdeps/i386/fpu/e_logl.S: Likewise.
22427 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22428 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22429 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22430 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22431 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22432 * sysdeps/i386/fpu/e_log.S: Likewise.
22433 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22434 * sysdeps/i386/fpu/e_logf.S: Likewise.
22435 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22436 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22437 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22438 * sysdeps/i386/fpu/e_log10.S: Likewise.
22439 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22440 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22441 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22442 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22443 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22444 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22445 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22446 * sysdeps/i386/i686/strtok.S: Likewise.
22447 * sysdeps/i386/i386-mcount.S: Likewise.
22448 * sysdeps/i386/strtok.S: Likewise.
22449 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22450 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22451 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22452 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22453 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22454 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22455 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22456 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22457 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22458 * sysdeps/x86_64/_mcount.S: Likewise.
22459 * sysdeps/x86_64/strtok.S: Likewise.
22460 * sysdeps/sh/_mcount.S: Likewise.
22462 2012-08-01 Roland McGrath <roland@hack.frob.com>
22464 * libio/iofopen.c: Include <fcntl.h>.
22465 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22466 (_IO_fopen64, fopen64): Define as aliases.
22467 * libio/iofopen64.c: Include <fcntl.h>.
22468 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22469 Conditionalize body on this.
22470 * sysdeps/wordsize-64/iofopen.c: File removed.
22471 * sysdeps/wordsize-64/iofopen64.c: File removed.
22473 2012-08-01 Marek Polacek <polacek@redhat.com>
22475 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22476 Use dlfcn directly instead of a variable.
22477 (binfmt-subdir): Do not define.
22480 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22483 Remove all definitions.
22484 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22485 <kernel-features.h>.
22486 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22487 (miss_F_GETOWN_EX): Remove all definitions.
22488 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22490 [!__ASSUME_FCNTL64]: Remove conditional code.
22491 [__ASSUME_FCNTL64]: Make code unconditional.
22492 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22493 <kernel-features.h>.
22494 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22495 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22496 (lockf64) [__NR_fcntl64]: Make code unconditional.
22497 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22499 * sysdeps/unix/sysv/linux/kernel-features.h
22500 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22501 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22502 Make code unconditional.
22503 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22504 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22506 [__NR_vfork]: Make code unconditional.
22507 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22508 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22510 [__NR_vfork]: Make code unconditional.
22511 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22512 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22514 2012-08-01 Roland McGrath <roland@hack.frob.com>
22516 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22517 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22519 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22520 Define mkstemp64 as an alias.
22521 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22522 Define mkstemps64 as an alias.
22523 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22524 Define mkostemp64 as an alias.
22525 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22526 Define mkostemps64 as an alias.
22527 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22528 Conditionalize body on this.
22529 * misc/mkostemp64.c: Likewise.
22530 * misc/mkostemps64.c: Likewise.
22531 * misc/mkstemps64.c: Likewise.
22532 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22533 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22534 * sysdeps/wordsize-64/mkostemp.c: File removed.
22535 * sysdeps/wordsize-64/mkstemp.c: File removed.
22536 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22537 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22538 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22539 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22542 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22543 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22544 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22545 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22547 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22548 compat_symbol macros from <shlib-compat.h> rather than the underlying
22549 default_symbol_version and symbol_version macros, so that DEFAULT
22550 lines in shlib-versions are respected.
22551 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22553 2012-08-01 Florian Weimer <fweimer@redhat.com>
22555 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22556 Declare with warn_unused_result.
22557 (setgid, setregid, setegid, setresgid): Likewise.
22558 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22560 * WUR-REPORT: Remove set*id functions.
22562 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22564 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22566 2012-07-31 Roland McGrath <roland@hack.frob.com>
22569 * include/sys/socket.h (__libc_accept, __libc_accept4):
22570 Add attribute_hidden.
22571 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22573 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22575 * inet/getnetgrent_r.c (setup): Likewise.
22577 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22579 2012-07-31 David S. Miller <davem@davemloft.net>
22581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22583 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22586 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22587 value between 1.0 and 2.0 and smaller part has absolute value less
22589 * math/s_clog10.c (__clog10): Likewise.
22590 * math/s_clog10f.c (__clog10f): Likewise.
22591 * math/s_clog10l.c (__clog10l): Likewise.
22592 * math/s_clogf.c (__clogf): Likewise.
22593 * math/s_clogl.c (__clogl): Likewise.
22594 * math/libm-test.inc (clog_test): Add more tests.
22595 (clog10_test): Likewise.
22596 * sysdeps/i386/fpu/libm-test-ulps: Update.
22597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22599 2012-07-31 Florian Weimer <fweimer@redhat.com>
22601 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22602 Exit with zero in case no suitable GID is found, and write a
22603 message to standard error.
22605 2012-07-30 Roland McGrath <roland@hack.frob.com>
22607 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22609 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22610 (MAXPATHLEN): Removed.
22611 (NOGROUP, NODEV): New macros.
22612 (setbit, clrbit, isset, isclr): New macros.
22613 (howmany, roundup, powerof2): New macros.
22614 (DEV_BSIZE): New macro.
22616 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22617 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22619 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22620 definition on [!__NO_LONG_DOUBLE_MATH].
22622 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22623 PTR_MANGLE and PTR_DEMANGLE.
22625 * socket/accept4.c (accept4): Rename to __libc_accept4.
22626 Define accept4 as a weak alias.
22628 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22629 on [_DIRENT_HAVE_D_TYPE].
22630 * io/ftw.c (ftw_dir): Likewise.
22632 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22634 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22636 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22637 Use the BSD numbers rather than the arbitrary ones we had.
22638 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22639 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22640 (SIGXCPU, SIGXFSZ): New macros.
22643 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22644 initializer on [_LIBC_REENTRANT].
22646 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22647 definitions inside [_POSIX_MAPPED_FILES].
22649 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22651 * dirent/opendir.c: Include <fcntl.h>.
22653 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22654 (__libc_getspecific): Likewise.
22655 (__libc_key_create): Likewise.
22657 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22658 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22659 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22660 (tmpfile64): Define as alias.
22661 * sysdeps/wordsize-64/tmpfile.c: File removed.
22662 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22663 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22664 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22666 * stdio-common/vfscanf.c: Include <stdbool.h>.
22667 * nss/makedb.c: Likewise.
22668 * stdio-common/_i18n_number.h: Likewise.
22669 * argp/argp-help.c: Likewise.
22670 * posix/wordexp.c: Likewise.
22671 * sysdeps/posix/spawni.c: Likewise.
22672 * nss/nss_files/files-initgroups.c: Likewise.
22673 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22674 * nss/nss_files/files-initgroups.c: Likewise.
22675 * nss/nss_db/db-netgrp.c: Likewise.
22676 * nss/nss_db/db-initgroups.c: Likewise.
22677 * io/fchmodat.c: Include <sys/stat.h>.
22679 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22680 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22682 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22685 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22686 Add multiple inclusion protection.
22688 2012-07-27 David S. Miller <davem@davemloft.net>
22690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22692 2012-07-27 Gary Benson <gbenson@redhat.com>
22695 * elf/rtld.c: Include <stap-probe.h>.
22696 (dl_main): Added static probes "init_start" and "init_complete".
22697 * elf/dl-load.c: Include <stap-probe.h>.
22698 (lose): Take new parameter "nsid".
22699 Added static probe "map_failed".
22700 (_dl_map_object_from_fd): Pass namespace id to lose.
22701 Added static probe "map_start".
22702 (open_verify): Pass namespace id to lose.
22703 * elf/dl-open.c: Include <stap-probe.h>.
22704 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22705 and "reloc_complete".
22706 * elf/dl-close.c: Include <stap-probe.h>.
22707 (_dl_close_worker): Added static probes "unmap_start" and
22709 * elf/rtld-debugger-interface.txt: New file documenting the above.
22711 2012-07-26 Roland McGrath <roland@hack.frob.com>
22713 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22714 rather than a string variable.
22715 * sunrpc/rpc_main.c (h_output): Likewise.
22716 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22718 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22720 * inet/check_native.c: New file.
22722 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22725 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22726 if larger part has absolute value 1.0.
22727 * math/s_clog10.c (__clog10): Likewise.
22728 * math/s_clog10f.c (__clog10f): Likewise.
22729 * math/s_clog10l.c (__clog10l): Likewise.
22730 * math/s_clogf.c (__clogf): Likewise.
22731 * math/s_clogl.c (__clogl): Likewise.
22732 * math/libm-test.inc (clog_test): Add more tests.
22733 (clog10_test): Likewise.
22734 * sysdeps/i386/fpu/libm-test-ulps: Update.
22735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22737 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22738 (pltexit): Likewise.
22739 (La_regs): Likewise.
22740 (La_retval): Likewise.
22741 (int_retval): Likewise.
22742 Update #error for removed macros to refer only to definitions in
22744 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22746 (pltexit): Likewise.
22747 (La_regs): Likewise.
22748 (La_retval): Likewise.
22749 (int_retval): Likewise.
22750 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22752 (pltexit): Likewise.
22753 (La_regs): Likewise.
22754 (La_retval): Likewise.
22755 (int_retval): Likewise.
22756 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22758 (pltexit): Likewise.
22759 (La_regs): Likewise.
22760 (La_retval): Likewise.
22761 (int_retval): Likewise.
22762 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22764 (pltexit): Likewise.
22765 (La_regs): Likewise.
22766 (La_retval): Likewise.
22767 (int_retval): Likewise.
22768 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22770 (pltexit): Likewise.
22771 (La_regs): Likewise.
22772 (La_retval): Likewise.
22773 (int_retval): Likewise.
22774 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22776 (pltexit): Likewise.
22777 (La_regs): Likewise.
22778 (La_retval): Likewise.
22779 (int_retval): Likewise.
22780 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22781 macro definitions in tst-audit.h.
22782 * sysdeps/i386/tst-audit.h: New file.
22783 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22784 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22785 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22786 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22787 * sysdeps/sh/tst-audit.h: Likewise.
22788 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22789 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22790 * sysdeps/x86_64/tst-audit.h: Likewise.
22792 2012-07-26 Andreas Jaeger <aj@suse.de>
22794 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22797 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22798 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22799 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22801 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22802 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22803 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22805 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22808 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22810 (si_call_addr, si_syscall, si_arch): Define new macro.
22811 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22813 (si_call_addr, si_syscall, si_arch): Define new marcro.
22814 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22816 (si_call_addr, si_syscall, si_arch): Define new macro.
22817 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22819 (si_call_addr, si_syscall, si_arch): Define new macro.
22821 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22825 Change to 2.4.21 where previously 2.4.1.
22826 * sysdeps/unix/sysv/linux/configure: Regenerated.
22827 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22828 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22829 Linux kernel version.
22830 (__ASSUME_STD_AUXV): Remove.
22831 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22833 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22834 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22835 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22836 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22837 (__ASSUME_NETLINK_SUPPORT): Likewise.
22838 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22839 (__no_netlink_support): Remove conditional definition.
22840 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22842 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22843 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22844 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22845 (if_nameindex_ioctl): Remove.
22846 (if_nameindex_netlink): Do not handle __no_netlink_support.
22847 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22849 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22850 Remove conditional code.
22851 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22853 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22855 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22856 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22857 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22859 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22860 [!__ASSUME_STD_AUXV]: Remove conditional code.
22861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22862 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22863 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22865 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22866 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22868 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22870 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22871 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22873 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22875 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22878 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22881 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22882 code unconditional.
22883 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22885 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22887 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22890 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22892 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22895 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22896 code unconditional.
22897 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22899 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22901 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22904 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22905 code unconditional.
22906 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22908 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22910 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22913 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22915 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22916 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22917 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22918 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22919 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22920 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22921 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22922 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22923 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22924 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22925 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22926 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22927 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22928 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22929 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22930 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22931 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22933 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22935 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22936 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22937 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22939 2012-07-25 Florian Weimer <fweimer@redhat.com>
22941 * Versions.def: Add GLIBC_2.17.
22942 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22943 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22944 Introduce __libc_secure_getenv.
22945 * stdlib/Versions (2.17): Add secure_getenv
22946 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22947 * stdlib/secure-getenv.c: Rename __secure_getenv to
22948 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22949 symbol __secure_getenv for GLIBC_2.0.
22950 * stdlib/tst-secure-getenv.c: New.
22951 * stdlib/Makefile (tests): Add testcase.
22952 * manual/startup.texi (Environment Access): Document
22954 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22955 __libc_secure_getenv.
22956 * inet/ruserpass.c (ruserpass): Likewise.
22957 * malloc/mtrace.c (mtrace): Likewise.
22958 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22959 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22960 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22961 * sysdeps/posix/tempname.c: Likewise. Evaluate
22962 HAVE_SECURE_GETENV.
22963 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22964 __secure_getenv to __libc_secure_getenv.
22965 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22972 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22978 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22980 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22981 (struct La_i86_retval): Likewise.
22982 (struct La_x86_64_regs): Likewise.
22983 (struct La_x86_64_retval): Likewise.
22984 (struct La_x32_regs): Likewise.
22985 (struct La_x32_retval): Likewise.
22986 (struct La_ppc32_regs): Likewise.
22987 (struct La_ppc32_retval): Likewise.
22988 (struct La_ppc64_regs): Likewise.
22989 (struct La_ppc64_retval): Likewise.
22990 (struct La_sh_regs): Likewise.
22991 (struct La_sh_retval): Likewise.
22992 (struct La_s390_32_regs): Likewise.
22993 (struct La_s390_32_retval): Likewise.
22994 (struct La_s390_64_regs): Likewise.
22995 (struct La_s390_64_retval): Likewise.
22996 (struct La_sparc32_regs): Likewise.
22997 (struct La_sparc32_retval): Likewise.
22998 (struct La_sparc64_regs): Likewise.
22999 (struct La_sparc64_retval): Likewise.
23000 (struct audit_ifaces): Remove architecture-specific pltenter and
23002 * sysdeps/i386/ldsodefs.h: New file.
23003 * sysdeps/powerpc/ldsodefs.h: Likewise.
23004 * sysdeps/s390/ldsodefs.h: Likewise.
23005 * sysdeps/sh/ldsodefs.h: Likewise.
23006 * sysdeps/sparc/ldsodefs.h: Likewise.
23007 * sysdeps/x86_64/ldsodefs.h: Likewise.
23009 2012-07-25 Marek Polacek <polacek@redhat.com>
23012 * math/libm-test.inc (yn_test): Add another test.
23013 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23014 to ERANGE when the result is +-Inf.
23015 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23016 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23017 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23018 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23020 2012-07-24 Joseph Myers <joseph@codesourcery.com>
23022 * conform/data/time.h-data (NULL): Use macro-constant. Require
23024 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23026 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23028 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23030 * configure.in <sysdeps resolving>: Correct printing
23032 * configure: Regenerate.
23034 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23036 * math/w_ilogb.c: Include <limits.h>.
23037 * math/w_ilogbl.c: Likewise.
23039 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23041 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23042 va_copy. Document allowing for unavailable va_copy only as
23043 pre-C99 compatibility.
23044 * manual/string.texi (Copying and Concatenation): Use va_copy
23045 instead of __va_copy in concat example.
23047 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23049 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23050 (__sendto): Use create_address_port. Initialize APORT and deallocate
23053 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23054 with O_NOLINK passed to __file_name_lookup.
23056 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23057 with O_NOLINK passed to __file_name_lookup.
23059 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23060 negative N or less than NGIDS.
23062 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23063 type to string_t. Set ERANGE as errno and return it if NAME is not big
23064 enough. Use memcpy instead of strncpy.
23066 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23068 * elf/Makefile (check-data): Remove.
23069 (localplt.data): New vpath directive.
23070 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23071 instead of $(check-data).
23072 * scripts/data/localplt-generic.data: Move to ...
23073 * sysdeps/generic/localplt.data: ... here.
23074 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23075 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23076 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23079 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23082 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23085 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23088 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23091 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23095 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23097 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23098 PPC32 and PPC64 files.
23099 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23100 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23102 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23104 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23105 __makecontext_ret to ...
23106 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23107 ... here and call exit if uc_link is NULL. New file.
23108 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23109 __makecontext_ret.S.
23110 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23111 __makecontext_ret to ...
23112 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23113 ... here and call exit if uc_link is NULL. New file.
23114 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23115 __makecontext_ret.S.
23117 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23119 * elf/elf.h (R_390_IRELATIVE): New definition.
23120 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23121 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23122 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23123 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23124 (elf_machine_lazy_rel): Likewise.
23125 * sysdeps/s390/dl-irel.h: New file.
23126 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23127 * sysdeps/s390/s390-64/memset.S: New asm code.
23128 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23129 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23130 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23131 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23132 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23133 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23134 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23135 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23136 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23137 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23138 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23139 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23140 * sysdeps/s390/s390-32/memset.S: New asm code.
23141 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23143 2012-07-17 Marek Polacek <polacek@redhat.com>
23146 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23147 * sysdeps/s390/s390-64/configure.in: Likewise.
23148 * sysdeps/sparc/configure.in: Likewise.
23149 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23150 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23151 * sysdeps/i386/configure.in: Likewise.
23152 * sysdeps/x86_64/configure.in: Likewise.
23153 * sysdeps/sh/configure.in: Likewise.
23154 * sysdeps/s390/s390-32/configure: Regenerated.
23155 * sysdeps/s390/s390-64/configure: Likewise.
23156 * sysdeps/x86_64/configure: Likewise.
23157 * sysdeps/sh/configure: Likewise.
23158 * sysdeps/powerpc/powerpc64/configure: Likewise.
23159 * sysdeps/powerpc/powerpc32/configure: Likewise.
23160 * sysdeps/sparc/configure: Likwise.
23161 * sysdeps/i386/configure: Likewise.
23163 * elf/dl-open.c: Comment fixes.
23165 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23167 * Makefile [CXX] (check-data): Remove.
23168 [CXX] (c++-types.data): New vpath directive.
23169 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23170 vpath. Do not allow for C++ type data being missing.
23171 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23172 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23173 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23174 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23175 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23176 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23177 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23180 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23183 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23186 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23189 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23192 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23195 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23198 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23201 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23202 definitions to architecture-specific files.
23203 (TLS_IE): Likewise.
23204 (TLS_LD): Likewise.
23205 (TLS_GD): Likewise.
23206 * sysdeps/i386/tls-macros.h: New file.
23207 * sysdeps/powerpc/tls-macros.h: Likewise.
23208 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23209 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23210 * sysdeps/sh/tls-macros.h: Likewise.
23211 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23212 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23213 * sysdeps/x86_64/tls-macros.h: Likewise.
23215 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23217 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23218 zero value for regular exit case.
23220 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23221 (__start_context): Preserve zero value for regular exit case.
23223 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23224 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23226 * manual/setjmp.texi (setcontext): Clarify normal process
23227 termination when uc_link is the null pointer.
23228 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23231 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23233 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23234 preprocessor. Test for each exception mask separately.
23236 2012-07-16 Andreas Jaeger <aj@suse.de>
23238 * po/ru.po: Update from translation team.
23240 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23242 * conform/data/string.h-data (NULL): Use macro-constant. Require
23244 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23245 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23246 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23247 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23248 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23250 2012-07-13 Andreas Jaeger <aj@suse.de>
23252 * po/fr.po: Update from translation team.
23254 2012-07-12 Marek Polacek <polacek@redhat.com>
23257 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23258 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23261 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23264 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23265 Change to 2.4.1 where previously 2.4.0.
23266 * sysdeps/unix/sysv/linux/configure: Regenerated.
23267 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23268 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23270 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23271 (__ASSUME_AT_CLKTCK): Remove.
23272 (__ASSUME_AT_PAGESIZE): Likewise.
23273 (__ASSUME_AT_XID): Likewise.
23274 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23275 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23276 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23278 (HAVE_AUX_PAGESIZE): Likewise.
23279 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23280 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23281 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23283 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23287 the temporary buffer used to invoke __gethostbyname2_r,
23288 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23289 host_data / struct gaih_addrtuple.
23290 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23291 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23292 header file nss/nsswitch.h.
23293 * nss/nsswitch.h (global scope): Add definition of implementation
23294 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23295 resolv/nss_dns/dns-host.c).
23297 2012-07-11 Andreas Jaeger <aj@suse.de>
23299 * po/fr.po: Update from translation team.
23301 * po/sv.po: Update from translation team
23302 * po/fr.po: Another update from translation team.
23304 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23306 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23307 for subnormals or multiply small sinh result by itself.
23308 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23311 2012-07-11 David S. Miller <davem@davemloft.net>
23313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23315 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23318 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23319 (INTERNAL_MARK): Shift it here.
23321 2012-07-10 Marek Polacek <polacek@redhat.com>
23324 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23325 libc_cv_asm_global_directive with .globl.
23326 * configure: Regenerated.
23327 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23329 * sysdeps/i386/configure: Regenerated.
23330 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23332 * sysdeps/x86_64/configure: Regenerated.
23333 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23334 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23335 * elf/tst-unique2mod2.c: Likewise.
23336 * elf/tst-unique2mod1.c: Likewise.
23337 * elf/tst-unique1mod2.c: Likewise.
23338 * elf/tst-unique1mod1.c: Likewise.
23339 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23340 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23341 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23342 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23343 * sysdeps/mach/sysdep.h: Likewise.
23344 * sysdeps/i386/sysdep.h: Likewise.
23345 * sysdeps/i386/i386-mcount.S: Likewise.
23346 * sysdeps/x86_64/_mcount.S: Likewise.
23347 * sysdeps/x86_64/sysdep.h: Likewise.
23348 * sysdeps/sh/_mcount.S: Likewise.
23349 * sysdeps/sh/sysdep.h: Likewise.
23350 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23351 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23352 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23353 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23354 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23355 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23356 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23357 * locale/localeinfo.h: Likewise.
23358 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23359 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23361 2012-07-09 Roland McGrath <roland@hack.frob.com>
23364 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23366 * manual/message.texi (The Uniforum approach): Likewise.
23367 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23368 (glibc iconv Implementation): Likewise.
23370 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23373 * math/s_clog.c (__clog): Avoid scaling a value down where that
23374 could result in underflow.
23375 * math/s_clog10.c (__clog10): Likewise.
23376 * math/s_clog10f.c (__clog10f): Likewise.
23377 * math/s_clog10l.c (__clog10l): Likewise.
23378 * math/s_clogf.c (__clogf): Likewise.
23379 * math/s_clogl.c (__clogl): Likewise.
23380 * math/libm-test.inc (clog_test): Add more tests.
23381 (clog10_test): Likewise.
23382 * sysdeps/i386/fpu/libm-test-ulps: Update.
23383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23385 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23388 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23389 by 7 not 8 to examine high bit of fractional part.
23392 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23393 for call to __mcount_internal.
23394 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23395 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23396 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23398 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23401 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23402 approximation for values within 0x1p-13f of an odd multiple of
23404 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23405 exception. Add more tests.
23406 * sysdeps/i386/fpu/libm-test-ulps: Update.
23409 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23410 inputs and return -1 for them. Do not check for +Inf in case not
23411 reachable for +Inf.
23412 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23413 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23415 and return -1 for them. Do not check for +Inf in case not
23416 reachable for +Inf.
23417 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23419 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23420 and return -1 for them. Do not check for +Inf in case not
23421 reachable for +Inf.
23422 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23423 spurious underflow.
23424 * sysdeps/i386/fpu/libm-test-ulps: Update.
23425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23427 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23429 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23431 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23435 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23436 could result in spurious underflow. Scale down values above
23437 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23438 * math/s_csqrtf.c (__csqrtf): Likewise.
23439 * math/s_csqrtl.c (__csqrtl): Likewise.
23440 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23441 spurious underflow.
23442 * sysdeps/i386/fpu/libm-test-ulps: Update.
23443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23445 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23447 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23449 * catgets/xopen-msg.awk: New file.
23450 * catgets/xopen-msg.sed: Removed.
23452 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23454 * intl/po2test.awk: New file.
23455 * intl/po2test.sed: Removed.
23457 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23460 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23461 or multiply small sinh result by itself.
23462 * math/s_ctanf.c (__ctanf): Likewise.
23463 * math/s_ctanh.c (__ctanh): Likewise.
23464 * math/s_ctanhf.c (__ctanhf): Likewise.
23465 * math/s_ctanhl.c (__ctanhl): Likewise.
23466 * math/s_ctanl.c (__ctanl): Likewise.
23467 * math/libm-test.inc (ctan_test_tonearest): New function.
23468 (ctan_test_towardzero): Likewise.
23469 (ctan_test_downward): Likewise.
23470 (ctan_test_upward): Likewise.
23471 (ctanh_test_tonearest): Likewise.
23472 (ctanh_test_towardzero): Likewise.
23473 (ctanh_test_downward): Likewise.
23474 (ctanh_test_upward): Likewise.
23475 (main): Call these new functions.
23476 * sysdeps/i386/fpu/libm-test-ulps: Update.
23477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23479 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23481 * .gitignore: Delete /ports entry.
23483 2012-07-03 Andreas Jaeger <aj@suse.de>
23485 * po/bg.po: Update from translation team.
23486 * po/cs.po: Likewise.
23487 * po/de.po: Likewise.
23488 * po/hr.po: Likewise.
23489 * po/nl.pl: Likewise.
23490 * po/pl.po: Likewise.
23491 * po/vi.po: Likewise.
23493 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23495 * Makeconfig [!+link] (+link-before-libc): New variable.
23496 [!+link] (+link-after-libc): Likewise.
23497 [!+link] (+link-tests): Likewise.
23498 [!+link] (+link): Define in terms of $(+link-before-libc) and
23499 $(+link-after-libc).
23500 [!+link-static] (+link-static-before-libc): New variable.
23501 [!+link-static] (+link-static-after-libc): Likewise.
23502 [!+link-static] (+link-static-tests): Likewise.
23503 [!+link-static] (+link-static): Define in terms of
23504 $(+link-static-before-libc) and $(+link-static-after-libc).
23505 [build-shared] (link-libc-before-gnulib): New variable.
23506 [build-shared] (link-libc-tests): Likewise.
23507 [build-shared] (link-libc): Define in terms of
23508 $(link-libc-before-gnulib).
23509 [!build-shared] (link-libc-tests): New variable.
23510 (link-libc-static-tests): New variable.
23511 [!gnulib] (gnulib-arch): New variable.
23512 [!gnulib] (gnulib-tests): Likewise.
23513 [!gnulib] (static-gnulib-arch): Likewise.
23514 [!gnulib] (static-gnulib-tests): Likewise.
23515 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23516 Define with "=" instead of ":=".
23517 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23518 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23519 * Rules (binaries-all-notests): New variable.
23520 (binaries-all-tests): Likewise.
23521 (binaries-static-notests): Likewise.
23522 (binaries-static-tests): Likewise.
23523 (binaries-all): Define using $(binaries-all-notests) and
23524 $(binaries-all-tests).
23525 (binaries-static): Define using $(binaries-static-notests) and
23526 $(binaries-static-tests).
23527 (binaries-shared-tests): New variable.
23528 (binaries-shared-notests): Likewise.
23529 (binaries-shared): Remove variable.
23530 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23531 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23532 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23533 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23534 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23535 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23536 * elf/Makefile (sln-modules): New variable.
23537 (extra-objs): Add $(sln-modules:=.o).
23538 (ldconfig-modules): Add static-stubs.
23539 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23540 * elf/static-stubs.c: New file.
23543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23544 by 7 not 8 to examine high bit of fractional part. Use volatile
23545 variables when splitting into final array of floats if
23546 __FLT_EVAL_METHOD__ != 0.
23547 * math/libm-test.inc (cos_test): Add another test.
23548 (sin_test): Likewise.
23549 * sysdeps/i386/fpu/libm-test-ulps: Update.
23552 * math/libm-test.inc (cosh_test): Add more tests.
23554 * version.h (RELEASE): Set to "development".
23555 (VERSION): Set to "2.16.90".
23557 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23559 * NEWS: Update copyright. Remove last-updated date.
23560 Mention math library bug fixes and timezone data changes.
23561 * README: Mention GNU/Hurd, x32, and HPPA support status.
23563 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23565 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23567 2012-06-27 Andreas Jaeger <aj@suse.de>
23569 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23571 2012-06-25 Andreas Jaeger <aj@suse.de>
23573 * sysdeps/s390/fpu/libm-test-ulps: Update.
23575 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23576 Thomas Schwinge <thomas@codesourcery.com>
23578 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23579 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23583 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23585 * sysdeps/mach/start.c: Remove file.
23586 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23587 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23588 * sysdeps/sh/init-first.c: Likewise.
23590 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23591 registers for frame unwinding purposes, add CFI directives.
23592 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23593 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23594 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23597 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23598 __fortify_fail returning.
23599 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23601 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23602 sysdeps/sh/____longjmp_chk.S.
23603 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23604 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23605 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23606 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23608 * sysdeps/sh/abort-instr.h: New file.
23609 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23610 process in case exit returns.
23612 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23613 initialize the GOT register before use.
23615 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23616 calculation of ARGC > 4.
23618 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23619 meaningful names to some local labels.
23621 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23622 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23624 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23625 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23626 (__arch_compare_and_exchange_val_16_acq): Likewise.
23627 (__arch_compare_and_exchange_val_32_acq): Likewise.
23628 (atomic_exchange_and_add): Fix gUSA sequence.
23629 (atomic_add): Likewise.
23630 (atomic_add_negative): Likewise.
23631 (atomic_add_zero): Likewise.
23632 (atomic_bit_test_set): Likewise.
23634 2012-06-22 Andreas Schwab <schwab@redhat.com>
23637 * include/link.h (struct link_map): Add l_free_initfini.
23638 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23640 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23641 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23642 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23645 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23647 * configure.in: Use AC_LANG_SOURCE.
23648 * configure: Regenerate.
23650 2012-06-22 Roland McGrath <roland@hack.frob.com>
23652 * configure.in (libc_cv_localstatedir): New substituted variable.
23653 * configure: Regenerated.
23654 * config.make.in (localstatedir): New variable, substituted from
23655 libc_cv_localstatedir.
23656 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23657 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23658 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23659 * sysdeps/gnu/configure: Regenerated.
23661 2012-06-21 Jeff Law <law@redhat.com>
23664 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23665 free. Simplify list management for _LIBC case.
23667 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23670 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23671 Clear sign bit of 64-bit integer value before comparing against
23674 * sysdeps/mach/configure: Regenerated.
23676 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23679 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23681 2012-06-21 Jeff Law <law@redhat.com>
23684 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23685 uint16_t for elements in the "seen" array to avoid char overflows.
23686 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23687 * elf/dl-open.c (dl_open_worker): Likewise.
23689 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23691 * scripts/list-sources.sh: Scan PORTS for translations.
23692 * po/libc.pot: Regenerated.
23694 2012-06-21 Andreas Jaeger <aj@suse.de>
23697 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23699 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23700 * bits/byteswap-16.h (__bswap_16): Likewise.
23701 * bits/byteswap.h (__bswap_constant_16): Likewise.
23703 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23706 * sysdeps/i386/fpu_control.h: Removed.
23707 * sysdeps/x86_64/fpu_control.h: Moved to ...
23708 * sysdeps/x86/fpu_control.h: Here.
23710 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23711 (_FPU_SETCW): Likewise.
23713 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23716 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23717 * sysdeps/x86/fpu/bits/mathinline.h: This.
23718 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23722 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23723 functions if __x86_64__ is defined.
23725 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23727 * string/endian.h: Add !__ASSEMBLER__ condition for including
23728 conversion interfaces.
23730 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23733 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23734 of ABS(x) in calculating zero to negative powers other than odd
23736 * math/libm-test.inc (pow_test): Add more tests.
23738 2012-06-15 Andreas Jaeger <aj@suse.de>
23740 * manual/contrib.texi (Contributors): Update entry of Liubov
23741 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23744 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23746 * string/string.h: Add __wur to GNU version of strerror_r.
23748 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23751 * string/Makefile (tests): Add tst-strtok_r.
23752 * string/tst-strtok_r.c: New file.
23753 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23754 RAX_LP/RDX_LP on SAVE_PTR.
23756 2012-06-14 Roland McGrath <roland@hack.frob.com>
23758 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23760 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23762 * libm_test.inc (csqrt_test): Allow more spurious underflow
23764 (j0_test): Likewise.
23765 (j1_test): Likewise.
23766 (y0_test): Likewise.
23767 (y1_test): Likewise.
23769 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23771 * po/Makefile (libc.pot): Use UTF-8 charset.
23773 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23776 Suppress sign-conversion warning from FD_SET.
23777 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23778 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23779 not unsigned long int.
23780 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23782 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23786 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23787 __extern_always_inline instead of __extern_inline.
23788 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23789 (__signbit): Likewise.
23790 (__signbitl): Support C++ namespace.
23791 (lrintf): New inline function.
23793 (llrintf): Likewise.
23794 (llrint): Likewise.
23804 (floorf): Likewise.
23805 (nearbyint): Likewise.
23806 (nearbyintf): Likewise.
23808 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23810 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23811 non-default versions.
23813 2012-06-11 Roland McGrath <roland@hack.frob.com>
23816 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23818 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23820 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23821 (FE_UPWARD, FE_DOWNWARD): Don't define.
23822 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23823 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23825 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23827 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23828 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23830 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23832 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23833 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23834 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23835 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23837 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23840 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23841 * sysdeps/i386/fpu/Implies: New file.
23842 * sysdeps/x86_64/fpu/Implies: Likewise.
23843 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23844 * sysdeps/x86/fpu/bits/fenv.h: This.
23846 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23849 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23852 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23853 character 0xffff that matches the last element of the
23856 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23858 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23861 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23864 values higher than 25.6283.
23866 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23868 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23869 subnormal exponent extraction and add some __builtin_expect.
23870 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23871 Fix for subnormal mantissa calculation.
23873 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23875 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23876 cpu2 is -1 and errno is not ENOSYS.
23878 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23881 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23882 * sysdeps/x86/bits/string.h: This.
23883 * sysdeps/x86_64/bits/string.h: Removed.
23885 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23886 if not compiling for x86-64, but compiling for >= i486.
23888 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23889 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23891 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23892 New macro from Linux kernel 3.4.0.
23893 (FP_XSTATE_MAGIC2): Likewise.
23894 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23895 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23896 (struct _fpx_sw_bytes): New struct.
23897 (struct _xsave_hdr): Likewise.
23898 (struct _ymmh_state): Likewise.
23899 (struct _xstate): Likewise.
23901 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23902 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23903 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23904 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23905 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23906 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23908 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23909 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23910 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23911 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23912 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23913 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23915 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23918 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23919 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23920 (sysdep_headers): Include sys/platform/ppc.h.
23921 * sysdeps/powerpc/test-gettimebase.c: Test for
23922 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23923 * manual/Makefile (appendices): Include platform.texi.
23924 * manual/contrib.texi (Contributors): Update @node pointers.
23925 * manual/maint.texi (Maintenance): Likewise.
23926 (Platform): New node.
23927 * manual/platform.texi: New file. Document the new features.
23929 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23930 Jakub Jelinek <jakub@redhat.com>
23933 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23934 where __builtin_expect is unavailable.
23936 2012-06-03 David S. Miller <davem@davemloft.net>
23938 * stdlib/longlong.h: Updated from GCC.
23940 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23943 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23944 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23947 (GLIBC_2.16): Likewise.
23949 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23951 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23953 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23956 (default-abi): New variable.
23957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23958 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23960 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23962 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23964 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23967 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23968 definition. Document in comment.
23970 2012-06-01 David S. Miller <davem@davemloft.net>
23972 * stdlib/longlong.h: Updated from GCC.
23974 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23977 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23978 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23979 sys/debugreg.h sys/io.h here.
23980 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23981 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23983 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23984 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23985 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23986 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23987 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23988 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23990 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23991 Define only if __x86_64__ is defined.
23993 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23997 Use int64_t for variable i.
23998 * math/libm-test.inc (fmod_test): Add more tests.
24000 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24001 z computation is not scheduled after fetestexcept.
24002 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24003 Use math_force_eval instead of asm to ensure calculation scheduled
24004 before exception test.
24005 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24006 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24008 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24011 computation is not scheduled after fetestexcept.
24013 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24016 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24017 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24019 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24021 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24022 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24024 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24027 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24029 (__WCHAR_MIN): Support __WORDSIZE == 64.
24030 (__WCHAR_MAX): Likewise.
24032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24033 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24037 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24040 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24041 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24043 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24044 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24046 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24047 Defined to 1 if __x86_64__ isn't defined.
24048 (_STAT_VER_LINUX_OLD): New.
24049 (st_atime): Remove duplicate.
24050 (st_mtime): Likewise.
24051 (st_ctime): Likewise.
24053 2012-05-31 David S. Miller <davem@davemloft.net>
24055 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24058 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24060 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24064 * elf/dl-reloc.c: Include <_itoa.h>.
24065 (_dl_reloc_bad_type): Remove use of INTUSE.
24066 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24067 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24068 * stdio-common/psiginfo.c (psiginfo): Likewise.
24069 * stdio-common/psignal.c (psignal): Likewise.
24070 * string/strsignal.c (strsignal): Likewise.
24071 * include/signal.h (_sys_siglist): Declare hidden proto.
24072 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24073 INTVARDEF with libc_hidden_data_def.
24074 * stdio-common/itoa-udigits.c: Likewise.
24075 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24076 (_itoa_lower_digits_internal): Remove declaration.
24077 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24078 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24079 (_sys_sigabbrev_internal): Remove aliases.
24080 (_sys_siglist): Define hidden alias.
24082 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24087 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24090 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24091 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24093 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24094 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24095 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24096 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24097 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24098 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24100 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24101 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24102 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24104 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24113 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24114 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24116 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24117 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24118 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24119 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24120 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24121 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24123 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24124 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24126 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24127 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24129 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24130 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24131 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24133 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24134 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24136 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24138 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24139 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24140 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24142 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24144 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24146 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24148 * math/math.h (M_El): Use two more decimal places.
24149 (M_LOG2El): Likewise.
24150 (M_LOG10El): Likewise.
24151 (M_LN2l): Likewise.
24152 (M_LN10l): Likewise.
24154 (M_PI_2l): Likewise.
24155 (M_PI_4l): Likewise.
24156 (M_1_PIl): Likewise.
24157 (M_2_PIl): Likewise.
24158 (M_2_SQRTPIl): Likewise.
24159 (M_SQRT2l): Likewise.
24160 (M_SQRT1_2l): Likewise.
24162 2012-05-31 David S. Miller <davem@davemloft.net>
24164 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24165 values between float registers.
24166 * sysdeps/sparc/sparc64/memset.S: Likewise.
24167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24169 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24171 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24172 -D_FORTIFY_SOURCE=1.
24173 (CPPFLAGS-tst-longjmp_chk.c): Define.
24174 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24175 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24176 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24177 CFLAGS-tst-wchar-h.c.
24179 2012-05-31 Marek Polacek <polacek@redhat.com>
24182 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24183 __endmntent_internal): Remove declaration.
24184 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24185 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24186 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24188 2012-05-30 David S. Miller <davem@davemloft.net>
24190 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24191 (___Q_simulate_exceptions): Use real FP ops rather than writing
24193 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24196 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24199 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24200 * sysdeps/x86/bits/xtitypes.h: This.
24202 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24203 * sysdeps/x86/bits/wordsize.h: This.
24205 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24206 * sysdeps/x86/bits/huge_vall.h: This.
24208 * sysdeps/i386/bits/select.h: Removed.
24209 * sysdeps/x86_64/bits/select.h: Renamed to ...
24210 * sysdeps/x86/bits/select.h: This.
24212 * sysdeps/i386/bits/setjmp.h: Removed.
24213 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24214 * sysdeps/x86/bits/setjmp.h: This.
24216 * sysdeps/i386/bits/mathdef.h: Removed.
24217 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24218 * sysdeps/x86/bits/mathdef.h: This.
24220 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24223 * include/sys/socket.h (__connect_internal)
24224 (__libc_sa_len_internal): Remove declaration.
24225 (__connect, __libc_sa_len): Declare hidden_proto.
24226 (SA_LEN): Remove use of INTUSE.
24227 * socket/connect.c: Add libc_hidden_def.
24228 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24229 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24230 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24232 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24233 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24234 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24235 of adding _internal alias.
24237 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24240 * sysdeps/i386/bits/link.h: Removed.
24241 * sysdeps/i386/bits/linkmap.h: Likewise.
24242 * sysdeps/x86_64/bits/link.h: Renamed to ...
24243 * sysdeps/x86/bits/link.h: This.
24244 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24245 * sysdeps/x86/bits/linkmap.h: This.
24247 * sysdeps/i386/bits/endian.h: Removed.
24248 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24249 * sysdeps/x86/bits/endian.h: This.
24251 * sysdeps/i386/bits/byteswap.h: Removed.
24252 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24253 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24254 * sysdeps/x86/bits/byteswap.h: This.
24255 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24256 * sysdeps/x86/bits/byteswap-16.h: This.
24257 * sysdeps/i386/Implies: Add x86.
24258 * sysdeps/x86_64/Implies: Likewise.
24260 2012-05-30 David S. Miller <davem@davemloft.net>
24262 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24263 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24264 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24265 (FP_TRAPPING_EXCEPTIONS): Define.
24266 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24267 (FP_TRAPPING_EXCEPTIONS): Define.
24268 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24269 subnormals only when inexact has been signalled or underflow
24270 exceptions are enabled.
24271 (_FP_PACK_CANONICAL): Likewise.
24273 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24276 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24277 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24279 2012-05-30 Richard Henderson <rth@twiddle.net>
24281 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24282 with #ifndef NOT_IN_libc.
24284 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24285 marked to avoid plt entry.
24287 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24290 * Makeconfig (default-abi): New macro.
24291 (abi-includes): Likewise.
24292 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24293 $(abi-$(default-abi)-lib-soname) for soname if defined.
24294 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24296 * Makefile (installed-stubs): Likewise.
24297 * include/stubs-biarch.h: Removed.
24298 * scripts/lib-names.awk: Only handle one library at a time.
24299 * scripts/soversions.awk: Remove WORDSIZE support.
24300 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24302 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24304 (syscall-list-default-condition): Likewise.
24305 (syscall-list-default-condition): Likewise.
24306 (syscall-list-includes): Likewise.
24307 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24308 syscall-list-* with abi-*. Handle undefined abi-variants.
24309 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24310 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24311 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24312 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24313 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24314 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24316 (syscall-list-32-options): Likewise.
24317 (syscall-list-32-condition): Likewise.
24318 (syscall-list-64-options): Likewise.
24319 (syscall-list-64-condition): Likewise.
24320 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24322 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24325 (abi-64-ld-soname): New macro.
24326 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24327 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24330 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24331 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24333 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24335 * sysdeps/unix/sysv/linux/kernel-features.h
24336 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24337 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24338 include <kernel-features.h>.
24339 [!__NR_ftruncate64]: Remove conditional code.
24340 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24341 [__NR_ftruncate64]: Make code unconditional.
24342 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24343 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24344 include <kernel-features.h>.
24345 [!__NR_ftruncate64]: Remove conditional code.
24346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24347 [__NR_ftruncate64]: Make code unconditional.
24348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24350 include <kernel-features.h>.
24351 [!__NR_ftruncate64]: Remove conditional code.
24352 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24353 [__NR_ftruncate64]: Make code unconditional.
24354 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24356 include <kernel-features.h>.
24357 [!__NR_ftruncate64]: Remove conditional code.
24358 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24359 [__NR_ftruncate64]: Make code unconditional.
24360 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24362 * configure.in (libc_cv_fpie): Weaken to a compile test using
24363 LIBC_TRY_CC_OPTION.
24364 * configure: Regenerated.
24366 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24381 2012-05-27 David S. Miller <davem@davemloft.net>
24383 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24385 (__Q_simulate_exceptions): Return void. Change to simulate
24386 exceptions by writing into the %fsr.
24387 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24388 (__Qp_handle_exceptions): Likewise.
24390 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24391 __Qp_handle_exceptions.
24392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24393 __Qp_handle_exceptions.
24394 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24395 as unused and give dummy FP_RND_NEAREST initializer.
24396 (FP_INHIBIT_RESULTS): Define.
24397 (___Q_simulate_exceptions): Update declaration.
24398 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24400 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24401 as unused and give dummy FP_RND_NEAREST initializer.
24402 (__Qp_handle_exceptions): Update declaration.
24403 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24406 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24408 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24409 the temporary FPU control word.
24410 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24411 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24412 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24413 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24414 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24415 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24416 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24417 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24418 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24419 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24420 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24422 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24424 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24427 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24429 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24430 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24431 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24432 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24434 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24435 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24438 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24440 * po/h.po: Update from translation team.
24442 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24444 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24446 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24447 handling of denormals.
24448 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24449 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24450 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24451 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24454 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24457 2012-05-26 Marek Polacek <polacek@redhat.com>
24460 * math/libm-test.inc (fma_test): Don't always expect underflow
24463 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24466 * elf/tst-execstack.c: Include stackinfo.h.
24467 (do_test): Adjust test case to ensure that pthread_getattr_np
24468 behaviour remains the same after marking stack executable.
24470 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24472 * sysdeps/unix/sysv/linux/kernel-features.h
24473 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24474 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24476 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24477 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24478 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24480 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24481 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24483 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24485 * configure.in: Define the default includes to being none.
24486 * configure: Regenerated.
24488 2012-05-25 Roland McGrath <roland@hack.frob.com>
24490 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24491 * sysdeps/x86_64/setjmp.S: Likewise.
24492 * sysdeps/i386/bsd-setjmp.S: Likewise.
24493 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24494 * sysdeps/i386/setjmp.S: Likewise.
24495 * sysdeps/i386/__longjmp.S: Likewise.
24496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24497 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24499 * include/stap-probe.h: New file.
24500 * configure.in: Handle --enable-systemtap.
24501 * configure: Regenerated.
24502 * config.h.in (USE_STAP_PROBE): New #undef.
24503 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24504 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24505 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24507 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24510 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24511 to 2.4.0 where earlier.
24512 * sysdeps/unix/sysv/linux/configure: Regenerated.
24513 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24514 <kernel-features.h>.
24515 [__ASSUME_32BITUIDS]: Make code unconditional.
24516 [!__ASSUME_32BITUIDS]: Remove conditional code.
24517 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24518 <kernel-features.h>.
24519 [__ASSUME_32BITUIDS]: Make code unconditional.
24520 [!__ASSUME_32BITUIDS]: Remove conditional code.
24521 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24522 [__ASSUME_32BITUIDS]: Make code unconditional.
24523 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24524 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24525 <kernel-features.h>.
24526 [__ASSUME_32BITUIDS]: Make code unconditional.
24527 [!__ASSUME_32BITUIDS]: Remove conditional code.
24528 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24529 <kernel-features.h>.
24530 [__ASSUME_32BITUIDS]: Make code unconditional.
24531 [!__ASSUME_32BITUIDS]: Remove conditional code.
24532 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24533 <kernel-features.h>.
24534 [__ASSUME_32BITUIDS]: Make code unconditional.
24535 [!__ASSUME_32BITUIDS]: Remove conditional code.
24536 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24537 <kernel-features.h>.
24538 [__ASSUME_32BITUIDS]: Make code unconditional.
24539 [!__ASSUME_32BITUIDS]: Remove conditional code.
24540 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24541 <kernel-features.h>.
24542 [__ASSUME_32BITUIDS]: Make code unconditional.
24543 [!__ASSUME_32BITUIDS]: Remove conditional code.
24544 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24545 <kernel-features.h>.
24546 [__ASSUME_32BITUIDS]: Make code unconditional.
24547 [!__ASSUME_32BITUIDS]: Remove conditional code.
24548 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24549 <kernel-features.h>.
24550 [__ASSUME_32BITUIDS]: Make code unconditional.
24551 [!__ASSUME_32BITUIDS]: Remove conditional code.
24552 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24553 <kernel-features.h>.
24554 [__ASSUME_32BITUIDS]: Make code unconditional.
24555 [!__ASSUME_32BITUIDS]: Remove conditional code.
24556 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24557 <kernel-features.h>.
24558 [__ASSUME_32BITUIDS]: Make code unconditional.
24559 [!__ASSUME_32BITUIDS]: Remove conditional code.
24560 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24561 <kernel-features.h>.
24562 [__ASSUME_32BITUIDS]: Make code unconditional.
24563 [!__ASSUME_32BITUIDS]: Remove conditional code.
24564 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24565 <kernel-features.h>.
24566 [__NR_setresgid] (__setresgid): Do not declare.
24567 [__ASSUME_32BITUIDS]: Make code unconditional.
24568 [!__ASSUME_32BITUIDS]: Remove conditional code.
24569 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24570 <kernel-features.h>.
24571 [__NR_setresuid] (__setresuid): Do not declare.
24572 [__ASSUME_32BITUIDS]: Make code unconditional.
24573 [!__ASSUME_32BITUIDS]: Remove conditional code.
24574 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24575 <kernel-features.h>.
24576 [__ASSUME_32BITUIDS]: Make code unconditional.
24577 [!__ASSUME_32BITUIDS]: Remove conditional code.
24578 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24579 <kernel-features.h>.
24580 [__ASSUME_32BITUIDS]: Make code unconditional.
24581 [!__ASSUME_32BITUIDS]: Remove conditional code.
24582 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24583 <kernel-features.h>.
24584 [__ASSUME_32BITUIDS]: Make code unconditional.
24585 [!__ASSUME_32BITUIDS]: Remove conditional code.
24586 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24587 <kernel-features.h>.
24588 [__ASSUME_32BITUIDS]: Make code unconditional.
24589 [!__ASSUME_32BITUIDS]: Remove conditional code.
24590 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24591 <kernel-features.h>.
24592 [__ASSUME_32BITUIDS]: Make code unconditional.
24593 [!__ASSUME_32BITUIDS]: Remove conditional code.
24594 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24595 <kernel-features.h>.
24596 [__ASSUME_32BITUIDS]: Make code unconditional.
24597 [!__ASSUME_32BITUIDS]: Remove conditional code.
24598 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24599 <kernel-features.h>.
24600 [__ASSUME_32BITUIDS]: Make code unconditional.
24601 [!__ASSUME_32BITUIDS]: Remove conditional code.
24602 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24603 <kernel-features.h>.
24604 [__ASSUME_32BITUIDS]: Make code unconditional.
24605 [!__ASSUME_32BITUIDS]: Remove conditional code.
24606 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24607 <kernel-features.h>.
24608 [__ASSUME_32BITUIDS]: Make code unconditional.
24609 [!__ASSUME_32BITUIDS]: Remove conditional code.
24610 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24611 <kernel-features.h>.
24612 [__ASSUME_32BITUIDS]: Make code unconditional.
24613 [!__ASSUME_32BITUIDS]: Remove conditional code.
24614 * sysdeps/unix/sysv/linux/kernel-features.h
24615 (__ASSUME_SETRESUID_SYSCALL): Remove.
24616 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24617 (__ASSUME_32BITUIDS): Likewise.
24618 (__ASSUME_LDT_WORKS): Likewise.
24619 (__ASSUME_O_DIRECTORY): Likewise.
24620 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24621 architecture but not kernel version.
24622 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24623 (__ASSUME_MMAP2_SYSCALL): Likewise.
24624 (__ASSUME_STAT64_SYSCALL): Likewise.
24625 (__ASSUME_IPC64): Likewise.
24626 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24627 <kernel-features.h>.
24628 [__ASSUME_32BITUIDS]: Make code unconditional.
24629 [!__ASSUME_32BITUIDS]: Remove conditional code.
24630 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24631 <kernel-features.h>.
24632 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24633 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24634 132096]: Remove conditional code.
24635 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24636 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24637 <kernel-features.h>.
24638 [__ASSUME_32BITUIDS]: Make code unconditional.
24639 [!__ASSUME_32BITUIDS]: Remove conditional code.
24640 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24641 <kernel-features.h>.
24642 [__ASSUME_32BITUIDS]: Make code unconditional.
24643 [!__ASSUME_32BITUIDS]: Remove conditional code.
24644 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24645 <kernel-features.h>.
24646 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24648 (__setresgid): Do not declare.
24649 [__ASSUME_32BITUIDS]: Make code unconditional.
24650 [!__ASSUME_32BITUIDS]: Remove conditional code.
24651 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24652 <kernel-features.h>.
24653 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24655 (__setresuid): Do not declare.
24656 [__ASSUME_32BITUIDS]: Make code unconditional.
24657 [!__ASSUME_32BITUIDS]: Remove conditional code.
24658 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24659 <kernel-features.h>.
24660 [__ASSUME_32BITUIDS]: Make code unconditional.
24661 [!__ASSUME_32BITUIDS]: Remove conditional code.
24662 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24663 <kernel-features.h>.
24664 [__ASSUME_32BITUIDS]: Make code unconditional.
24665 [!__ASSUME_32BITUIDS]: Remove conditional code.
24667 2012-05-25 Richard Henderson <rth@twiddle.net>
24669 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24670 dl_hwcap to ifunc resolver.
24671 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24673 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24674 dl_hwcap to ifunc resolver.
24675 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24677 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24680 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24681 for |x| <= 2**-26, not 2**-57.
24682 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24685 2012-05-24 Jeff Law <law@redhat.com>
24687 * stdio-common/Makefile (tests): Add bug25.
24688 * stdio-common/bug25.c: New test.
24690 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24693 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24694 multiple of MALLOC_ALIGNMENT in size.
24695 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24697 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24699 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24701 (FILENAME_MAX): Use macro-int-constant.
24702 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24703 (_IOFBF): Use macro-int-constant.
24704 (_IOLBF): Likewise.
24705 (_IONBF): Likewise.
24706 (SEEK_CUR): Likewise.
24707 (SEEK_END): Likewise.
24708 (SEEK_SET): Likewise.
24709 (TMP_MAX): Likewise.
24710 (EOF): Use macro-int-constant. Require < 0.
24711 (NULL): Use macro-constant. Require == 0.
24712 (stdin): Require type to be FILE *.
24713 (stdout): Likewise.
24714 (stderr): Likewise.
24715 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24716 macro-int-constant.
24717 (EXIT_SUCCESS): Likewise.
24718 (NULL): Use macro-constant. Require == 0.
24719 (RAND_MAX): Use macro-int-constant.
24720 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24721 [C99-based standards] (strtof): Require function.
24722 [C99-based standards] (strtold): Likewise.
24723 [C99-based standards] (strtoll): Likewise.
24724 [C99-based standards] (strtoull): Likewise.
24725 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24726 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24727 [ISO || ISO99 || ISO11] (math.h): Likewise.
24728 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24729 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24732 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24735 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24736 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24737 * intl/dgettext.c (DCGETTEXT): Likewise.
24738 * intl/gettext.c (DCGETTEXT): Likewise.
24739 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24740 * posix/regex_internal.h (gettext): Likewise.
24741 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24742 Remove declaration.
24743 * include/argz.h (__argz_count_internal)
24744 (__argz_stringify_internal): Remove declaration.
24745 (__argz_count, __argz_stringify): Declare hidden proto.
24746 * intl/dcgettext.c: Remove use of INTDEF.
24747 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24748 * string/argz-stringify.c: Likewise.
24749 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24750 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24751 Declare hidden proto.
24752 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24753 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24754 Declare hidden proto.
24755 * include/stdio.h (__asprintf_internal): Don't declare.
24756 (__asprintf): Don't define as macro. Declare hidden proto.
24757 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24758 (__fsetlocking): Declare hidden proto.
24759 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24760 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24762 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24763 (_IO_setlinebuf): Remove use of INTUSE.
24764 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24765 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24766 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24767 Remove declaration.
24768 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24769 (_IO_do_flush): Remove use of INTUSE.
24770 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24771 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24772 (_IO_adjust_column, _IO_least_wmarker)
24773 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24774 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24775 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24776 (_IO_default_doallocate, _IO_wdefault_doallocate)
24777 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24778 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24779 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24780 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24781 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24782 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24783 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24784 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24785 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24786 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24787 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24788 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24789 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24791 (_IO_flush_all_internal, _IO_adjust_column_internal)
24792 (_IO_default_uflow_internal, _IO_default_finish_internal)
24793 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24794 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24795 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24796 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24797 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24798 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24799 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24800 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24801 (_IO_file_close_internal, _IO_file_close_it_internal)
24802 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24803 (_IO_file_init_internal, _IO_file_attach_internal)
24804 (_IO_file_fopen_internal, _IO_file_read_internal)
24805 (_IO_file_sync_internal, _IO_file_seek_internal)
24806 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24807 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24808 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24809 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24810 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24811 (_IO_list_all_internal, _IO_link_in_internal)
24812 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24813 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24814 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24815 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24816 (_IO_do_write_internal, _IO_padn_internal)
24817 (_IO_getline_info_internal, _IO_getline_internal)
24818 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24819 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24820 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24821 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24822 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24823 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24824 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24825 with libc_hidden_ver, remove use of INTUSE.
24826 * libio/genops.c: Likewise.
24827 * libio/freopen.c: Likewise.
24828 * libio/freopen64.c: Likewise.
24829 * libio/iofclose.c: Likewise.
24830 * libio/iofdopen.c: Likewise.
24831 * libio/iofflush.c: Likewise.
24832 * libio/iofflush_u.c: Likewise.
24833 * libio/iofgets.c: Likewise.
24834 * libio/iofgets_u.c: Likewise.
24835 * libio/iofopen.c: Likewise.
24836 * libio/iofopncook.c: Likewise.
24837 * libio/iofread.c: Likewise.
24838 * libio/iofread_u.c: Likewise.
24839 * libio/ioftell.c: Likewise.
24840 * libio/iofwrite.c: Likewise.
24841 * libio/iogetline.c: Likewise.
24842 * libio/iogets.c: Likewise.
24843 * libio/iogetwline.c: Likewise.
24844 * libio/iopadn.c: Likewise.
24845 * libio/iopopen.c: Likewise.
24846 * libio/ioseekoff.c: Likewise.
24847 * libio/ioseekpos.c: Likewise.
24848 * libio/iosetbuffer.c: Likewise.
24849 * libio/iosetvbuf.c: Likewise.
24850 * libio/ioungetc.c: Likewise.
24851 * libio/ioungetwc.c: Likewise.
24852 * libio/iovdprintf.c: Likewise.
24853 * libio/iovsprintf.c: Likewise.
24854 * libio/iovsscanf.c: Likewise.
24855 * libio/memstream.c: Likewise.
24856 * libio/obprintf.c: Likewise.
24857 * libio/oldfileops.c: Likewise.
24858 * libio/oldiofclose.c: Likewise.
24859 * libio/oldiofdopen.c: Likewise.
24860 * libio/oldiofopen.c: Likewise.
24861 * libio/oldiopopen.c: Likewise.
24862 * libio/oldstdfiles.c: Likewise.
24863 * libio/putc.c: Likewise.
24864 * libio/setbuf.c: Likewise.
24865 * libio/setlinebuf.c: Likewise.
24866 * libio/stdfiles.c: Likewise.
24867 * libio/strops.c: Likewise.
24868 * libio/vasprintf.c: Likewise.
24869 * libio/vscanf.c: Likewise.
24870 * libio/vsnprintf.c: Likewise.
24871 * libio/vswprintf.c: Likewise.
24872 * libio/wfiledoalloc.c: Likewise.
24873 * libio/wfileops.c: Likewise.
24874 * libio/wgenops.c: Likewise.
24875 * libio/wmemstream.c: Likewise.
24876 * libio/wstrops.c: Likewise.
24877 * libio/__fpurge.c: Likewise.
24878 * libio/__fsetlocking.c: Likewise.
24879 * assert/assert.c: Likewise.
24880 * debug/fgets_chk.c: Likewise.
24881 * debug/fgets_u_chk.c: Likewise.
24882 * debug/fread_chk.c: Likewise.
24883 * debug/fread_u_chk.c: Likewise.
24884 * debug/gets_chk.c: Likewise.
24885 * debug/obprintf_chk.c: Likewise.
24886 * debug/vasprintf_chk.c: Likewise.
24887 * debug/vdprintf_chk.c: Likewise.
24888 * debug/vsnprintf_chk.c: Likewise.
24889 * debug/vsprintf_chk.c: Likewise.
24890 * malloc/mtrace.c: Likewise.
24891 * misc/error.c: Likewise.
24892 * misc/syslog.c: Likewise.
24893 * stdio-common/asprintf.c: Likewise.
24894 * stdio-common/fxprintf.c: Likewise.
24895 * stdio-common/getw.c: Likewise.
24896 * stdio-common/isoc99_fscanf.c: Likewise.
24897 * stdio-common/isoc99_scanf.c: Likewise.
24898 * stdio-common/isoc99_vfscanf.c: Likewise.
24899 * stdio-common/isoc99_vscanf.c: Likewise.
24900 * stdio-common/isoc99_vsscanf.c: Likewise.
24901 * stdio-common/printf-prs.c: Likewise.
24902 * stdio-common/printf_fp.c: Likewise.
24903 * stdio-common/printf_fphex.c: Likewise.
24904 * stdio-common/printf_size.c: Likewise.
24905 * stdio-common/putw.c: Likewise.
24906 * stdio-common/scanf.c: Likewise.
24907 * stdio-common/sprintf.c: Likewise.
24908 * stdio-common/tmpfile.c: Likewise.
24909 * stdio-common/vfprintf.c: Likewise.
24910 * stdio-common/vfscanf.c: Likewise.
24911 * stdlib/strfmon_l.c: Likewise.
24912 * sunrpc/openchild.c: Likewise.
24913 * sunrpc/xdr_stdio.c: Likewise.
24914 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24915 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24917 2012-05-24 Roland McGrath <roland@hack.frob.com>
24919 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24921 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24922 in the third column, to generate for the shared library an IFUNC
24923 that uses _dl_vdso_vsym.
24924 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24925 * Makeconfig (object-suffixes-noshared): New variable.
24927 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24928 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24929 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24930 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24933 * include/sys/time.h (__gettimeofday): Remove macro.
24934 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24935 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24937 (__gettimeofday): Add libc_hidden_def.
24938 (gettimeofday): Add libc_hidden_weak.
24939 * sysdeps/mach/gettimeofday.c: Likewise.
24940 * sysdeps/posix/gettimeofday.c: Likewise.
24941 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24942 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24944 (__gettimeofday_internal): Remove strong_alias.
24945 (__gettimeofday): Add libc_hidden_def.
24946 (gettimeofday): Add libc_hidden_weak.
24947 * sysdeps/unix/syscalls.list (gettimeofday):
24948 Remove __gettimeofday_internal alias.
24950 2012-05-24 Daniel Jacobowitz <drow@false.org>
24951 H.J. Lu <hongjiu.lu@intel.com>
24954 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24955 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24956 (largebin_index_32_big): New.
24957 (largebin_index): Use it for 16-byte alignment.
24958 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24959 correction with front_misalign.
24961 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24989 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24990 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24992 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24996 * math/libm-test.inc (exp_test): Add test from bug 14036.
24997 (pow_test): Add test from bug 10846.
24999 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25001 (special_function): Do not include flags in test name.
25002 (parse_args): Likewise.
25003 * sysdeps/i386/fpu/libm-test-ulps: Update.
25004 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25005 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25006 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25009 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25011 * math/libm-test.inc ("Philosophy"): Update comment about
25013 (UNDERFLOW_EXCEPTION): New macro.
25014 (UNDERFLOW_EXCEPTION_OK): Likewise.
25015 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25016 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25017 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25018 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25019 (INVALID_EXCEPTION_OK): Update value.
25020 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25021 (OVERFLOW_EXCEPTION_OK): Likewise.
25022 (IGNORE_ZERO_INF_SIGN): Likewise.
25023 (test_exceptions): Handle underflow exceptions.
25024 (acos_test): Update for underflow exception expectations.
25025 (cexp_test): Likewise.
25026 (clog_test): Likewise.
25027 (clog10_test): Likewise.
25028 (csqrt_test): Likewise.
25029 (ctan_test): Likewise.
25030 (ctanh_test): Likewise.
25031 (exp_test): Likewise.
25032 (exp10_test): Likewise.
25033 (exp2_test): Likewise.
25034 (expm1_test): Likewise.
25035 (fma_test): Likewise.
25036 (j0_test): Likewise.
25037 (jn_test): Likewise.
25038 (nexttoward_test): Likewise.
25039 (pow_test): Likewise.
25040 (scalbn_test): Likewise.
25041 (scalbln_test): Likewise.
25042 (tan_test): Likewise.
25043 (y1_test): Likewise.
25044 * sysdeps/i386/fpu/libm-test-ulps: Update.
25045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25047 2012-05-23 David S. Miller <davem@davemloft.net>
25049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25050 (__libc_sigaction): Remove unused local variables.
25052 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25054 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25056 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25058 mktime: avoid signed integer overflow
25059 * time/mktime.c (__mktime_internal): Do not mishandle the case
25060 where diff == INT_MIN.
25062 mktime: simplify computation of average
25063 * time/mktime.c (ranged_convert): Use new time_t_avg function
25064 instead of rolling our own (probably-slower) code.
25066 mktime: do not assume signed right shift propagates sign bit
25067 * time/mktime.c (isdst_differ): New static function.
25068 (__mktime_internal): No need to normalize tm_isdst now.
25069 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25072 mktime: merge another wrapv change from gnulib
25073 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25074 from some compilers.
25076 mktime: remove incorrect attempt at unusual arithmetics
25077 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25078 The code didn't really work on such machines anyway.
25079 (TYPE_MINIMUM): Assume two's complement.
25080 (twos_complement_arithmetic): Verify that long_int and time_t
25081 are two's complement (or unsigned, in the latter case).
25083 mktime: check signed shifts on long_int and time_t, too
25084 * time/mktime.c (SHR): Check that shifts work as desired
25085 on the types long_int and time_t too, as SHR is used on
25088 mktime: do not assume 'long' is wide enough
25089 * time/mktime.c (verify): Move decl up.
25090 (long_int): New type.
25091 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25092 to remove assumption in the code that 'long' is wide enough to
25093 store year values. This assumption is not true on x32 and on
25094 some non-glibc platforms.
25096 mktime: merge wrapv change from gnulib
25097 * time/mktime.c (WRAPV): New macro.
25098 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25099 (guess_time_tm, __mktime_internal): Do not assume that signed
25100 integer overflow wraps around; modern compilers generate code
25101 where this assumption is no longer valid.
25103 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25105 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25106 Replace "jmp L(pseudo_end)" with "ret".
25107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25110 2012-05-23 Andreas Jaeger <aj@suse.de>
25112 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25113 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25115 2012-05-23 Andreas Jaeger <aj@suse.de>
25116 Maximilian Attems <max@stro.at>
25118 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25121 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25123 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25124 code so that pseudo_end is just ret and the stack pointer is
25125 correct also for static library in error case.
25127 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25129 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25130 move to syscalls.list.
25131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25136 * manual/install.texi (Running make install): Do not mention Linux
25137 kernel version for which pt_chown is not needed.
25138 (Linux): Do not mention problems with nscd with 2.0 kernels.
25139 * INSTALL: Regenerated.
25141 2012-05-23 Andreas Jaeger <aj@suse.de>
25143 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25144 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25146 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25147 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25148 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25149 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25150 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25151 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25156 * sysdeps/unix/sysv/linux/bits/in.h
25157 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25159 2012-05-22 Roland McGrath <roland@hack.frob.com>
25161 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25162 (PREPARE_VERSION): Just use assert instead, it will be elided
25163 under [NDEBUG] anyway.
25165 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25167 * sysdeps/unix/sysv/linux/Makefile: Include
25168 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25169 (sysdep_routines): Remove sysctl.
25170 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25171 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25172 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25173 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25174 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25176 2012-05-22 Andreas Jaeger <aj@suse.de>
25178 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25179 that pseudo_end is just ret and the stack pointer is correct also
25180 for static library in error case.
25182 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25185 * nss/nsswitch.c (defconfig_entries): New variable.
25186 (__nss_database_lookup): Don't leak defconfig entries.
25187 (nss_parse_service_list): Don't leak on error paths.
25188 (free_database_entries): New function.
25189 (free_defconfig): New function.
25190 (free_mem): Move common code to free_database_entries.
25192 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25194 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25196 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25198 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25199 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25202 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25203 (INTERNAL_SYSCALL_TYPES): Likewise.
25204 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25205 (LOAD_REGS_TYPES_[1-6]): Likewise.
25206 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25207 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25209 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25211 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25212 copysignl for GLIBC_2_0.
25213 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25214 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25216 logbl for GLIBC_2_0.
25217 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25218 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25220 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25223 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25225 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25228 * time/mktime.c: Update copyright years.
25230 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25232 mktime: merge comment-quoting-style change from gnulib
25233 * time/mktime.c: Quote 'like this' in comments.
25234 The GNU coding standards suggest that we no longer quote `like this',
25235 as "`" and "'" are typically rendered asymmetrically nowadays.
25236 The typical gnulib style is to quote 'like this' when quoting
25237 code, and "like this" when quoting English.
25239 * time/mktime.c (compile-command): Add "-I.".
25241 mktime: merge mktime-internal.h change from gnulib
25242 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25244 mktime: merge time_r change from gnulib
25245 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25247 mktime: merge DEBUG change from gnulib
25248 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25249 case system <time.h> has a #define.
25251 mktime: merge <sys/types.h> change from gnulib
25252 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25253 since <time.t> is now guaranteed to define time_t.
25255 mktime: merge HAVE_CONFIG_H change from gnulib
25256 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25258 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25263 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25265 (struct rusage): Use anonymous union to pad each field to
25268 2012-05-21 David S. Miller <davem@davemloft.net>
25270 * Makefules (o-iterator): Remove .s cases.
25271 (compile-command.s): Delete.
25272 (COMPILE.s): Delete.
25273 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25275 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25277 * configure.in (libc_cv_predef_stack_protector): Only consider
25278 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25279 * configure: Regenerated.
25281 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25284 New macro. Use R*LP on int and pointer.
25285 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25286 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25287 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25288 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25290 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25291 [__WORDSIZE_TIME64_COMPAT32] instead of
25292 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25293 (struct utmp): Likewise.
25294 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25295 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25297 (__WORDSIZE_TIME64_COMPAT32): This.
25298 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25299 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25300 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25301 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25302 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25303 (__WORDSIZE_TIME64_COMPAT32): New macro.
25305 2012-05-21 Andreas Jaeger <aj@suse.de>
25307 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25308 only if [SHARED]. Add prototype for __wcschr_ia32.
25310 2012-05-21 Roland McGrath <roland@hack.frob.com>
25312 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25313 of %rbp unmolested in the jmp_buf while mangling the low bits.
25314 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25315 unmolested high bits of %rbp while demangling the low bits.
25316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25318 2012-05-21 Andreas Jaeger <aj@suse.de>
25320 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25321 * sunrpc/svc_simple.c: Use it for registerrpc.
25322 * sunrpc/xcrypt.c: Use it for passwd2des.
25324 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25326 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25328 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25329 Don't define if [__SYSCALL_WORDSIZE != 32].
25330 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25333 2012-05-21 Bruno Haible <bruno@clisp.org>
25334 Andreas Jaeger <aj@suse.de>
25336 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25337 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25338 inptr and inend for must_buffer_ch.
25339 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25340 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25341 * stdio-common/Makefile (tests): Remove bug15.
25342 (bug15-ENV): Remove macro.
25343 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25346 2012-05-19 Andreas Jaeger <aj@suse.de>
25347 Roland McGrath <roland@hack.frob.com>
25349 * manual/contrib.texi: Completely rewritten. It contains now an
25350 alphabetical list of contributors and their contributions.
25352 2012-05-21 Richard Henderson <rth@twiddle.net>
25354 * misc/getauxval.c (__getauxval): Use unsigned long int.
25355 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25356 (getauxval): Use unsigned long int.
25358 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25360 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25362 2012-05-21 Roland McGrath <roland@hack.frob.com>
25364 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25365 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25366 __alignof__ (long double).
25368 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25372 2012-05-20 Richard Henderson <rth@twiddle.net>
25374 * misc/getauxval.c: New file.
25375 * misc/sys/auxv.h: New file.
25376 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25377 (routines): Add getauxval.
25378 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25379 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25380 * elf/dl-sysdep.c (_dl_auxv): Remove.
25381 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25382 * elf/dl-support.c (_dl_auxv): New variable.
25383 (_dl_aux_init): Initialize it.
25384 * manual/startup.texi (Auxiliary Vector): New node.
25385 * sysdeps/generic/bits/hwcap.h: New file.
25386 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25387 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25388 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25389 * sysdeps/sparc/sysdep.h: ... here. Include it.
25390 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25391 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25403 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25407 2012-05-19 David S. Miller <davem@davemloft.net>
25409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25411 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25414 * math/s_ccosh.c: Include <float.h>
25415 (__ccosh): Avoid internal overflow calculating sinh and cosh
25416 values before multiplying by sin and cos values.
25417 * math/s_ccoshf.c: Likewise.
25418 * math/s_ccoshl.c: Likewise.
25419 * math/s_csin.c: Likewise.
25420 * math/s_csinf.c: Likewise.
25421 * math/s_csinl.c: Likewise.
25422 * math/s_csinh.c: Likewise.
25423 * math/s_csinhf.c: Likewise.
25424 * math/s_csinhl.c: Likewise.
25425 * math/libm-test.inc (ccos_test): Add more tests.
25426 (ccosh_test): Likewise.
25427 (csin_test): Likewise.
25428 (csinh_test): Likewise.
25429 * sysdeps/i386/fpu/libm-test-ulps: Update.
25430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25432 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25434 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25435 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25437 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25439 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25441 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25442 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25443 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25444 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25445 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25446 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25447 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25448 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25449 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25450 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25451 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25452 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25453 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25454 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25455 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25456 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25457 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25458 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25459 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25460 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25461 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25462 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25463 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25464 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25465 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25466 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25467 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25468 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25469 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25470 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25471 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25473 2012-05-18 Andreas Jaeger <aj@suse.de>
25475 * csu/.gitignore: Delete.
25477 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25479 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25480 (timex): Use __syscall_slong_t.
25482 2012-05-18 Andreas Jaeger <aj@suse.de>
25483 Carlos O'Donell <carlos_odonell@mentor.com>
25485 * manual/install.texi (Configuring and compiling): Update
25486 description about files modified in the source directory.
25487 * INSTALL: Regenerated.
25489 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25491 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25492 value. Use "or" to set return value to -1.
25493 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25494 negate return value.
25496 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25498 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25499 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25500 failure if the compiler has Graphite support disabled.
25501 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25503 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25504 CFLAGS-memmove.c): Likewise.
25505 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25508 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25510 * sysdeps/x86_64/x32/_itoa.h: New file.
25512 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25513 getdents system call only if kernel and user dirents have the
25514 same d_ino and d_off.
25516 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25517 LLONG_MAX != LONG_MAX.
25518 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25519 (_fitoa_word): Likewise.
25521 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25523 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25524 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25525 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25527 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25528 include <bits/wordsize.h>. Check __x86_64__ instead of
25530 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25531 if __x86_64__ is defined. Use anonymous union on fpstate.
25533 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25536 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25538 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25539 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25540 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25541 Refer to _rtld_local_ro instead of _rtld_global_ro.
25542 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25544 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25546 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25548 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25549 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25550 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25552 * sysdeps/powerpc/powerpc32/dl-machine.c
25553 (__elf_machine_runtime_setup) [PROF]: Don't reference
25556 2012-05-18 Andreas Jaeger <aj@suse.de>
25558 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25559 function only available for GCCs before 3.4 since GCC 3.4
25560 introduced a builtin.
25562 (llrintf): Likewise.
25563 (llrint): Likewise.
25570 (nearbyint): Likewise.
25571 (nearbyintf): Likewise.
25575 (floorf): Likewise.
25577 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25579 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25580 on both fields and cast pointer to __syscall_ulong_t.
25582 * bits/types.h (__fsword_t): New type.
25583 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25584 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25586 (__FSWORD_T_TYPE): Likewise.
25587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25588 (__FSWORD_T_TYPE): Likewise.
25589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25590 (__FSWORD_T_TYPE): Likewise.
25591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25592 (__FSWORD_T_TYPE): Likewise.
25593 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25594 __SWORD_TYPE with __fsword_t.
25595 (statfs64): Likewise.
25597 2012-05-17 David S. Miller <davem@davemloft.net>
25599 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25601 2012-05-17 Andreas Jaeger <aj@suse.de>
25603 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25606 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25608 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25610 2012-05-17 Andreas Jaeger <aj@suse.de>
25612 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25615 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25617 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25619 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25621 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25622 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25624 2012-05-17 Andreas Jaeger <aj@suse.de>
25625 Carlos O'Donell <carlos_odonell@mentor.com>
25628 * sysdeps/x86_64/multiarch/init-arch.h
25629 (bit_YMM_Usable): Rename to...
25630 (bit_AVX_Usable): ... this.
25631 (bit_FMA4_Usable): New macro.
25632 (bit_XMM_state): New macro.
25633 (bit_YMM_state): New macro.
25634 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25635 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25636 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25637 (CPUID_OSXSAVE): New macro.
25638 (CPUID_AVX): New macro.
25639 (CPUID_FMA4): New macro.
25640 (index_YMM_Usable): Rename to...
25641 (index_AVX_Usable): ... this.
25642 (HAS_AVX): Use HAS_ARCH_FEATURE.
25643 (HAS_FMA4): Likewise.
25644 (HAS_YMM_USABLE): Remove.
25645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25646 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25648 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25649 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25650 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25651 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25652 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25654 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25656 * math/libm-test.c: Support platforms without multiple rounding modes.
25657 * math/bug-nextafter.c: Support platforms without FP exceptions.
25658 * math/bug-nexttoward.c: Likewise.
25659 * math/test-fenv.c: Likewise.
25660 * math/test-misc.c: Likewise.
25661 * stdlib/bug-getcontext.c: Likewise.
25663 2012-05-17 Andreas Jaeger <aj@suse.de>
25665 * manual/examples/search.c (critter_cmp): Change signature to
25667 * manual/string.texi (Collation Functions): Likewise.
25669 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25671 * bits/types.h: Fold copyright years.
25672 * bits/typesizes.h: Likewise.
25673 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25677 * time/time.h: Likewise.
25679 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25682 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25683 in instead of returning them. Return void.
25684 (__libc_mallinfo): Accumulate over all arenas.
25685 (__malloc_stats): Adjust for change in int_mallinfo interface.
25687 2012-05-16 Roland McGrath <roland@hack.frob.com>
25690 * configure.in (NM): Add AC_CHECK_TOOL for it.
25691 (libc_extra_cflags): New substituted variable.
25692 Check for -fstack-protector being used implicitly.
25693 * configure: Regenerated.
25694 * config.make.in (config-extra-cflags): New variable,
25695 gets @libc_extra_cflags@.
25696 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25699 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25700 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25701 * configure: Regenerated.
25702 * config.make.in (CPPUNDEFS): New substituted variable.
25703 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25704 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25705 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25707 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25709 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25710 (mq_attr): Use __syscall_slong_t.
25712 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25714 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25715 Check __x86_64__ instead of __WORDSIZE.
25716 (_STAT_VER_LINUX): Likewise.
25717 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25718 __syscall_ulong_t and __syscall_slong_t.
25719 (stat64): Likewise.
25721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25723 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25725 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25727 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25729 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25731 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25734 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25735 include <bits/wordsize.h>. Check __x86_64__ instead of
25737 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25739 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25741 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25742 include <bits/wordsize.h>. Check __x86_64__ instead of
25744 (user_regs_struct): Use "__extension__ unsigned long long"
25745 instead of "unsigned long" if __x86_64__ is defined.
25746 (user): Likewise. Pad after pointer field if __ILP32__ is
25749 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25751 * configure.in (makeinfo): Require version 4.5 or later. Allow
25753 * configure: Regenerated.
25754 * manual/install.texi (texinfo): Increase version requirement to
25756 * INSTALL: Regenerated.
25758 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25760 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25762 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25764 * sysdeps/x86_64/x32/ffs.c: New file.
25766 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25768 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25769 defined. Use __syscall_ulong_t.
25770 (shminfo): Use __syscall_ulong_t.
25771 (shm_info): Likewise.
25773 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25776 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25778 (msgqnum_t): Use __syscall_ulong_t.
25779 (msglen_t): Likewise.
25780 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25783 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25784 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25786 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25788 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25789 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25791 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25794 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25795 include <bits/wordsize.h>. Check __x86_64__ instead of
25798 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25799 "unsigned long long int" if __x86_64__ is defined.
25800 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25802 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25803 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25804 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25806 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25808 (GET_PC): Cast to uintptr_t first.
25809 (GET_FRAME): Likewise.
25810 (GET_STACK): Likewise.
25812 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25813 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25814 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25815 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25816 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25817 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25818 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25819 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25820 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25821 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25822 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25823 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25824 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25825 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25826 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25827 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25828 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25829 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25830 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25831 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25832 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25833 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25834 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25835 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25836 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25837 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25838 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25839 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25840 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25842 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25844 * Makerules (+depfiles): Also collect depfiles from .oS in
25846 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25847 .oS, $(libnldbl-routines)).
25849 * Makerules (native-compile-mkdep-flags): Define.
25850 * sunrpc/Makefile (extra-objs): Add $(addprefix
25851 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25852 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25853 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25854 calling $(make-target-directory).
25856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25858 * bits/types.h (__snseconds_t): Removed.
25859 * time/time.h (struct timespec): Replace __snseconds_t with
25861 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25862 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25865 (__SNSECONDS_T_TYPE): Likewise.
25866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25867 (__SNSECONDS_T_TYPE): Likewise.
25868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25869 (__SNSECONDS_T_TYPE): Likewise.
25871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25873 * sysdeps/mach/hurd/bits/typesizes.h
25874 (__SYSCALL_SLONG_TYPE): New macro.
25875 (__SYSCALL_ULONG_TYPE): Likewise.
25877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25879 * bits/types.h (__syscall_slong_t): New type.
25880 (__syscall_ulong_t): Likewise.
25882 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25883 (__SYSCALL_ULONG_TYPE): Likewise.
25884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25885 (__SYSCALL_SLONG_TYPE): Likewise.
25886 (__SYSCALL_ULONG_TYPE): Likewise.
25887 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25888 (__SYSCALL_SLONG_TYPE): Likewise.
25889 (__SYSCALL_ULONG_TYPE): Likewise.
25890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25891 (__SYSCALL_SLONG_TYPE): Likewise.
25892 (__SYSCALL_ULONG_TYPE): Likewise.
25894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25896 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25897 Add sigaltstack-offsets.sym.
25898 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25899 <sigaltstack-offsets.h>.
25900 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25901 longjmp_msg pointer.
25902 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25903 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25905 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25907 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25909 * elf/stackguard-macros.h: Remove file.
25910 * sysdeps/generic/stackguard-macros.h: New file.
25911 * sysdeps/i386/stackguard-macros.h: Likewise.
25912 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25913 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25914 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25915 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25916 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25917 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25918 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25919 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25920 <elf/stackguard-macros.h>.
25923 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25924 __aligned__ in attribute.
25925 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25926 (gregset_t): Likewise.
25928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25930 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25931 * sysdeps/x86_64/64/Implies-after: Here. New file.
25932 * sysdeps/x86_64/x32/Implies-after: New file.
25934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25936 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25937 and access return value for _dl_profile_fixup. Use R10_LP to
25940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25942 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25946 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25947 * sysdeps/x86_64/x32/sysdep.h: New file.
25949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25951 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25952 * sysdeps/x86_64/setjmp.S: Likewise.
25954 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25956 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25957 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25958 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25959 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25960 remove unused global constant.
25962 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25964 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25965 include of <not-cancel.h>.
25967 2012-05-15 Roland McGrath <roland@hack.frob.com>
25969 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25971 2012-05-15 Jeff Law <law@redhat.com>
25972 Andreas Jaeger <aj@suse.de>
25975 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25977 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25978 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25979 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25980 code changing __hst_map_handle.map.
25982 2012-05-15 Roland McGrath <roland@hack.frob.com>
25984 * configure.in (sysnames): Look for Implies-before and Implies-after
25986 * configure: Regenerated.
25988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25990 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25991 8-byte data alignment with LP_SIZE alignment.
25993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25995 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26000 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26004 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26005 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26006 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26008 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26012 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26013 (stackinfo_sub_sp): Likewise.
26015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26017 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26022 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26032 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26036 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26037 into R11_LP and load __x86_64_shared_cache_size_half into
26040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26042 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26045 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26049 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26053 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26054 powerpc32/power7/fpu/s_logb.c via #include.
26055 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26056 powerpc32/power7/fpu/s_logbf.c via #include.
26057 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26058 powerpc32/power7/fpu/s_logbl.c via #include.
26060 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26062 * README.libm: Remove file.
26064 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26066 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26067 count for x32. Use R*_LP and omit operand-size suffix.
26069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26071 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26072 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26073 * sysdeps/x86_64/x32/shlib-versions: New file.
26075 2012-05-14 Roland McGrath <roland@hack.frob.com>
26077 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26078 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26079 Use _dl_fatal_printf instead.
26081 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26083 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26084 set if not set by the user. Do not allow for being unset.
26085 * sysdeps/unix/sysv/linux/configure: Regenerated.
26087 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26089 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26090 the `q' suffix from lea and replace .quad with ASM_ADDR.
26092 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26095 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26097 (PTR_DEMANGLE): Likewise.
26099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26101 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26103 (ASM_ADDR): Likewise.
26104 (RAX_LP): Likewise.
26105 (RBP_LP): Likewise.
26106 (RBX_LP): Likewise.
26107 (RCX_LP): Likewise.
26108 (RDI_LP): Likewise.
26109 (RSI_LP): Likewise.
26110 (RSP_LP): Likewise.
26113 (R10_LP): Likewise.
26114 (R10_LP): Likewise.
26115 (R11_LP): Likewise.
26116 (R12_LP): Likewise.
26117 (R13_LP): Likewise.
26118 (R14_LP): Likewise.
26119 (R15_LP): Likewise.
26121 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26123 * sysdeps/x86_64/x32/dl-machine.h: New file.
26125 2012-05-14 Andreas Jaeger <aj@suse.de>
26127 * manual/Makefile (subdir): Remove export of subdir.
26128 (all): Remove target.
26129 (.PHONY): Remove all from list.
26130 (mkinstalldirs): Remove.
26131 (.PHONY): Remove installdirs from list.
26132 ($(inst_infodir)/libc.info): Use make-target-directory.
26133 (installdirs): Remove.
26134 (subdir_%): Remove.
26135 (glibc-targets): Remove.
26138 ($(objpfx)stubs ../po/manual.pot): Remove.
26139 ($(objpfx)stamp%): Remove.
26140 (make-target-directory): Remove.
26141 (subdir_install): Remove.
26142 (routines): Remove.
26149 * manual/.gitignore: Remove, it's not needed anymore.
26150 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26152 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26154 (texis): Renamed to $(objpfx)texis.
26155 (texis-path): New, contains path to generated files.
26156 (chapters.%): Use texis-path for complete path, add extra argument
26158 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26159 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26160 (summary,texi, stamp-summary): Use complete path of
26161 files. Generate files in build dir.
26162 (dir-add.texi): Build in build dir.
26163 (libm-err.texi,stamp-libm-err): Likewise.
26164 (version.texi, stamp-version): Likewise.
26165 (.%c.texi): Likewise.
26166 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26167 (mostlyclean): Remove target.
26168 (realclean): Remove target.
26169 (generated): Add new variable with contents from mostlyclean and
26170 realclean, remove entries duplicated in common-mostlyclean, add
26171 stamp-libm-err and stamp-version.
26172 (generated-dirs): Add libc directory.
26173 ($(inst_infodir)/libc.info): Install files from build dir.
26175 * manual/install.texi (Configuring and compiling): Adjust since
26176 the info files are not part of the tar ball anymore.
26178 2012-05-14 Andreas Jaeger <aj@suse.de>
26180 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26183 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26187 to 2.2.0 where earlier.
26188 * sysdeps/unix/sysv/linux/configure: Regenerated.
26189 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26190 Remove conditional code.
26191 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26192 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26193 Remove conditional code.
26194 [!__NR_lchown]: Likewise.
26195 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26196 [__NR_lchown]: Likewise.
26197 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26198 comment referencing __ASSUME_LCHOWN_SYSCALL.
26199 * sysdeps/unix/sysv/linux/i386/sigaction.c
26200 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26201 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26202 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26203 Remove conditional code.
26204 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26205 (__protocol_available): Remove #if 0 code.
26206 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26208 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26209 * sysdeps/unix/sysv/linux/kernel-features.h
26210 (__ASSUME_GETCWD_SYSCALL): Don't define.
26211 (__ASSUME_REALTIME_SIGNALS): Likewise.
26212 (__ASSUME_PREAD_SYSCALL): Likewise.
26213 (__ASSUME_PWRITE_SYSCALL): Likewise.
26214 (__ASSUME_POLL_SYSCALL): Likewise.
26215 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26216 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26218 (__ASSUME_SIOCGIFNAME): Don't define.
26219 (__ASSUME_MSG_NOSIGNAL): Likewise.
26220 (__ASSUME_SENDFILE): Define unconditionally.
26221 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26222 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26224 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26225 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26226 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26227 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26228 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26229 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26230 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26235 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26241 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26244 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26247 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26253 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26255 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26256 Remove conditional code.
26257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26258 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26259 Remove conditional code.
26260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26261 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26262 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26263 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26264 Remove conditional code.
26265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26266 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26267 Remove conditional code.
26268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26269 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26270 Remove conditional code.
26271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26272 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26273 Remove conditional code.
26274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26275 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26276 Remove conditional code.
26277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26278 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26281 * sysdeps/unix/sysv/linux/sigaction.c
26282 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26283 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26284 * sysdeps/unix/sysv/linux/sigpending.c
26285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26287 * sysdeps/unix/sysv/linux/sigprocmask.c
26288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26290 * sysdeps/unix/sysv/linux/sigsuspend.c
26291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26294 (__libc_missing_rt_sigs): Remove.
26295 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26296 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26297 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26298 Remove conditional code.
26299 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26300 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26302 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26303 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26304 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26305 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26307 2012-05-14 Andreas Jaeger <aj@suse.de>
26309 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26310 it's not used in glibc.
26311 (__coshm1): Likewise.
26312 (__acosh1p): Likewise.
26315 * manual/string.texi (Copying and Concatenation): Add missing
26316 variable in concat example.
26317 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26319 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26322 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26323 __builtin_clzl with __builtin_clzll.
26325 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26328 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26331 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26333 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26334 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26335 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26336 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26338 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26340 * NEWS: Update ia64 info.
26342 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26344 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26347 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26349 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26350 * sysdeps/unix/syscalls.list (dup3): Likewise.
26351 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26352 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26354 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26356 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26357 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26359 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26361 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26363 (TLS_IE): Use mov/add instead of movq/addq to load thread
26365 (TLS_GD_PREFIX): New.
26368 2012-05-11 David S. Miller <davem@davemloft.net>
26370 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26371 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26372 (_FPU_SETCW): Likewise.
26374 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26376 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26377 is 32-byte aligned.
26379 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26382 * iconvdata/gb18030.c: Update tables.
26383 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26384 characters specially.
26385 (BODY for TO_LOOP): Add encoding of missing ranges.
26387 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26390 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26391 * sysdeps/mach/hurd/dup3.c: Likewise.
26392 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26393 * sysdeps/powerpc/memmove.c:: Likewise.
26395 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26397 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26398 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26400 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26402 * elf/elf.h (R_X86_64_RELATIVE64): New.
26403 (R_X86_64_NUM): Updated.
26404 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26405 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26406 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26407 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26408 tst-quad1pie tst-quad2pie
26409 (modules-names): Add tst-quadmod1 tst-quadmod2.
26410 ($(objpfx)tst-quad1): New dependency.
26411 ($(objpfx)tst-quad2): Likewise.
26412 ($(objpfx)tst-quad1pie): Likewise.
26413 ($(objpfx)tst-quad2pie): Likewise.
26414 * sysdeps/x86_64/tst-quad1.c: New file.
26415 * sysdeps/x86_64/tst-quad1pie.c: New file.
26416 * sysdeps/x86_64/tst-quad2.c: Likewise.
26417 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26418 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26419 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26420 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26421 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26423 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26425 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26426 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26427 * streams/stropts.h (t_scalar_t): Define type.
26429 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26430 (_PATH_PRESERVE): Set to "/var/lib".
26431 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26433 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26436 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26437 if __dir_mkfile succeeded.
26439 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26440 checking for _hurd_dtablesize. Unlock it right after having
26441 finished _hurd_dtable allocation.
26443 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26445 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26446 * sysdeps/mach/hurd/configure: Regenerated.
26447 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26448 special-casing to...
26449 * sysdeps/gnu/configure.in: ... this new file.
26450 * sysdeps/unix/sysv/linux/configure: Regenerated.
26451 * sysdeps/gnu/configure: New generated file.
26453 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26454 for Linux: use nsec instead of usec, as well as:
26455 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26456 members of type struct timespec.
26457 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26459 (struct stat64): Likewise.
26460 (_STATBUF_ST_NSEC): New macro.
26461 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26463 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26464 __strtoul_internal rather than strtoul.
26466 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26468 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26473 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26474 which preserves existing values.
26475 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26477 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26479 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26480 TIMEOUT values. Return EINVAL for NFDS values either negative or
26481 greater than FD_SETSIZE.
26483 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26485 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26486 allocated, call __vm_protect to finish enabling the existing space, and
26487 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26488 allocate the remainder.
26490 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26492 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26493 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26495 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26497 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26498 sysdeps/mach/hurd/readlink.c.
26500 * posix/tst-sysconf.c (posix_options): Only use
26501 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26502 _POSIX_SYNCHRONIZED_IO when they are defined
26503 * sysdeps/mach/hurd/bits/posix_opt.h:
26504 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26505 (_XOPEN_REALTIME): Undefine macro.
26506 (_XOPEN_REALTIME_THREADS): Undefine macro.
26507 (_XOPEN_SHM): Undefine macro.
26508 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26510 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26512 (_POSIX_ASYNC_IO): Undefine macro.
26513 (_POSIX_PRIORITIZED_IO): Undefine macro.
26514 (_POSIX_SPIN_LOCKS): Define macro to -1.
26516 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26517 SA_NODEFER, SA_RESETHAND.
26518 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26519 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26524 * elf/Makefile (pldd-modules): Define unconditionally.
26526 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26528 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26532 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26533 Return ENOENT when name is empty.
26534 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26538 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26540 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26542 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26544 Fix mlock in all cases except non-readable pages.
26545 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26546 instead of VM_PROT_ALL as parameter to __vm_wire function.
26548 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26549 (__mkdir): When path is `/', just fail with EEXIST.
26550 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26552 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26554 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26555 <sys/uio.h> (for writev).
26556 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26557 and <sys/param.h> (for MIN).
26559 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26561 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26562 REQUESTED_TIME. Properly set the remaining time and return EINTR
26565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26567 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26568 Depend on against $(link-rpcuserlibs).
26570 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26572 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26573 (__libc_stack_end): Do not use attribute_relro.
26574 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26575 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26576 to libthread-provided value.
26577 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26580 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26583 * bits/libc-lock.h (__libc_once_get): New macro.
26584 * sysdeps/mach/bits/libc-lock.h: Likewise.
26585 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26587 instead of using implementation details.
26589 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26590 * libio/freopen.c: Likewise.
26591 * libio/freopen64.c: Likewise.
26592 * misc/syslog.c: Likewise.
26593 * nscd/connections.c: Likewise.
26594 * nscd/netgroupcache.c: Likewise.
26595 * sysdeps/posix/getcwd.c: Likewise.
26597 2012-05-10 Roland McGrath <roland@hack.frob.com>
26599 * math/w_ilogbf.c: Add #include <limits.h>.
26601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26603 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26604 path instead of returning without unlocking.
26606 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26607 immediate-write ioctls.
26608 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26610 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26612 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26613 __builtin_frame_address instead of making assumptions about the
26614 location of the return address relative to DATA. Force early load of
26615 the return address.
26616 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26617 __builtin_frame_address.
26620 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26621 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26622 implement dup3 and do some further code clean-ups.
26623 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26624 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26628 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26630 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26631 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26632 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26633 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26634 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26637 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26638 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26639 when handler == SIG_ERR, not when handler != SIG_ERR.
26641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26643 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26644 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26647 accept4 for GNU Hurd.
26648 * include/sys/socket.h (__libc_accept4): New prototype.
26649 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26650 to implement __libc_accept4.
26651 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26653 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26655 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26656 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26657 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26658 signal-defines.sym.
26660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26662 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26666 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26667 assertion on O_CLOEXEC flag.
26668 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26669 * hurd/intern-fd.c: Likewise.
26670 * hurd/port2fd.c: Likewise.
26672 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26675 * bits/in.h (IPV6_PKTINFO): Define new macro.
26676 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26678 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26683 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26685 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26686 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26687 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26688 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26689 * math/libm-test.inc (logb_test) : Additional logb tests.
26691 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26692 Andreas Jaeger <aj@suse.de>
26694 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26695 * configure: Regenerated.
26696 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26697 * config.make.in (link-obsolete-rpc): New substituted variable.
26698 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26699 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26700 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26701 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26702 so that libc.a contains the symbols.
26703 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26704 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26705 * sunrpc/auth_none.c: Likewise.
26706 * sunrpc/auth_unix.c: Likewise.
26707 * sunrpc/authdes_prot.c: Likewise.
26708 * sunrpc/authuxprot.c: Likewise.
26709 * sunrpc/clnt_gen.c: Likewise.
26710 * sunrpc/clnt_perr.c: Likewise.
26711 * sunrpc/clnt_raw.c: Likewise.
26712 * sunrpc/clnt_simp.c: Likewise.
26713 * sunrpc/clnt_tcp.c: Likewise.
26714 * sunrpc/clnt_udp.c: Likewise.
26715 * sunrpc/clnt_unix.c: Likewise.
26716 * sunrpc/des_crypt.c: Likewise.
26717 * sunrpc/des_soft.c: Likewise.
26718 * sunrpc/get_myaddr.c: Likewise.
26719 * sunrpc/key_call.c: Likewise.
26720 * sunrpc/key_prot.c: Likewise.
26721 * sunrpc/netname.c: Likewise.
26722 * sunrpc/pm_getmaps.c: Likewise.
26723 * sunrpc/pm_getport.c: Likewise.
26724 * sunrpc/pmap_clnt.c: Likewise.
26725 * sunrpc/pmap_prot.c: Likewise.
26726 * sunrpc/pmap_prot2.c: Likewise.
26727 * sunrpc/pmap_rmt.c: Likewise.
26728 * sunrpc/publickey.c: Likewise.
26729 * sunrpc/rpc_cmsg.c: Likewise.
26730 * sunrpc/rpc_common.c: Likewise.
26731 * sunrpc/rpc_dtable.c: Likewise.
26732 * sunrpc/rpc_prot.c: Likewise.
26733 * sunrpc/rpc_thread.c: Likewise.
26734 * sunrpc/rtime.c: Likewise.
26735 * sunrpc/svc.c: Likewise.
26736 * sunrpc/svc_auth.c: Likewise.
26737 * sunrpc/svc_raw.c: Likewise.
26738 * sunrpc/svc_run.c: Likewise.
26739 * sunrpc/svc_tcp.c: Likewise.
26740 * sunrpc/svc_udp.c: Likewise.
26741 * sunrpc/svc_unix.c: Likewise.
26742 * sunrpc/svcauth_des.c: Likewise.
26743 * sunrpc/xcrypt.c: Likewise.
26744 * sunrpc/xdr.c: Likewise.
26745 * sunrpc/xdr_array.c: Likewise.
26746 * sunrpc/xdr_float.c: Likewise.
26747 * sunrpc/xdr_intXX_t.c: Likewise.
26748 * sunrpc/xdr_mem.c: Likewise.
26749 * sunrpc/xdr_rec.c: Likewise.
26750 * sunrpc/xdr_ref.c: Likewise.
26751 * sunrpc/xdr_sizeof.c: Likewise.
26752 * sunrpc/xdr_stdio.c: Likewise.
26754 2012-05-10 Roland McGrath <roland@hack.frob.com>
26756 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26757 change. Update copyright years.
26759 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26761 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26763 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26764 Joseph Myers <joseph@codesourcery.com>
26765 Paul Pluzhnikov <ppluzhnikov@google.com>
26768 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26770 [cross-compiling] (extra-libs): Likewise.
26771 [cross-compiling] (extra-libs-others): Likewise.
26772 [cross-compiling] (librpcsvc-routines): Likewise.
26773 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26774 [cross-compiling] (omit-deps): Likewise.
26775 (sunrpc-CPPFLAGS): New variable.
26776 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26777 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26778 (cross-rpcgen-objs): New variable.
26779 (extra-objs): Append $(cross-rpcgen-objs).
26780 ($(cross-rpcgen-objs)): New rule.
26781 ($(objpfx)cross-rpcgen): Likewise.
26782 (rpcgen-cmd): Define to use $(built-program-file). Expand
26784 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26785 ($(objpfx)x%.stmp): Likewise.
26786 * sunrpc/proto.h [IS_IN_build] (_): Define.
26787 [IS_IN_build] (_libc_intl_domainname): Likewise.
26789 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26792 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26793 and R_X86_64_TPOFF64.
26795 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26797 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26798 sysdeps/unix/sysv/syscalls.list.
26801 * sysdeps/unix/sysv/syscalls.list: Remove file.
26803 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26806 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26807 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26808 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26809 (__LC_IDENTIFICATION): Make these macros useful in #if
26810 expressions, as required by C99.
26812 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26814 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26815 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26818 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26820 * stdlib/longlong.h: Updated from GCC.
26822 2012-05-09 Andreas Jaeger <aj@suse.de>
26824 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26825 default is first entry.
26826 (run_mode): Set type.
26827 (main): Remove informal message about syslog.
26828 (options): Fix typo.
26831 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26834 (llrintf): Likewise.
26835 (llrint): Likewise.
26838 (nearbyint): Likewise.
26839 (nearbyintf): Likewise.
26841 2012-05-09 Andreas Jaeger <aj@suse.de>
26842 Pedro Alves <palves@redhat.com>
26844 * nscd/nscd.c (run_mode): Use enum.
26845 (main): Cleanup coding style issue.
26847 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26848 Andreas Jaeger <aj@suse.de>
26850 * nscd/nscd.c (go_background): Replaced with...
26851 (run_mode): ... this.
26852 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26853 (options): Add -F --foreground.
26854 (main): Implement it.
26855 (parse_opt): Parse it.
26857 2012-05-09 Andreas Jaeger <aj@suse.de>
26860 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26861 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26862 -Wconversion warning.
26863 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26866 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26868 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26870 (LC_ALL): Use macro-int-constant.
26871 (LC_COLLATE): Likewise.
26872 (LC_CTYPE): Likewise.
26873 (LC_MESSAGES): Likewise.
26874 (LC_MONETARY): Likewise.
26875 (LC_NUMERIC): Likewise.
26876 (LC_TIME): Likewise.
26877 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26878 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26879 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26880 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26882 [C99-based standards] (float_t): Expect type.
26883 [C99-based standards] (double_t): Expect type.
26884 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26886 [C99-based standards] (HUGE_VALL): Likewise.
26887 [C99-based standards] (INFINITY): Likewise.
26888 [C99-based standards] (NAN): Likewise.
26889 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26890 [C99-based standards] (FP_NAN): Likewise.
26891 [C99-based standards] (FP_NORMAL): Likewise.
26892 [C99-based standards] (FP_SUBNORMAL): Likewise.
26893 [C99-based standards] (FP_ZERO): Likewise.
26894 [C99-based standards] (FP_FAST_FMA): Use
26895 optional-macro-int-constant. Specify type. Require == 1.
26896 [C99-based standards] (FP_FAST_FMAF): Likewise.
26897 [C99-based standards] (FP_FAST_FMAL): Likewise.
26898 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26899 [C99-based standards] (FP_ILOGBNAN): Likewise.
26900 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26902 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26903 [C99-based standards] (math_errhandling): Specify type.
26904 [ISO99 || ISO11] (signgam): Do not allow.
26905 [non-C99-based standards] (copysignf): Do not allow.
26906 [non-C99-based standards] (exp2f): Likewise.
26907 [non-C99-based standards] (log2f): Likewise.
26908 [non-C99-based standards] (modff): Allow.
26909 [non-C99-based standards] (erff): Do not allow.
26910 [non-C99-based standards] (erfcf): Likewise.
26911 [non-C99-based standards] (gammaf): Likewise.
26912 [non-C99-based standards] (hypotf): Likewise.
26913 [non-C99-based standards] (j0f): Likewise.
26914 [non-C99-based standards] (j1f): Likewise.
26915 [non-C99-based standards] (jnf): Likewise.
26916 [non-C99-based standards] (lgammaf): Likewise.
26917 [non-C99-based standards] (tgammaf): Likewise.
26918 [non-C99-based standards] (y0f): Likewise.
26919 [non-C99-based standards] (y1f): Likewise.
26920 [non-C99-based standards] (ynf): Likewise.
26921 [non-C99-based standards] (isnanf): Likewise.
26922 [non-C99-based standards] (acoshf): Likewise.
26923 [non-C99-based standards] (asinhf): Likewise.
26924 [non-C99-based standards] (atanhf): Likewise.
26925 [non-C99-based standards] (cbrtf): Likewise.
26926 [non-C99-based standards] (expm1f): Likewise.
26927 [non-C99-based standards] (ilogbf): Likewise.
26928 [non-C99-based standards] (log1pf): Likewise.
26929 [non-C99-based standards] (logbf): Likewise.
26930 [non-C99-based standards] (nextafterf): Likewise.
26931 [non-C99-based standards] (remainderf): Likewise.
26932 [non-C99-based standards] (rintf): Likewise.
26933 [non-C99-based standards] (scalbf): Likewise.
26934 [non-C99-based standards] (copysignl): Likewise.
26935 [non-C99-based standards] (exp2l): Likewise.
26936 [non-C99-based standards] (log2l): Likewise.
26937 [non-C99-based standards] (modfl): Allow.
26938 [non-C99-based standards] (erfl): Do not allow.
26939 [non-C99-based standards] (erfcl): Likewise.
26940 [non-C99-based standards] (gammal): Likewise.
26941 [non-C99-based standards] (hypotl): Likewise.
26942 [non-C99-based standards] (j0l): Likewise.
26943 [non-C99-based standards] (j1l): Likewise.
26944 [non-C99-based standards] (jnl): Likewise.
26945 [non-C99-based standards] (lgammal): Likewise.
26946 [non-C99-based standards] (tgammal): Likewise.
26947 [non-C99-based standards] (y0l): Likewise.
26948 [non-C99-based standards] (y1l): Likewise.
26949 [non-C99-based standards] (ynl): Likewise.
26950 [non-C99-based standards] (isnanl): Likewise.
26951 [non-C99-based standards] (acoshl): Likewise.
26952 [non-C99-based standards] (asinhl): Likewise.
26953 [non-C99-based standards] (atanhl): Likewise.
26954 [non-C99-based standards] (cbrtl): Likewise.
26955 [non-C99-based standards] (expm1l): Likewise.
26956 [non-C99-based standards] (ilogbl): Likewise.
26957 [non-C99-based standards] (log1pl): Likewise.
26958 [non-C99-based standards] (logbl): Likewise.
26959 [non-C99-based standards] (nextafterl): Likewise.
26960 [non-C99-based standards] (remainderl): Likewise.
26961 [non-C99-based standards] (rintl): Likewise.
26962 [non-C99-based standards] (scalbl): Likewise.
26963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26964 [non-C99-based standards] (FP_*): Do not allow.
26965 [C99-based standards] (FP_*): Change to
26966 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26967 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26969 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26970 (SIG_ERR): Likewise.
26971 [X/Open-based standards] (SIG_HOLD): Likewise.
26972 (SIG_IGN): Likewise.
26973 (SIGABRT): Use macro-int-constant. Specify type. Require
26975 (SIGFPE): Likewise.
26976 (SIGILL): Likewise.
26977 (SIGINT): Likewise.
26978 (SIGSEGV): Likewise.
26979 (SIGTER): Likewise.
26980 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26981 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26982 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26983 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26984 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26985 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26986 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26987 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26988 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26989 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26990 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26991 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26992 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26993 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26994 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26995 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26996 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26997 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26998 [X/Open-based standards] (SIGTRAP): Likewise.
26999 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27000 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27001 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27002 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27003 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27006 2012-05-08 Ian Wienand <ianw@vmware.com>
27009 * time/tzset.c (__tzset_parse_tz): Update default rules for
27010 daylight time changes in the Energy Policy Act of 2005.
27012 2012-05-09 Andreas Jaeger <aj@suse.de>
27015 * elf/ldconfig.c (parse_conf): Change string to make clear that
27016 ldconfig only issued a warning if ld.so.conf does not exist.
27018 2012-05-08 David S. Miller <davem@davemloft.net>
27020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27021 movxtod instead of popping the value on the stack.
27023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27025 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27027 * config.h.in: Add HAVE_ARM_PCS_VFP.
27029 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
27032 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27033 checking but the checks are disabled for any reason.
27035 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27037 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27038 and ELF64_R_TYPE with ELFW(R_TYPE).
27040 2012-05-08 Joseph Myers <joseph@codesourcery.com>
27042 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27043 (ulimit): Likewise.
27045 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27046 (settimeofday): Likewise.
27048 2012-05-08 Mike Frysinger <vapier@gentoo.org>
27050 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27051 a struct th_u2 inside the union, and move tu_block/tu_code into
27052 a new th_u3 union of tu_block/tu_code inside of that. Move
27053 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27054 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27055 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27056 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27057 (th_stuff): Change to th_u1.tu_stuff.
27059 (th_msg): Change to th_u1.th_u2.tu_data.
27061 2012-05-07 David S. Miller <davem@davemloft.net>
27063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27066 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27067 (SETUP_PIC_REG): Use it.
27068 (SETUP_PIC_REG_LEAF): Use it.
27070 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27074 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27076 (EXPL_FINITE): Likewise.
27077 (FLDLOG): Likewise.
27078 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27079 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27081 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27083 (EXPL_FINITE): Likewise.
27084 (FLDLOG): Likewise.
27085 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27086 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27088 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27089 test of -max_value argument for long double.
27090 * sysdeps/i386/fpu/libm-test-ulps: Update.
27091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27093 2012-05-06 David S. Miller <davem@davemloft.net>
27095 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27096 quad soft-float symbols whose references which are compiler
27098 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27100 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27104 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27106 (EXPL_FINITE): Likewise.
27107 (FLDLOG): Likewise.
27110 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27111 Adjust comments for base varying.
27112 (__expl_finite): Change alias to EXPL_FINITE.
27113 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27115 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27116 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27117 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27118 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27119 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27121 (EXPL_FINITE): Likewise.
27122 (FLDLOG): Likewise.
27125 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27126 Adjust comments for base varying.
27127 (__expl_finite): Change alias to EXPL_FINITE.
27128 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27133 * math/libm-test.inc (check_float_internal): Correct ulp
27134 calculation for subnormal expected results.
27136 2012-05-06 Andreas Jaeger <aj@suse.de>
27138 * Makeconfig (+math-flags): New, set to -frounding-math.
27139 (+cflags): Add +math-flags so that all of glibc gets compiled with
27142 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27144 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27146 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27152 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27153 (__ieee754_expl): Allow for and saturate large arguments.
27154 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27155 (u_threshold): Likewise.
27156 (__exp): Call __ieee754_exp before checking for overflow and
27158 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27159 (u_threshold): Likewise.
27160 (__expf): Call __ieee754_expf before checking for overflow and
27162 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27163 (u_threshold): Likewise.
27164 (__expl): Call __ieee754_expl before checking for overflow and
27166 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27167 (__ieee754_expl): Allow for and saturate large arguments.
27168 * math/libm-test.inc (exp_test): Add another test. Do not allow
27169 missing overflow exception on overflow.
27170 (expm1_test): Do not allow missing overflow exception on overflow.
27172 * sysdeps/i386/fpu/e_expl.c: Move to ...
27173 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27174 rather than using inline asm.
27175 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27176 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27177 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27179 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27182 (signal): Likewise.
27186 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27188 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27189 sysdeps/unix/common/syscalls.list.
27190 (fchmod): Likewise.
27191 (fchown): Likewise.
27192 (ftruncate): Likewise.
27193 (getrusage): Likewise.
27194 (gettimeofday): Likewise.
27195 (setpgid): Likewise.
27196 (setregid): Likewise.
27197 (setreuid): Likewise.
27198 (sigaction): Likewise.
27199 (truncate): Likewise.
27200 (vhangup): Likewise.
27201 * sysdeps/unix/common/syscalls.list: Remove file.
27202 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27203 * sysdeps/unix/sysv/linux/Implies: Likewise.
27205 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27207 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27209 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27213 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27216 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27219 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27222 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27225 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27228 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27231 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27235 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27239 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27242 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27246 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27250 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27252 * sysdeps/unix/common/bits/dirent.h: Remove file.
27253 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27255 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27256 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27257 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27258 * sysdeps/unix/bsd/isatty.c: Likewise.
27259 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27260 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27261 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27263 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27266 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27267 long double comparison inaccuracies.
27268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27271 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27273 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27276 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27279 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27280 nonzero digits before rounding a hex value.
27281 * stdlib/tst-strtod.c (tests): Add another test.
27283 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27285 * sysdeps/s390/fpu/libm-test-ulps: Update.
27287 2012-05-03 Andreas Jaeger <aj@suse.de>
27289 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27290 does not get optimized out.
27291 (malloc_opt_barrier): New.
27293 2012-05-03 Andreas Jaeger <aj@suse.de>
27294 Roland McGrath <roland@hack.frob.com>
27296 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27297 intermediate file deletion.
27298 (generated): Add .symlist files.
27300 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27303 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27304 Redirect under this condition.
27305 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27306 [__USE_GNU] (__dprintf_chk): Not under this condition.
27307 [__USE_GNU] (__vdprintf_chk): Likewise.
27308 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27309 under this condition.
27310 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27311 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27312 [__USE_XOPEN2K8] (vdprintf): Likewise.
27313 [__USE_GNU] (__dprintf_chk): Not under this condition.
27314 [__USE_GNU] (__vdprintf_chk): Likewise.
27315 [__USE_GNU] (dprintf): Likewise.
27316 [__USE_GNU] (vdprintf): Likewise.
27318 2012-05-03 Roland McGrath <roland@hack.frob.com>
27320 * elf/Makefile (common-generated): Set this instead of generated for
27321 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27322 $(all-built-dso)-derived lists.
27324 2012-05-03 Andreas Jaeger <aj@suse.de>
27326 * sysdeps/i386/fpu/libm-test-ulps: Update.
27329 * FAQ.in: Likewise.
27330 * scripts/gen-FAQ.pl: Likewise.
27331 * manual/install.texi (Installation): Point to online location of
27333 * Makefile (files-for-dist): Remove FAQ.
27336 2012-05-02 Allan McRae <allan@archlinux.org>
27338 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27339 (LDFLAGS-reldepmod5.so): Likewise.
27340 (LDFLAGS-reldep6mod1.so): Likewise.
27341 (LDFLAGS-reldep6mod4.so): Likewise.
27342 (LDFLAGS-reldep8mod3.so): Likewise.
27343 (LDFLAGS-unload4mod1.so): Likewise.
27344 (LDFLAGS-unload4mod2.so): Likewise.
27345 (LDFLAGS-tst-initorder): Likewise.
27346 (LDFLAGS-tst-initordera2.so): Likewise.
27347 (LDFLAGS-tst-initordera3.so): Likewise.
27348 (LDFLAGS-tst-initordera4.so): Likewise.
27349 (LDFLAGS-tst-initorderb2.so): Likewise.
27350 (LDFLAGS-noload): Likewise.
27351 (LDFLAGS-next): Likewise.
27352 (LDFLAGS-order2mod1.so): Likewise.
27353 (LDFLAGS-order2mod2.so): Likewise.
27354 (LDFLAGS-tst-initorder2): Likewise.
27355 (LDFLAGS-tst-initorder2a.so): Likewise.
27356 (LDFLAGS-tst-initorder2b.so): Likewise.
27357 (LDFLAGS-tst-initorder2c.so): Likewise.
27358 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27360 2012-05-02 David S. Miller <davem@davemloft.net>
27362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27364 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27367 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27369 2012-05-02 Andreas Jaeger <aj@suse.de>
27371 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27372 since we manipulate rounding mode.
27373 (CPPFLAGS-test-idouble.c): Likewise.
27374 (CPPFLAGS-test-ifloat.c): Likewise.
27375 (CFLAGS-test-ldouble.c): Likewise.
27376 (CFLAGS-test-double.c): Likewise.
27377 (CFLAGS-test-float.c): Likewise.
27378 (CFLAGS-test-misc.c): Likewise.
27379 (CFLAGS-test-test-fenv.c): Likewise.
27381 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27385 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27386 comparisons to determine direction to adjust input.
27388 2012-05-01 Roland McGrath <roland@hack.frob.com>
27390 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27391 output to the target.
27393 * scripts/localplt.awk: New file.
27394 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27395 (check-localplt-CFLAGS): Variable removed.
27396 ($(all-built-dso:=.jmprel)): New static pattern rule.
27397 (generated): Add those targets.
27398 (localplt-built-dso): New variable.
27399 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27401 * elf/check-localplt.c: File removed.
27403 * scripts/check-execstack.awk: New file.
27404 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27405 (check-execstack-CFLAGS): Variable removed.
27406 ($(objpfx)check-execstack.h): Target removed.
27407 ($(objpfx)execstack-default): New target.
27408 (generated): Add that instead of check-execstack.h.
27409 ($(all-built-dso:=.phdr)): New static pattern rule.
27410 (generated): Add those targets.
27411 * elf/check-execstack.c: File removed.
27413 * scripts/check-textrel.awk: New file.
27414 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27415 (check-textrel-CFLAGS): Variable removed.
27416 (all-built-dso): Use := to define.o
27417 ($(all-built-dso:=.dyn)): New static pattern rule.
27418 (generated): Add those targets.
27419 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27420 * config.make.in (READELF): New substituted variable.
27421 * elf/check-textrel.c: File removed.
27423 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27425 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27427 * conform/data/ctype.h-data [C99-based standards] (isblank):
27429 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27430 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27431 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27432 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27433 Specify type. Require positive value.
27434 (EILSEQ): Likewise.
27435 (ERANGE): Likewise.
27436 [ISO || POSIX] (EILSEQ): Do not expect.
27437 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27438 Specify type. Require positive value.
27439 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27440 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27441 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27442 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27443 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27444 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27445 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27446 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27447 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27448 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27449 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27450 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27451 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27452 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27453 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27454 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27455 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27456 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27457 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27458 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27459 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27460 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27461 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27462 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27463 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27464 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27465 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27466 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27467 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27468 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27469 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27470 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27471 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27472 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27473 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27474 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27475 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27476 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27477 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27478 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27479 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27480 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27481 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27482 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27483 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27484 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27485 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27486 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27487 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27488 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27489 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27490 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27491 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27492 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27493 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27494 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27495 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27496 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27497 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27498 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27499 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27500 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27501 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27502 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27503 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27504 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27505 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27506 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27507 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27508 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27509 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27510 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27511 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27512 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27513 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27514 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27515 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27517 (FLT_ROUNDS): Expect as macro, not constant.
27518 (FLT_MANT_DIG): Use macro-int-constant.
27519 (DBL_MANT_DIG): Likewise.
27520 (LDBL_MANT_DIG): Likewise.
27521 (FLT_DIG): Likewise.
27522 (DBL_DIG): Likewise.
27523 (LDBL_DIG): Likewise.
27524 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27525 (DBL_MIN_EXP): Likewise.
27526 (LDBL_MIN_EXP): Likewise.
27527 (FLT_MAX_EXP): Use macro-int-constant.
27528 (DBL_MAX_EXP): Likewise.
27529 (LDBL_MAX_EXP): Likewise.
27530 (FLT_MAX_10_EXP): Likewise.
27531 (DBL_MAX_10_EXP): Likewise.
27532 (LDBL_MAX_10_EXP): Likewise.
27533 (FLT_MAX): Use macro-constant.
27534 (DBL_MAX): Likewise.
27535 (LDBL_MAX): Likewise.
27536 (FLT_EPSILON): Use macro-constant. Give upper bound.
27537 (DBL_EPSILON): Likewise.
27538 (LDBL_EPSILON): Likewise.
27539 (FLT_MIN): Likewise.
27540 (DBL_MIN): Likewise.
27541 (LDBL_MIN): Likewise.
27542 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27543 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27544 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27545 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27546 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27547 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27548 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27549 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27550 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27551 [ISO11] (FLT_TRUE_MIN): Likewise.
27552 [ISO11] (LDBL_TRUE_MIN): Likewise.
27553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27554 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27555 (SCHAR_MIN): Use macro-int-constant. Specify type.
27556 (SCHAR_MAX): Likewise.
27557 (UCHAR_MAX): Likewise.
27558 (CHAR_MIN): Likewise.
27559 (CHAR_MAX): Likewise.
27560 (MB_LEN_MAX): Use macro-int-constant.
27561 (SHRT_MIN): Use macro-int-constant. Specify type.
27562 (SHRT_MAX): Likewise.
27563 (USHRT_MAX): Likewise.
27564 (INT_MAX): Likewise.
27565 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27567 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27569 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27571 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27572 bound negative. Suffix upper bound with "L".
27573 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27575 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27577 [C99-based standards] (LLONG_MAX): Likewise.
27578 [C99-based standards] (ULLONG_MAX): Likewise.
27579 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27581 [ISO11] (max_align_t): Require type.
27582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27584 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27585 from $CFLAGS, without defining away __attribute__ calls.
27586 (checknamespace): Use $CFLAGS_namespace.
27588 * conform/conformtest.pl (@keywords): Only include C99 keywords
27589 for standards based on C99 or C11.
27591 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27593 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27596 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27597 usability of symbols in #if.
27599 * conform/conformtest.pl: If macro or constant types start
27600 "promoted:", expect the symbol to be of the following type
27601 promoted by the integer promotions.
27603 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27604 in one place. Also handle "macro-constant".
27606 * conform/conformtest.pl: Only accept expected macro values with
27607 "==". Parse all "macro" lines in one place.
27608 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27610 * conform/conformtest.pl: Handle braced types on "constant" lines
27611 instead of handling "typed-constant".
27612 * conform/data/signal.h-data: Use "constant" instead of
27615 * conform/conformtest.pl: Handle "optional-" at start of lines in
27616 one place rather than duplicating several cases. Handle each
27617 format of "macro" line with initial "optional-".
27619 * conform/conformtest.pl: Only accept expected constant or
27620 optional-constant values with "==". Parse all "constant" lines in
27621 one place. Parse all "optional-constant" lines in one place.
27622 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27623 * conform/data/fmtmsg.h-data: Likewise.
27624 * conform/data/netinet/in.h-data: Likewise.
27625 * conform/data/tar.h-data: Likewise.
27626 * conform/data/limits.h-data: Use "==" form on "constant" and
27627 "optional-constant" lines.
27629 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27630 Use -std=c99 for XOPEN2K.
27631 (@knownproblems): Remove.
27632 (newtoken): Don't check %isknown.
27634 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27635 Do not expect macro.
27636 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27637 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27638 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27639 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27640 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27641 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27642 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27643 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27644 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27645 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27646 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27647 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27648 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27649 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27650 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27651 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27652 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27653 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27654 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27655 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27656 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27657 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27658 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27659 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27660 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27661 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27662 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27663 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27664 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27665 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27666 [XPG3] (acosh): Likewise.
27667 [XPG3] (asinh): Likewise.
27668 [XPG3] (atanh): Likewise.
27669 [XPG3] (cbrt): Likewise.
27670 [XPG3] (expm1): Likewise.
27671 [XPG3] (ilogb): Likewise.
27672 [XPG3] (log1p): Likewise.
27673 [XPG3] (logb): Likewise.
27674 [XPG3] (nextafter): Likewise.
27675 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27676 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27677 [XPG3] (remainder): Likewise.
27678 [XPG3] (rint): Likewise.
27679 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27680 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27681 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27682 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27683 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27684 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27685 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27686 [UNIX98 || XOPEN2K] (scalb): Expect.
27687 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27688 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27689 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27690 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27691 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27692 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27693 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27694 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27695 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27696 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27697 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27698 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27699 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27700 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27701 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27702 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27703 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27704 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27705 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27706 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27707 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27708 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27709 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27710 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27711 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27712 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27713 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27714 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27715 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27716 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27717 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27718 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27719 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27720 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27721 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27722 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27723 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27724 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27725 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27726 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27727 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27728 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27729 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27730 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27731 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27732 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27733 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27734 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27735 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27736 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27737 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27738 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27739 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27740 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27741 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27742 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27743 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27744 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27745 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27746 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27747 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27748 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27749 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27750 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27751 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27752 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27753 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27754 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27755 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27756 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27757 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27758 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27759 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27760 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27761 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27762 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27763 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27764 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27765 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27766 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27767 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27768 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27769 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27770 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27771 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27772 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27773 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27774 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27775 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27776 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27777 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27778 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27779 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27780 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27781 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27782 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27783 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27784 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27785 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27786 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27787 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27788 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27789 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27790 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27791 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27792 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27793 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27794 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27795 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27796 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27797 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27798 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27799 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27800 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27801 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27802 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27803 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27804 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27805 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27806 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27807 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27808 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27809 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27810 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27811 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27812 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27813 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27814 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27815 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27816 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27817 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27818 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27819 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27820 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27821 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27822 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27823 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27825 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27826 _XOPEN_SOURCE_EXTENDED for XPG4.
27828 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27830 * Makeconfig (localtime): Remove variable.
27831 (inst_localtime-file): Likewise.
27833 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27854 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27858 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27859 comparisons to determine direction to adjust input.
27860 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27861 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27862 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27864 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27866 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27868 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27869 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27871 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27873 * math/libm-test.inc (nexttoward_test): Add more tests.
27875 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27878 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27879 in version GLIBC_2.1, not GLIBC_2.0.
27880 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27883 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27886 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27888 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27889 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27890 * math/libm-test.inc (acos_test): Add more tests.
27891 (asin_test): Likewise.
27892 * sysdeps/i386/fpu/libm-test-ulps: Update.
27893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27896 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27898 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27899 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27900 * math/libm-test.inc (acos_test_tonearest): New function.
27901 (acos_test_towardzero): Likewise.
27902 (acos_test_downward): Likewise.
27903 (acos_test_upward): Likewise.
27904 (asin_test_tonearest): Likewise.
27905 (asin_test_towardzero): Likewise.
27906 (asin_test_downward): Likewise.
27907 (asin_test_upward): Likewise.
27908 (main): Call the new functions.
27909 * sysdeps/i386/fpu/libm-test-ulps: Update.
27910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27914 * math/e_exp10.c: Include <float.h>.
27915 (__ieee754_exp10): Handle underflow here rather than multiplying
27916 large negative argument by M_LN10.
27917 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27919 * math/e_exp10l.c: Include <float.h>.
27920 (__ieee754_exp10l): Handle underflow here rather than multiplying
27921 large negative argument by M_LN10l.
27922 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27923 spurious overflow exception on underflow.
27925 2012-04-29 Marek Polacek <polacek@redhat.com>
27927 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27928 (__fortify_function): New macro.
27929 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27930 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27931 __extern_always_inline.
27932 * libio/bits/stdio2.h: Likewise.
27933 * libio/bits/stdio.h: Likewise.
27934 * string/string.h: Likewise.
27935 * string/bits/string3.h: Likewise.
27936 * include/stdio.h: Likewise.
27937 * stdlib/bits/stdlib.h: Likewise.
27938 * stdlib/stdlib.h: Likewise.
27939 * rt/bits/mqueue2.h: Likewise.
27940 * rt/mqueue.h: Likewise.
27941 * posix/bits/unistd.h: Likewise.
27942 * posix/unistd.h: Likewise.
27943 * io/bits/poll2.h: Likewise.
27944 * io/bits/fcntl2.h: Likewise.
27945 * io/fcntl.h: Likewise.
27946 * io/sys/poll.h: Likewise.
27947 * misc/bits/syslog.h: Likewise.
27948 * misc/bits/syslog-ldbl.h: Likewise.
27949 * misc/sys/syslog.h: Likewise.
27950 * socket/bits/socket2.h: Likewise.
27951 * socket/sys/socket.h: Likewise.
27952 * debug/tst-chk1.c: Likewise.
27953 * wcsmbs/bits/wchar2.h: Likewise.
27954 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27955 * wcsmbs/wchar.h: Likewise.
27957 2012-04-29 Andreas Jaeger <aj@suse.de>
27959 * Makerules (tests): Remove enable-check-abi protection.
27960 (check-abi-warn): Remove.
27961 (check-abi-%): Remove check-abi-warn usage.
27963 * configure.in: Remove check-abi configure option.
27964 * configure: Regenerated.
27965 * config.make.in (enable-check-abi): Remove.
27967 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27970 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27971 double functions to double *_finite functions.
27974 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27975 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27977 * stdio-common/Makefile (tests): Add tst-sprintf3.
27978 * stdio-common/tst-sprintf3.c: New file.
27980 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27981 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27983 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27985 * conform/conformtest.pl: Remove duplicate typed-constant
27988 2012-04-28 David S. Miller <davem@davemloft.net>
27990 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27991 (check-abi-%): Remove AWK script prerequisite and explicit
27993 (check-abi): Rewrite to just diff the symlist with the abilist.
27994 (config-tls, config-abi-config): Delete, no longer used.
27995 (update-abi-%): Remove AWK script and explicit abilist directory.
27996 (update-abi): Rewrite to simply compare and conditionally copy the
27997 symlist and the sysdep abilist file. Remove update-abi-config
27999 * abilist/ld.abilist: Remove.
28000 * abilist/libBrokenLocale.abilist: Remove.
28001 * abilist/libanl.abilist: Remove.
28002 * abilist/libcrypt.abilist: Remove.
28003 * abilist/libdl.abilist: Remove.
28004 * abilist/librt.abilist: Remove.
28005 * abilist/libthread_db.abilist: Remove.
28006 * abilist/libutil.abilist: Remove.
28007 * scripts/extract-abilist.awk: Remove.
28008 * scripts/merge-abilist.awk: Remove.
28009 * sysdeps/generic/libcidn.abilist: New file.
28010 * sysdeps/generic/libnss_compat.abilist: New file.
28011 * sysdeps/generic/libnss_db.abilist: New file.
28012 * sysdeps/generic/libnss_dns.abilist: New file.
28013 * sysdeps/generic/libnss_files.abilist: New file.
28014 * sysdeps/generic/libnss_hesiod.abilist: New file.
28015 * sysdeps/generic/libnss_nis.abilist: New file.
28016 * sysdeps/generic/libnss_nisplus.abilist: New file.
28017 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28018 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28019 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28021 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28022 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28023 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28024 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28025 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28026 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28027 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28028 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28029 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28031 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28032 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28033 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28034 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28036 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28037 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28038 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28039 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28040 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28041 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28043 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28044 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28045 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28047 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28150 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28151 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28152 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28155 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28156 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28157 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28158 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28159 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28160 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28161 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28162 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28163 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28215 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28217 * conform/conformtest.pl: Fix typo in handling typed-constant from
28220 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28222 * README: Cut down references to pre-2.6 Linux kernels and
28223 Linuxthreads. Update lists of configurations in libc and ports
28224 and sort alphabetically. Say "or newer" with Linux kernel version
28227 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28229 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28232 * math/libm-test.inc (logb_test_downward): New test to expose
28233 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28236 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28239 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28241 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28242 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28244 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28246 * sysdeps/unix/i386/brk.S: Remove file.
28247 * sysdeps/unix/i386/dl-brk.S: Likewise.
28248 * sysdeps/unix/i386/pipe.S: Likewise.
28249 * sysdeps/unix/i386/sigreturn.S: Likewise.
28250 * sysdeps/unix/i386/syscall.S: Likewise.
28251 * sysdeps/unix/i386/vfork.S: Likewise.
28252 * sysdeps/unix/i386/wait.S: Likewise.
28254 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28255 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28257 * configure.in (arm*-none*): Do not allow without
28258 --enable-hacker-mode.
28259 (netbsd*): Remove case setting base_os.
28260 (386bsd*): Likewise.
28261 (freebsd*): Likewise.
28264 (sunos*): Likewise.
28265 (ultrix*): Likewise.
28266 (newsos*): Likewise.
28267 (dynix*): Likewise.
28273 (minix*): Likewise.
28274 (irix4*): Likewise.
28275 (irix6*): Likewise.
28276 (solaris[2-9]*): Likewise.
28278 * configure: Regenerated.
28280 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28284 overflow or cancellation in calculating denominator.
28285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28286 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28287 down expression to avoid unexpected rounding in newer GCCs.
28288 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28290 2012-04-26 David S. Miller <davem@davemloft.net>
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28293 long-double compat symbols.
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28308 2012-04-25 David S. Miller <davem@davemloft.net>
28310 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28311 HWCAP_* values only after the memory barriers have been defined.
28312 (atomic_full_barrier): Define.
28313 (atomic_read_barrier): Define.
28314 (atomic_write_barrier): Define.
28316 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28318 * shlib-versions: Add libgcc_s version information.
28319 * sysdeps/generic/libgcc_s.h: Remove.
28320 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28322 * sysdeps/gnu/unwind-resume.c: Likewise.
28323 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28325 2012-04-25 David S. Miller <davem@davemloft.net>
28327 * sysdeps/unix/sparc/brk.S: Delete.
28328 * sysdeps/unix/sparc/dl-brk.S: Delete.
28329 * sysdeps/unix/sparc/pipe.S: Delete.
28330 * sysdeps/unix/sparc/sysdep.S: Delete.
28331 * sysdeps/unix/sparc/sysdep.h: Delete.
28332 * sysdeps/unix/sparc/vfork.S: Delete.
28333 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28334 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28336 ret_ERRVAL, r0, r1, MOVE): Define.
28337 (JUMPTARGET): Remove.
28338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28339 sysdeps/unix/sparc/sysdep.h
28340 (ENTRY, END): Remove.
28341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28343 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28345 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28346 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28349 * timezone/README: Update upstream location and email address for
28351 * timezone/zdump.c: Update from tzcode 2012b.
28352 * timezone/zic.c: Likewise.
28354 * configure.in (libc_cv_as_needed): Remove test.
28355 * configure: Regenerated.
28356 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28357 conditional definition.
28358 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28359 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28360 * config.make.in (have-as-needed): Remove variable.
28362 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28363 Paul Pluzhnikov <ppluzhnikov@google.com>
28365 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28368 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28370 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28371 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28372 * sysdeps/sh/strlen.S: Likewise.
28374 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28376 * sysdeps/unix/fork.S: Remove file.
28377 * sysdeps/unix/i386/fork.S: Likewise.
28378 * sysdeps/unix/sparc/fork.S: Likewise.
28380 * sysdeps/unix/system.c: Remove file.
28381 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28383 * sysdeps/unix/getegid.S: Remove file.
28384 * sysdeps/unix/geteuid.S: Likewise.
28386 2012-04-24 Roland McGrath <roland@hack.frob.com>
28388 * scripts/check-localplt.awk: New file.
28389 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28391 * scripts/data/localplt-generic.data: Add a comment.
28393 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28394 NODE when __dir_mkfile failed.
28395 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28396 Reported by Ludovic Courtès <ludo@gnu.org>.
28398 2012-04-24 Andreas Jaeger <aj@suse.de>
28400 * Makerules (common-clean): Also remove gen-as-const-headers
28403 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28405 * Makerules (native-compile): Do not change working directory for
28406 build. Use $(OUTPUT_OPTION) in command.
28407 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28409 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28412 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28413 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28414 * math/libm-test.inc (floor_test): Add more tests.
28415 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28417 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28419 * sysdeps/unix/getdents.c: Remove file.
28420 * sysdeps/unix/sysv/getdents.c: Likewise.
28421 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28423 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28424 sysdeps/unix/mman/syscalls.list.
28426 (mprotect): Likewise.
28428 (munmap): Likewise.
28429 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28430 * sysdeps/unix/mman/syscalls.list: Remove.
28431 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28433 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28434 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28435 * configure: Regenerated.
28436 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28437 $(libgcc_s_suffix).
28438 * config.make.in (libgcc_s_suffix): Remove variable.
28440 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28442 * sysdeps/unix/sysv/gethostname.c: Move to ...
28443 * sysdeps/posix/gethostname.c: ... here.
28445 * sysdeps/unix/execve.S: Remove file.
28447 * sysdeps/unix/_exit.S: Remove file.
28449 2012-04-23 Andreas Jaeger <aj@suse.de>
28452 * manual/Makefile: Remove make dist support, there's no
28453 need for a stand-alone documentation tar ball.
28454 (TEXI2DVI): Define always, it's not in Makeconfig.
28457 (edition): Removed.
28458 (glibc-doc-$(edition).tar): Removed
28462 (ETAGS): Remove, it's in Makeconfig.
28463 (move-if-change): Remove, it's in Makeconfig.
28465 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28468 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28469 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28470 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28471 (strtod_l, strtof_l, strtold_l): Remove __wur.
28472 It is not necessarily an error to ignore strtol's return value.
28473 One can reliably look at the stored endptr to decide whether
28474 the number had valid syntax.
28476 2012-04-21 Andreas Jaeger <aj@suse.de>
28479 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28481 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28483 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28484 * sysdeps/unix/sysv/Versions: Remove file.
28486 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28491 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28495 version from __vm86.
28497 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28499 * sysdeps/unix/common/lxstat.c: Remove file.
28500 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28502 * sysdeps/unix/sysv/Makefile: Remove file.
28504 * sysdeps/unix/sysv/direct.h: Remove file.
28506 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28507 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28508 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28509 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28510 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28511 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28512 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28514 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28516 * sysdeps/unix/xmknod.c: Remove file.
28517 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28519 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28521 * sysdeps/unix/sysv/i386/time.S: Remove file.
28523 * sysdeps/unix/fxstat.c: Remove file.
28524 * sysdeps/unix/xstat.c: Likewise.
28525 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28527 * sysdeps/unix/sysv/sigaction.c: Remove file.
28529 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28530 (sysdep_headers): Remove variable.
28531 [termio.h not in sysdep_headers] (generated): Likewise.
28532 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28533 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28534 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28535 * sysdeps/unix/sysv/tcflow.c: Likewise.
28536 * sysdeps/unix/sysv/tcflush.c: Likewise.
28537 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28538 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28539 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28540 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28541 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28543 * sysdeps/unix/siglist.c: Remove file.
28545 * sysdeps/unix/getppid.S: Remove file.
28547 * sysdeps/unix/mkdir.c: Remove file.
28548 * sysdeps/unix/rmdir.c: Likewise.
28550 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28552 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28554 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28555 errlist-compat value.
28557 2012-04-18 David S. Miller <davem@davemloft.net>
28559 * sysdeps/generic/memcopy.h (reg_char): Delete.
28560 * debug/strcat_chk.c: Use char, not reg_char.
28561 * debug/strcpy_chk.c: Likewise.
28562 * debug/strncat_chk.c: Likewise.
28563 * debug/strncpy_chk.c: Likewise.
28564 * string/memchr.c: Likewise.
28565 * string/memrchr.c: Likewise.
28566 * string/rawmemchr.c: Likewise.
28567 * string/strcat.c: Likewise.
28568 * string/strchr.c: Likewise.
28569 * string/strchrnul.c: Likewise.
28570 * string/strcmp.c: Likewise.
28571 * string/strcpy.c: Likewise.
28572 * string/strncat.c: Likewise.
28573 * string/strncmp.c: Likewise.
28574 * string/strncpy.c: Likewise.
28576 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28578 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28579 __builtin_memcopy is called when src and dest ranges are known to not
28582 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28584 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28585 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28586 fwd_align_merge macro call.
28587 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28588 bwd_align_merge macro call.
28589 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28591 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28594 bwd_align_merge macros.
28595 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28596 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28597 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28599 2012-04-18 David S. Miller <davem@davemloft.net>
28601 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28603 2012-04-18 Andreas Jaeger <aj@suse.de>
28606 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28607 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28608 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28610 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28611 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28612 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28614 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28615 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28616 Adjust for changed ldbl-128 files.
28618 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28619 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28620 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28622 2012-04-17 David S. Miller <davem@davemloft.net>
28624 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28626 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28628 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28629 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28630 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28631 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28632 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28633 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28635 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28638 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28639 * math/libm-test.inc: Add ilogb errno and exception tests.
28640 * math/w_ilogb.c: New file: ilogb wrapper.
28641 * math/w_ilogbf.c: New file: ilogbf wrapper.
28642 * math/w_ilogbl.c: New file: ilogbl wrapper.
28643 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28644 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28645 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28646 exception being thrown with 0.0 as argument.
28647 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28648 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28649 exception being thrown with 0.0 as argument.
28650 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28651 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28652 exception being thrown with 0.0 as argument.
28653 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28654 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28655 exception being thrown with 0.0 as argument.
28656 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28657 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28658 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28659 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28660 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28661 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28662 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28663 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28664 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28666 2012-04-17 Petr Baudis <pasky@ucw.cz>
28668 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28671 2012-04-16 Marek Polacek <polacek@redhat.com>
28673 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28675 2012-04-16 Marek Polacek <polacek@redhat.com>
28677 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28678 operands of fdivp instruction.
28680 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28682 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28683 * elf/tst-auditmod3b.c: Likewise.
28684 * elf/tst-auditmod4b.c: Likewise.
28685 * elf/tst-auditmod5b.c: Likewise.
28686 * elf/tst-auditmod6b.c: Likewise.
28687 * elf/tst-auditmod6c.c: Likewise.
28688 * elf/tst-auditmod7b.c: Likewise.
28689 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28690 * sysdeps/x86_64/preconfigure.in: Likewise.
28691 * sysdeps/x86_64/preconfigure: Regenerated.
28693 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28695 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28698 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28701 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28703 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28706 * locale/iso-639.def: Fix gl language name. Spotted by
28709 2012-04-12 Roland McGrath <roland@hack.frob.com>
28712 * libio/libio.h (__io_write_fn): Update comment.
28714 2012-04-12 Petr Baudis <pasky@ucw.cz>
28717 * stdio.texi (Hook Functions): The user provided writer function
28718 is not allowed to return -1.
28720 2012-04-11 David S. Miller <davem@davemloft.net>
28722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28724 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28726 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28727 Add a leading slash to rtkaio.
28729 2012-04-11 Jim Meyering <meyering@redhat.com>
28732 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28733 It is not necessarily an error to ignore fwrite's return
28734 value. One can reliably use ferror to test for errors after
28737 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28739 * bits/types.h (__snseconds_t): New type.
28740 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28742 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28744 (__SNSECONDS_T_TYPE): Likewise.
28745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28746 (__SNSECONDS_T_TYPE): Likewise.
28747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28748 (__SNSECONDS_T_TYPE): Likewise.
28750 2012-04-10 Andreas Jaeger <aj@suse.de>
28753 * manual/time.texi (Processor Time): Return type of times is
28754 elapsed real time since an arbitrary point in the past.
28755 (CPU Time): Move CLK_TCK from here...
28756 (Processor Time): ...to here. Correct description.
28757 * manual/conf.texi (Constants for Sysconf): Correct description of
28760 2012-04-10 David S. Miller <davem@davemloft.net>
28763 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28764 where the is a gap between DT_REL(A) and DT_JMPREL.
28766 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28768 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28769 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28770 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28772 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28774 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28775 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28776 (dl_main): Handle --inhibit-cache.
28777 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28779 * elf/dl-load.c (_dl_map_object): Use it.
28780 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28782 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28785 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28786 (__ieee754_powl): Saturate large exponents rather than testing for
28787 overflow of y*log2(x).
28788 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28789 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28793 * math/s_ctan.c: Include <float.h>.
28794 (__ctan): Avoid internal overflow or cancellation in calculating
28796 * math/s_ctanf.c: Likewise.
28797 * math/s_ctanl.c: Likewise.
28798 * math/s_ctanh.c: Likewise.
28799 * math/s_ctanhf.c: Likewise.
28800 * math/s_ctanhl.c: Likewise.
28801 * math/libm-test.inc (ctan_test): Add more tests.
28802 (ctanh_test): Likewise.
28803 * sysdeps/i386/fpu/libm-test-ulps: Update.
28804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28806 2012-04-09 Andreas Jaeger <aj@suse.de>
28809 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28810 is an optional BSD extension.
28813 * manual/stdio.texi (Opening Streams): Document additional fopen
28816 2012-04-09 Roland McGrath <roland@hack.frob.com>
28818 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28819 %eax without telling the compiler.
28821 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28824 * manual/install.texi: Use sourceware.org.
28826 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28829 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28830 (__ieee754_pow): Generate overflow and underflow using huge*huge
28831 and tiny*tiny rather than just returning constant infinity or zero
28832 for large exponents.
28833 * math/libm-test.inc (pow_test): Require overflow exceptions for
28834 applicable cases of large exponents.
28837 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28838 (__ieee754_pow): Use iterative multiplication algorithm only for
28839 integer exponents with absolute value below 1024. Check for odd
28840 integer exponents when using algorithm for real exponents.
28841 * math/libm-test.inc (pow_test): Add more tests.
28842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28844 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28847 * math/libm-test.inc (exp_test): Do not allow overflow exception
28850 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28853 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28854 instead of __kernel_standard_f.
28856 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28858 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28859 * sysdeps/x86_64/memset_chk.S: Likewise.
28861 2012-04-08 Andreas Jaeger <aj@suse.de>
28864 * manual/startup.texi (Environment Access): Describe return value
28865 for putenv and setenv.
28868 * manual/filesys.texi (Directory Entries): Add description for
28872 * manual/filesys.texi (Directory Entries): Clarify that it's file
28873 system not operating system in the description of DT_UNKNOWN.
28876 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28878 2012-04-08 Stephen Compall <s11@member.fsf.org>
28881 * manual/llio.texi (Opening and Closing Files): Add cross
28882 reference to explain mode argument.
28884 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28886 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28887 * sysdeps/x86_64/memset_chk.S: Likewise.
28889 2012-04-07 David S. Miller <davem@davemloft.net>
28891 * elf/elf.h (R_SPARC_WDISP10): Define.
28892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28895 R_SPARC_SIZE64 and R_SPARC_H34.
28897 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28899 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28900 conditions and remove no longer applicable assertion.
28902 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28904 * bits/byteswap.h: Include <features.h>.
28905 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28906 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28908 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28910 * bits/byteswap.h (__bswap_16): Removed.
28911 Include <bits/byteswap-16.h> to get __bswap_16.
28912 * sysdeps/i386/bits/byteswap.h: Likewise.
28913 * sysdeps/s390/bits/byteswap.h: Likewise.
28914 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28915 * bits/byteswap-16.h: New file.
28916 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28917 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28918 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28919 * string/Makefile (headers): Add bits/byteswap-16.h.
28921 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28924 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28926 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28927 * nss/tst-nss-static.c: New.
28929 2012-04-06 Robert Millan <rmh@gnu.org>
28932 * manual/llio.texi (File Position Primitive): lseek
28933 refers to WHENCE when it really means OFFSET.
28935 2012-04-06 Andreas Jaeger <aj@suse.de>
28937 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28938 strncmp declarations.
28940 * abilist/libc.abilist: Add __poll and __ppoll.
28942 2012-04-05 David S. Miller <davem@davemloft.net>
28944 * scripts/check-local-headers.sh: Accept a host triplet in the
28945 path matched by the exclude regexp.
28947 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28949 * sysdeps/powerpc/powerpc32/dl-machine.h
28950 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28951 * sysdeps/s390/s390-32/dl-machine.h
28952 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28953 * sysdeps/sparc/sparc32/dl-machine.h
28954 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28955 * sysdeps/sparc/sparc64/dl-machine.h
28956 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28958 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28960 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28961 undefined symbol errors.
28963 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28966 2012-04-05 Michael Matz <matz@suse.de>
28969 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28971 2012-04-05 Andreas Jaeger <aj@suse.de>
28974 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28977 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28979 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28980 which ROUND is no valid rounding mode.
28982 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28984 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28986 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28988 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28990 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28991 an exception using FPU order intentionally.
28993 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28995 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28996 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28997 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28998 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29000 2012-04-05 Simon Josefsson <simon@josefsson.org>
29003 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29004 EINVAL when BUFLEN is too smal.
29006 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29009 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29010 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29012 2012-04-03 Andreas Jaeger <aj@suse.de>
29015 * manual/setjmp.texi (System V contexts): Fix sentence.
29018 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29019 New macro for this case.
29020 [!__GNUC__] (__bswap_64): New inline function for this case.
29021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29022 * bits/byteswap.h: Likewise.
29023 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29024 ull, guard with __GLIBC_HAVE_LONG_LONG.
29026 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29027 __GLIBC_HAVE_LONG_LONG.
29029 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29030 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29032 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29035 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29036 inptr and inend, rather than using last_ch.
29038 2012-04-02 David S. Miller <davem@davemloft.net>
29040 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29041 * stdio-common/printf-parse.h (read_int): Change return type to
29042 'int', return -1 on INT_MAX overflow.
29043 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29044 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29045 overflows INT_MAX. Check for overflow of in-format-string precision
29046 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29047 SIZE_MAX not INT_MAX for integer overflow test.
29048 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29049 skip the construct in the format string but do not record anything.
29050 * stdio-common/bug22.c: Adjust to test both width/prevision
29051 INT_MAX overflow as well as total length INT_MAX overflow. Check
29052 explicitly for proper errno values.
29054 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29056 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29058 * string/test-strcmp.c [! WIDE]: Likewise.
29059 * time/tst-mktime2.c: Likewise for INT_MAX.
29060 * string/test-string.h: #include <sys/param.h> for MIN.
29062 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29063 * sysdeps/i386/init-first.c (init): Likewise.
29064 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29065 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29066 * sysdeps/sh/init-first.c (init): Likewise.
29068 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29070 * po/ru.po: Update from translation team.
29071 * po/vi.po: Likewise.
29073 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29075 * resolv/nss_dns/dns-host.c: Merge copyright years.
29077 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29079 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29080 Optimize memcpy with prefetch if
29081 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29082 src, dst pointers have unequal 16 byte alignments.
29084 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29087 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29088 from a CNAME entry and return the minimum ttl for the query.
29089 (gaih_getanswer_slice): Likewise.
29091 2012-03-30 Jeff Law <law@redhat.com>
29093 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29095 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29096 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29098 * resolv/nss_dns/dns-host.c: Update copyright year.
29100 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29102 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29103 requests to save a system call. Fix check that all bytes are sent.
29105 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29106 comments for sendmmsg.
29108 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29111 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29112 with only 1 character between 0x0041 and 0x01b0.
29113 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29114 * wcsmbs/tst-mbsnrtowcs.c: New file.
29116 2012-03-29 David S. Miller <davem@davemloft.net>
29118 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29119 small copies by hand.
29121 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29124 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29125 _nss_compat_initgroups_dyn): Fall back to malloc/free
29126 for large group memberships.
29128 2012-03-28 David S. Miller <davem@davemloft.net>
29130 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29131 that branches into memcpy.
29132 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29134 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29135 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29138 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29139 implementation too.
29140 * sysdeps/sparc/mempcpy.S: New file.
29142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29143 the IFUNC routine in the libc case.
29144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29146 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29147 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29148 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29149 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29150 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29151 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29152 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29153 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29155 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29156 loop to 256 bytes instead of 64 bytes and fix test signedness.
29158 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29159 * sysdeps/sparc/sparc32/Makefile: rather than here...
29160 * sysdeps/sparc/sparc64/Makefile: and here.
29162 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29164 * malloc/mallocbug.c: Avoid warnings about unused variables.
29166 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29169 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29170 in the right place. Discard and retry query if response is
29171 larger than input buffer size.
29173 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29178 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29179 x for large integer exponent.
29180 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29181 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29182 sign of result as needed afterwards.
29183 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29184 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29185 result for underflowing pow the same as for overflow.
29186 (__kernel_standard_l): Handle powl overflow and underflow here
29187 rather than calling __kernel_standard.
29188 * math/libm-test.inc (pow_test): Add more tests.
29203 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29204 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29205 (__kernel_standard_l): New function.
29206 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29208 * math/w_acosl.c (__acosl): Likewise.
29209 * math/w_asinl.c (__asinl): Likewise.
29210 * math/w_atan2l.c (__atan2l): Likewise.
29211 * math/w_atanhl.c (__atanhl): Likewise.
29212 * math/w_coshl.c (__coshl): Likewise.
29213 * math/w_exp10l.c (__exp10l): Likewise.
29214 * math/w_exp2l.c (__exp2l): Likewise.
29215 * math/w_fmodl.c (__fmodl): Likewise.
29216 * math/w_hypotl.c (__hypotl): Likewise.
29217 * math/w_j0l.c (__j0l, __y0l): Likewise.
29218 * math/w_j1l.c (__j1l, __y1l): Likewise.
29219 * math/w_jnl.c (__jnl, __ynl): Likewise.
29220 * math/w_lgammal.c (__lgammal): Likewise.
29221 * math/w_log10l.c (__log10l): Likewise.
29222 * math/w_log2l.c (__log2l): Likewise.
29223 * math/w_logl.c (__logl): Likewise.
29224 * math/w_powl.c (__powl): Likewise.
29225 * math/w_remainderl.c (__remainderl): Likewise.
29226 * math/w_scalbl.c (sysv_scalbl): Likewise.
29227 * math/w_sinhl.c (__sinhl): Likewise.
29228 * math/w_sqrtl.c (__sqrtl): Likewise.
29229 * math/w_tgammal.c (__tgammal): Likewise.
29230 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29231 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29232 * math/libm-test.inc (acos_test): Add more tests.
29233 (acosh_test): Likewise.
29234 (asin_test): Likewise.
29235 (atanh_test): Likewise.
29236 (exp_test): Likewise.
29237 (exp10_test): Likewise.
29238 (exp2_test): Likewise.
29239 (expm1_test): Likewise.
29240 (lgamma_test): Likewise.
29241 (log_test): Likewise.
29242 (log10_test): Likewise.
29243 (log1p_test): Likewise.
29244 (log2_test): Likewise.
29245 (pow_test): Do not allow some spurious overflow exceptions.
29246 (sqrt_test): Add more tests.
29247 (tgamma_test): Likewise.
29248 (y0_test): Likewise.
29249 (y1_test): Likewise.
29250 (yn_test): Likewise.
29252 2012-03-27 Anton Blanchard <anton@samba.org>
29254 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29256 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29257 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29260 2012-03-27 David S. Miller <davem@davemloft.net>
29262 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29264 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29265 have-as-vis3 check.
29267 2012-03-27 Andreas Jaeger <aj@suse.de>
29269 * sysdeps/x86_64/elf/configure.in: Moved to ...
29270 * sysdeps/x86_64/configure.in: ... here.
29271 * sysdeps/x86_64/elf/start.S: Moved to ...
29272 * sysdeps/x86_64/start.S: ... here.
29273 * sysdeps/x86_64/elf/configure: Delete.
29275 * sysdeps/x86_64/configure.in: Merge contents from
29276 sysdeps/i386/configure.in (without i686 check).
29278 * sysdeps/i386/elf/Versions: Merge into ...
29279 * sysdeps/i386/Versions: ... this.
29280 * sysdeps/i386/elf/Versions: Delete file.
29281 * sysdeps/i386/elf/start.S: Moved to ...
29282 * sysdeps/i386/start.S: ...here.
29283 * sysdeps/i386/elf/configure.in: Merge into...
29284 * sysdeps/i386/configure.in: ...here.
29285 * sysdeps/i386/elf/configure.in: Delete file.
29286 * sysdeps/i386/elf/configure: Delete file.
29288 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29289 * debug/backtracesyms.c: ... here.
29290 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29291 * debug/backtracesymsfd.c: ... here.
29292 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29293 * sysdeps/generic/ifunc-sel.h: ... here.
29295 * sysdeps/unix/i386/start.c: Delete file.
29296 * sysdeps/unix/sparc/start.c: Delete file.
29297 * sysdeps/unix/start.c: Delete file.
29299 * sysdeps/sh/elf/configure.in: Moved to ...
29300 * sysdeps/sh/configure.in: ... here.
29301 * sysdeps/sh/elf/start.S: Moved to ...
29302 * sysdeps/sh/start.S: ... here.
29303 * sysdeps/sh/elf/configure: Delete file.
29305 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29306 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29307 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29308 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29309 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29310 * sysdeps/powerpc/powerpc64/start.S: here.
29311 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29312 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29313 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29314 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29315 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29317 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29318 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29319 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29320 * sysdeps/powerpc/powerpc32/start.S: ... here.
29321 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29322 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29323 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29325 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29326 * sysdeps/powerpc/ifunc-sel.h: ... here.
29327 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29328 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29330 * sysdeps/sparc/elf/configure.in: Moved to ...
29331 * sysdeps/sparc/configure.in: ... here.
29332 * sysdeps/sparc/elf/configure: Delete file.
29333 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29334 * sysdeps/sparc/sparc32/start.S: ... here.
29335 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29336 * sysdeps/sparc/sparc64/start.S: ... here.
29337 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29338 * sysdeps/sparc/sparc32/Makefile: ... this.
29339 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29340 * sysdeps/sparc/sparc64/Makefile: ... this.
29342 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29343 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29344 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29345 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29346 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29347 * sysdeps/s390/s390-32/setjmp.S: ... here.
29348 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29349 * sysdeps/s390/s390-32/configure.in: ... here.
29350 * sysdeps/s390/s390-32/elf/configure: Delete file.
29351 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29352 * sysdeps/s390/s390-32/start.S: ... here.
29354 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29355 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29356 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29357 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29358 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29359 * sysdeps/s390/s390-64/setjmp.S: ... here.
29360 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29361 * sysdeps/s390/s390-64/configure.in: ... here
29362 * sysdeps/s390/s390-64/elf/configure: Delete file.
29363 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29364 * sysdeps/s390/s390-64/start.S: ... here.
29365 * sysdeps/s390/s390-64/elf/configure: Delete.
29367 * configure.in: Remove support for elf directories in sysdeps.
29369 * configure: Regenerated.
29370 * sysdeps/i386/configure: Regenerated.
29371 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29372 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29373 * sysdeps/s390/s390-32/configure: Regenerated.
29374 * sysdeps/s390/s390-64/configure: Regenerated.
29375 * sysdeps/sh/configure: Regenerated.
29376 * sysdeps/sparc/configure: Regenerated.
29377 * sysdeps/x86_64/configure: Regenerated.
29379 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29383 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29384 denormal result into account.
29386 2012-03-25 Roland McGrath <roland@hack.frob.com>
29388 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29389 Reported by Allan McRae <allan@archlinux.org>.
29391 2012-03-23 Jeff Law <law@redhat.com>
29393 * nss/getnssent.c (__nss_getent): Fix typo.
29395 2012-03-23 David S. Miller <davem@davemloft.net>
29397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29399 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29401 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29402 to pad to uint64_t for each field.
29403 (dl_tls_index): Replace unsigned long with uint64_t.
29405 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29406 Paul Pluzhnikov <ppluzhnikov@google.com>
29409 * grp/Makefile (otherlibs): Don't set it.
29410 * inet/Makefile (otherlibs): Likewise.
29411 * login/Makefile (otherlibs): Likewise.
29412 * nscd/Makefile (otherlibs): Likewise.
29413 * posix/Makefile (otherlibs): Likewise.
29414 * pwd/Makefile (otherlibs): Likewise.
29415 * rt/Makefile (otherlibs): Likewise.
29416 * sunrpc/Makefile (otherlibs): Likewise.
29417 * nss/Makefile (otherlibs): Likewise.
29418 Add libnss_files to routines and static-only-routines.
29419 ($(objpfx)getent): Remove rule.
29420 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29421 static-only-routines.
29423 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29426 * math/s_cexp.c: Include <float.h>.
29427 (__cexp): Handle exp result overflowing not necessarily
29428 overflowing both real and imaginary parts of result.
29429 * math/s_cexpf.c: Likewise.
29430 * math/s_cexpl.c: Likewise.
29431 * math/libm-test.inc (cexp_test): Add more tests.
29432 * sysdeps/i386/fpu/libm-test-ulps: Update.
29433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29435 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29437 * include/link.h (ELFW): New macro.
29438 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29439 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29441 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29443 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29446 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29448 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29450 (struct La_x32_retval): Likewise.
29452 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29454 * sysdeps/x86_64/preconfigure.in: New file.
29455 * sysdeps/x86_64/preconfigure: New generated file.
29457 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29460 * math/e_exp2l.c: Include <float.h>.
29461 (__ieee754_exp2l): Handle overflow and underflow cases
29462 separately. Only pass fractional part of argument to
29464 * math/libm-test.inc (exp2_test): Add more tests.
29466 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29467 negating x to take absolute value.
29468 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29470 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29471 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29473 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29474 computing low part if x was negated.
29475 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29477 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29479 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29480 la_x32_gnu_pltexit.
29481 (pltexit): Cast int_retval to ptrdiff_t.
29482 * elf/tst-auditmod3b.c: Likewise.
29483 * elf/tst-auditmod4b.c: Likewise.
29484 * elf/tst-auditmod5b.c: Likewise.
29485 * elf/tst-auditmod6b.c: Likewise.
29486 * elf/tst-auditmod6c.c: Likewise.
29487 * elf/tst-auditmod7b.c: Likewise.
29489 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29490 and x32_gnu_pltexit.
29492 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29493 __ELF_NATIVE_CLASS.
29494 (La_x32_regs): New macro.
29495 (La_x32_retval): Likewise.
29496 (la_x32_gnu_pltenter): New function prototype.
29497 (la_x32_gnu_pltexit): Likewise.
29499 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29506 * configure.in (libc_cv_cc_nofma): Check for option to disable
29507 generation of FMA instructions.
29508 * configure: Regenerate.
29509 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29510 * sysdeps/ieee754/dbl-64/Makefile: New file.
29511 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29512 Remove brandred-fma4.
29513 (CFLAGS-brandred-fma4.c): Remove.
29514 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29515 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29517 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29520 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29522 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29523 LLONG_MAX != LONG_MAX.
29524 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29525 (_fitoa_word): Likewise.
29526 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29527 LLONG_MAX != LONG_MAX.
29528 * stdio-common/_itowa.h: Include <_itoa.h>.
29529 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29530 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29531 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29532 only if not defined.
29533 (_ITOA_WORD_TYPE): Likewise.
29534 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29535 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29537 2012-03-21 David S. Miller <davem@davemloft.net>
29539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29541 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29543 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29544 of x86_64 when setting libc_cv_slibdir, libdir and
29546 * sysdeps/unix/sysv/linux/configure: Regenerated.
29548 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29550 * manual/lang.texi (Old Varargs): Remove section.
29551 (How Variadic): Update menu.
29552 (va_start): Do not mention varargs.h.
29554 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29555 Joseph Myers <joseph@codesourcery.com>
29557 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29559 * configure: Regenerated.
29561 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29563 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29564 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29567 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29570 * Makefile (files-for-dist): Remove NOTES.
29571 (NOTES): Remove rule.
29572 * README: Don't refer to NOTES.
29573 * manual/creature.texi: Don't include macros.texi.
29574 * manual/intro.texi (creature.texi): Remove comment referring to
29577 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29578 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29579 * configure: Regenerated.
29580 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29581 LIBC_TRY_CC_OPTION.
29582 (libc_cv_as_i686): Likewise.
29583 (libc_cv_cc_avx): Likewise.
29584 (libc_cv_cc_sse2avx): Likewise.
29585 (libc_cv_cc_fma4): Likewise.
29586 (libc_cv_cc_novzeroupper): Likewise.
29587 * sysdeps/i386/configure: Regenerated.
29590 * sysdeps/i386/fpu/s_cexp.S: Remove.
29591 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29592 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29593 * math/libm-test.inc (cexp_test): Add more tests.
29594 * sysdeps/i386/fpu/libm-test-ulps: Update.
29595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29597 2012-03-21 Allan McRae <allan@archlinux.org>
29599 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29601 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29604 * math/w_exp2.c: Do not include <float.h>.
29605 (o_threshold, u_threshold): Remove.
29606 (__exp2): Calculate result before checking finiteness and calling
29608 * math/w_exp2f.c: Likewise.
29609 * math/w_exp2l.c: Likewise.
29610 * math/libm-test.inc (exp2_test): Require overflow exception for
29614 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29615 range of signed 64-bit integers before using fistpll. Remove
29616 checks for whether integers fit in mantissa bits.
29617 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29618 the range of signed 32-bit integers before using fistpl. Remove
29619 checks for whether integers fit in mantissa bits.
29620 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29621 (__ieee754_powl): Test for y outside the range of signed 64-bit
29622 integers before using fistpll. Reduce 64-bit values to 63-bit
29624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29625 divide-by-zero is raised for zero to large negative powers.
29626 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29627 (__ieee754_powl): Test for y outside the range of signed 64-bit
29628 integers before using fistpll. Reduce 64-bit values to 63-bit
29630 * math/libm-test.inc (pow_test): Add more tests.
29632 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29634 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29635 <stdio-common/_itoa.h>.
29636 * debug/segfault.c: Likewise.
29637 * elf/dl-cache.c: Likewise.
29638 * elf/dl-minimal.c: Likewise.
29639 * elf/dl-misc.c: Likewise.
29640 * elf/dl-sysdep.c: Likewise.
29641 * elf/dl-version.c: Likewise.
29642 * elf/rtld.c: Likewise.
29643 * hurd/hurdsock.c: Likewise.
29644 * hurd/lookup-retry.c: Likewise.
29645 * malloc/malloc.c: Likewise.
29646 * malloc/mtrace.c: Likewise.
29647 * nscd/nscd_getgr_r.c: Likewise.
29648 * nscd/nscd_getpw_r.c: Likewise.
29649 * nscd/nscd_getserv_r.c: Likewise.
29650 * posix/getopt_init.c: Likewise.
29651 * posix/wordexp.c: Likewise.
29652 * stdio-common/_itoa.c: Likewise.
29653 * stdio-common/printf_fphex.c: Likewise.
29654 * stdio-common/vfprintf.c: Likewise.
29655 * string/_strerror.c: Likewise.
29656 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29657 * sysdeps/i386/i686/hp-timing.h: Likewise.
29658 * sysdeps/mach/_strerror.c: Likewise.
29659 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29660 * sysdeps/mach/hurd/sethostid.c: Likewise.
29661 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29662 * sysdeps/mach/xpg-strerror.c: Likewise.
29663 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29664 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29665 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29666 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29667 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29668 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29669 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29670 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29671 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29672 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29673 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29674 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29675 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29676 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29677 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29678 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29679 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29680 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29681 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29682 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29683 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29685 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29687 * stdio-common/_itoa.h: Moved to ...
29688 * sysdeps/generic/_itoa.h: Here.
29690 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29692 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29693 instead of "_itoa.h" and "_itowa.h".
29694 * stdio-common/vfprintf.: Likewise.
29696 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29698 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29700 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29701 (__signbit): Likwise.
29702 (llrintf): Likwise.
29705 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29707 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29710 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29712 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29713 OVERFLOW_EXCEPTION_OK.
29714 * math/libm-test.inc ("Philosophy"): Update comment about
29716 (OVERFLOW_EXCEPTION): Define.
29717 (OVERFLOW_EXCEPTION_OK): Likewise.
29718 (INVALID_EXCEPTION_OK): Renumber.
29719 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29720 (IGNORE_ZERO_INF_SIGN): Likewise.
29721 (test_exceptions): Handle FE_OVERFLOW.
29722 (exp10_test): Expect overflow exceptions.
29723 (exp2_test): Likewise.
29724 (expm1_test): Likewise.
29725 (nextafter_test): Likewise.
29726 (pow_test): Likewise.
29727 (scalbn_test): Likewise.
29728 (scalbln_test): Likewise.
29730 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29732 * sysdeps/x86_64/bits/atomic.h
29733 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29735 (atomic_exchange_acq): Likewise.
29736 (__arch_exchange_and_add_body): Likewise.
29737 (__arch_add_body): Likewise.
29738 (atomic_add_negative): Likewise.
29739 (atomic_add_zero): Likewise.
29741 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29743 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29744 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29746 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29748 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29749 Check __x86_64__ instead of __WORDSIZE.
29751 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29753 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29755 2012-03-19 David S. Miller <davem@davemloft.net>
29757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29759 * sysdeps/sparc/fpu/fenv_private.h: New file.
29760 * sysdeps/sparc/fpu/math_private.h: Use it.
29761 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29763 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29764 (libc_feholdexcept_setroundl): Remove.
29765 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29767 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29768 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29770 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29772 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29773 int64_t instead of long int.
29774 (INSERT_WORDS64): Likwise.
29776 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29778 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29779 _Unwind_GetCFA return to _Unwind_Ptr first.
29781 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29784 * math/s_clog.c: Include <float.h>.
29785 (__clog): Scale large or subnormal inputs.
29786 * math/s_clogf.c: Likewise.
29787 * math/s_clogl.c: Likewise.
29788 * math/s_clog10.c: Include <float.h>.
29789 (M_LOG10_2): Define.
29790 (__clog10): Scale large or subnormal inputs.
29791 * math/s_clog10f.c: Likewise.
29792 * math/s_clog10l.c: Likewise.
29793 * math/libm-test.inc (clog_test): Add more tests.
29794 (clog10_test): Likewise.
29795 * sysdeps/i386/fpu/libm-test-ulps: Update.
29796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29799 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29801 * math/libm-test.inc (atan2_test): Add another test.
29803 * Makerules (common-objdir-compile): Remove.
29804 * sysdeps/unix/Makefile (config-generated): Do not add
29805 $(unix-generated) to variable.
29806 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29807 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29809 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29811 [generic bits/local_lim.h] (before-compile): Do not append to
29813 [generic bits/local_lim.h] (common-generated): Likewise.
29814 [generic sys/param.h] (before-compile): Do not append to variable.
29815 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29816 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29817 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29818 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29820 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29821 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29822 [generic sys/param.h] ($(addprefix
29823 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29824 [generic sys/param.h] (common-generated): Do not append to
29826 [generic sys/param.h] (sysdep_headers): Likewise.
29827 [generic bits/errno.h] (before-compile): Do not append to
29829 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29831 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29832 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29833 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29834 [generic bits/errno.h] (common-generated): Do not append to
29836 [generic bits/ioctls.h] (before-compile): Do not append to
29838 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29840 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29841 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29842 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29844 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29845 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29846 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29847 [generic bits/ioctls.h] (common-generated): Do not append to
29849 [generic sys/syscall.h] (syscall.h): Remove variable.
29850 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29852 [generic sys/syscall.h] (before-compile): Do not append to
29854 [generic sys/syscall.h] (common-generated): Likewise.
29855 * sysdeps/unix/errnos-tmpl.c: Remove file.
29856 * sysdeps/unix/errnos.awk: Likewise.
29857 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29858 * sysdeps/unix/ioctls.awk: Likewise.
29859 * sysdeps/unix/mk-local_lim.c: Likewise.
29860 * sysdeps/unix/snarf-ioctls: Likewise.
29862 2012-03-19 Richard Henderson <rth@twiddle.net>
29864 * sysdeps/i386/fpu/fenv_private.h: New file.
29865 * sysdeps/i386/fpu/math_private.h: Use it.
29866 (math_opt_barrier, math_force_eval): Remove.
29867 (libc_feholdexcept_setround_53bit): Remove.
29868 (libc_feupdateenv_53bit): Remove.
29869 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29870 (math_opt_barrier, math_force_eval): Remove.
29871 (libc_feholdexcept): Remove.
29872 (libc_feholdexcept_setround): Remove.
29873 (libc_fetestexcept, libc_fesetenv): Remove.
29874 (libc_feupdateenv_test): Remove.
29875 (libc_feupdateenv, libc_feholdsetround): Remove.
29876 (libc_feresetround): Remove.
29878 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29879 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29881 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29882 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29883 (libc_feupdateenv_testl): New.
29884 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29885 (libc_feupdateenv_testf): New.
29886 (libc_feupdateenv): Use libc_feupdateenv_test.
29887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29888 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29890 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29891 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29892 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29893 (libc_feresetround_noex): New.
29894 (libc_feresetround_noexf): New.
29895 (libc_feresetround_noexl): New.
29896 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29897 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29898 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29899 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29904 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29905 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29906 SET_RESTORE_ROUND_NOEX.
29907 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29908 SET_RESTORE_ROUND_NOEXF.
29909 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29910 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29911 (libc_feholdsetroundf): New.
29912 (libc_feresetround, libc_feresetroundf): New.
29914 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29915 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29916 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29918 * sysdeps/generic/math_private.h: Include <fenv.h>.
29919 (default_libc_feholdexcept): New.
29920 (default_libc_feholdexcept_setround): New.
29921 (default_libc_fesetenv, default_libc_feupdateenv): New.
29922 (libc_feholdexcept): Only define if undefined.
29923 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29924 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29925 (libc_feholdexcept_setroundl): Likewise.
29926 (libc_feholdexcept_setround_53bit): Likewise.
29927 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29928 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29929 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29930 (libc_feupdateenv_53bit): Likewise.
29931 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29932 (libc_feholdexcept): Convert from macro to inline function.
29933 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29934 (libc_fesetenv, libc_feupdateenv): Likewise.
29936 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29937 not previously defined.
29938 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29939 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29940 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29941 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29942 * sysdeps/ieee754/flt-32/math_private.h: New file.
29943 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29944 math_private.h below SET_FLOAT_WORD.
29945 (__isnan, __isinf_ns, __finite): Remove.
29946 (__isnanf, __isinf_nsf, __finitef): Remove.
29948 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29952 2012-03-17 David S. Miller <davem@davemloft.net>
29955 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29958 2012-03-16 David S. Miller <davem@davemloft.net>
29960 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29964 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29966 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29967 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29968 sysdep_routines when subdir is sysvipc.
29969 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29970 __getshmlba helper.
29972 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29974 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29976 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29979 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29981 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29982 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29983 (__lround): Renamed to ...
29984 (__llround): This. Replace long int with long long int.
29985 Define lround functions as aliases of llround functions.
29986 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29988 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29990 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29991 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29992 adresses to uintptr_t. Replace "long int" and "unsigned long
29993 int" with "greg_t" on va_arg.
29995 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29997 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29998 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30000 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30001 Move e_machine check before EI_CLASS check. Handle x32
30002 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30003 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30004 SKIP_EM_IA_64 and include
30005 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30007 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30008 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30009 (add_system_dir): New macro.
30011 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30012 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30014 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30025 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30027 * math/w_j0f.c (j0f): Likewise.
30029 * math/w_j0l.c (__j0l): Likewise.
30031 * math/w_j1.c (j1): Likewise.
30033 * math/w_j1f.c (j1f): Likewise.
30035 * math/w_j1l.c (__j1l): Likewise.
30037 * math/w_jn.c (jn): Likewise.
30039 * math/w_jnf.c (jnf): Likewise.
30041 * math/w_jnl.c (__jnl): Likewise.
30043 * math/libm-test.inc (j0_test): Add more tests.
30044 (j1_test): Likewise.
30045 (jn_test): Likewise. Add trailing semicolon to existing test.
30046 (y0_test): Likewise.
30047 (y1_test): Likewise.
30048 * sysdeps/i386/fpu/libm-test-ulps: Update.
30049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30053 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30054 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30055 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30056 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30057 (__tanl): Set errno for infinite argument.
30058 * sysdeps/i386/fpu/mptan.c: Remove.
30059 * sysdeps/i386/fpu/s_tan.S: Likewise.
30060 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30061 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30062 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30063 * math/libm-test.inc (tan_test): Add more tests and enable more
30064 tests for double and long double.
30065 * sysdeps/i386/fpu/libm-test-ulps: Update.
30066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30068 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30070 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30071 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30073 2012-03-16 Roland McGrath <roland@hack.frob.com>
30075 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30076 * configure.in: Use it for both main tree and add-ons.
30077 * configure: Regenerated.
30079 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30081 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30083 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30085 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30089 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30090 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30091 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30092 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30093 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30095 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30097 != 0 for prec == 2.
30098 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30099 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30100 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30101 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30102 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30103 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30104 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30105 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30106 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30107 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30108 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30109 * math/libm-test.inc (cos_test): Add more tests and enable more
30110 tests for long double.
30111 (sin_test): Likewise.
30112 (sincos_test): Likewise.
30113 * sysdeps/i386/fpu/libm-test-ulps: Update.
30114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30116 2012-03-16 David S. Miller <davem@davemloft.net>
30118 * sysdeps/sparc/fpu/math_private.h: New file.
30120 2012-03-15 David S. Miller <davem@davemloft.net>
30122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30136 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30137 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30139 * sysdeps/sparc/sparc-ifunc.h: New file.
30140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30166 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30185 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30187 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30191 2012-03-15 Andreas Jaeger <aj@suse.de>
30194 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30195 ieee754/flt-32 implementation for sin, cos and sincos.
30196 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30197 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30198 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30199 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30200 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30201 ieee754/flt-32 implementation for tan.
30203 * math/libm-test.inc (cos_test): Enable some large input tests for
30205 (sin_test): Likewise.
30206 (sincos_test): Likewise.
30207 (tan_test): Add tests for large input.
30209 * sysdeps/i386/fpu/libm-test-ulps: Update.
30211 2012-03-15 Andreas Jaeger <aj@suse.de>
30214 * math/libm-test.inc (cos_test): Add more test cases.
30215 (sin_test): Likewise.
30216 (sincos_test): Likewise.
30218 2012-03-15 Andreas Jaeger <aj@suse.de>
30221 * math/libm-test.inc (cos_test): Add a test case for large input
30223 (sin_test): Likewise.
30224 (sincos_test): Likewise.
30226 2012-03-15 Andreas Jaeger <aj@suse.de>,
30227 Joseph Myers <joseph@codesourcery.com>
30230 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30231 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30232 * sysdeps/i386/fpu/branred.c: Likewise.
30233 * sysdeps/i386/fpu/dosincos.c: Likewise.
30234 * sysdeps/i386/fpu/mpa.c: Likewise.
30235 * sysdeps/i386/fpu/s_cos.S: Likewise.
30236 * sysdeps/i386/fpu/s_sin.S: Likewise.
30237 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30238 * sysdeps/i386/fpu/sincos32.c: Likewise.
30240 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30242 (libc_feupdateenv_53bit): Define.
30243 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30245 (libc_feupdateenv_53bit): Define.
30247 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30248 53 bit (without extend i386 double precision).
30250 * math/libm-test.inc (sincos_test): Add tests for large input.
30254 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30256 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30260 2012-03-15 David S. Miller <davem@davemloft.net>
30262 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30263 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30264 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30265 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30290 fmin/fmax sysdep routines.
30291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30293 2012-03-14 David S. Miller <davem@davemloft.net>
30295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30315 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30316 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30317 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30321 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30367 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30372 * sysdeps/sparc/configure.in: New file.
30373 * sysdeps/sparc/configure: Generate.
30374 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30375 * configure: Regenerate.
30376 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30377 * config.make.in (have-as-vis3): New.
30378 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30379 available use -Av9d instead of -Av9a.
30380 * sysdeps/sparc/sparc64/Makefile: Likewise.
30381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30396 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30397 fzeros/fnegs to load 0x80000000 into a float register instead of
30399 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30401 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30405 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30406 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30407 ($(inst_includedir)/bits/syscall.h): Remove rule.
30408 ($(objpfx)bits/syscall.d): Include instead of
30409 $(objpfx)syscall-list.d.
30410 (generated): Change syscall-list.h and syscall-list.d to
30411 bits/syscall.h and bits/syscall.d.
30413 2012-03-14 Roland McGrath <roland@hack.frob.com>
30416 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30418 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30421 * math/s_csqrt.c: Include <float.h>.
30422 (__csqrt): Scale large or subnormal inputs.
30423 * math/s_csqrtf.c: Likewise.
30424 * math/s_csqrtl.c: Likewise.
30425 * math/libm-test.inc (csqrt_test): Add more tests.
30426 * sysdeps/i386/fpu/libm-test-ulps: Update.
30427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30430 * math/libm-test.inc (hypot_test): Add more tests.
30432 2012-03-13 David S. Miller <davem@davemloft.net>
30435 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30436 double-precision for the calculation instead of scaling.
30438 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30440 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30441 manipulate bits before adding and subtracting TWO52[sx].
30442 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30443 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30445 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30447 2012-03-13 David S. Miller <davem@davemloft.net>
30449 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30450 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30452 rtld-global-offsets.h
30453 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30455 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30458 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30460 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30461 'err' in the ifdef scope in which it is actually used.
30463 * nss/nss_db/db-init.c: Include string.h
30465 2012-03-12 David S. Miller <davem@davemloft.net>
30467 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30468 masking out of the most significant byte of random value used.
30469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30470 Fix coding style in previous change.
30472 * sysdeps/unix/sysv/linux/kernel-features.h
30473 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30474 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30476 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30479 2012-03-11 David S. Miller <davem@davemloft.net>
30481 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30482 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30483 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30484 for 'resultvar' otherwise things get truncated on 64-bit.
30486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30487 Fix masking out of the most significant byte of random value used.
30489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30491 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30495 2012-03-09 David S. Miller <davem@davemloft.net>
30497 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30498 variables with appropriate CPP guards.
30499 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30500 frame pointer, not the stack pointer. Correct layout comments. Fix test
30501 on resulting framesize and the management of the outregs buffer for pltexit.
30502 Preserve floating point return values across _dl_call_pltexit call.
30503 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30504 framesize and the management of the outregs buffer for pltexit.
30505 Preserve floating point return values across _dl_call_pltexit
30507 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30508 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30509 (print_exit): Fix format string for return register value.
30511 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30513 * sunrpc/Makefile (others): Add rpcgen.
30514 ($(objpfx)rpcgen): Remove special build rule and dependency on
30516 * sunrpc/rpcgen.c: New file.
30518 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30521 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30522 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30523 * sysdeps/i386/crti.S: Likewise.
30524 * sysdeps/i386/crtn.S: Likewise.
30525 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30526 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30527 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30528 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30529 * sysdeps/sh/crti.S: Likewise.
30530 * sysdeps/sh/crtn.S: Likewise.
30531 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30534 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30536 * locale/programs/locfile-kw.gperf: Likewise.
30537 * locale/programs/charmap-kw.h: Regenerated.
30538 * locale/programs/locfile-kw.h: Likewise.
30541 * intl/plural.y: Replace FSF snail mail address with URL.
30542 * intl/plural.c: Regenerated.
30544 2012-03-09 Richard Henderson <rth@twiddle.net>
30546 * include/math_private.h: Remove file.
30547 * math/math_private.h: Move file ...
30548 * sysdeps/generic/math_private.h: ... here.
30550 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30551 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30552 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30554 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30555 and <math_private.h>.
30556 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30557 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30558 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30559 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30560 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30565 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30570 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30572 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30581 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30583 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30586 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30592 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30593 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30594 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30595 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30596 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30598 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30599 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30600 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30601 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30602 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30603 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30604 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30605 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30606 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30607 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30608 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30609 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30610 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30612 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30613 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30614 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30615 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30616 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30617 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30620 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30621 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30624 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30625 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30626 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30630 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30644 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30645 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30646 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30647 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30649 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30650 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30651 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30652 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30653 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30654 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30655 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30656 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30657 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30658 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30659 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30660 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30661 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30662 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30663 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30664 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30665 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30666 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30667 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30668 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30669 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30670 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30671 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30672 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30673 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30674 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30675 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30676 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30677 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30678 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30679 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30680 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30681 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30682 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30683 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30684 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30685 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30686 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30687 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30688 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30689 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30690 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30691 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30692 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30693 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30694 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30695 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30696 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30697 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30698 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30699 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30700 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30701 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30702 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30703 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30704 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30705 * sysdeps/ieee754/k_standard.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30729 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30731 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30733 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30737 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30747 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30825 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30828 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30835 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30836 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30837 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30838 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30843 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30844 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30845 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30848 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30849 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30850 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30851 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30852 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30855 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30856 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30857 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30858 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30861 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30862 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30863 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30864 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30865 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30866 * sysdeps/ieee754/s_lib_version.c: Likewise.
30867 * sysdeps/ieee754/s_matherr.c: Likewise.
30868 * sysdeps/ieee754/s_signgam.c: Likewise.
30869 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30870 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30871 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30872 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30873 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30874 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30875 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30876 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30877 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30878 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30879 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30880 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30881 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30882 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30883 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30884 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30886 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30891 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30893 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30894 * sunrpc/rpc_main.c: Likewise.
30895 * sunrpc/rpc_svcout.c: Likewise.
30897 2012-03-09 David S. Miller <davem@davemloft.net>
30899 * include/math_private.h: New file.
30901 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30903 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30904 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30905 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30906 from <bits/socket_type.h>.
30907 (enum __socket_type): Don't define here.
30908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30910 bits/socket_type.h.
30913 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30914 checking __USE_GNU.
30916 * Makerules ($(inst_includedir)/%.h): New rule.
30917 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30918 (install-others): Remove variable setting.
30919 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30921 2012-03-08 Richard Henderson <rth@twiddle.net>
30923 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30924 from macro to inline function; merge with the
30925 !__LIBC_INTERNAL_MATH_INLINES version.
30926 (__ieee754_sqrtf): Likewise.
30928 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30929 to inline function.
30930 (__rintf, __floor, __floorf): Likewise.
30932 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30933 macro to inline function.
30934 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30937 not <math/math_private.h>.
30939 2012-03-08 David S. Miller <davem@davemloft.net>
30941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30943 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30945 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30947 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30949 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30950 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30952 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30954 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30955 be defined individually, they must be defined as a block. Define
30956 S for printing a string instead of hidint the different by using a
30957 macro for adding the 'l'.
30958 * stdio-common/tst-fphex-wide.c: Adjust.
30960 2012-03-07 Marek Polacek <polacek@redhat.com>
30962 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30964 2012-03-08 Marek Polacek <polacek@redhat.com>
30967 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30968 * stdio-common/tst-fphex.c: Define a few macros to make the
30969 test reusable. Use them.
30970 * stdio-common/tst-fphex-wide.c: New file.
30972 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30975 * manual/macros.texi (gnusystems): New macro.
30976 (nongnusystems): Likewise.
30977 (gnulinuxhurdsystems): Likewise.
30978 (gnuhurdsystems): Likewise..
30979 (gnulinuxsystems): Likewise.
30980 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30981 variants of the GNU system, not "GNU system".
30982 * manual/conf.texi: Likewise.
30983 * manual/errno.texi: Likewise. Update example of errno macro
30985 * manual/filesys.texi: Likewise.
30986 (getumask): Document as specific to GNU/Hurd.
30987 * manual/install.texi: Likewise. Reword some references to
30989 * manual/intro.texi: Likewise.
30990 * manual/io.texi: Likewise.
30991 (File Name Portability): Detail which constraints are inapplicable
30992 to all GNU systems and which are only inapplicable to GNU/Hurd.
30993 * manual/job.texi: Likewise.
30994 * manual/llio.texi: Likewise.
30995 (O_NOCTTY): Document as present on GNU/Linux.
30996 * manual/maint.texi: Likewise.
30997 * manual/memory.texi: Likewise.
30998 * manual/pattern.texi: Likewise.
30999 * manual/pipe.texi: Likewise.
31000 * manual/process.texi: Likewise.
31001 * manual/resource.texi: Likewise.
31002 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31004 * manual/setjmp.texi: Likewise.
31005 * manual/signal.texi: Likewise.
31006 * manual/startup.texi: Likewise.
31007 * manual/stdio.texi: Likewise.
31008 * manual/terminal.texi: Likewise.
31009 (ONLCR): Document as POSIX.
31010 (OXTABS): Document availability on GNU/Linux as XTABS.
31011 (ONOEOT): Document availability separately from other bits.
31012 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31013 * manual/time.texi: Likewise.
31014 * manual/users.texi: Likewise.
31015 * INSTALL: Regenerated.
31016 * sysdeps/gnu/errlist.c: Regenerated.
31018 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31019 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31020 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31022 * configure: Regenerated.
31024 2012-03-07 Joseph Myers <joseph@codesourcery.com>
31026 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31027 default includes instead of AC_HEADER_CHECK.
31028 * sysdeps/i386/configure: Regenerated.
31031 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31032 * math/s_cacoshf.c (__cacoshf): Likewise.
31033 * math/s_cacoshl.c (__cacoshl): Likewise.
31034 * math/s_casinh.c (__casinh): Set signs of result from argument.
31035 * math/s_casinhf.c (__casinhf): Likewise.
31036 * math/s_casinhl.c (__casinhl): Likewise.
31037 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31038 (casinh_test): Add more tests.
31039 * sysdeps/i386/fpu/libm-test-ulps: Update.
31040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31042 2012-03-07 Ulrich Drepper <drepper@gmail.com>
31044 * po/zh_TW.po: Update from translation team.
31046 * login/Makefile (distribute): Remove variable.
31047 * catgets/Makefile: Likewise.
31048 * mach/Makefile: Likewise.
31049 * malloc/Makefile: Likewise.
31050 * misc/Makefile: Likewise.
31051 * iconv/Makefile: Likewise.
31052 * nscd/Makefile: Likewise.
31053 * hurd/Makefile: Likewise.
31054 * manual/Makefile: Likewise.
31055 * locale/Makefile: Likewise.
31056 * intl/Makefile: Likewise.
31057 * conform/Makefile: Likewise.
31058 * nss/Makefile: Likewise.
31059 * time/Makefile: Likewise.
31060 * soft-fp/Makefile: Likewise.
31061 * dirent/Makefile: Likewise.
31062 * gmon/Makefile: Likewise.
31063 * po/Makefile: Likewise.
31064 * rt/Makefile: Likewise.
31065 * socket/Makefile: Likewise.
31066 * math/Makefile: Likewise.
31067 * signal/Makefile: Likewise.
31068 * debug/Makefile: Likewise.
31069 * elf/Makefile: Likewise.
31070 * timezone/Makefile: Likewise.
31071 * stdlib/Makefile: Likewise.
31072 * iconvdata/Makefile: Likewise.
31073 * sunrpc/Makefile: Likewise.
31074 * io/Makefile: Likewise.
31075 * argp/Makefile: Likewise.
31076 * inet/Makefile: Likewise.
31077 * hesiod/Makefile: Likewise.
31078 * grp/Makefile: Likewise.
31079 * csu/Makefile: Likewise.
31080 * wctype/Makefile: Likewise.
31081 * crypt/Makefile: Likewise.
31082 * libio/Makefile: Likewise.
31083 * string/Makefile: Likewise.
31084 * nis/Makefile: Likewise.
31085 * resolv/Makefile: Likewise.
31086 * stdio-common/Makefile: Likewise.
31087 * wcsmbs/Makefile: Likewise.
31088 * dlfcn/Makefile: Likewise.
31089 * posix/Makefile: Likewise.
31092 * timezone/Makefile: Don't install timezone files, just the programs
31095 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31097 * nss/databases.def: Add missing gshadow entry.
31099 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31101 2012-03-06 Marek Polacek <polacek@redhat.com>
31104 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31105 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31106 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31107 * stdio-common/tst-long-dbl-fphex.c: New file.
31109 2012-03-06 David S. Miller <davem@davemloft.net>
31111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31112 (set_obp_int): New function.
31113 (get_obp_int): New function.
31114 (__get_clockfreq_via_dev_openprom): Likewise.
31115 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31116 Avoid unused variable warnings on 'val' and use builtin_expect.
31117 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31119 (INLINE_CLONE_SYSCALL): Likewise.
31121 2012-03-05 David S. Miller <davem@davemloft.net>
31123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31125 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31129 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31130 only for |x| >= 40.
31131 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31133 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31136 Replace gettimeofday with __vdso_gettimeofday.
31138 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31139 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31140 __vdso_clock_gettime and __vdso_getcpu.
31142 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31143 time with __vdso_time.
31145 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31147 * manual/lang.texi (size_t): Note types to which size_t may be
31148 equivalent with the GNU C Library, but do not describe when
31149 differences between them are significant.
31151 2012-03-05 Andreas Jaeger <aj@suse.de>
31153 * sysdeps/i386/fpu/libm-test-ulps: Update.
31155 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31158 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31159 (__ieee754_pow): Save and restore rounding mode and use
31160 round-to-nearest for main computations.
31161 * math/libm-test.inc (pow_test_tonearest): New function.
31162 (pow_test_towardzero): Likewise.
31163 (pow_test_downward): Likewise.
31164 (pow_test_upward): Likewise.
31165 (main): Call the new functions.
31166 * sysdeps/i386/fpu/libm-test-ulps: Update.
31167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31170 * math/libm-test.inc (cosh_test_tonearest): New function.
31171 (cosh_test_towardzero): Likewise.
31172 (cosh_test_downward): Likewise.
31173 (cosh_test_upward): Likewise.
31174 (sinh_test_tonearest): Likewise.
31175 (sinh_test_towardzero): Likewise.
31176 (sinh_test_downward): Likewise.
31177 (sinh_test_upward): Likewise.
31178 (main): Call the new functions.
31179 * sysdeps/i386/fpu/libm-test-ulps: Update.
31180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31182 2012-03-05 Tom de Vries <tom@codesourcery.com>
31184 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31185 default stack guard is set in last bytes.
31186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31188 2012-03-05 Kees Cook <keescook@chromium.org>
31190 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31193 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31194 possibly allocate from heap instead of stack.
31195 * stdio-common/bug-vfprintf-nargs.c: New file.
31196 * stdio-common/Makefile (tests): Add nargs overflow test.
31198 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31202 2012-03-03 Marek Polacek <polacek@redhat.com>
31204 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31205 * math/math_private.h: Likewise.
31206 * stdlib/tst-strtod.c: Likewise.
31207 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31208 * sysdeps/x86_64/bits/atomic.h: Likewise.
31210 2012-03-02 David S. Miller <davem@davemloft.net>
31212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31216 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31217 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31218 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31219 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31221 2012-03-02 Roland McGrath <roland@hack.frob.com>
31224 * manual/examples/README: New file, says the example source files
31225 can be used under GPL>=2.
31226 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31227 line containing just "*/".
31228 * manual/examples/add.c: Add copyright header (GPL>=2).
31229 * manual/examples/argp-ex1.c: Likewise.
31230 * manual/examples/argp-ex2.c: Likewise.
31231 * manual/examples/argp-ex3.c: Likewise.
31232 * manual/examples/argp-ex4.c: Likewise.
31233 * manual/examples/atexit.c: Likewise.
31234 * manual/examples/db.c: Likewise.
31235 * manual/examples/dir.c: Likewise.
31236 * manual/examples/dir2.c: Likewise.
31237 * manual/examples/execinfo.c: Likewise.
31238 * manual/examples/filecli.c: Likewise.
31239 * manual/examples/filesrv.c: Likewise.
31240 * manual/examples/fmtmsgexpl.c: Likewise.
31241 * manual/examples/genpass.c: Likewise.
31242 * manual/examples/inetcli.c: Likewise.
31243 * manual/examples/inetsrv.c: Likewise.
31244 * manual/examples/isockad.c: Likewise.
31245 * manual/examples/longopt.c: Likewise.
31246 * manual/examples/memopen.c: Likewise.
31247 * manual/examples/memstrm.c: Likewise.
31248 * manual/examples/mkfsock.c: Likewise.
31249 * manual/examples/mkisock.c: Likewise.
31250 * manual/examples/mygetpass.c: Likewise.
31251 * manual/examples/pipe.c: Likewise.
31252 * manual/examples/popen.c: Likewise.
31253 * manual/examples/rprintf.c: Likewise.
31254 * manual/examples/search.c: Likewise.
31255 * manual/examples/select.c: Likewise.
31256 * manual/examples/setjmp.c: Likewise.
31257 * manual/examples/sigh1.c: Likewise.
31258 * manual/examples/sigusr.c: Likewise.
31259 * manual/examples/stpcpy.c: Likewise.
31260 * manual/examples/strdupa.c: Likewise.
31261 * manual/examples/strftim.c: Likewise.
31262 * manual/examples/strncat.c: Likewise.
31263 * manual/examples/subopt.c: Likewise.
31264 * manual/examples/swapcontext.c: Likewise.
31265 * manual/examples/termios.c: Likewise.
31266 * manual/examples/testopt.c: Likewise.
31267 * manual/examples/testpass.c: Likewise.
31268 * manual/examples/timeval_subtract.c: Likewise.
31271 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31273 * manual/timeval_subtract.c.texi: ... here, new file.
31275 2012-03-02 David S. Miller <davem@davemloft.net>
31277 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31279 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31282 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31283 (__sin): Save and restore rounding mode and use round-to-nearest
31284 for all computations.
31285 (__cos): Save and restore rounding mode and use round-to-nearest
31286 for all computations.
31287 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31289 (tan): Save and restore rounding mode and use round-to-nearest for
31291 * math/libm-test.inc (cos_test_tonearest): New function.
31292 (cos_test_towardzero): Likewise.
31293 (cos_test_downward): Likewise.
31294 (cos_test_upward): Likewise.
31295 (sin_test_tonearest): Likewise.
31296 (sin_test_towardzero): Likewise.
31297 (sin_test_downward): Likewise.
31298 (sin_test_upward): Likewise.
31299 (tan_test_tonearest): Likewise.
31300 (tan_test_towardzero): Likewise.
31301 (tan_test_downward): Likewise.
31302 (tan_test_upward): Likewise.
31303 (main): Call the new functions.
31304 * sysdeps/i386/fpu/libm-test-ulps: Update.
31305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31308 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31309 small n, then large n, before computing and testing k+n.
31310 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31313 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31315 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31316 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31317 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31318 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31319 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31320 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31321 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31322 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31323 * math/libm-test.inc (scalbn_test): Add more tests.
31324 (scalbln_test): Likewise.
31326 * manual/filesys.texi (mode_t): Describe constraints on size and
31327 signedness, not exact equivalence to a particular type.
31329 (ino64_t): Likewise.
31331 (nlink_t): Likewise.
31332 (blkcnt_t): Likewise.
31333 (blkcnt64_t): Likewise.
31334 * manual/llio.texi (off_t): Likewise.
31337 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31338 (__ieee754_exp): Save and restore rounding mode and use
31339 round-to-nearest for all computations.
31340 * math/libm-test.inc (exp_test_tonearest): New function.
31341 (exp_test_towardzero): Likewise.
31342 (exp_test_downward): Likewise.
31343 (exp_test_upward): Likewise.
31344 (main): Call the new functions.
31345 * sysdeps/i386/fpu/libm-test-ulps: Update.
31346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31348 2012-03-01 Chris Demetriou <cgd@google.com>
31350 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31351 have predictable order.
31353 2012-03-01 David S. Miller <davem@davemloft.net>
31355 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31357 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31358 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31359 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31360 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31362 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31363 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31364 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31366 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31367 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31368 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31369 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31370 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31374 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31375 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31376 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31378 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31379 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31380 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31381 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31382 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31383 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31385 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31386 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31387 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31388 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31390 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31391 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31392 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31394 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31395 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31396 * sysdeps/sparc/elf/configure: Regenerated.
31398 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31400 * configure.in (AS, LD): Require binutils 2.20 or later.
31401 * configure: Regenerated.
31402 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31403 as required minimum version.
31404 * INSTALL: Regenerated.
31408 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31409 before squaring exponent.
31410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31411 bottom long double and 27 bits of top long double before squaring
31413 * math/libm-test.inc (erfc_test): Add more tests.
31414 * sysdeps/i386/fpu/libm-test-ulps: Update.
31415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31418 2012-03-01 Kai Tietz <ktietz@redhat.com>
31420 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31421 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31422 containing bit-fields.
31423 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31424 * soft-fp/single.h (_FP_UNION_S): Likewise.
31425 * soft-fp/double.h (_FP_UNION_D): Likewise.
31427 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31430 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31431 not include ../strcmp.S.
31432 [USE_AS_STRNCASECMP_L]: Likewise.
31433 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31434 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31435 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31436 (__strncasecmp_l_ia32): Define as alias to
31437 __strncasecmp_l_nonascii.
31440 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31441 * sysdeps/i386/fpu/libm-test-ulps: Update.
31442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31444 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31447 2012-02-29 Jeff Law <law@redhat.com>
31449 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31450 out of bounds read.
31452 2012-02-29 Marek Polacek <polacek@redhat.com>
31455 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31456 * elf/Makefile: Add rules to run tst-unused-dep.out.
31458 2012-02-28 David S. Miller <davem@davemloft.net>
31460 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31461 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31462 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31463 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31464 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31465 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31467 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31469 * math/libm-test.inc (llround_test): Move one test from
31470 lround_test. Use TEST_f_L in moved test.
31471 (lround_test): Move misplaced test to llround_test. Add testcase
31474 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31476 * sysdeps/x86_64/fpu/e_expf.S: New file.
31477 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31479 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31482 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31483 of remain_len that may cause incomplete multi-byte character and
31485 * posix/bug-regex33.c: New file.
31486 * posix/Makefile (tests): Add bug-regex33.
31488 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31490 * manual/macros.texi: New file.
31491 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31492 * manual/libc.texinfo: Include macros.texi.
31493 * manual/creatute.texi: Likewise.
31494 * manual/install.texi: Likewise.
31495 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31496 @glibcadj{} in references to the GNU C Library.
31497 * manual/charset.texi: Likewise.
31498 * manual/conf.texi: Likewise.
31499 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31500 when not using those macros.
31501 * manual/creature.texi: Likewise.
31502 * manual/crypt.texi: Likewise.
31503 * manual/errno.texi: Likewise.
31504 * manual/filesys.texi: Likewise.
31505 * manual/header.texi: Likewise.
31506 * manual/install.texi: Likewise.
31507 * manual/intro.texi: Likewise.
31508 * manual/io.texi: Likewise.
31509 * manual/job.texi: Likewise.
31510 * manual/lang.texi: Likewise.
31511 * manual/libc.texiinfo: Likewise.
31512 * manual/llio.texi: Likewise.
31513 * manual/locale.texi: Likewise.
31514 * manual/maint.texi: Likewise.
31515 * manual/math.texi: Likewise.
31516 * manual/memory.texi: Likewise.
31517 * manual/message.texi: Likewise.
31518 * manual/nss.texi: Likewise.
31519 * manual/pattern.texi: Likewise.
31520 * manual/process.texi: Likewise.
31521 * manual/resource.texi: Likewise.
31522 * manual/search.texi: Likewise.
31523 * manual/setjmp.texi: Likewise.
31524 * manual/signal.texi: Likewise.
31525 * manual/socket.texi: Likewise.
31526 * manual/startup.texi: Likewise.
31527 * manual/stdio.texi: Likewise.
31528 * manual/string.texi: Likewise.
31529 * manual/sysinfo.texi: Likewise.
31530 * manual/syslog.texi: Likewise.
31531 * manual/terminal.texi: Likewise.
31532 * manual/time.texi: Likewise.
31533 * manual/users.texi: Likewise.
31534 * INSTALL: Regenerated.
31535 * NOTES: Regenerated.
31536 * sysdeps/gnu/errlist.c: Regenerated.
31538 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31540 * include/dirent.h: Include <dirstream.h> before
31543 2012-02-28 David S. Miller <davem@davemloft.net>
31545 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31546 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31547 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31548 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31550 2012-02-27 David S. Miller <davem@davemloft.net>
31552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31554 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31555 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31558 frame pointer instead of stack pointer relative arg slot.
31559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31560 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31561 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31563 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31566 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31568 2012-02-27 David S. Miller <davem@davemloft.net>
31570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31574 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31575 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31576 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31577 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31579 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31581 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31582 later. Allow versions 5-9.
31583 * configure: Regenerated.
31584 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31585 required minimum version and 4.6 as recommended version. Do not
31586 mention bugs in GCC 2.7 and 2.8.
31587 * INSTALL: Regenerated.
31589 2012-02-27 David S. Miller <davem@davemloft.net>
31591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31595 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31596 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31597 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31598 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31600 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31601 manipulate bits before adding and subtracting TWO112[sx].
31602 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31604 2012-02-27 Roland McGrath <roland@hack.frob.com>
31607 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31608 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31609 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31610 being in POSIX, because they are in 1003.1-2008.
31612 * rt/tst-aio.c: Include <fcntl.h>.
31613 * rt/tst-aio7.c: Likewise.
31614 * rt/tst-aio64.c: Likewise.
31616 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31618 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31620 * manual/install.texi (--with-headers): Describe headers as
31621 interface headers, not private headers.
31622 (Specific advice for GNU/Linux systems): Describe use of headers
31623 from "make headers_install", not private headers from older
31625 * INSTALL: Regenerated.
31626 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31628 * sysdeps/unix/sysv/linux/configure: Regenerated.
31630 * manual/llio.texi (fclean): Remove documentation.
31632 * manual/Makefile (libc-texi-generated): New variable. Include
31634 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31635 $(libc-texi-generated), not duplicated list of files.
31636 (version.texi, stamp-version): New rules.
31637 (realclean): Remove $(libc-texi-generated), not individual files
31638 from that list. Do not remove dir-add.texinfo.
31639 * manual/libc.texinfo: Comment out uses of edition numbers and
31640 references to printed manual. Remove last-updated dates.
31641 (EDITION): Comment out.
31643 (VERSION, UPDATED): Remove.
31644 (version.texi): Include.
31646 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31648 * sysdeps/posix/spawni.c: Include <signal.h>.
31649 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31650 * sysdeps/pthread/aio_fsync.c: Likewise.
31652 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31654 * conform/Makefile (tests): Run only when not cross-compiling and
31655 when fast-check is not defined.
31657 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31658 * conform/data/limits.h-data: Fixes for POSIX2008.
31659 * conform/run-conformtest.sh: Run all tests.
31660 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31662 * include/bits/dlfcn.h: Likewise.
31663 * include/langinfo.h: Likewise.
31664 * include/monetary.h: Likewise.
31665 * include/sys/poll.h: Likewise.
31667 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31669 * posix/spawn.h: Define __need_sigset_t.
31670 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31671 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31672 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31673 to get sigevent_t only.
31674 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31675 only for __USE_GNU.
31676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31677 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31678 process_vm_writev only for __USE_GNU.
31679 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31681 * conform/Makefile: For now ignore errors from run-conformtest.
31682 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31683 POSIX to avoid namespace pollution. Don't prepend headers.
31684 * conform/data/aio.h-data: Fixes for POSIX testing.
31685 * conform/data/fcntl.h-data: Likewise.
31686 * conform/data/glob.h-data: Likewise.
31687 * conform/data/grp.h-data: Likewise.
31688 * conform/data/pthread.h-data: Likewise.
31689 * conform/data/pwd.h-data: Likewise.
31690 * conform/data/signal.h-data: Likewise.
31691 * conform/data/spawn.h-data: Likewise.
31692 * conform/data/stdio.h-data: Likewise.
31693 * conform/data/stdlib.h-data: Likewise.
31694 * conform/data/stropts.h-data: Likewise.
31695 * conform/data/sys/mman.h-data: Likewise.
31696 * conform/data/sys/stat.h-data: Likewise.
31697 * conform/data/sys/types.h-data: Likewise.
31698 * conform/data/sys/wait.h-data: Likewise.
31699 * conform/data/time.h-data: Likewise.
31700 * conform/data/unistd.h-data: Likewise.
31701 * conform/data/utime.h-data: Likewise.
31703 * io/sys/stat.h: fchmod was always in POSIX.
31704 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31705 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31706 * rt/aio.h: Define __need_timespec before including <time.h>.
31707 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31708 struct. Add forward declaration of pthread_attr_t and use it in
31710 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31711 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31712 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31713 always remove CLK_TCK definition.
31715 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31717 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31719 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31721 * conform/run-conformtest.sh: New file.
31722 * conform/Makefile: Run run-conformtest for tests.
31723 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31726 * conform/data/uchar.h-data: New file.
31727 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31728 * conform/data/arpa/inet.h-data: Likewise.
31729 * conform/data/assert.h-data: Likewise.
31730 * conform/data/complex.h-data: Likewise.
31731 * conform/data/cpio.h-data: Likewise.
31732 * conform/data/ctype.h-data: Likewise.
31733 * conform/data/dirent.h-data: Likewise.
31734 * conform/data/dlfcn.h-data: Likewise.
31735 * conform/data/errno.h-data: Likewise.
31736 * conform/data/fcntl.h-data: Likewise.
31737 * conform/data/float.h-data: Likewise.
31738 * conform/data/fmtmsg.h-data: Likewise.
31739 * conform/data/fnmatch.h-data: Likewise.
31740 * conform/data/ftw.h-data: Likewise.
31741 * conform/data/glob.h-data: Likewise.
31742 * conform/data/grp.h-data: Likewise.
31743 * conform/data/iconv.h-data: Likewise.
31744 * conform/data/inttypes.h-data: Likewise.
31745 * conform/data/langinfo.h-data: Likewise.
31746 * conform/data/libgen.h-data: Likewise.
31747 * conform/data/limits.h-data: Likewise.
31748 * conform/data/locale.h-data: Likewise.
31749 * conform/data/math.h-data: Likewise.
31750 * conform/data/monetary.h-data: Likewise.
31751 * conform/data/mqueue.h-data: Likewise.
31752 * conform/data/ndbm.h-data: Likewise.
31753 * conform/data/net/if.h-data: Likewise.
31754 * conform/data/netdb.h-data: Likewise.
31755 * conform/data/netinet/in.h-data: Likewise.
31756 * conform/data/nl_types.h-data: Likewise.
31757 * conform/data/poll.h-data: Likewise.
31758 * conform/data/pthread.h-data: Likewise.
31759 * conform/data/pwd.h-data: Likewise.
31760 * conform/data/regex.h-data: Likewise.
31761 * conform/data/sched.h-data: Likewise.
31762 * conform/data/search.h-data: Likewise.
31763 * conform/data/semaphore.h-data: Likewise.
31764 * conform/data/setjmp.h-data: Likewise.
31765 * conform/data/signal.h-data: Likewise.
31766 * conform/data/spawn.h-data: Likewise.
31767 * conform/data/stdarg.h-data: Likewise.
31768 * conform/data/stdio.h-data: Likewise.
31769 * conform/data/stdlib.h-data: Likewise.
31770 * conform/data/string.h-data: Likewise.
31771 * conform/data/strings.h-data: Likewise.
31772 * conform/data/stropts.h-data: Likewise.
31773 * conform/data/sys/ipc.h-data: Likewise.
31774 * conform/data/sys/mman.h-data: Likewise.
31775 * conform/data/sys/msg.h-data: Likewise.
31776 * conform/data/sys/resource.h-data: Likewise.
31777 * conform/data/sys/select.h-data: Likewise.
31778 * conform/data/sys/sem.h-data: Likewise.
31779 * conform/data/sys/shm.h-data: Likewise.
31780 * conform/data/sys/socket.h-data: Likewise.
31781 * conform/data/sys/stat.h-data: Likewise.
31782 * conform/data/sys/statvfs.h-data: Likewise.
31783 * conform/data/sys/time.h-data: Likewise.
31784 * conform/data/sys/timeb.h-data: Likewise.
31785 * conform/data/sys/times.h-data: Likewise.
31786 * conform/data/sys/types.h-data: Likewise.
31787 * conform/data/sys/uio.h-data: Likewise.
31788 * conform/data/sys/un.h-data: Likewise.
31789 * conform/data/sys/utsname.h-data: Likewise.
31790 * conform/data/sys/wait.h-data: Likewise.
31791 * conform/data/syslog.h-data: Likewise.
31792 * conform/data/tar.h-data: Likewise.
31793 * conform/data/termios.h-data: Likewise.
31794 * conform/data/utime.h-data: Likewise.
31795 * conform/data/utmpx.h-data: Likewise.
31796 * conform/data/varargs.h-data: Likewise.
31797 * conform/data/wchar.h-data: Likewise.
31798 * conform/data/wctype.h-data: Likewise.
31799 * conform/data/wordexp.h-data: Likewise.
31801 * include/stropts.h: New file.
31802 * include/uchar.h: New file.
31803 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31804 * include/assert.h: Likewise.
31805 * include/ctype.h: Likewise.
31806 * include/dirent.h: Likewise.
31807 * include/dlfcn.h: Likewise.
31808 * include/fcntl.h: Likewise.
31809 * include/fnmatch.h: Likewise.
31810 * include/glob.h: Likewise.
31811 * include/grp.h: Likewise.
31812 * include/libio.h: Likewise.
31813 * include/locale.h: Likewise.
31814 * include/math.h: Likewise.
31815 * include/net/if.h: Likewise.
31816 * include/netdb.h: Likewise.
31817 * include/netinet/in.h: Likewise.
31818 * include/pthread.h: Likewise.
31819 * include/pwd.h: Likewise.
31820 * include/regex.h: Likewise.
31821 * include/sched.h: Likewise.
31822 * include/search.h: Likewise.
31823 * include/setjmp.h: Likewise.
31824 * include/signal.h: Likewise.
31825 * include/stdio.h: Likewise.
31826 * include/stdlib.h: Likewise.
31827 * include/string.h: Likewise.
31828 * include/sys/cdefs.h: Likewise.
31829 * include/sys/mman.h: Likewise.
31830 * include/sys/msg.h: Likewise.
31831 * include/sys/resource.h: Likewise.
31832 * include/sys/select.h: Likewise.
31833 * include/sys/socket.h: Likewise.
31834 * include/sys/stat.h: Likewise.
31835 * include/sys/statvfs.h: Likewise.
31836 * include/sys/time.h: Likewise.
31837 * include/sys/times.h: Likewise.
31838 * include/sys/uio.h: Likewise.
31839 * include/sys/utsname.h: Likewise.
31840 * include/sys/wait.h: Likewise.
31841 * include/termios.h: Likewise.
31842 * include/time.h: Likewise.
31843 * include/ulimit.h: Likewise.
31844 * include/unistd.h: Likewise.
31845 * include/utime.h: Likewise.
31846 * include/wchar.h: Likewise.
31847 * include/wctype.h: Likewise.
31848 * include/wordexp.h: Likewise.
31850 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31852 * time/time.h: TIME_UTC must be a macro.
31853 Make timespec_get available for ISO C11 only as well.
31855 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31857 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31858 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31860 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31862 * configure.in: Use -o not -a in test for unsupported multi-arch.
31864 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31866 * manual/texinfo.tex: Update to version 2012-01-19.16.
31868 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31870 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31872 2012-02-24 Roland McGrath <roland@hack.frob.com>
31875 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31876 * manual/fdl-1.3.texi: New file.
31877 * manual/fdl-1.1.texi: File removed.
31880 * manual/libc.texinfo (FDL_VERSION): New @set.
31881 Use it for mention of FDL in cover text.
31882 (Documentation License): Use it in @include file name.
31884 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31885 Roland McGrath <roland@hack.frob.com>
31888 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31889 not LONG_LONG_MAX and LONG_LONG_MIN.
31890 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31891 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31893 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31895 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31899 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31900 manipulate bits before adding and subtracting TWO23[sx].
31901 * math/libm-test.inc (nearbyint_test): Add more tests.
31903 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31906 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31907 bits before adding and subtracting TWO23[sx].
31908 * math/libm-test.inc (rint_test): Add more tests.
31909 (rint_test_tonearest): Likewise.
31910 (rint_test_towardzero): Likewise.
31911 (rint_test_downward): Likewise.
31912 (rint_test_upward: Likewise.
31914 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31917 * include/stdc-predef.h: New file. Extracted from features.h.
31918 * include/features.h: Include stdc-predef.h.
31919 * Makefile (headers): Add stdc-predef.h.
31920 * CONFORMANCE (Compiler limitations): Update.
31922 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31924 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31926 2012-02-21 David S. Miller <davem@davemloft.net>
31928 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31929 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31931 2012-02-20 David S. Miller <davem@davemloft.net>
31933 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31934 using a normal save/restore sequence, rather than allocating a
31935 dummy stack frame just to store a frame pointer and restore.
31936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31938 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31940 * manual/install.texi: Fix stray word in line-wrapped comment.
31942 2012-02-20 David S. Miller <davem@davemloft.net>
31944 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31945 both binutils and gcc support GOTDATA.
31947 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31948 "rd %pc" in the PIC register setup sequences.
31950 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31951 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31952 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31953 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31954 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31956 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31957 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31959 (SYSCALL_ERROR_HANDLER): Likewise.
31960 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31961 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31963 (SYSCALL_ERROR_HANDLER): Likewise.
31965 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31966 (HAVE_GCC_GOTDATA): New.
31967 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31968 relocation support in both binutils and gcc.
31969 * sysdeps/sparc/elf/configure: Regenerate.
31971 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31972 * sysdeps/sparc/sparc32/elf/configure: Delete.
31973 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31974 * sysdeps/sparc/sparc64/elf/configure: Delete.
31975 * sysdeps/sparc/elf/configure.in: New file.
31976 * sysdeps/sparc/elf/configure: Generate.
31978 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31979 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31980 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31981 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31982 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31984 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31986 * manual/install.texi: Do not mention specific glibc version
31988 * manual/libc.texinfo (VERSION, UPDATED): Update.
31989 (@copying): Use @copyright{} and range of years.
31991 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31994 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31995 [crti.S not in sysdirs] (generated): Do not append.
31996 [crti.S not in sysdirs] (omit-deps): Likewise.
31997 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31998 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31999 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32000 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32001 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32003 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32004 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32005 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32006 * csu/defs.awk: Remove file.
32007 * sysdeps/generic/initfini.c: Likewise.
32008 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32010 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32013 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32015 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32016 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32017 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32018 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32019 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32020 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32022 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32023 (__EPOLL_PACKED): Define to empty if not defined by
32025 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32029 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32031 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32032 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32033 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32034 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32036 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32040 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32042 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32044 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32045 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32046 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32049 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32051 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32052 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32054 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32056 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32057 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32059 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32061 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32064 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32066 * math/w_acos.c: Use non-signaling floating-point comparisons.
32067 * math/w_acosf.c: Likewise.
32068 * math/w_acosh.c: Likewise.
32069 * math/w_acoshf.c: Likewise.
32070 * math/w_acoshl.c: Likewise.
32071 * math/w_acosl.c: Likewise.
32072 * math/w_asin.c: Likewise.
32073 * math/w_asinf.c: Likewise.
32074 * math/w_asinl.c: Likewise.
32075 * math/w_atanh.c: Likewise.
32076 * math/w_atanhf.c: Likewise.
32077 * math/w_atanhl.c: Likewise.
32078 * math/w_exp2.c: Likewise.
32079 * math/w_exp2f.c: Likewise.
32080 * math/w_exp2l.c: Likewise.
32081 * math/w_j0.c: Likewise.
32082 * math/w_j0f.c: Likewise.
32083 * math/w_j0l.c: Likewise.
32084 * math/w_j1.c: Likewise.
32085 * math/w_j1f.c: Likewise.
32086 * math/w_j1l.c: Likewise.
32087 * math/w_jn.c: Likewise.
32088 * math/w_jnf.c: Likewise.
32089 * math/w_log.c: Likewise.
32090 * math/w_log10.c: Likewise.
32091 * math/w_log10f.c: Likewise.
32092 * math/w_log10l.c: Likewise.
32093 * math/w_log2.c: Likewise.
32094 * math/w_log2f.c: Likewise.
32095 * math/w_log2l.c: Likewise.
32096 * math/w_logf.c: Likewise.
32097 * math/w_logl.c: Likewise.
32098 * math/w_sqrt.c: Likewise.
32099 * math/w_sqrtf.c: Likewise.
32100 * math/w_sqrtl.c: Likewise.
32101 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32102 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32107 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32110 * manual/string.texi (strnlen): Use correct parameter name in
32111 equivalent expression.
32113 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32116 * manual/users.texi (seteuid): Consistently use neweuid for
32119 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32122 * manual/nss.texi (Services in the NSS configuration): Correct
32123 list of services in example configuration file.
32125 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32128 * manual/arith.texi: Remove statements about negative zero
32129 behaving identically to zero.
32131 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32134 * manual/install.texi: Do not document upgrading from libc5.
32136 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32139 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32141 2012-02-18 David S. Miller <davem@davemloft.net>
32143 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32144 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32145 %o7 across the call.
32146 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32149 SETUP_PIC_REG_LEAF.
32150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32151 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32152 * sysdeps/sparc/crtn.S: Likewise.
32154 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32156 * aout/Makefile: Remove.
32158 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32161 * manual/examples/argp-ex1.c (main): Format definition in GNU
32163 * manual/examples/argp-ex2.c (main): Likewise.
32164 * manual/examples/argp-ex3.c (main): Likewise.
32165 * manual/examples/argp-ex4.c (main): Likewise.
32166 * manual/examples/longopt.c (main): Use new-style prototype
32168 * manual/examples/strncat.c (main): Specify return type and use
32169 (void) for arguments.
32170 * manual/examples/subopt.c (main): Use char **argv argument.
32172 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32175 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32178 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32181 * manual/string.texi (strchr): Change when strchrnul is
32184 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32187 * manual/locale.texi (setlocale): Document LOCPATH.
32189 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32192 * manual/process.texi (execle): Move @dots{} before last argument.
32194 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32197 * manual/charset.texi (Generic Charset Conversion): Fix typo
32198 (LC_TYPE -> LC_CTYPE).
32200 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32203 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32204 (scalbnf): Likewise.
32205 (scalbnl): Likewise.
32206 (scalbln): Likewise.
32207 (scalblnf): Likewise.
32208 (scalblnl): Likewise.
32209 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32210 (vwarnx): Likewise.
32213 * manual/filesys.texi (telldir): Use braces around return type.
32214 * manual/llio.texi (mmap): Add space after comma.
32215 (mmap64): Likewise.
32216 * manual/math.texi (jn): Use @var{} on parameter names.
32222 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32224 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32226 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32227 (sched_get_priority_max): Likewise.
32228 * manual/signal.texi (sigvec): Add space after comma.
32229 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32231 (if_indextoname): Likewise.
32232 (if_freenameindex): Likewise.
32233 (sendto): Use ',' instead of '.' in prototype.
32234 * manual/startup.texi (syscall): Use @dots{} instead of literal
32236 * manual/stdio.texi (__fpending): Separate initial words of
32237 paragraph from @deftypefun line.
32238 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32240 (vsyslog): Use @var{} on parameter names.
32241 * manual/terminal.texi (stty): Use @var{} on parameter names.
32242 * manual/users.texi (getutmp): Use @var{} on parameter names.
32243 (getutmpx): Likewise.
32245 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32248 * manual/stdio.texi (fopen): Fix typos in description of
32251 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32254 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32255 get clock_id definition.
32257 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32260 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32261 (madvise): Cast every argument to void on its own.
32263 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32266 * manual/startup.texi (Exit Status): Fix typo.
32268 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32271 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32272 * manual/examples/argp-ex2.c: Likewise.
32273 * manual/examples/argp-ex3.c: Likewise.
32275 2012-02-16 Richard Henderson <rth@redhat.com>
32277 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32278 * sysdeps/s390/s390-32/initfini.c: Remove.
32279 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32280 * sysdeps/s390/s390-64/initfini.c: Remove.
32282 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32284 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32285 compiler output for sysdeps/generic/initfini.c.
32286 * sysdeps/sh/elf/initfini.c: Remove file.
32288 2012-02-16 David S. Miller <davem@davemloft.net>
32291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32293 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32294 * sysdeps/sparc/crti.S: New file.
32295 * sysdeps/sparc/crtn.S: New file.
32296 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32297 * sysdeps/sparc/sparc64/Makefile: Likewise.
32299 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32302 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32304 2012-02-15 Roland McGrath <roland@hack.frob.com>
32307 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32309 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32310 (write, read, close): Likewise.
32311 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32313 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32315 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32316 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32317 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32318 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32320 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32324 2012-02-14 Marek Polacek <polacek@redhat.com>
32326 * sysdeps/x86_64/crti.S: New file.
32327 * sysdeps/x86_64/crtn.S: New file.
32328 * sysdeps/x86_64/elf/initfini.c: Remove file.
32330 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32332 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32333 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32334 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32335 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32337 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32341 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32343 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32344 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32345 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32346 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32348 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32352 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32354 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32355 __feraiseexcept instead of feraiseexcept.
32357 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32358 nanosleep invocations.
32359 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32360 strings, and add error checking for a nanosleep invocations.
32362 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32364 Replace FSF snail mail address with URLs, as per GNU coding standards.
32365 Most of the snail mail addresses were wrong anyway, and omitting
32366 them makes the source code easier to maintain. Almost all of the
32367 changes are to license notices and to locale LC_IDENTIFICATION
32368 addresses, except for this one:
32369 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32370 not its snail mail address.
32372 2012-02-09 Richard Henderson <rth@twiddle.net>
32374 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32375 of kernel-features.h.
32377 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32379 2012-02-08 Marek Polacek <polacek@redhat.com>
32381 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32382 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32383 * sysdeps/gnu/_G_config.h: Likewise.
32384 * sysdeps/generic/_G_config.h: Likewise.
32386 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32388 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32392 * sysdeps/powerpc/powerpc32/crti.S: New file.
32393 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32394 * sysdeps/powerpc/powerpc64/crti.S: New file.
32395 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32397 * Makeconfig (have-initfini): Don't set.
32398 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32399 * configure.in (nopic_initfini): Don't substitute.
32400 * config.h.in (HAVE_INITFINI): Don't #undef.
32401 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32402 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32404 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32406 Support crti.S and crtn.S provided directly by architectures.
32407 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32408 [crti.S in sysdirs] (omit-deps): Likewise.
32409 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32410 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32411 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32412 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32413 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32414 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32415 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32416 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32417 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32418 compiler output for sysdeps/generic/initfini.c.
32419 * sysdeps/i386/elf/Makefile: Remove file.
32420 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32422 2012-02-07 Marek Polacek <polacek@redhat.com>
32424 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32425 * sysdeps/gnu/_G_config.h: Likewise.
32426 * sysdeps/mach/hurd/_G_config.h: Likewise.
32428 2012-02-07 Marek Polacek <polacek@redhat.com>
32430 * math/Makefile (tests): Add tst-CMPLX2.
32431 * math/tst-CMPLX2.c: New file.
32433 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32435 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32437 * math/libm-test.inc (jn_test): Add missing L suffix.
32439 2012-02-06 Marek Polacek <polacek@redhat.com>
32441 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32442 * sysdeps/i386/fpu/e_powf.S: Likewise.
32443 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32444 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32445 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32446 * sysdeps/i386/fpu/e_pow.S: Likewise.
32447 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32448 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32449 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32450 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32451 * sysdeps/i386/fpu/e_log2.S: Likewise.
32452 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32453 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32454 * sysdeps/i386/fpu/e_powl.S: Likewise.
32455 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32456 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32457 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32458 * sysdeps/i386/fpu/e_logl.S: Likewise.
32459 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32460 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32461 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32462 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32463 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32464 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32465 * sysdeps/i386/fpu/e_log.S: Likewise.
32466 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32467 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32468 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32469 * sysdeps/i386/fpu/e_logf.S: Likewise.
32470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32471 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32472 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32473 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32474 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32475 * sysdeps/i386/fpu/e_log10.S: Likewise.
32476 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32477 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32478 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32479 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32480 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32481 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32482 * sysdeps/i386/asm-syntax.h: Likewise.
32483 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32484 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32485 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32486 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32487 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32488 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32489 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32490 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32491 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32492 * sysdeps/powerpc/sysdep.h: Likewise.
32493 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32494 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32496 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32499 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32501 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32503 * sysdeps/i386/sysdep.h: Include <features.h>.
32504 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32507 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32509 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32511 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32514 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32516 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32517 (SETUP_PIC_REG): Use GET_PC_THUNK.
32518 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32521 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32523 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32524 for non-PIC compilation.
32525 (SETUP_PIC_REG): Add .p2align directive.
32526 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32527 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32528 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32530 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32536 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32538 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32539 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32540 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32541 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32542 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32543 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32544 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32545 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32546 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32547 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32548 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32549 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32550 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32552 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32554 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32555 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32556 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32557 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32558 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32561 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32562 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32563 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32564 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32565 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32566 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32568 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32570 * math/tst-CMPLX.c: Include <stdio.h>.
32572 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32574 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32576 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32577 * sysdeps/sparc/bits/mathdef.h: Likewise.
32579 2012-01-31 Marek Polacek <polacek@redhat.com>
32581 * libio/libio.h: Don't define _PARAMS.
32582 * locale/programs/config.h: Don't define PARAMS.
32583 * stdlib/strtol_l.c: Likewise.
32584 (__strtol_l): Remove PARAMS from the prototype.
32586 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32588 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32589 names. Just use the correct names. Remove unnecessary wrapper
32591 * malloc/arena.c: Likewise.
32592 * malloc/hooks.c: Likewise.
32594 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32595 ARENA_TEST says not to. Simplify test for creation of a new arena.
32596 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32598 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32600 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32602 (update_get_addr): New function.
32603 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32604 GET_ADDR_MODULE parameter.
32606 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32608 * crypt/cert.c: Remove __STDC__ conditionals.
32609 * crypt/crypt-entry.c: Likewise.
32610 * crypt/crypt_util.c: Likewise.
32611 * libio/filedoalloc.c: Likewise.
32612 * libio/fileops.c: Likewise.
32613 * libio/genops.c: Likewise.
32614 * libio/iofclose.c: Likewise.
32615 * libio/iofdopen.c: Likewise.
32616 * libio/iofopen.c: Likewise.
32617 * libio/iofopen64.c: Likewise.
32618 * libio/iogetdelim.c: Likewise.
32619 * libio/iopopen.c: Likewise.
32620 * libio/obprintf.c: Likewise.
32621 * libio/oldfileops.c: Likewise.
32622 * libio/oldiofclose.c: Likewise.
32623 * libio/oldiofdopen.c: Likewise.
32624 * libio/oldiofopen.c: Likewise.
32625 * libio/oldiopopen.c: Likewise.
32626 * libio/wfiledoalloc.c: Likewise.
32627 * libio/wgenops.c: Likewise.
32628 * locale/programs/xmalloc.c: Likewise.
32629 * misc/syslog.c: Likewise.
32630 * stdio-common/xbug.c: Likewise.
32631 * string/memchr.c: Likewise.
32632 * string/memcmp.c: Likewise.
32633 * string/memrchr.c: Likewise.
32634 * string/rawmemchr.c: Likewise.
32635 * sysdeps/posix/getcwd.c: Likewise.
32636 * time/strftime_l.c: Likewise.
32638 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32640 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32641 * config.make.in (config-cflags-sse2avx): Define.
32642 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32645 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32647 * scripts/config.guess: Update from upstream config git repository.
32648 * scripts/config.sub: Likewise.
32650 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32652 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32654 (R_TILEPRO_*, R_TILEGX_*): New macros.
32656 * scripts/firstversions.awk: Fix bug in version range handling.
32658 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32660 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32662 * include/sys/epoll.h: New file.
32663 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32666 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32668 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32669 Avoid unnecessary __WORDSIZE == 64 test.
32670 (fmaxf): Use VEX format if possible.
32675 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32676 * math/math_private.h: Remove libc_fegetround* and
32678 * sysdeps/i386/configure.in: Check for -msse2avx.
32679 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32680 also if SSE2AVX is defined.
32681 Remove libc_fegetround* and libc_fesetround*.
32682 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32683 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32684 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32686 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32687 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32688 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32689 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32690 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32692 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32694 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32696 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32698 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32700 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32703 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32705 * Makeconfig (libm): Define.
32706 * elf/Makefile: Add rules to build and run tst-relsort1.
32707 * elf/tst-relsort1.c: New file.
32708 * elf/tst-relsort1mod1.c: New file.
32709 * elf/tst-relsort1mod2.c: New file.
32711 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32713 * math/s_ldexp.c: Remove __STDC__ conditionals.
32714 * math/s_ldexpf.c: Likewise.
32715 * math/s_ldexpl.c: Likewise.
32716 * math/s_nextafter.c: Likewise.
32717 * math/s_nexttowardf.c: Likewise.
32718 * math/s_significand.c: Likewise.
32719 * math/s_significandf.c: Likewise.
32720 * math/s_significandl.c: Likewise.
32721 * math/w_jnl.c: Likewise.
32722 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32723 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32724 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32725 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32726 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32727 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32728 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32730 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32731 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32732 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32733 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32734 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32735 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32736 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32737 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32738 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32739 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32741 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32742 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32743 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32744 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32745 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32746 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32747 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32748 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32749 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32750 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32751 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32752 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32753 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32754 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32755 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32756 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32757 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32758 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32759 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32760 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32761 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32762 * sysdeps/ieee754/k_standard.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32767 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32768 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32772 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32777 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32783 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32784 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32785 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32786 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32787 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32788 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32789 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32792 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32793 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32796 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32797 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32798 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32799 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32800 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32801 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32802 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32803 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32805 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32806 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32807 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32808 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32809 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32810 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32811 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32812 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32813 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32816 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32817 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32818 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32819 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32820 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32821 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32822 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32823 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32824 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32825 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32827 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32828 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32829 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32830 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32831 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32832 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32833 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32835 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32836 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32837 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32838 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32839 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32840 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32841 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32842 * sysdeps/ieee754/s_matherr.c: Likewise.
32843 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32844 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32848 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32850 * crypt/md5.h: Remove __STDC__ conditionals.
32851 * libio/libioP.h: Likewise.
32852 * locale/programs/config.h: Likewise.
32853 * sysdeps/generic/sysdep.h: Likewise.
32854 * sysdeps/i386/asm-syntax.h: Likewise.
32855 * sysdeps/s390/asm-syntax.h: Likewise.
32856 * sysdeps/unix/sysdep.h: Likewise.
32857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32860 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32862 * libio/libio.h: Remove __STDC__ conditionals.
32863 * malloc/obstack.h: Likewise.
32864 * math/complex.h: Likewise.
32865 * math/math.h: Likewise.
32866 * sysdeps/generic/_G_config.h: Likewise.
32867 * sysdeps/gnu/_G_config.h: Likewise.
32868 * sysdeps/mach/hurd/_G_config.h: Likewise.
32869 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32870 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32871 * sysdeps/sparc/bits/mathdef.h: Likewise.
32873 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32876 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32877 Clean up HAS_* macros.
32878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32879 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32881 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32883 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32884 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32885 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32886 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32887 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32889 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32891 * elf/tst-unique3.cc (gets): Remove declaration.
32892 * elf/tst-unique3lib.cc (gets): Likewise.
32893 * elf/tst-unique3lib2.cc (gets): Likewise.
32894 * elf/tst-unique4.cc (gets): Likewise.
32896 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32898 * include/stdio.h: Add C++ protection. Add gets declarations and
32900 * debug/tst-chk1.c: Don't declare gets here.
32901 * stdio-common/tst-gets.c: Likewise.
32903 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32905 * posix/glob: Remove directory.
32907 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32909 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32911 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32913 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32914 of the non-standard EPFNOSUPPORT.
32916 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32918 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32919 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32920 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32922 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32924 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32926 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32928 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32930 * nscd/grpcache.c (cache_addgr): Likewise.
32931 * nscd/hstcache.c (cache_addhst): Likewise.
32932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32933 * nscd/pwdcache.c (cache_addpw): Likewise.
32934 * nscd/servicescache.c (cache_addserv): Likewise.
32936 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32938 * malloc/malloc.c: Various cleanups.
32939 * malloc/hooks.c: Likewise.
32941 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32942 * stdlib/bug-fmtmsg1.c: New file.
32944 * stdlib/fmtmsg.c (init): Add missing unlock.
32945 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32947 2012-01-12 Marek Polacek <polacek@redhat.com>
32949 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32952 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32954 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32955 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32956 macro to ensure uniqueness of label name.
32957 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32958 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32960 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32962 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32964 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32965 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32966 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32969 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32971 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32973 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32974 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32975 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32977 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32979 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32980 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32984 * math/bits/math-finite.h: Add ldexp support.
32986 2012-01-10 Marek Polacek <polacek@redhat.com>
32988 * locale/programs/localedef.h (show_archive_content): Add noreturn
32991 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32993 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32995 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32997 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32999 * io/Makefile (headers): Add bits/poll2.h.
33001 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33004 typo #include statement.
33006 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33008 * include/sys/cdefs.h: Define __attribute_alloc_size.
33009 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33010 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33011 * elf/pldd.c: Likewise.
33012 * iconv/iconv_charmap.c: Likewise.
33013 * iconv/iconvconfig.c: Likewise.
33014 * iconv/strtab.c: Likewise.
33015 * locale/programs/locale.c: Likewise.
33016 * locale/programs/localedef.h: Likewise.
33017 * locale/programs/simple-hash.c: Likewise.
33018 * nscd/nscd.h: Likewise.
33019 * nss/makedb.c: Likewise.
33020 * sysdeps/generic/ldconfig.h: Likewise.
33021 * locale/programs/localedef.c: Remove xmalloc prototype.
33022 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33024 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33026 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33029 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33031 * math/Makefile (tests): Add tst-CMPLX.
33032 * math/tst-CMPLX.c: New file.
33034 * math/complex.h (CMPLXL): Fix typo.
33036 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33037 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33039 * debug/tst-chk1.c: Add poll and ppoll tests.
33040 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33041 * include/sys/poll.h: Add hidden proto for ppoll.
33042 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33043 * sysdeps/mach/hurd/ppoll.c: Likewise.
33044 * io/ppoll.c: Likewise.
33045 * debug/poll_chk.c: New file.
33046 * debug/ppoll_chk.c: New file.
33047 * include/bits/poll2.h: New file.
33048 * io/bits/poll2.h: New file.
33051 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33053 * configure.in: static is always set to yes. Remove.
33054 * config.make.in: Don't set build-static.
33055 * Makeconfig: Remove use of build-static.
33056 * dlfcn/Makefile: Likewise.
33057 * elf/Makefile: Likewise.
33058 * math/Makefile: Likewise.
33059 * misc/Makefile: Likewise.
33060 * nptl/Makefile: Likewise.
33061 * sysdeps/mach/hurd/Makefile: Likewise.
33063 * configure.in: PWD_P is not used anymore.
33064 * config.make.in: Remove PWD_P entry.
33066 * configure.in: Remove last remnants of RANLIB.
33067 No need to check for signed size_t anymore.
33068 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33070 Remove __builtin_expect test because we require at least gcc 3.4.
33071 * aclocal.m4: Likewise.
33073 * wcsmbs/mbrtoc16.c: Implement using towc function.
33074 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33075 * wcsmbs/wcsmbsload.c: Likewise.
33076 * iconv/gconv_simple.c: Likewise.
33077 * iconv/gconv_int.h: Likewise.
33078 * iconv/gconv_builtin.h: Likewise.
33079 * iconv/iconv_prog.c: Remove CHAR16 handling.
33081 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33083 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33085 * configure.in: Remove --with-elf and --enable-bounded options.
33086 Dont set base_machine for ia64. More non-ELF conditions removed.
33087 Remove testing and setting of leading underscore information.
33088 * config.make.in (build-bounded): Set to no.
33089 * config.h.in: Remove NO_UNDERSCORES entry.
33090 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33092 * csu/start.c: Remove !NO_UNDERSCORE code.
33093 * locale/localeinfo.h: Likewise.
33094 * sysdeps/generic/machine-gmon.h: Likewise.
33095 * sysdeps/generic/sysdep.h: Likewise.
33096 * sysdeps/i386/sysdep.h: Likewise.
33097 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33098 * sysdeps/mach/sysdep.h: Likewise.
33099 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33100 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33101 * sysdeps/sh/sysdep.h: Likewise.
33102 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33103 * sysdeps/unix/i386/sysdep.S: Likewise.
33104 * sysdeps/unix/sparc/start.c: Likewise.
33105 * sysdeps/unix/sparc/sysdep.S: Likewise.
33106 * sysdeps/unix/sparc/sysdep.h: Likewise.
33107 * sysdeps/unix/start.c: Likewise.
33108 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33109 * sysdeps/x86_64/sysdep.h: Likewise.
33111 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33114 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33116 * argp/argp-fmtstream.h: Use const instead __const.
33117 * argp/argp.h: Likewise.
33118 * assert/assert.h: Likewise.
33119 * bits/fenv.h: Likewise.
33120 * bits/sched.h: Likewise.
33121 * bits/sigset.h: Likewise.
33122 * bits/sigthread.h: Likewise.
33123 * catgets/nl_types.h: Likewise.
33124 * conform/data/pthread.h-data: Likewise.
33125 * crypt/crypt-private.h: Likewise.
33126 * crypt/crypt.h: Likewise.
33127 * crypt/crypt_util.c: Likewise.
33128 * ctype/ctype.h: Likewise.
33129 * debug/execinfo.h: Likewise.
33130 * debug/mbsnrtowcs_chk.c: Likewise.
33131 * debug/mbsrtowcs_chk.c: Likewise.
33132 * debug/wcsnrtombs_chk.c: Likewise.
33133 * debug/wcsrtombs_chk.c: Likewise.
33134 * debug/wcstombs_chk.c: Likewise.
33135 * dirent/dirent.h: Likewise.
33136 * dlfcn/dlfcn.h: Likewise.
33137 * elf/neededtest4.c: Likewise.
33138 * grp/grp.h: Likewise.
33139 * gshadow/gshadow.h: Likewise.
33140 * iconv/gconv.h: Likewise.
33141 * iconv/gconv_int.h: Likewise.
33142 * iconv/gconv_simple.c: Likewise.
33143 * iconv/iconv.h: Likewise.
33144 * iconv/loop.c: Likewise.
33145 * iconv/skeleton.c: Likewise.
33146 * include/aio.h: Likewise.
33147 * include/aliases.h: Likewise.
33148 * include/argz.h: Likewise.
33149 * include/arpa/inet.h: Likewise.
33150 * include/assert.h: Likewise.
33151 * include/dirent.h: Likewise.
33152 * include/dlfcn.h: Likewise.
33153 * include/execinfo.h: Likewise.
33154 * include/fcntl.h: Likewise.
33155 * include/fenv.h: Likewise.
33156 * include/glob.h: Likewise.
33157 * include/grp.h: Likewise.
33158 * include/libintl.h: Likewise.
33159 * include/mntent.h: Likewise.
33160 * include/netdb.h: Likewise.
33161 * include/pwd.h: Likewise.
33162 * include/rpc/netdb.h: Likewise.
33163 * include/sched.h: Likewise.
33164 * include/search.h: Likewise.
33165 * include/shadow.h: Likewise.
33166 * include/signal.h: Likewise.
33167 * include/stdio.h: Likewise.
33168 * include/stdlib.h: Likewise.
33169 * include/string.h: Likewise.
33170 * include/sys/socket.h: Likewise.
33171 * include/sys/stat.h: Likewise.
33172 * include/sys/statfs.h: Likewise.
33173 * include/sys/statvfs.h: Likewise.
33174 * include/sys/syslog.h: Likewise.
33175 * include/sys/time.h: Likewise.
33176 * include/sys/uio.h: Likewise.
33177 * include/time.h: Likewise.
33178 * include/unistd.h: Likewise.
33179 * include/utmp.h: Likewise.
33180 * include/wchar.h: Likewise.
33181 * include/wctype.h: Likewise.
33182 * inet/aliases.h: Likewise.
33183 * inet/arpa/inet.h: Likewise.
33184 * inet/netinet/ether.h: Likewise.
33185 * inet/netinet/in.h: Likewise.
33186 * intl/libintl.h: Likewise.
33187 * io/bits/fcntl2.h: Likewise.
33188 * io/fcntl.h: Likewise.
33189 * io/ftw.h: Likewise.
33190 * io/sys/poll.h: Likewise.
33191 * io/sys/stat.h: Likewise.
33192 * io/sys/statfs.h: Likewise.
33193 * io/sys/statvfs.h: Likewise.
33194 * io/utime.h: Likewise.
33195 * libio/bits/stdio.h: Likewise.
33196 * libio/bits/stdio2.h: Likewise.
33197 * libio/libio.h: Likewise.
33198 * libio/libioP.h: Likewise.
33199 * libio/stdio.h: Likewise.
33200 * locale/lc-ctype.c: Likewise.
33201 * locale/locale.h: Likewise.
33202 * login/utmp.h: Likewise.
33203 * malloc/arena.c: Likewise.
33204 * malloc/malloc.c: Likewise.
33205 * malloc/malloc.h: Likewise.
33206 * malloc/mcheck.c: Likewise.
33207 * malloc/mtrace.c: Likewise.
33208 * math/bits/mathcalls.h: Likewise.
33209 * math/fenv.h: Likewise.
33210 * math/math_private.h: Likewise.
33211 * misc/bits/error.h: Likewise.
33212 * misc/bits/syslog.h: Likewise.
33213 * misc/err.h: Likewise.
33214 * misc/error.h: Likewise.
33215 * misc/fstab.h: Likewise.
33216 * misc/mntent.h: Likewise.
33217 * misc/regexp.h: Likewise.
33218 * misc/search.h: Likewise.
33219 * misc/sgtty.h: Likewise.
33220 * misc/sys/mman.h: Likewise.
33221 * misc/sys/syslog.h: Likewise.
33222 * misc/sys/uio.h: Likewise.
33223 * misc/sys/xattr.h: Likewise.
33224 * misc/ttyent.h: Likewise.
33225 * nis/rpcsvc/ypclnt.h: Likewise.
33226 * nss/nss.h: Likewise.
33227 * posix/bits/unistd.h: Likewise.
33228 * posix/fnmatch.h: Likewise.
33229 * posix/glob.h: Likewise.
33230 * posix/sched.h: Likewise.
33231 * posix/spawn.h: Likewise.
33232 * posix/sys/wait.h: Likewise.
33233 * posix/unistd.h: Likewise.
33234 * posix/wordexp.h: Likewise.
33235 * pwd/pwd.h: Likewise.
33236 * resolv/netdb.h: Likewise.
33237 * resource/sys/resource.h: Likewise.
33238 * rt/aio.h: Likewise.
33239 * rt/bits/mqueue2.h: Likewise.
33240 * rt/mqueue.h: Likewise.
33241 * shadow/shadow.h: Likewise.
33242 * signal/signal.h: Likewise.
33243 * socket/send.c: Likewise.
33244 * socket/sendto.c: Likewise.
33245 * socket/sys/socket.h: Likewise.
33246 * stdio-common/printf.h: Likewise.
33247 * stdlib/bits/stdlib.h: Likewise.
33248 * stdlib/fmtmsg.h: Likewise.
33249 * stdlib/monetary.h: Likewise.
33250 * stdlib/stdlib.h: Likewise.
33251 * stdlib/ucontext.h: Likewise.
33252 * streams/stropts.h: Likewise.
33253 * string/argz.h: Likewise.
33254 * string/bits/string2.h: Likewise.
33255 * string/string.h: Likewise.
33256 * string/strings.h: Likewise.
33257 * sunrpc/rpc/auth.h: Likewise.
33258 * sunrpc/rpc/auth_des.h: Likewise.
33259 * sunrpc/rpc/clnt.h: Likewise.
33260 * sunrpc/rpc/netdb.h: Likewise.
33261 * sunrpc/rpc/pmap_clnt.h: Likewise.
33262 * sunrpc/rpc/xdr.h: Likewise.
33263 * sysdeps/generic/inttypes.h: Likewise.
33264 * sysdeps/generic/net/if.h: Likewise.
33265 * sysdeps/generic/sys/swap.h: Likewise.
33266 * sysdeps/gnu/net/if.h: Likewise.
33267 * sysdeps/gnu/utmpx.h: Likewise.
33268 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33269 * sysdeps/i386/i486/bits/string.h: Likewise.
33270 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33271 * sysdeps/s390/bits/string.h: Likewise.
33272 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33273 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33274 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33275 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33276 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33277 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33278 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33279 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33280 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33281 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33282 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33283 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33284 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33285 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33286 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33287 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33288 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33290 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33292 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33293 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33294 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33295 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33296 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33297 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33298 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33299 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33300 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33302 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33303 * sysvipc/sys/ipc.h: Likewise.
33304 * sysvipc/sys/msg.h: Likewise.
33305 * sysvipc/sys/sem.h: Likewise.
33306 * sysvipc/sys/shm.h: Likewise.
33307 * termios/termios.h: Likewise.
33308 * time/sys/time.h: Likewise.
33309 * time/time.h: Likewise.
33310 * wcsmbs/bits/wchar2.h: Likewise.
33311 * wcsmbs/uchar.h: Likewise.
33312 * wcsmbs/wchar.h: Likewise.
33313 * wctype/wctype.h: Likewise.
33316 * Makeconfig: Remove all but ELF support including AIX support.
33317 * Makerules: Likewise.
33318 * config.h.in: Likewise.
33319 * config.make.in: Likewise.
33320 * configure: Likewise.
33321 * configure.in: Likewise.
33322 * csu/Makefile: Likewise.
33323 * csu/version.c: Likewise.
33324 * debug/Makefile: Likewise.
33325 * dlfcn/Makefile: Likewise.
33326 * elf/Makefile: Likewise.
33327 * extra-lib.mk: Likewise.
33328 * iconv/Makefile: Likewise.
33329 * include/libc-symbols.h: Likewise.
33330 * include/shlib-compat.h: Likewise.
33331 * resolv/Makefile: Likewise.
33332 * resolv/res_libc.c: Likewise.
33333 * rt/Makefile: Likewise.
33334 * sysdeps/i386/asm-syntax.h: Likewise.
33335 * sysdeps/i386/sysdep.h: Likewise.
33336 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33337 * sysdeps/mach/sysdep.h: Likewise.
33338 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33339 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33340 * sysdeps/s390/asm-syntax.h: Likewise.
33341 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33343 * sysdeps/sh/sysdep.h: Likewise.
33344 * sysdeps/unix/sparc/sysdep.h: Likewise.
33345 * sysdeps/wordsize-32/divdi3.c: Likewise.
33346 * sysdeps/x86_64/sysdep.h: Likewise.
33348 * argp/Versions: Remove _argp_unlock_xxx.
33351 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33352 * abilist/libBrokenLocale.abilist: Likewise.
33353 * abilist/libanl.abilist: Likewise.
33354 * abilist/libc.abilist: Likewise.
33355 * abilist/libcrypt.abilist: Likewise.
33356 * abilist/libdl.abilist: Likewise.
33357 * abilist/libm.abilist: Likewise.
33358 * abilist/libnsl.abilist: Likewise.
33359 * abilist/libpthread.abilist: Likewise.
33360 * abilist/libresolv.abilist: Likewise.
33361 * abilist/librt.abilist: Likewise.
33362 * abilist/libthread_db.abilist: Likewise.
33363 * abilist/libutil.abilist: Likewise.
33364 * abilist/libnss_db.abilist: New file.
33366 * scripts/abilist.awk: Add support for indirect functions.
33368 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33370 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33372 * shlib-versions: Remove entries for ports architectures.
33374 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33376 * elf/stackguard-macros.h: Remove support for IA-64.
33377 * elf/tst-auditmod1.c: Likewise.
33378 * sysdeps/generic/ldsodefs.h: Likewise.
33380 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33381 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33385 * configure.in: Remove --enable-omitfp support.
33387 * config.make.in: Likewise.
33388 * Makeconfig: Likewise.
33389 * manual/install.texi: Likewise.
33391 In case anyone cares, the IA-64 architecture could move to ports.
33392 * sysdeps/ia64/*: Removed.
33393 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33394 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33397 * configure.in: Remove entries for unsupported architectures.
33400 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33401 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33403 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33404 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33405 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33406 fall back to using wcrtomb.
33407 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33408 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33410 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33411 * wcsmbs/tst-c16c32-1.c: New file.
33413 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33416 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33418 * elf/tst-unique3.cc: Add explicit declaration of gets.
33419 * elf/tst-unique3lib.cc: Likewise.
33420 * elf/tst-unique3lib2.cc: Likewise.
33421 * elf/tst-unique4.cc: Likewise.
33423 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33425 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33428 * assert/assert.h (static_assert): Don't define for C++.
33429 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33430 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33432 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33434 * iconv/loop.c (single loop): Fix assertion in storing of
33437 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33439 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33441 * posix/getconf.c: Update copyright year.
33442 * nss/getent.c: Likewise.
33443 * nss/makedb.c: Likewise.
33444 * iconv/iconvconfig.c: Likewise.
33445 * iconv/iconv_prog.c: Likewise.
33446 * elf/ldconfig.c: Likewise.
33447 * elf/pldd.c: Likewise.
33448 * elf/sotruss.ksh: Likewise.
33449 * catgets/gencat.c: Likewise.
33450 * csu/version.c: Likewise.
33451 * elf/ldd.bash.in: Likewise.
33452 * elf/sprof.c (print_version): Likewise.
33453 * locale/programs/locale.c: Likewise.
33454 * locale/programs/localedef.c: Likewise.
33455 * login/programs/pt_chown.c: Likewise.
33456 * nscd/nscd.c (print_version): Likewise.
33457 * debug/xtrace.sh: Likewise.
33458 * malloc/memusage.sh: Likewise.
33459 * malloc/mtrace.pl: Likewise.
33460 * debug/catchsegv.sh: Likewise.
33462 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33464 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33467 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33470 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33471 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33473 * iconv/gconv_int.h: Likewise.
33474 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33475 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33476 from libc for GLIBC_2.16.
33477 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33478 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33479 * wcsmbs/uchar.h: Really define mbstate_t.
33480 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33481 * wcsmbs/c16rtomb.c: New file.
33482 * wcsmbs/mbrtoc16.c: New file.
33483 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33484 for C/POSIX locale.
33485 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33486 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33488 * wcsmbs/wchar.h: Add missing __restrict.
33490 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33493 * time/Makefile (routines): Add timespec_get.
33494 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33495 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33496 timespec for ISO C11.
33497 * time/timespec_get.c: New file.
33498 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33499 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33502 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33503 * stdlib/stdlib.h: Declare aligned_alloc.
33504 * Versions.def: Add GLIBC_2.16 for libc.
33505 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33508 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33511 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33515 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33518 * assert/assert.h (static_assert): Define.
33520 * version.h: Update for 2.16 development version.
33523 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33526 * version.h (RELEASE): Bump for 2.15 release.
33527 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33529 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33530 Patch by Marek Polacek <mpolacek@redhat.com>.
33532 * bits/byteswap.h: Protect long long constants with __extension__.
33533 * sysdeps/i386/bits/byteswap.h: Likewise.
33534 * sysdeps/ia64/bits/byteswap.h: Likewise.
33535 * sysdeps/s390/bits/byteswap.h: Likewise.
33536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33538 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33541 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33542 destination buffer.
33543 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33545 2011-12-23 Marek Polacek <polacek@redhat.com>
33547 * elf/dl-addr.c (determine_info): Add inline keyword.
33548 * elf/tst-auditmod4b.c (check_avx): Likewise.
33549 * elf/tst-auditmod6b.c (check_avx): Likewise.
33550 * elf/tst-auditmod6c.c (check_avx): Likewise.
33551 * elf/tst-auditmod7b.c (check_avx): Likewise.
33553 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33555 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33558 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33561 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33562 processing for last bytes.
33564 2011-08-06 Bruno Haible <bruno@clisp.org>
33567 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33568 U+0385, not to U+1FEE.
33571 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33572 entry for U+00A5 U+0301.
33574 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33577 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33578 buffer for the output is too small.
33580 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33584 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33585 SSE flags if possible.
33587 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33590 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33591 processing for last bytes.
33593 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33595 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33596 (syscall-list-default-options, syscall-list-default-condition)
33597 (syscall-list-includes): Define.
33598 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33599 list of ABIs and options and #if conditions for each ABI. Do not
33600 handle common syscalls between ABIs specially.
33601 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33603 (syscall-list-variants, syscall-list-32bit-options)
33604 (syscall-list-32bit-condition, syscall-list-64bit-options)
33605 (syscall-list-64bit-condition): Define.
33606 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33607 (syscall-list-variants, syscall-list-32bit-options)
33608 (syscall-list-32bit-condition, syscall-list-64bit-options)
33609 (syscall-list-64bit-condition): Define.
33610 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33612 (syscall-list-variants, syscall-list-32bit-options)
33613 (syscall-list-32bit-condition, syscall-list-64bit-options)
33614 (syscall-list-64bit-condition): Define.
33615 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33617 (syscall-list-variants, syscall-list-32bit-options)
33618 (syscall-list-32bit-condition, syscall-list-64bit-options)
33619 (syscall-list-64bit-condition): Define.
33621 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33623 * locale/iso-639.def: Add brx entry.
33626 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33627 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33629 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33630 __feraiseexcept_renamed.
33632 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33635 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33636 EPOLLET with unsigned values.
33637 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33638 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33640 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33641 to large cancellation.
33642 * math/s_cacoshf.c: Likewise.
33643 * math/s_cacoshl.c: Likewise.
33645 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33649 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33650 * math/s_cacoshf.c: Likewise.
33651 * math/s_cacoshl.c: Likewise.
33653 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33656 * iconv/gconv.h: Define __GCONV_SWAP.
33657 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33658 * iconvdata/utf-16.c: Likewise.
33659 * iconvdata/utf-32.c: Likewise.
33661 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33664 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33665 numerator after shifting it by one limb.
33667 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33669 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33670 under [__USE_EXTERN_INLINES].
33672 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33675 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33677 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33679 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33680 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33682 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33683 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33684 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33685 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33686 for strncasecmp/strncasecmp_l compilation.
33687 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33688 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33690 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33693 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33696 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33699 * time/tzfile.c (__tzfile_read): Check values from file header.
33701 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33703 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33704 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33705 * powerpc/powerpc32/dl-start.S: Likewise.
33706 * powerpc/powerpc32/elf/start.S: Likewise.
33707 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33708 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33709 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33710 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33711 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33712 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33713 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33714 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33715 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33716 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33717 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33718 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33719 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33720 * powerpc/powerpc32/memset.S: Likewise.
33721 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33722 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33723 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33724 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33725 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33726 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33727 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33728 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33729 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33730 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33731 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33732 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33733 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33735 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33737 * math/libm-test.inc: Added more nearbyint tests.
33738 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33739 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33743 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33745 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33748 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33750 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33751 Add wcscpy-ssse3 wcscpy-c.
33752 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33753 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33754 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33755 * sysdeps/x86_64/wcschr.S: New file.
33756 * sysdeps/x86_64/wcsrchr.S: New file.
33757 * string/test-strcmp.c: Remove checking of wcscmp function for
33759 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33760 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33761 wcsrchr-sse2 wcsrchr-c.
33762 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33763 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33764 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33765 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33766 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33767 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33768 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33769 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33770 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33771 * wcsmbc/wcschr.c (WCSCHR): New macro.
33773 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33775 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33776 * wcsmbs/test-wcsrchr.c: New file.
33777 * string/test-strrchr.c: Add wcsrchr support.
33779 * wcsmbs/test-wcscpy.c: New file.
33780 * string/test-strcpy.c: Add wcscpy support.
33783 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33785 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33788 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33791 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33793 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33795 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33796 Minor optimizations.
33798 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33799 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33800 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33802 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33804 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33805 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33806 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33807 for gcc to avoid warnings.
33808 * inet/Makefile (tests): Add tst-checks.
33809 * inet/tst-checks.c: New file.
33811 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33814 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33817 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33818 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33820 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33822 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33824 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33827 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33829 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33831 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33832 conditional on GCC version.
33833 (__arch_compare_and_exchange_val_8_acq)
33834 (__arch_compare_and_exchange_val_16_acq)
33835 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33836 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33837 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33839 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33841 * sysdeps/sh/backtrace.c: New file.
33843 2011-12-02 Andreas Schwab <schwab@redhat.com>
33845 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33848 2011-12-01 Andreas Schwab <schwab@redhat.com>
33850 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33851 falling back to utime.
33853 2011-11-30 Andreas Schwab <schwab@redhat.com>
33855 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33856 expectations for float.
33858 2011-11-29 Andreas Schwab <schwab@redhat.com>
33860 * locale/weight.h (findidx): Add parameter len.
33861 * locale/weightwc.h (findidx): Likewise.
33862 * posix/fnmatch_loop.c (FCT): Adjust caller.
33863 * posix/regcomp.c (build_equiv_class): Likewise.
33864 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33865 * posix/regexec.c (check_node_accept_bytes): Likewise.
33866 * string/strcoll_l.c (STRCOLL): Likewise.
33867 * string/strxfrm_l.c (STRXFRM): Likewise.
33869 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33871 * Makefile.in: Remove CVSOPT handling.
33872 * configure.in: Remove use of AC_REVISION.
33873 * iconvdata/Makefile (distribute): No need to filter out CVS.
33874 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33877 2011-11-16 Andreas Schwab <schwab@redhat.com>
33879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33880 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33881 [USE_AS_STRNCASECMP_L]: Likewise.
33882 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33883 NO_TLS_DIRECT_SEG_REFS.
33884 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33885 Fix argument offsets for non-PIC.
33886 [USE_AS_STRNCASECMP_L]: Likewise.
33887 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33888 NO_TLS_DIRECT_SEG_REFS.
33890 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33892 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33894 * locale/loadlocale.c (_nl_load_locale): Likewise.
33896 2011-11-15 Andreas Schwab <schwab@redhat.com>
33898 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33899 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33900 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33901 (SYSCALL_GETTIME): Set errno on error.
33903 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33904 count references to noai6ai_cached.
33906 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33908 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33910 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33911 FD_CLOEXEC for /proc/self/maps.
33913 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33914 FD_CLOEXEC for /proc/meminfo.
33916 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33919 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33920 FD_CLOEXEC for given file.
33922 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33924 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33925 FD_CLOEXEC for /etc/hosts.
33926 (_gethtent): Likewise.
33928 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33930 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33931 cancellation and set FD_CLOEXEC for /etc/netgroup.
33933 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33934 reading /etc/publickey.
33936 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33937 allow cancellation when reading /etc/group.
33939 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33941 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33943 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33944 when using data file.
33946 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33948 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33949 (write_nis_obj): Use "c" and "e" in fopen.
33951 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33953 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33955 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33957 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33959 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33962 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33964 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33966 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33968 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33969 file parsing and set FD_CLOEXEC.
33971 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33973 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33975 2011-11-14 Andreas Schwab <schwab@redhat.com>
33977 * malloc/arena.c (arena_get2): Don't call reused_arena when
33978 _int_new_arena failed.
33980 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33982 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33983 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33984 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33985 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33986 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33987 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33988 to compile strcasecmp and strncasecmp.
33989 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33990 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33994 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33996 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33997 locale-defines.sym to gen-as-const-headers.
33998 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33999 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34001 to compile strcasecmp and strncasecmp.
34002 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34003 strcasecmp_l and strncasecmp_l.
34004 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34005 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34006 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34007 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34008 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34009 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34010 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34011 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34012 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34013 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34014 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34016 2011-11-12 Ulrich Drepper <drepper@gmail.com>
34018 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34019 result of SYSDEP_GETTIME_CPU to retval.
34020 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34021 parameter list to macro. Remove trailing semicolon. Adjust users.
34023 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34026 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34028 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34030 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34031 from unused variable.
34033 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34035 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34038 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34041 * sunrpc/rpc_prot.c (rejected): Fix case value.
34043 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34044 unsigned long long int to avoid warnings in shift.
34046 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34048 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34051 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34052 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34053 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34055 * nis/nis_table.c (nis_list): Use variable of correct type for
34056 result of __follow_path call.
34058 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34060 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34061 of math functions ceil, trunc, floor, round, and sqrt, when
34062 avaliable on the platform.
34063 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34065 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34066 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34067 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34069 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34071 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34072 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34074 2011-11-11 Roland McGrath <roland@hack.frob.com>
34076 * include/unistd.h: Fix __readlink return type.
34077 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34079 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34081 * stdlib/ucontext.h: Undo last change for makecontext.
34083 2011-11-11 Andreas Schwab <schwab@redhat.com>
34085 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34087 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34088 * setjmp/setjmp.h: Mark functions as non-leaf.
34089 * setjmp/bits/setjmp2.h: Likewise.
34090 * stdlib/ucontext.h: Likewise.
34092 2011-11-10 Andreas Schwab <schwab@redhat.com>
34094 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34095 (reused_arena): Don't check arena limit.
34096 (arena_get2): Atomically check arena limit.
34098 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34100 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34101 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34103 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34106 2011-11-07 Andreas Schwab <schwab@redhat.com>
34108 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34109 handler when locking.
34111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34112 Fix size of allocated buffer.
34114 2011-11-04 Andreas Schwab <schwab@redhat.com>
34117 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34118 declarations for long double functions.
34119 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34121 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34123 2011-11-03 Andreas Schwab <schwab@redhat.com>
34125 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34128 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34131 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34133 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34135 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34137 * include/alloca.h (stackinfo_alloca_round): Define.
34138 (extend_alloca): Use it.
34139 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34140 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34143 * scripts/check-local-headers.sh: Ignore libaudit.h.
34145 * nscd/Makefile (extra-objs): Make recursively expanded.
34147 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34149 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34150 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34152 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34153 * posix/tst-rfc3484-2.c: Likewise.
34154 * posix/tst-rfc3484-3.c: Likewise.
34156 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34158 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34160 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34161 process_vm_writev from libc using GLIBC_2.15 version.
34163 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34165 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34167 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34170 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34173 * nss/getent.c (initgroups_keys): Show error message in case no group
34176 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34177 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34178 __bump_nl_timestamp.
34179 * nscd/connections (nscd_init): When host database is served open
34180 netlink socket and request notification about configuration changes.
34181 (main_loop_poll): Track netlink file descriptor and bump timestamp
34182 in case data becomes available.
34183 (main_loop_epoll): Likewise.
34184 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34185 (database_pers_head): Add extra_data fileds.
34186 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34187 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34188 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34191 in6ai data, call __free_in6ai.
34192 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34193 Add -DHAVE_NETLINK.
34194 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34195 interface information. Reuse previous data if netlink timestamp
34197 (__bump_nl_timestamp): New function.
34198 (__free_in6ai): New function.
34200 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34202 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34203 close_not_cancel_no_status here.
34204 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34206 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34209 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34212 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34213 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34214 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34216 2011-07-03 Andreas Jaeger <aj@suse.de>
34219 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34220 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34221 * math/libm-test.inc (sin_test): Add test case.
34223 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34226 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34227 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34229 * elf/chroot_canon.c (chroot_canon): Cleanups.
34231 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34234 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34235 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34237 * string/test-strchr.c: Make usable for strchrnul testing.
34238 * string/test-strchrnul.c: New file.
34239 * string/Makefile (strop-tests): Add strchrnul.
34241 * po/it.po: Update from translation team.
34242 * po/es.po: Likewise.
34244 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34246 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34247 the three constants needed as parameters. Drop the others.
34248 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34249 __m128i_strloadu_tolower.
34250 Create and initialize variable zero and use it in all the places
34251 where _mm_setzero_si128 was used.
34253 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34254 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34255 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34256 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34258 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34259 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34260 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34261 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34262 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34263 __mpranred, __mptan.
34264 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34265 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34266 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34267 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34268 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34269 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34270 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34271 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34272 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34274 2011-10-28 Andreas Schwab <schwab@redhat.com>
34276 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34277 redefine if SHARED.
34278 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34281 wide char related routines to wcsmbs subdir.
34283 2011-10-27 Andreas Schwab <schwab@redhat.com>
34286 * misc/sys/cdefs.h (__THROWNL): Define.
34287 * posix/unistd.h: Use __THREADNL instead of __THREAD
34288 for memory synchronization functions.
34290 2011-10-26 Roland McGrath <roland@hack.frob.com>
34293 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34295 * manual/stdio.texi (Obstack Streams): Node removed.
34297 2011-10-26 Andreas Schwab <schwab@redhat.com>
34299 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34300 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34301 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34303 * math/math_private.h (math_force_eval): Allow non-addressable
34305 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34307 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34309 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34310 file is not needed.
34312 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34314 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34315 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34316 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34317 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34318 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34319 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34321 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34322 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34323 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34324 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34325 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34326 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34327 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34328 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34329 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34330 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34331 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34332 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34333 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34334 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34335 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34336 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34337 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34338 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34339 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34341 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34342 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34345 place. Use VEX encoding when compiling for AVX.
34347 2011-10-25 Andreas Schwab <schwab@redhat.com>
34349 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34350 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34352 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34354 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34356 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34357 useless if() expression.
34358 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34361 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34362 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34363 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34364 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34366 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34368 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34369 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34370 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34371 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34372 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34373 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34374 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34375 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34376 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34378 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34380 2011-10-25 Andreas Schwab <schwab@redhat.com>
34382 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34384 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34386 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34388 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34389 .text section. Avoid duplicate constants.
34390 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34391 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34392 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34393 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34394 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34398 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34399 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34400 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34401 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34402 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34403 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34404 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34405 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34406 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34407 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34408 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34409 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34410 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34411 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34412 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34413 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34414 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34417 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34418 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34419 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34420 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34421 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34422 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34423 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34424 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34425 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34426 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34427 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34428 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34429 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34430 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34432 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34433 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34434 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34436 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34438 * sysdeps/x86_64/dla.h: Move to ...
34439 * sysdeps/x86_64/fpu/dla.h: ...here.
34440 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34441 situations. Use __builtin_fma only for gcc 4.6 and up.
34443 * config.make.in: Add have-mfma4 entry.
34444 * configure.in: Substitute libc_cv_cc_fma4.
34445 * math/Makefile (dbl-only-routines): Add sincostab.
34446 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34447 Use __sincostab not sincos.
34448 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34450 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34452 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34455 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34456 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34457 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34458 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34460 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34461 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34463 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34464 define aliases when function name is a macro.
34465 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34466 sysdeps/ieee754/dbl-64/sincos.tbl.
34467 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34468 fma4-enabled routines.
34469 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34470 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34471 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34472 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34473 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34474 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34475 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34476 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34477 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34478 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34479 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34480 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34481 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34482 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34484 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34485 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34486 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34487 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34488 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34489 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34490 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34491 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34493 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34495 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34496 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34497 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34498 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34500 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34511 2011-10-24 Andreas Schwab <schwab@redhat.com>
34513 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34515 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34517 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34519 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34521 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34523 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34524 Remove unused variable magic_bits.
34525 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34527 * string/strnlen.c: Define and use STRNLEN macro.
34528 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34529 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34531 * wcsmbs/wcslen.c: Define and use WCSLEN.
34532 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34533 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34534 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34535 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34536 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34537 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34538 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34540 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34543 strnlen-sse2-no-bsf.
34544 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34545 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34546 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34547 Add strnlen support.
34548 (USE_AS_STRNLEN): New macro.
34549 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34550 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34551 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34552 * sysdeps/x86_64/wcslen.S: New file.
34554 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34557 XMM-moves are used for copying on small sizes.
34559 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34561 * wcsmbs/Makefile (strop-tests): Add wcschr.
34562 * wcsmbs/test-wcschr.c: New file.
34563 * string/test-strchr.c: Update.
34564 Add wcschr support.
34567 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34569 * wcsmbs/Makefile (strop-tests): Add wcslen.
34570 * wcsmbs/test-wcslen.c: New file.
34571 * string/test-strlen.c: Update.
34572 Add wcslen support.
34575 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34577 * po/it.po: Update from translation team.
34579 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34581 * sysdeps/x86_64/wcscmp.S: Update.
34582 Fix wrong comparison semantics.
34583 wcscmp shall use signed comparison not unsigned.
34584 Don't use substraction to avoid overflow bug.
34585 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34586 * wcsmbc/wcscmp.c: Likewise.
34587 * string/test-strcmp.c: Likewise.
34588 Add new tests to check cases with negative values.
34590 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34592 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34593 * sysdeps/x86_64/dla.h: ...here. New file.
34594 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34599 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34602 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34604 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34607 __ynl_finite aliases.
34609 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34613 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34615 [DLA_FMA] (EMULV): Use DLA_FMA.
34616 [DLA_FMA] (MUL12): Use EMULV.
34617 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34618 that are not needed.
34619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34627 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34629 * math/s_nan.c: Undef __nan.
34630 * math/s_nanf.c: Undef __nanf.
34631 * math/s_nanl.c: Undef __nanl.
34632 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34635 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34637 * math/s_catan.c: Add branch predictions.
34638 * math/s_catanf.c: Likewise.
34639 * math/s_catanh.c: Likewise.
34640 * math/s_catanhf.c: Likewise.
34641 * math/s_catanhl.c: Likewise.
34642 * math/s_catanl.c: Likewise.
34643 * math/s_cexp.c: Likewise.
34644 * math/s_cexpf.c: Likewise.
34645 * math/s_cexpl.c: Likewise.
34646 * math/s_clog.c: Likewise.
34647 * math/s_clog10.c: Likewise.
34648 * math/s_clog10f.c: Likewise.
34649 * math/s_clog10l.c: Likewise.
34650 * math/s_clogf.c: Likewise.
34651 * math/s_clogl.c: Likewise.
34652 * math/s_csqrt.c: Likewise.
34653 * math/s_csqrtf.c: Likewise.
34654 * math/s_csqrtl.c: Likewise.
34655 * math/s_ctanf.c: Likewise.
34656 * math/s_ctanh.c: Likewise.
34657 * math/s_ctanhf.c: Likewise.
34658 * math/s_ctanhl.c: Likewise.
34659 * math/s_ctanl.c: Likewise.
34661 * math/math_private.h: Define __nan, __nanf, __nanl.
34662 * math/s_cacosh.c: Include <math_private.h>.
34663 * math/s_cacoshl.c: Likewise.
34664 * math/s_casinh.c: Likewise.
34665 * math/s_casinhf.c: Likewise.
34666 * math/s_casinhl.c: Likewise.
34667 * math/s_ccos.c: Rely entire on ccosh.
34668 * math/s_ccosf.c: Rely entire on ccoshf.
34669 * math/s_ccosl.c: Rely entirely on ccoshl.
34670 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34671 Remove tests for FE_INVALID.
34672 * math/s_ccoshf.c: Likewise.
34673 * math/s_ccoshl.c: Likewise.
34674 * math/s_csin.c: Likewise.
34675 * math/s_csinf.c: Likewise.
34676 * math/s_csinh.c Likewise.
34677 * math/s_csinhf.c: Likewise.
34678 * math/s_csinhl.c: Likewise.
34679 * math/s_csinl.c: Likewise.
34680 * math/s_ctan.c: Likewise.
34681 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34682 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34683 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34685 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34688 compilation problems.
34690 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34693 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34695 * sysdeps/i386/configure.in: Test for -mfma4 option.
34696 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34697 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34698 COMMON_CPUID_INDEX_80000001.
34699 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34700 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34701 use it if FMA3 is not supported.
34702 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34704 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34705 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34707 2011-10-20 Andreas Schwab <schwab@redhat.com>
34710 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34711 it would create a cycle with a link time dependency.
34713 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34715 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34717 * string/Makefile (strop-tests): Add rawmemchr.
34718 * string/test-rawmemchr.c: New file.
34720 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34721 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34722 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34723 when compiling str{,n}casecmp and when AVX is available. Hook up
34724 new optimized code in initializers.
34726 2011-10-19 Andreas Schwab <schwab@redhat.com>
34728 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34729 __feraiseexcept instead of feraiseexcept.
34731 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34733 * math/math_private.h: Define defaults for libc_fetestexcept and
34735 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34736 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34737 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34738 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34739 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34740 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34741 libc_fetestexcept and libc_feupdateenv.
34743 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34744 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34745 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34746 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34747 libc_feholdexcept_setround.
34749 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34750 Add s_nearbyint-c and s_nearbyintf-c.
34751 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34752 nearbyintf inlines.
34753 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34754 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34755 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34756 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34758 * math/math_private.h: Define defaults for libc_fegetround,
34759 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34760 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34761 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34763 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34764 standard functions.
34765 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34766 Remove comments and hacks for old compiler versions.
34767 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34768 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34769 libc_feholdexceptl.
34771 2011-10-18 Andreas Schwab <schwab@redhat.com>
34773 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34774 (__feraiseexcept_renamed): Add __NTH.
34775 (feraiseexcept): Add __NTH. Rename local variables to fix
34776 namespace violations.
34778 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34780 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34782 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34784 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34785 recently added interfaces.
34786 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34788 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34789 about macro parameter expansion.
34791 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34792 __NO_MATH_INLINES is defined. Cleanups.
34794 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34795 and __floorf is target has SSE4.1.
34796 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34797 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34798 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34799 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34801 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34803 (floorf): Likewise.
34805 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34807 2011-10-17 Andreas Schwab <schwab@redhat.com>
34809 * misc/sys/cdefs.h: Fix last change.
34811 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34814 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34816 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34818 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34819 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34820 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34821 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34822 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34823 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34824 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34826 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34827 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34828 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34829 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34830 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34831 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34832 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34833 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34834 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34835 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34836 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34837 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34838 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34839 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34841 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34842 ceil, ceilf, floor, floorf.
34844 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34845 Perform IRELATIVE relocations last.
34847 * elf/do-rel.h: Add another parameter nrelative, replacing the
34848 local variable with the same name. Change name of the function
34849 to end in Rel or Rela (uppercase).
34850 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34851 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34852 elf_dynamic_do_##reloc function.
34854 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34856 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34857 is sufficient, at least on modern CPUs.
34859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34861 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34862 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34864 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34866 * math/bits/math-finite.h: Add entries for exp.
34867 * math/e_expl.c: Add __*_finite alias.
34868 * sysdeps/i386/fpu/e_exp.S: Likewise.
34869 * sysdeps/i386/fpu/e_expf.S: Likewise.
34870 * sysdeps/i386/fpu/e_expl.c: Likewise.
34871 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34872 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34873 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34874 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34875 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34876 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34877 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34879 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34880 is sufficient, at least on modern CPUs.
34882 * ctype/ctype-info.c (__ctype_init): Define.
34883 * include/ctype.h (__ctype_init): Declare.
34884 (__ctype_b_loc): The variable is always initialized.
34885 (__ctype_toupper_loc): Likewise.
34886 (__ctype_tolower_loc): Likewise.
34887 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34888 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34890 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34892 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34894 * configure.in: Also look in $cxxmachine/include for C++ system
34897 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34899 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34900 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34901 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34902 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34903 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34904 (USE_AS_WMEMCMP): New macro.
34906 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34907 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34908 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34909 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34911 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34912 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34913 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34914 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34915 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34916 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34917 (USE_AS_WMEMCMP): New macro.
34918 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34919 * sysdeps/string/test-memcmp.c: Update.
34920 Fix simple_wmemcmp.
34922 * wcsmbs/wmemcmp.c: Update.
34923 (WMEMCMP): New macro.
34926 2011-10-12 Andreas Jaeger <aj@suse.de>
34929 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34931 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34933 * libio/iofwide.c (do_length): Avoid warning.
34935 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34937 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34939 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34941 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34942 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34943 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34944 * sysdeps/i386/i686/fpu/e_log.S: New file.
34945 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34946 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34948 * ctype/ctype.h: Add support for inlined isXXX functions when
34949 compiling C++ code.
34951 2011-10-14 Andreas Schwab <schwab@redhat.com>
34953 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34955 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34957 2011-10-13 Roland McGrath <roland@hack.frob.com>
34960 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34962 2011-10-13 Andreas Schwab <schwab@redhat.com>
34964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34965 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34968 * sysdeps/x86_64/memrchr.S: Check for zero size.
34970 * string/stratcliff.c: Add memrchr tests.
34972 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34975 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34976 rawmemchr-sse2 rawmemchr-sse2-bsf.
34977 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34978 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34979 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34980 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34981 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34982 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34983 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34984 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34985 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34986 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34987 * string/memrchr.c (MEMRCHR): New macro.
34989 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34991 Add integration with gcc's -ffinite-math-only and optimize wrapper
34993 * Versions.def: Define GLIBC_2.15 version for libm.
34994 * math/Makefile (headers): Add bits/math-finite.h.
34995 * math/bits/math-finite.h: New file.
34996 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34997 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34998 * math/e_acoshl.c: Add __*_finite alias.
34999 * math/e_acosl.c: Likewise.
35000 * math/e_asinl.c: Likewise.
35001 * math/e_atan2l.c: Likewise.
35002 * math/e_atanhl.c: Likewise.
35003 * math/e_coshl.c: Likewise.
35004 * math/e_exp10.c: Likewise.
35005 * math/e_exp10f.c: Likewise.
35006 * math/e_exp10l.c: Likewise.
35007 * math/e_exp2l.c: Likewise.
35008 * math/e_fmodl.c: Likewise.
35009 * math/e_gammal_r.c: Likewise.
35010 * math/e_hypotl.c: Likewise.
35011 * math/e_j0l.c: Likewise.
35012 * math/e_j1l.c: Likewise.
35013 * math/e_jnl.c: Likewise.
35014 * math/e_lgammal_r.c: Likewise.
35015 * math/e_log10l.c: Likewise.
35016 * math/e_log2l.c: Likewise.
35017 * math/e_logl.c: Likewise.
35018 * math/e_powl.c: Likewise.
35019 * math/e_sinhl.c: Likewise.
35020 * math/e_sqrtl.c: Likewise.
35021 * math/e_scalb.c: Completely rewritten and optimized.
35022 * math/e_scalbf.c: Likewise.
35023 * math/e_scalbl.c: Likewise.
35024 * math/w_acos.c: Likewise.
35025 * math/w_acosf.c: Likewise.
35026 * math/w_acosl.c: Likewise.
35027 * math/w_acosh.c: Likewise.
35028 * math/w_acoshf.c: Likewise.
35029 * math/w_acoshl.c: Likewise.
35030 * math/w_asin.c: Likewise.
35031 * math/w_asinf.c: Likewise.
35032 * math/w_asinl.c: Likewise.
35033 * math/w_atan2.c: Likewise.
35034 * math/w_atan2f.c: Likewise.
35035 * math/w_atan2l.c: Likewise.
35036 * math/w_atanh.c: Likewise.
35037 * math/w_atanhf.c: Likewise.
35038 * math/w_atanhl.c: Likewise.
35039 * math/w_exp10.c: Likewise.
35040 * math/w_exp10f.c: Likewise.
35041 * math/w_exp10l.c: Likewise.
35042 * math/w_fmod.c: Likewise.
35043 * math/w_fmodf.c: Likewise.
35044 * math/w_fmodl.c: Likewise.
35045 * math/w_j0.c: Likewise.
35046 * math/w_j0f.c: Likewise.
35047 * math/w_j0l.c: Likewise.
35048 * math/w_j1.c: Likewise.
35049 * math/w_j1f.c: Likewise.
35050 * math/w_j1l.c: Likewise.
35051 * math/w_jn.c: Likewise.
35052 * math/w_jnf.c: Likewise.
35053 * math/w_log.c: Likewise.
35054 * math/w_logf.c: Likewise.
35055 * math/w_logl.c: Likewise.
35056 * math/w_log10.c: Likewise.
35057 * math/w_log10f.c: Likewise.
35058 * math/w_log10l.c: Likewise.
35059 * math/w_log2.c: Likewise.
35060 * math/w_log2f.c: Likewise.
35061 * math/w_log2l.c: Likewise.
35062 * math/w_pow.c: Likewise.
35063 * math/w_powf.c: Likewise.
35064 * math/w_powl.c: Likewise.
35065 * math/w_remainder.c: Likewise.
35066 * math/w_remainderf.c: Likewise.
35067 * math/w_remainderl.c: Likewise.
35068 * math/w_scalb.c: Likewise.
35069 * math/w_scalbf.c: Likewise.
35070 * math/w_scalbl.c: Likewise.
35071 * math/w_sqrt.c: Likewise.
35072 * math/w_sqrtf.c: Likewise.
35073 * math/w_sqrtl.c: Likewise.
35074 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35075 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35077 * math/math_private.h: Declare __kernel_standard_f.
35078 * math/w_cosh.c: Remove cruft and optimize a bit.
35079 * math/w_coshf.c: Likewise.
35080 * math/w_coshl.c: Likewise.
35081 * math/w_exp2.c: Likewise.
35082 * math/w_exp2f.c: Likewise.
35083 * math/w_exp2l.c: Likewise.
35084 * math/w_hypot.c: Likewise.
35085 * math/w_hypotf.c: Likewise.
35086 * math/w_hypotl.c: Likewise.
35087 * math/w_lgamma.c: Likewise.
35088 * math/w_lgamma_r.c: Likewise.
35089 * math/w_lgammaf.c: Likewise.
35090 * math/w_lgammaf_r.c: Likewise.
35091 * math/w_lgammal.c: Likewise.
35092 * math/w_lgammal_r.c: Likewise.
35093 * math/w_sinh.c: Likewise.
35094 * math/w_sinhf.c: Likewise.
35095 * math/w_sinhl.c: Likewise.
35096 * math/w_tgamma.c: Likewise.
35097 * math/w_tgammaf.c: Likewise.
35098 * math/w_tgammal.c: Likewise.
35099 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35101 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35102 Minor optimizations. Pretty printing. Remove cruft.
35103 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35104 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35105 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35106 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35107 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35108 * sysdeps/i386/fpu/e_asin.S: Likewise.
35109 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35110 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35111 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35112 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35113 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35114 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35115 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35116 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35117 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35118 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35119 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35120 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35121 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35122 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35123 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35124 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35125 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35126 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35127 * sysdeps/i386/fpu/e_log.S: Likewise.
35128 * sysdeps/i386/fpu/e_log10.S: Likewise.
35129 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35130 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35131 * sysdeps/i386/fpu/e_log2.S: Likewise.
35132 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35133 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35134 * sysdeps/i386/fpu/e_logf.S: Likewise.
35135 * sysdeps/i386/fpu/e_logl.S: Likewise.
35136 * sysdeps/i386/fpu/e_pow.S: Likewise.
35137 * sysdeps/i386/fpu/e_powf.S: Likewise.
35138 * sysdeps/i386/fpu/e_powl.S: Likewise.
35139 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35140 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35141 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35143 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35144 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35145 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35146 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35147 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35148 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35149 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35151 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35152 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35153 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35154 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35155 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35156 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35157 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35158 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35159 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35161 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35162 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35164 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35165 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35166 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35168 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35169 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35170 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35171 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35172 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35173 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35174 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35175 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35176 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35177 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35178 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35179 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35181 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35182 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35183 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35184 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35185 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35186 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35187 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35188 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35189 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35228 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35231 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35233 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35234 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35236 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35239 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35240 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35241 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35242 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35243 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35244 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35245 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35246 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35247 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35248 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35249 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35250 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35251 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35252 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35253 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35254 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35255 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35256 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35257 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35258 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35259 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35260 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35261 (__isnanf): Likewise.
35262 (__isinf_ns): Likewise.
35263 (__isinf_nsf): Likewise.
35264 (__finite): Likewise.
35265 (__finitef): Likewise.
35266 (__ieee754_sqrt): Define as macro.
35267 (__ieee754_sqrtf): Define as macro.
35268 (__ieee754_sqrtl): Define as macro.
35269 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35271 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35272 __FINITE_MATH_ONLY__ consistent.
35273 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35275 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35277 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35280 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35282 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35284 * po/ja.po: Update from translation team.
35286 2011-10-08 Roland McGrath <roland@hack.frob.com>
35288 * locale/programs/locarchive.c (prepare_address_space): New function.
35289 (create_archive, enlarge_archive, open_archive): Use it.
35291 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35292 inside [SHARED], where it is used.
35294 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35296 * nss/getent.c (netgroup_keys): Remove unused variable.
35297 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35299 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35301 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35302 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35303 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35304 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35305 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35306 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35307 * math/Makefile (libm-calls): Add s_isinf_ns.
35308 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35309 * math/multc3.c: Likewise.
35310 * math/s_casin.c: Likewise.
35311 * math/s_casinf.c: Likewise.
35312 * math/s_casinl.c: Likewise.
35313 * math/s_ccos.c: Likewise.
35314 * math/s_ccosf.c: Likewise.
35315 * math/s_ccosl.c: Likewise.
35316 * math/s_ctan.c: Likewise.
35317 * math/s_ctanf.c: Likewise.
35318 * math/s_ctanh.c: Likewise.
35319 * math/s_ctanhf.c: Likewise.
35320 * math/s_ctanhl.c: Likewise.
35321 * math/s_ctanl.c: Likewise.
35322 * math/w_fmod.c: Likewise.
35323 * math/w_fmodf.c: Likewise.
35324 * math/w_fmodl.c: Likewise.
35325 * math/w_remainder.c: Likewise.
35326 * math/w_remainderf.c: Likewise.
35327 * math/w_remainderl.c: Likewise.
35328 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35329 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35330 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35332 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35333 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35334 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35335 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35337 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35339 * stdio-common/printf_fphex.c: Likewise.
35340 * stdio-common/printf_size.c: Likewise.
35342 * math/e_exp10.c: Include math_private.h using <...> not "...".
35343 * math/e_exp10f.c: Likewise.
35344 * math/e_exp10l.c: Likewise.
35345 * math/e_exp2l.c: Likewise.
35346 * math/e_j0l.c: Likewise.
35347 * math/e_j1l.c: Likewise.
35348 * math/e_jnl.c: Likewise.
35349 * math/e_lgammal_r.c: Likewise.
35350 * math/e_rem_pio2l.c: Likewise.
35351 * math/e_scalb.c: Likewise.
35352 * math/e_scalbf.c: Likewise.
35353 * math/e_scalbl.c: Likewise.
35354 * math/k_cosl.c: Likewise.
35355 * math/k_sinl.c: Likewise.
35356 * math/k_tanl.c: Likewise.
35357 * math/s_cacoshf.c: Likewise.
35358 * math/s_catan.c: Likewise.
35359 * math/s_catanf.c: Likewise.
35360 * math/s_catanh.c: Likewise.
35361 * math/s_catanhf.c: Likewise.
35362 * math/s_catanhl.c: Likewise.
35363 * math/s_catanl.c: Likewise.
35364 * math/s_ccosh.c: Likewise.
35365 * math/s_ccoshf.c: Likewise.
35366 * math/s_ccoshl.c: Likewise.
35367 * math/s_cexp.c: Likewise.
35368 * math/s_cexpf.c: Likewise.
35369 * math/s_cexpl.c: Likewise.
35370 * math/s_clog.c: Likewise.
35371 * math/s_clog10.c: Likewise.
35372 * math/s_clog10f.c: Likewise.
35373 * math/s_clog10l.c: Likewise.
35374 * math/s_clogf.c: Likewise.
35375 * math/s_clogl.c: Likewise.
35376 * math/s_csin.c: Likewise.
35377 * math/s_csinf.c: Likewise.
35378 * math/s_csinh.c: Likewise.
35379 * math/s_csinhf.c: Likewise.
35380 * math/s_csinhl.c: Likewise.
35381 * math/s_csinl.c: Likewise.
35382 * math/s_csqrt.c: Likewise.
35383 * math/s_csqrtf.c: Likewise.
35384 * math/s_csqrtl.c: Likewise.
35385 * math/s_ctan.c: Likewise.
35386 * math/s_ctanf.c: Likewise.
35387 * math/s_ctanh.c: Likewise.
35388 * math/s_ctanhf.c: Likewise.
35389 * math/s_ctanhl.c: Likewise.
35390 * math/s_ctanl.c: Likewise.
35391 * math/s_ldexp.c: Likewise.
35392 * math/s_ldexpf.c: Likewise.
35393 * math/s_ldexpl.c: Likewise.
35394 * math/s_significand.c: Likewise.
35395 * math/s_significandf.c: Likewise.
35396 * math/s_significandl.c: Likewise.
35397 * math/w_acos.c: Likewise.
35398 * math/w_acosf.c: Likewise.
35399 * math/w_acosh.c: Likewise.
35400 * math/w_acoshf.c: Likewise.
35401 * math/w_acoshl.c: Likewise.
35402 * math/w_acosl.c: Likewise.
35403 * math/w_asin.c: Likewise.
35404 * math/w_asinf.c: Likewise.
35405 * math/w_asinl.c: Likewise.
35406 * math/w_atan2.c: Likewise.
35407 * math/w_atan2f.c: Likewise.
35408 * math/w_atan2l.c: Likewise.
35409 * math/w_atanh.c: Likewise.
35410 * math/w_atanhf.c: Likewise.
35411 * math/w_atanhl.c: Likewise.
35412 * math/w_cosh.c: Likewise.
35413 * math/w_coshf.c: Likewise.
35414 * math/w_coshl.c: Likewise.
35415 * math/w_dremf.c: Likewise.
35416 * math/w_exp10.c: Likewise.
35417 * math/w_exp10f.c: Likewise.
35418 * math/w_exp10l.c: Likewise.
35419 * math/w_exp2.c: Likewise.
35420 * math/w_exp2f.c: Likewise.
35421 * math/w_fmod.c: Likewise.
35422 * math/w_fmodf.c: Likewise.
35423 * math/w_fmodl.c: Likewise.
35424 * math/w_hypot.c: Likewise.
35425 * math/w_hypotf.c: Likewise.
35426 * math/w_hypotl.c: Likewise.
35427 * math/w_j0.c: Likewise.
35428 * math/w_j0f.c: Likewise.
35429 * math/w_j0l.c: Likewise.
35430 * math/w_j1.c: Likewise.
35431 * math/w_j1f.c: Likewise.
35432 * math/w_j1l.c: Likewise.
35433 * math/w_jn.c: Likewise.
35434 * math/w_jnf.c: Likewise.
35435 * math/w_jnl.c: Likewise.
35436 * math/w_lgamma.c: Likewise.
35437 * math/w_lgamma_r.c: Likewise.
35438 * math/w_lgammaf.c: Likewise.
35439 * math/w_lgammaf_r.c: Likewise.
35440 * math/w_lgammal.c: Likewise.
35441 * math/w_lgammal_r.c: Likewise.
35442 * math/w_log.c: Likewise.
35443 * math/w_log10.c: Likewise.
35444 * math/w_log10f.c: Likewise.
35445 * math/w_log10l.c: Likewise.
35446 * math/w_log2.c: Likewise.
35447 * math/w_log2f.c: Likewise.
35448 * math/w_log2l.c: Likewise.
35449 * math/w_logf.c: Likewise.
35450 * math/w_logl.c: Likewise.
35451 * math/w_pow.c: Likewise.
35452 * math/w_powf.c: Likewise.
35453 * math/w_powl.c: Likewise.
35454 * math/w_remainder.c: Likewise.
35455 * math/w_remainderf.c: Likewise.
35456 * math/w_remainderl.c: Likewise.
35457 * math/w_scalb.c: Likewise.
35458 * math/w_scalbf.c: Likewise.
35459 * math/w_scalbl.c: Likewise.
35460 * math/w_sinh.c: Likewise.
35461 * math/w_sinhf.c: Likewise.
35462 * math/w_sinhl.c: Likewise.
35463 * math/w_sqrt.c: Likewise.
35464 * math/w_sqrtf.c: Likewise.
35465 * math/w_sqrtl.c: Likewise.
35466 * math/w_tgamma.c: Likewise.
35467 * math/w_tgammaf.c: Likewise.
35468 * math/w_tgammal.c: Likewise.
35470 * po/ja.po: Update from translation team.
35472 2011-09-29 Andreas Jaeger <aj@suse.de>
35475 * sunrpc/netname.c (netname2host): Fix logic.
35479 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35481 * math/w_remainder.c (__remainder): Likewise.
35482 * math/w_remainderf.c (__remainderf): Likewise.
35483 * math/libm-test.inc (remainder_test): Add test cases.
35485 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35487 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35490 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35492 * string/test-memcmp.c: Avoid unncessary #defines.
35493 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35495 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35497 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35498 Use new sse2 version for core i3 - i7 as it's faster
35499 than sse42 version.
35500 (bit_Prefer_PMINUB_for_stringop): New.
35501 * sysdeps/x86_64/rawmemchr.S: Update.
35502 Replace with faster SSE2 version.
35503 * sysdeps/x86_64/memrchr.S: New file.
35504 * sysdeps/x86_64/memchr.S: Update.
35505 Replace with faster SSE2 version.
35507 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35509 * elf/dl-load.c (lose): Add cast to avoid warning.
35511 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35513 * po/ca.po: Update from translation team.
35515 * inet/getnetgrent_r.c: Hook up nscd.
35516 * nscd/Makefile (routines): Add nscd_netgroup.
35517 (nscd-modules): Add netgroupcache.
35518 (CFLAGS-netgroupcache.c): Define.
35519 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35520 (cache_search): Add const to second parameter.
35521 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35523 (dbs): Add netgrdb entry.
35524 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35525 (verify_persistent_db): Handle netgrdb.
35526 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35527 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35529 (netgroup_response_header): Define.
35530 (innetgroup_response_header): Define.
35531 (datahead): Add netgroup_response_header and innetgroup_response_header
35533 * nscd/nscd.conf: Add entries for netgroup cache.
35534 * nscd/nscd.h (dbtype): Add netgrdb.
35535 (_PATH_NSCD_NETGROUP_DB): Define.
35536 (netgroup_iov_disabled): Declare.
35537 (xmalloc, xcalloc, xrealloc): Move declarations here.
35538 (cache_search): Adjust prototype.
35539 Add netgroup-related prototypes.
35540 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35541 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35542 (__nscd_innetgr): Declare.
35543 * nscd/selinux.c (perms): Use access_vector_t as element type and
35544 add netgroup-related initializers.
35545 * nscd/netgroupcache.c: New file.
35546 * nscd/nscd_netgroup.c: New file.
35547 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35548 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35549 For four parameters use innetgr.
35550 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35551 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35552 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35553 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35555 * nscd/connections.c (register_traced_file): Don't register file
35556 for disabled databases.
35558 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35560 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35562 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35563 from tree and freeing node.
35565 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35567 * nss/nsswitch.c (__nss_database_lookup): Handle
35568 nss_parse_service_list out of memory case.
35570 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35572 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35573 out of memory case.
35575 2011-10-04 Andreas Schwab <schwab@redhat.com>
35577 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35578 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35580 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35581 elf_machine_rela, elf_machine_lazy_rel.
35582 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35583 (ELF_DYNAMIC_DO_REL): Likewise.
35584 (ELF_DYNAMIC_DO_RELA): Likewise.
35585 (ELF_DYNAMIC_RELOCATE): Likewise.
35586 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35587 to ELF_DYNAMIC_DO_REL.
35588 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35589 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35590 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35592 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35593 skip_ifunc, don't call ifunc function if non-zero.
35594 (elf_machine_rela): Likewise.
35595 (elf_machine_lazy_rel): Likewise.
35596 (elf_machine_lazy_rela): Likewise.
35597 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35598 (elf_machine_lazy_rel): Likewise.
35599 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35601 (elf_machine_lazy_rel): Likewise.
35602 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35604 (elf_machine_lazy_rel): Likewise.
35605 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35606 (elf_machine_lazy_rel): Likewise.
35607 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35608 (elf_machine_lazy_rel): Likewise.
35609 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35610 (elf_machine_lazy_rel): Likewise.
35611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35612 (elf_machine_lazy_rel): Likewise.
35613 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35614 (elf_machine_lazy_rel): Likewise.
35615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35616 (elf_machine_lazy_rel): Likewise.
35618 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35620 * nss/nss_files/files-init.c (_nss_files_init): Use static
35621 initialization for all the *_traced_file variables.
35623 2011-09-28 Andreas Schwab <schwab@redhat.com>
35625 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35627 2011-09-27 Roland McGrath <roland@hack.frob.com>
35630 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35632 2011-09-27 Andreas Schwab <schwab@redhat.com>
35634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35635 Reread the line before reparsing it.
35637 2011-09-26 Andreas Schwab <schwab@redhat.com>
35639 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35641 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35642 Maxim Kuvyrkov <maxim@codesourcery.com>
35643 Joseph Myers <joseph@codesourcery.com>
35645 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35646 if needed for __stack_chk_guard.
35648 2011-09-19 Roland McGrath <roland@hack.frob.com>
35650 * sysdeps/posix/spawni.c (script_execute): Always define it.
35651 It will be optimized away if unused.
35652 (maybe_script_execute): New function.
35653 (__spawni): Call it.
35655 * Makerules: Don't include tls.make.
35656 (config-tls): Always set to thread.
35657 * tls.make.c: File removed.
35659 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35661 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35662 * config.make.in (CPPFLAGS-config): New substituted variable.
35664 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35666 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35669 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35670 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35672 2011-09-15 Roland McGrath <roland@hack.frob.com>
35674 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35675 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35676 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35677 (CALL_FAIL): Likewise.
35678 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35679 (CALL_FAIL): Macro removed.
35680 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35682 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35684 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35685 for __FINITE_MATH_ONLY__ == 1.
35687 2011-09-15 Andreas Schwab <schwab@redhat.com>
35689 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35690 __ieee754_sqrt instead of sqrt.
35691 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35692 __ieee754_sqrtf instead of sqrtf.
35693 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35694 __floorf instead of floorf.
35695 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35696 __floorf, __truncf instead of floorf, truncf.
35698 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35700 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35702 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35703 __extern_always_inline.
35704 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35707 2011-09-14 Andreas Schwab <schwab@redhat.com>
35709 * elf/rtld.c (dl_main): Also relocate in dependency order when
35710 doing symbol dependency testing.
35712 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35715 Always define `refsym'.
35717 2011-09-13 Andreas Schwab <schwab@redhat.com>
35719 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35720 (__FD_ELT): Renamed from __FDELT.
35721 * misc/bits/select2.h (__FD_ELT): Likewise.
35722 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35723 __FD_MASK instead of __FDELT, __FDMASK.
35724 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35726 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35729 * elf/Makefile (gen-ldd): Fix pattern.
35731 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35732 (init_tls): Likewise.
35734 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35738 2011-09-12 Andreas Schwab <schwab@redhat.com>
35740 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35741 `struct cmsghdr *' instead of `void *'.
35742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35745 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35747 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35749 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35750 ldd_rewrite_script.
35752 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35754 * configure.in: Remove --with-tls option.
35755 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35756 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35757 out in case it is missing.
35758 * sysdeps/ia64/elf/configure.in: Likewise.
35759 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35760 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35761 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35762 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35763 * sysdeps/sh/elf/configure.in: Likewise.
35764 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35765 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35766 * sysdeps/x86_64/elf/configure.in: Likewise.
35767 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35768 * sysdeps/mach/hurd/tls.h: Likewise.
35771 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35774 * configure.in: Fix use of AC_INIT.
35776 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35778 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35780 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35782 * malloc/hooks.c: Likewise.
35785 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35786 variables statically.
35787 (narenas): Initialize.
35788 (list_lock): Initialize.
35789 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35790 initializtion of main_arena and list_lock. Small cleanups.
35791 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35792 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35793 Add initializers to main_arena and mp_.
35794 (malloc_state): Remove pagesize member. Change all users to use
35797 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35798 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35799 is always initialized.
35801 * malloc/malloc.c: Removed unused configurations and dead code.
35802 * malloc/arena.c: Likewise.
35803 * malloc/hooks.c: Likewise.
35804 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35806 * include/tls.h: Removed. USE___THREAD must always be defined.
35807 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35808 * elf/dl-libc.c: Likewise.
35809 * elf/dl-tsd.c: Likewise.
35810 * include/errno.h: Likewise.
35811 * include/netdb.h: Likewise.
35812 * include/resolv.h: Likewise.
35813 * inet/herrno-loc.c: Likewise.
35814 * inet/herrno.c: Likewise.
35815 * malloc/arena.c: Likewise.
35816 * malloc/hooks.c: Likewise.
35817 * malloc/malloc.c: Likewise.
35818 * resolv/res-state.c: Likewise.
35819 * resolv/res_libc.c: Likewise.
35820 * sysdeps/i386/dl-machine.h: Likewise.
35821 * sysdeps/ia64/dl-machine.h: Likewise.
35822 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35823 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35824 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35825 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35826 * sysdeps/sh/dl-machine.h: Likewise.
35827 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35828 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35829 * sysdeps/unix/i386/sysdep.S: Likewise.
35830 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35831 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35832 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35833 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35835 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35836 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35840 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35841 * sysdeps/x86_64/dl-machine.h: Likewise.
35842 * tls.make.c: Likewise.
35844 * configure.in: Remove --with-__thread option. Make tests for
35845 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35846 tls_model attribute fail if no support is available. Remove
35848 * Makeconfig: Adjust for dropped configure option. All features are
35850 * Makerules: Likewise.
35851 * Versions.def: Likewise.
35852 * argp/argp-fmtstream.c: Likewise.
35853 * argp/argp-fmtstream.h: Likewise.
35854 * argp/argp-help.c: Likewise.
35855 * assert/assert.c: Likewise.
35856 * config.h.in: Likewise.
35857 * config.make.in: Likewise.
35858 * configure: Likewise.
35859 * configure.in: Likewise.
35860 * csu/Versions: Likewise.
35861 * csu/init.c: Likewise.
35862 * elf/tst-audit2.c: Likewise.
35863 * elf/tst-tls10.c: Likewise.
35864 * elf/tst-tls10.h: Likewise.
35865 * elf/tst-tls11.c: Likewise.
35866 * elf/tst-tls12.c: Likewise.
35867 * elf/tst-tls14.c: Likewise.
35868 * elf/tst-tlsmod11.c: Likewise.
35869 * elf/tst-tlsmod12.c: Likewise.
35870 * elf/tst-tlsmod13.c: Likewise.
35871 * elf/tst-tlsmod13a.c: Likewise.
35872 * elf/tst-tlsmod14a.c: Likewise.
35873 * elf/tst-tlsmod15b.c: Likewise.
35874 * elf/tst-tlsmod16a.c: Likewise.
35875 * elf/tst-tlsmod16b.c: Likewise.
35876 * elf/tst-tlsmod7.c: Likewise.
35877 * elf/tst-tlsmod8.c: Likewise.
35878 * elf/tst-tlsmod9.c: Likewise.
35879 * gmon/gmon.c: Likewise.
35880 * grp/fgetgrent_r.c: Likewise.
35881 * grp/putgrent.c: Likewise.
35882 * hurd/fopenport.c: Likewise.
35883 * include/libc-symbols.h: Likewise.
35884 * include/tls.h: Likewise.
35885 * intl/gettextP.h: Likewise.
35886 * intl/loadinfo.h: Likewise.
35887 * locale/global-locale.c: Likewise.
35888 * locale/localeinfo.h: Likewise.
35889 * mach/devstream.c: Likewise.
35890 * malloc/arena.c: Likewise.
35891 * malloc/set-freeres.c: Likewise.
35892 * misc/err.c: Likewise.
35893 * misc/getttyent.c: Likewise.
35894 * misc/mntent_r.c: Likewise.
35895 * posix/getopt.c: Likewise.
35896 * posix/wordexp.c: Likewise.
35897 * pwd/fgetpwent_r.c: Likewise.
35898 * resolv/Versions: Likewise.
35899 * resolv/res_hconf.c: Likewise.
35900 * shadow/fgetspent_r.c: Likewise.
35901 * shadow/putspent.c: Likewise.
35902 * stdio-common/printf_fphex.c: Likewise.
35903 * stdio-common/tmpfile.c: Likewise.
35904 * stdlib/abort.c: Likewise.
35905 * stdlib/fmtmsg.c: Likewise.
35906 * sunrpc/auth_unix.c: Likewise.
35907 * sunrpc/clnt_perr.c: Likewise.
35908 * sunrpc/clnt_tcp.c: Likewise.
35909 * sunrpc/clnt_udp.c: Likewise.
35910 * sunrpc/clnt_unix.c: Likewise.
35911 * sunrpc/openchild.c: Likewise.
35912 * sunrpc/svc_simple.c: Likewise.
35913 * sunrpc/svc_tcp.c: Likewise.
35914 * sunrpc/svc_udp.c: Likewise.
35915 * sunrpc/svc_unix.c: Likewise.
35916 * sunrpc/xdr.c: Likewise.
35917 * sunrpc/xdr_array.c: Likewise.
35918 * sunrpc/xdr_rec.c: Likewise.
35919 * sunrpc/xdr_ref.c: Likewise.
35920 * sunrpc/xdr_stdio.c: Likewise.
35922 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35924 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35926 2011-07-03 Andreas Jaeger <aj@suse.de>
35928 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35929 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35930 regenerate with gen-libm-tests.pl.
35932 2010-05-12 Petr Baudis <pasky@suse.cz>
35935 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35936 around j0() zero points by switching to j1().
35937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35942 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35944 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35946 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35949 Patch in part by Pavel Roskin <proski@gnu.org>.
35952 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35954 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35955 Free memory block if necessary.
35958 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35959 be NULL. Don't lock in this case.
35961 2011-09-09 Roland McGrath <roland@hack.frob.com>
35963 * elf/elf.h (ELFOSABI_GNU): New macro.
35964 (ELFOSABI_LINUX): Define to that.
35966 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35968 * string/strncat.c (strncat): Undef the symbol in case it has been
35969 defined in bits/string.h.
35971 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35973 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35975 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35978 2011-08-17 Andreas Jaeger <aj@suse.de>
35980 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35982 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35983 Ian Lance Taylor <iant@google.com>
35985 * math/libm-test.inc (lround_test): New testcase.
35986 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35988 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35990 * Makefile: Remove support for automatic cvs check-ins.
35991 * Makerules: Likewise.
35992 * config.make.in: Likewise.
35993 * configure.in: Likewise.
35994 * intl/Makefile: Likewise.
35995 * locale/Makefile: Likewise.
35996 * po/Makefile: Likewise.
35997 * posix/Makefile: Likewise.
35998 * sysdeps/gnu/Makefile: Likewise.
35999 * sysdeps/mach/hurd/Makefile: Likewise.
36000 * sysdeps/sparc/sparc32/Makefile: Likewise.
36003 * posix/Makefile (bug-regex32-ENV): Define.
36004 Patch by John Stanley <jpsinthemix@verizon.net>.
36006 * misc/Makefile (headers): Add bits/select2.h.
36007 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36008 * misc/bits/select2.h: New file.
36009 * include/bits/select2.h: New file.
36010 * debug/Makefile (routines): Add fdelt_chk.
36011 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36012 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36014 * debug/fdelt_chk.c: New file.
36016 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36017 * wcsmbs/test-wmemcmp.c: Likewise.
36018 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36019 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36021 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36023 * string/Makefile (strop-tests): Add memcmp.
36024 * string/test-wmemcmp.c: New file.
36025 * string/test-memcmp.c: Add wmemcmp support.
36027 2011-09-08 Roland McGrath <roland@hack.frob.com>
36030 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36033 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36034 garbage value in a __mach_port_mod_refs call in the cases of the
36035 task-self and thread-self ports.
36037 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36039 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36041 2011-09-08 Andreas Schwab <schwab@redhat.com>
36043 * elf/dl-load.c (lose): Check for non-null L.
36045 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36047 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36049 * elf/dl-libc.c (dlerror_run): Pass back error code from
36053 * elf/dl-load.c (lose): Free l_origin if it is valid.
36055 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36057 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36058 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36060 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36061 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36062 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36064 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36066 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36067 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36068 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36069 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36070 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36071 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36072 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36073 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36074 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36075 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36077 2011-08-15 Alan Modra <amodra@gmail.com>
36080 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36081 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36082 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36083 ppc_mcount to static-only-routines.
36084 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36086 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36087 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36089 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36091 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36092 for finite and infinity parameters.
36094 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36097 and add nop instructions for throughput optimization.
36098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36100 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36102 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36103 aligned copy for power7 with vector-scalar instructions.
36104 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36106 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36108 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36111 2011-09-07 Andreas Schwab <schwab@redhat.com>
36114 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36117 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36119 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36120 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36121 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36122 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36125 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36128 Forgot to demangle the pointer.
36130 * sysdeps/i386/sysdep.h: Define atom_text_section.
36131 * sysdeps/x86_64/sysdep.h: Likewise.
36132 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36133 section with atom_text_section.
36134 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36135 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36136 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36138 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36140 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36142 already be defined. Change to take two parameters and don't assign
36143 result to variable. Adjust all users.
36144 Define INTERNAL_GETTIME if not already defined.
36145 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36148 HAVE_CLOCK_GETTIME_VSYSCALL.
36149 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36152 gettimeofday vsyscall, just use time.
36154 2011-09-06 Andreas Schwab <schwab@redhat.com>
36156 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36159 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36161 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36165 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36167 syscall if possible.
36169 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36171 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36172 e_ident. Don't pass to find_mapsXX.
36173 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36175 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36178 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36179 * sysdeps/x86_64/multiarch/strchr.S: Update.
36180 Check bit_slow_BSF bit.
36181 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36182 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36183 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36185 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36188 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36190 (tryshell): Define.
36191 (__spawni): Change last parameter to be flag. Test
36192 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36193 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36194 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36195 * posix/spawni.c: Likewise.
36196 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36197 * posix/spawnp.c: Likewise. Change normal version to use
36198 SPAWN_XFLAGS_USE_PATH.
36199 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36200 SPAWN_XFLAGS_TRY_SHELL.
36203 * posix/glob.h: Remove gcc 1.x support.
36206 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36208 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36211 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36213 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36214 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36215 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36216 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36217 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36218 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36220 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36222 * sysdeps/x86_64/wcscmp.S: New file.
36224 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36225 wcscmp-c wcscmp-sse2
36226 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36227 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36228 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36229 * wcsmbs/wcscmp.c: Allow renaming.
36231 2011-09-05 David S. Miller <davem@davemloft.net>
36233 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36234 stack slot, rather than the struct return pointer slot.
36235 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36236 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36238 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36240 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36242 * po/ja.po: Update from translation team.
36245 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36246 kernel in 64-bit binaries.
36248 2011-09-01 David S. Miller <davem@davemloft.net>
36250 * elf/elf.h (HWCAP_SPARC_*): Move to..
36251 * sysdeps/sparc/sysdep.h: this new file and add new values.
36252 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36253 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36254 _DL_HWCAP_COUNT to 24.
36255 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36257 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36258 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36259 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36261 instead of magic constants.
36262 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36264 2011-08-31 David S. Miller <davem@davemloft.net>
36266 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36267 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36268 Reimplement to do errno handling inline.
36269 (SYSCALL_ERROR_HANDLER): New macro.
36270 (__SYSCALL_STRING): Do not do errno handling in asm.
36271 (__CLONE_SYSCALL_STRING): Delete.
36272 (__INTERNAL_SYSCALL_STRING): Delete.
36273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36274 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36275 (PSEUDO): Reimplement to do errno handling inline.
36276 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36277 (SYSCALL_ERROR_HANDLER): New macro.
36278 (__SYSCALL_STRING): Do not do errno handling in asm.
36279 (__CLONE_SYSCALL_STRING): Delete.
36280 (__INTERNAL_SYSCALL_STRING): Delete.
36281 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36282 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36284 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36285 (inline_syscall*): Add 'err' argument.
36286 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36287 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36288 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36289 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36291 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36292 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36294 2011-08-30 Andreas Schwab <schwab@redhat.com>
36296 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36298 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36300 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36303 2011-08-24 David S. Miller <davem@davemloft.net>
36305 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36307 2011-08-24 Andreas Schwab <schwab@redhat.com>
36309 * elf/Makefile: Add rules to build and run unload8 test.
36310 * elf/unload8.c: New file.
36311 * elf/unload8mod1.c: New file.
36312 * elf/unload8mod1x.c: New file.
36313 * elf/unload8mod2.c: New file.
36314 * elf/unload8mod3.c: New file.
36316 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36319 2011-08-23 David S. Miller <davem@davemloft.net>
36321 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36322 subtract stack bias.
36323 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36324 %sp not %fp in calculations.
36325 (_JMPBUF_UNWINDS_ADJ): Likewise.
36327 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36328 (aio_suspend): Call it to force an exception region around the
36329 AIO_MISC_WAIT() invocation.
36331 2011-08-23 Andreas Schwab <schwab@redhat.com>
36333 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36336 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36338 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36340 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36341 and <dl-machine.h>.
36342 (Elf64_FuncDesc): Remove.
36344 2011-08-22 David S. Miller <davem@davemloft.net>
36346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36347 sigaltstack check, add missing cfi directives.
36348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36349 missing cfi directives, and sigaltstack handling.
36351 2011-08-16 Andreas Schwab <schwab@redhat.com>
36354 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36355 object is seen twice.
36356 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36358 * elf/Makefile (distribute): Add tst-initorder2.c.
36359 (tests): Add tst-initorder2.
36360 (modules-names): Add tst-initorder2a tst-initorder2b
36361 tst-initorder2c tst-initorder2d. Add rules to build them.
36362 ($(objpfx)tst-initorder2.out): New rule.
36363 * elf/tst-initorder2.c: New file.
36364 * elf/tst-initorder2.exp: New file.
36366 2011-08-22 Andreas Schwab <schwab@redhat.com>
36368 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36370 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36371 dependencies back to end of function.
36373 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36374 $(elfobjdir)/ld.so.
36376 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36379 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36380 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36381 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36382 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36383 of __vdso_gettimeofday.
36384 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36385 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36387 (_libc_vdso_platform_setup): Remove initialization of
36388 __vdso_gettimeofday and __vdso_time.
36390 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36392 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36393 and fgetc_unlocked.
36394 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36397 * elf/dl-open.c (add_to_global): Report additions to the global scope
36398 for LD_DEBUG=scopes.
36399 (dl_open_worker): Also print scope of newly loaded dependencies.
36400 (_dl_show_scope): Indicate if there is no scope.
36403 * stdio-common/Makefile (tests): Add bug24.
36404 * stdio-common/bug24.c: New file.
36406 2011-08-19 Andreas Jaeger <aj@suse.de>
36409 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36410 non-existant file when using close-on-exec mode.
36412 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36415 the very first instruction.
36417 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36418 the CFI state in the end.
36419 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36420 inclusion of dl-trampoline.h.
36421 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36423 2011-08-19 Andreas Schwab <schwab@redhat.com>
36425 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36426 expectations for long double.
36428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36429 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36431 2011-08-14 David S. Miller <davem@davemloft.net>
36433 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36434 artificual limit depends upon the system page size.
36436 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36438 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36439 * resolv/Makefile: Define CFLAGS-libresolv.
36441 2011-08-17 Andreas Schwab <schwab@redhat.com>
36443 * nss/makedb.c (compute_tables): Make variables used in nested
36446 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36448 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36449 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36450 if buffer was too small.
36452 * elf/pldd.c (main): Attach to all threads in the process.
36453 Rewrite /proc handling to use *at functions.
36455 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36457 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36458 specifies first scope to show.
36459 (dl_open_worker): Update callers. Move printing scope of new
36460 object to before the relocation.
36461 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36462 * sysdeps/generic/ldsodefs.h: Update declaration.
36464 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36465 string for the scope number.
36467 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36469 * nscd/servicescache.c (cache_addserv): Make sure written is always
36472 2011-08-14 Roland McGrath <roland@hack.frob.com>
36474 * sysdeps/i386/i486/bits/atomic.h
36475 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36476 statement expression, so as to suppress "set but not used" warning.
36477 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36479 * string/strncat.c (STRNCAT): Use prototype definition.
36481 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36482 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36484 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36485 (localedef-modules): Add localedef.
36486 (locale-modules): Add locale.
36488 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36489 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36490 to avoid a warning.
36492 2011-08-14 David S. Miller <davem@davemloft.net>
36494 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36495 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36497 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36499 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36500 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36501 * elf/rtld.c (dl_main): Set l_name of vDSO.
36502 Call _dl_show_scope when DL_DEBUG_SCOPES.
36503 (process_dl_debug): Recognize scopes flag and also set it for all.
36504 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36505 Declare _dl_show_scope.
36507 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36508 (do_dlopen): Pass caller_dlopen to dl_open.
36509 (__libc_dlopen_mode): Initialize caller_dlopen.
36511 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36512 of libc. Make tolower call locale-independent. Optimize a bit by
36513 using isdigit instead of isalnum.
36514 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36516 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36518 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36519 was a dependency or dynamically loaded.
36521 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36523 * intl/l10nflist.c: Allow architecture-specific pop function.
36524 * sysdeps/x86_64/l10nflist.c: New file.
36526 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36529 2011-08-10 Andreas Schwab <schwab@redhat.com>
36531 * include/dirent.h: Add libc_hidden_proto for scandirat and
36532 scandirat64. Don't declare __scandirat64.
36533 * dirent/scandirat.c: Add libc_hidden_def.
36534 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36535 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36537 2011-08-10 David S. Miller <davem@davemloft.net>
36539 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36541 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36542 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36543 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36545 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36547 * Versions.def [libc]: Add GLIBC_2.15.
36548 * dirent/Makefile (routines): Add scandirat and scandirat64.
36549 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36551 * dirent/dirent.h: Declare scandirat and scandirat64.
36552 * dirent/scandirat.c: New file.
36553 * dirent/scandirat64.c: New file.
36554 * sysdeps/wordsize-64/scandirat.c: New file.
36555 * sysdeps/wordsize-64/scandirat64.c: New file.
36556 * dirent/opendir.c: Define opendirat.
36557 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36559 * dirent/scandir64.c: Adjust for scandir.c change.
36560 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36561 __scandirat64, and __scandir_cancel_handler.
36562 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36563 additional parameter and use openat instead of open (outside of ld.so).
36564 Add new __opendir as wrapper around __opendirat.
36565 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36566 here without requiring old scandirat implementation.
36568 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36570 * dirent/scandir.c (cancel_handler): Renamed to
36571 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36572 defined. Adjust users.
36573 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36576 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36578 * string/test-string.h (IMPL): Use __STRING to expand name and then
36581 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36584 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36586 * string/Makefile: Update.
36587 (strop-tests): Append strncat.
36588 * string/test-wcscmp.c: New file.
36589 New comprehensive test for wcscmp.
36590 * string/test-strcmp.c: Update.
36591 (WIDE): New define.
36593 2011-07-22 Andreas Schwab <schwab@redhat.com>
36595 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36598 2011-07-26 Andreas Schwab <schwab@redhat.com>
36600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36601 encoding to ACE if AI_IDN.
36603 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36606 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36608 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36611 Fix overflow bug in strncat.
36612 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36614 * string/test-strncat.c: Update.
36615 Add new tests for checking overflow bugs.
36617 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36620 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36621 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36622 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36623 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36624 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36625 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36626 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36627 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36630 (USE_AS_STRCAT): Define.
36631 Add strcat and strncat support.
36632 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36634 2011-07-25 Andreas Schwab <schwab@redhat.com>
36636 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36637 __n bigger than INT_MAX+1.
36638 (__strncmp_g): Likewise.
36640 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36642 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36643 * libio/stido.h: Likewise.
36645 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36650 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36652 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36653 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36654 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36657 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36660 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36662 (_dl_x86_64_save_sse): Likewise.
36664 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36668 (_dl_x86_64_save_sse): Likewise.
36670 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36672 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36674 2011-07-21 Andreas Schwab <schwab@redhat.com>
36676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36678 (_dl_x86_64_save_sse): Use correct AVX check.
36680 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36682 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36683 bug in strncpy/strncat.
36684 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36686 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36688 * string/tester.c (test_strcat): Add tests for different alignments
36689 of source and destination.
36690 (test_strncat): Likewise.
36692 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36695 * posix/glob.c (glob): Check passed in values before using them in
36696 expressions to avoid some overflows.
36697 (glob_in_dir): Likewise.
36700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36701 check for AVX enablement so that we don't crash with old kernels and
36703 * elf/tst-audit4.c: Add same checks here.
36704 * elf/tst-audit6.c: Likewise.
36706 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36708 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36710 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36712 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36714 * po/cs.po: Update from translation team.
36715 * po/bg.po: Likewise.
36717 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36719 * misc/sys/cdefs.h: Add support for const attribute.
36720 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36721 to gnu_dev_{major,minor,makedev} functions.
36723 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36725 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36727 2011-07-20 Andreas Schwab <schwab@redhat.com>
36729 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36732 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36735 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36736 register in order to avoid conflicts with the soft frame pointer
36737 being held in r11 when necessary.
36738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36739 (INTERNAL_VSYSCALL_NCS): Likewise.
36741 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36743 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36744 * elf/dl-fini.c (_dl_fini): Adjust caller.
36745 * elf/dl-close.c (_dl_close_worker): Likewise.
36746 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36748 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36750 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36751 "aux_cache->nlibs < 0".
36753 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36754 in the reload-count case.
36756 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36759 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36760 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36761 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36762 * sysdeps/x86_64/multiarch/strcat.S: New file.
36763 * sysdeps/x86_64/multiarch/strncat.S: New file.
36764 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36765 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36766 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36767 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36769 (USE_AS_STRCAT): Define.
36770 Add strcat and strncat support.
36771 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36772 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36773 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36774 * string/strncat.c: Update.
36775 (USE_AS_STRNCAT): Define.
36776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36777 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36779 * sysdeps/x86_64/multiarch/init-arch.h
36780 (bit_Prefer_PMINUB_for_stringop): New.
36781 (index_Prefer_PMINUB_for_stringop): Likewise.
36782 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36783 bit_Prefer_PMINUB_for_stringop.
36785 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36787 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36789 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36790 of casting of buffer.
36791 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36792 buffer32 and buffer64.
36793 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36794 writes instead of casting of buffer.
36795 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36797 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36800 2011-07-19 Andreas Schwab <schwab@redhat.com>
36802 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36804 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36806 * nscd/nscd.c (termination_handler): Don't do anything for a database
36807 if it has not yet been initialized.
36809 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36811 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36813 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36815 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36817 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36819 * po/nl.po: Update from translation team.
36820 * po/sv.po: Likewise.
36822 2011-07-16 Roland McGrath <roland@hack.frob.com>
36824 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36825 now disallowed by GCC.
36827 * configure.in (use-default-link): Default to yes if a test -shared
36828 link meets our qualifications.
36829 * configure: Regenerated.
36831 * config.make.in (output-format): New variable.
36832 * configure.in: Check for ld --print-output-format support.
36833 * configure: Regenerated.
36834 * Makerules ($(common-objpfx)format.lds)
36835 [$(output-format) != unknown]: Just use $(output-format),
36836 instead of the linker-script munging.
36838 2011-07-14 Roland McGrath <roland@hack.frob.com>
36840 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36841 of $(common-objpfx)shlib.lds.
36842 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36844 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36845 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36847 * configure.in (-z relro check): Adjust test code to add a large
36848 writable data section after it.
36849 * configure: Regenerated.
36851 2011-07-11 Roland McGrath <roland@hack.frob.com>
36853 * configure.in (-z relro check): Fix test code to make the variable
36855 * configure: Regenerated.
36857 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36859 * nscd/nscd.h (struct traced_file): Define.
36860 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36861 elements. Add traced_files.
36862 (inotify_fd): Declare.
36863 (register_traced_file): Declare.
36864 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36865 (inotify_fd): Export.
36866 (resolv_conf_descr): Remove.
36867 (nscd_init): Move inotify descriptor creation to main.
36868 Don't register files for notification here.
36869 (register_traced_file): New function.
36870 (invalidate_cache): Don't use reset_res to determine whether to call
36871 res_init, go through the list of registered files.
36872 (main_loop_poll): The inotify descriptors are now stored in the
36873 structures for the traced files.
36874 (main_loop_epoll): Likewise
36875 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36876 to __nss_disable_nscd.
36877 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36878 for a database anymore. Check the records for all the registered
36880 * nss/Makefile (libnss_files-routines): Add files-init.
36881 (libnss_db-routines): Add db-init.
36882 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36883 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36884 * nss/nss_db/db-init.c: New file.
36885 * nss/nss_files/files-init.c: New file.
36886 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36887 __nss_lookup_function.
36888 (__nss_lookup_function): Call nss_load_library.
36889 (nss_load_all_libraries): New function.
36890 (__nss_disable_nscd): Take parameter with callback function for files
36891 to register. Set is_nscd. Load all the DSOs for the NSS modules
36892 used for the cached services.
36893 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36894 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36895 options for features to all the files in nscd.
36897 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36899 2011-07-10 Roland McGrath <roland@hack.frob.com>
36901 * csu/elf-init.c (__libc_csu_init): Comment typo.
36903 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36905 * po/pl.po: Update from translation team.
36906 * po/ja.po: Likewise.
36907 * po/ru.po: Likewise.
36908 * po/ko.po: Likewise.
36909 * po/fr.po: Likewise.
36911 2011-07-09 Roland McGrath <roland@hack.frob.com>
36913 * configure.in (.ctors/.dtors header and trailer check):
36914 Use an empirical test on a built program.
36915 * configure: Regenerated.
36917 * configure.in (-z relro check): Use an empirical test on a built DSO.
36918 Detect, but do not require, on ia64.
36919 * configure: Regenerated.
36921 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36922 Update tests that use readelf to use $READELF instead.
36923 * configure: Regenerated.
36925 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36927 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36928 if the result is not used.
36930 2011-07-05 Andreas Jaeger <aj@suse.de>
36933 * stdlib/tst-strtod.c: Add testcase.
36935 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36937 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36938 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36939 The latter has a higher limit. Take additional parameter to pass to
36941 (__pathconf): Pass file to __statfs_link_max.
36942 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36944 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36948 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36949 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36952 (__statfs_filesize_max): Likewise.
36953 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36955 2011-07-05 Andreas Jaeger <aj@suse.de>
36957 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36959 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36961 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36963 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36966 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36968 * Makefile (strop-tests): Add strncat.
36969 * string/test-strncat.c: New file.
36971 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36973 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36975 2011-06-21 Andreas Jaeger <aj@suse.de>
36977 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36978 Copy rule from iconvdata/Makefile.
36980 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36983 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36984 but no long options are defined, just return 'W'.
36986 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36989 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36991 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36993 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36995 (innetgr): Likewise.
36997 2011-07-05 Roland McGrath <roland@hack.frob.com>
36999 * config.make.in (install_root): Default to $(DESTDIR).
37001 2011-07-05 Ulrich Drepper <drepper@gmail.com>
37003 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37005 2011-07-02 Roland McGrath <roland@hack.frob.com>
37007 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37009 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37010 containing directory rather than embedding absolute directory names.
37012 * scripts/check-local-headers.sh: Rewritten using awk.
37013 Match by word, not by line. Print error messages for matches.
37014 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37016 * Makerules [shlib-lds-flags empty]:
37017 ($(common-objpfx)libc_pic.opts): New target.
37018 ($(common-objpfx)libc_pic.os.clean): New target.
37019 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37021 * config.make.in (OBJCOPY): New variable.
37022 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37023 * configure: Regenerated.
37025 * config.make.in (use-default-link): New variable.
37026 * configure.in (use_default_link): Grok --with-default-link to set it.
37027 * configure: Regenerated.
37028 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37029 (shlib-lds, shlib-lds-flags): Define to empty.
37031 * Makerules (shlib-lds): New variable.
37032 (shlib-lds-flags): New variable.
37033 (build-shlib, build-moduile, build-module-asneeded): Use it.
37034 ($(common-objpfx)libc.so): Use $(shlib-lds).
37035 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37036 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37038 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37039 DT_FLAGS/DT_FLAGS_1 with zero flags.
37041 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37042 linker script munging.
37044 2011-07-02 Ulrich Drepper <drepper@gmail.com>
37046 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37048 * crypt/sha512.c (sha512_process_block): Perform total addition using
37049 128-bit if possible.
37050 (__sha512_finish_ctx): Likewise.
37051 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37053 * crypt/sha256.c (SWAP64): Define.
37054 (sha256_process_block): Perform total addition using 64-bit if
37056 (__sha256_finish_ctx): Likewise.
37058 2011-07-01 Ulrich Drepper <drepper@gmail.com>
37060 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37062 * nscd/hstcache.c (cache_addhst): Likewise.
37063 * nscd/grpcache.c (cache_addgr): Likewise.
37064 * nscd/aicache.c (addhstaiX): Likewise
37065 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37067 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37069 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37071 * nscd/hstcache.c (cache_addhst): Likewise.
37072 * nscd/grpcache.c (cache_addgr): Likewise.
37073 * nscd/aicache.c (addhstaiX): Likewise
37075 2011-07-01 Andreas Schwab <schwab@redhat.com>
37077 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37078 domain only when needed.
37080 2011-06-30 Andreas Schwab <schwab@redhat.com>
37082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37083 is always restored.
37085 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37087 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37088 are re-adding the entry.
37089 * nscd/servicescache.c (cache_addserv): Likewise.
37091 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37093 * sysdeps/generic/dl-irel.h: fix protection against multiple
37095 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37097 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37100 * malloc/memusage.sh: Fix quoting in message.
37101 * debug/xtrace.sh: Likewise.
37103 * configure.in: Remove support for --experimental-malloc option, make
37105 * config.make.in: Likewise.
37106 * malloc/Makefile: Likewise.
37108 2011-06-27 Andreas Schwab <schwab@redhat.com>
37110 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37111 two-byte characters.
37113 2011-06-27 Roland McGrath <roland@hack.frob.com>
37115 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37116 AC_CACHE_CHECK invocation.
37117 * configure: Regenerated.
37119 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37121 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37124 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37125 bit from old_res_options.
37127 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37129 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37130 value type for setfct.
37132 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37135 __gettimeofday instead of gettimeofday.
37137 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37139 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37141 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37143 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37148 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37151 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37152 strcpy-sse2-unaligned strncpy-sse2-unaligned
37153 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37154 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37155 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37156 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37157 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37158 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37160 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37161 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37162 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37163 (STRCPY): Support SSE2 and SSSE3 versions.
37165 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37168 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37169 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37170 kernels which artificially limit size of requests.
37172 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37175 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37176 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37177 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37178 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37179 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37180 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37181 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37182 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37183 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37184 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37185 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37186 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37187 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37188 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37190 Enable unaligned load optimization for Intel Core i3, i5 and i7
37192 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37194 (index_Fast_Unaligned_Load): Define.
37195 (HAS_FAST_UNALIGNED_LOAD): Define.
37197 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37199 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37201 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37204 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37205 until it is clear that the information is realy needed.
37206 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37208 2011-06-22 Andreas Schwab <schwab@redhat.com>
37210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37212 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37215 /sys/devices/system/cpu/online if it is usable.
37217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37218 reading the information from the /proc filesystem to once a second.
37220 2011-06-21 Andreas Jaeger <aj@suse.de>
37222 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37223 NULL after inclusion of kernel headers.
37225 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37227 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37228 calls to internal_setent.
37231 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37232 addresses using gethostbyname4_r ignore IPv4 addresses.
37234 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37235 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37237 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37239 2011-06-20 David S. Miller <davem@davemloft.net>
37241 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37243 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37245 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37246 (elf_irel): Use it.
37247 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37248 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37249 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37250 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37251 * sysdeps/x86_64/dl-irel.h: Likewise.
37253 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37254 * elf/dl-sym.c: Likewise.
37256 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37258 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37259 need to dereference resplen2.
37261 2011-06-14 Andreas Schwab <schwab@redhat.com>
37263 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37265 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37267 * Makeconfig: Define vardbdir and inst_vardbdir.
37268 * nss/Makefile: Add rules to install db-Makefile.
37270 * nss/nss_db/db-XXX.c: Cleanup.
37272 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37273 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37275 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37276 * nss/makedb.c: Implement -g option to specify that value strings
37277 are generated and should not be added to table iterated over for
37279 * nss/nss_db/db-initgroups.c: New file.
37281 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37284 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37285 (internal_getgrouplist): Adjust to name change.
37286 Update use_initgroups_entry if this is not the first call.
37287 * nss/databases.def: Add initgroups entry.
37289 * nss/makedb.c (compute_tables): Check result of multiple hash table
37290 sizes to minimize maximum chain length.
37292 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37294 * Versions.def: Add entry for libnss_db.
37295 * shlib-versions: Likewise.
37296 * nss/Makefile: Add rules to build libnss_db.
37297 * nss/Versions: Add libnss_db information. Organize libnss_files
37299 * nss/db-Makefile: Add gshadow support. Change rules for the new
37300 makedb progra. Some minor improvements to generate smaller files.
37301 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37303 * nss/makedb.c: ...here.
37304 Improve database format to be smaller and require less memory at
37306 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37308 * nss/nss_db/db-netgrp.c: Likewise.
37309 * nss/nss_db/db-open.c: Likewise.
37310 * nss/nss_files/flies-XXX.x: Adjust comments.
37311 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37312 * nss/nss_files/files-grp.c: Likewise.
37313 * nss/nss_files/files-hosts.c: Likewise.
37314 * nss/nss_files/files-network.c: Likewise.
37315 * nss/nss_files/files-proto.c: Likewise.
37316 * nss/nss_files/files-pwd.c: Likewise.
37317 * nss/nss_files/files-rpc.c: Likewise.
37318 * nss/nss_files/files-service.c: Likewise.
37319 * nss/nss_files/files-sgrp.c: Likewise.
37320 * nss/nss_files/files-spwd.c: Likewise.
37321 * nss/nss_db/db-alias.c: Removed.
37322 * nss/nss_db/dummy-db.h: Removed.
37324 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37326 * nss/makedb.c: Rewritten to not use database library.
37327 * nss/Makefile: Update to build new makedb program.
37329 2011-06-14 Andreas Jaeger <aj@suse.de>
37331 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37332 memset declaration.
37334 2011-06-10 Andreas Schwab <schwab@redhat.com>
37336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37339 2011-06-10 Roland McGrath <roland@hack.frob.com>
37341 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37342 * elf/Makefile ($(objpfx)ld.so): Likewise.
37344 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37345 Don't list ld.so twice in dependencies.
37347 * posix/bug-regex31.c: Include <stdlib.h>.
37349 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37351 * nis/nss_compat/compat-spwd.c
37352 (getspent_next_nss_netgr): Remove unused variable.
37353 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37355 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37356 nonmembers" output to use the right array.
37358 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37360 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37362 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37363 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37364 * catgets/gencat.c (read_input_file): Likewise.
37365 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37367 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37368 variable definition inside #if's controlling its use.
37370 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37372 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37374 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37376 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37379 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37381 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37382 * configure: Regenerated.
37384 * Makerules: Revert last change.
37385 * elf/Makefile: Likewise.
37387 2011-06-09 Roland McGrath <roland@hack.frob.com>
37389 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37390 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37391 (reloc-link): Likewise.
37393 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37395 * elf/Makefile: Add rules to build pldd.
37396 * elf/pldd.c: New file.
37397 * elf/pldd-xx.c: New file.
37399 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37401 * version.h: Update for 2.15 development version.
37403 2011-06-07 David S. Miller <davem@davemloft.net>
37405 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37408 elf_machine_lazy_rel): Likewise.
37409 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37411 elf_machine_lazy_rel): Likewise.
37412 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37413 dl_hwcap via passed in argument.
37414 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37417 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37419 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37421 2011-06-06 Roland McGrath <roland@hack.frob.com>
37424 * manual/fdl-1.1.texi: New file, verbatim from:
37425 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37426 * manual/lgpl-2.1.texi: New file, verbatim from:
37427 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37428 * manual/Makefile (licenses): New variable, list those new file names.
37430 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37432 * manual/fdl.texi: File removed.
37433 * manual/lesser.texi: File removed.
37434 * manual/libc.texinfo (Copying, Documentation License):
37435 Use new @include file names, put @appendix directive before @include.
37437 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37440 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37441 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37442 (mq_open): Add __NTH.
37444 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37447 Assume Intel Core i3/i5/i7 processor if AVX is available.
37449 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37451 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37454 2011-05-31 Andreas Schwab <schwab@redhat.com>
37456 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37457 memory. Use alloca_account. Fix memory leak when retrying.
37459 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37461 * version.h (RELEASE): Bump for 2.14 release.
37462 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37464 * config.make.in (RANLIB): Remove entry.
37466 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37468 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37469 (libc.pot): Work around missing support for .ksh extension in xgettext.
37472 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37473 if both request failed.
37474 (send_dg): In case of server errors clear resplen or *resplen2.
37477 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37478 when there are multiple maps.
37479 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37480 (_dl_fini): Remove test here.
37482 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37484 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37487 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37488 bit from old_res_options.
37489 (gaih_inet): Likewise.
37492 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37495 * resolv/res_init.c (res_setoptions): Make the code more compact.
37498 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37502 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37504 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37507 * malloc/malloc.h: Declare malloc hook variables as volatile.
37509 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37513 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37514 raise in the comment.
37515 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37516 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37517 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37519 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37522 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37523 grow the buffers more if it already has to be sufficient.
37524 (build_wcs_upper_buffer): Likewise.
37525 * posix/regexec.c (check_matching): Likewise.
37526 (clean_state_log_if_needed): Likewise.
37527 (extend_buffers): Don't enlarge buffers beyond size of the input
37529 Patches mostly by Emil Wojak <emil@wojak.eu>.
37530 * posix/bug-regex32.c: New file.
37531 * posix/Makefile (tests): Add bug-regex32.
37533 * locale/findlocale.c (_nl_find_locale): Return right away if
37534 _nl_explode_name failed.
37535 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37537 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37539 * debug/xtrace.sh: Unify messages.
37540 * malloc/memusage.sh: Likewise.
37543 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37544 time symbol from vDSO. Substitute with vsyscall if not available.
37545 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37548 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37549 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37550 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37551 Add sendmmsg and internal_sendmmsg.
37552 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37553 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37554 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37556 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37557 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37560 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37563 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37564 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37570 * iconvdata/Makefile (tests): Add bug-iconv9.
37571 * iconvdata/bug-iconv9.c: New file.
37573 2011-05-27 Andreas Schwab <schwab@redhat.com>
37576 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37578 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37580 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37581 (struct user_regs_struct): Change intcs field back to cs.
37583 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37585 * po/ja.po: Update from translation team.
37587 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37590 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37591 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37593 2011-05-20 Andreas Schwab <schwab@redhat.com>
37595 * stdlib/longlong.h: Update from GCC.
37597 2011-05-23 Andreas Schwab <schwab@redhat.com>
37599 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37601 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37602 Add parameter name.
37603 (__sysconf): Pass it down.
37605 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37608 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37611 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37612 add in in __libc_use_alloca calls. Adjust callers.
37613 (glob): Use malloc in some situations.
37615 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37616 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37619 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37621 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37622 and CLOCK_BOOTTIME_ALARM.
37625 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37628 * string/_strerror.c (__strerror_r): Print negative errors as signed
37632 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37633 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37634 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37636 * configure.in: Fix typo in redirection and correct removal of test
37637 files in two cases.
37640 * locale/setlocale.c (new_composite_name): Fix test to check for
37641 identical name of all categories.
37644 * libio/filedoalloc.c (local_isatty): New function.
37645 (_IO_file_doallocate): Use local_isatty.
37646 * stdio-common/perror.c (perror): In case a new stream is used
37647 forward the stream error.
37648 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37651 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37656 * include/alloca.h (extend_alloca_account): Define.
37659 * posix/regex.h: Fix comments with documentation of user-accessible
37660 fields after compilation and describe correct free'ing of pattern
37661 after re_compile_pattern.
37662 Patch by Reuben Thomas <rrt@sc3d.org>.
37664 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37666 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37667 and -mno-altivec to prevent the compiler from using Altivec and/or
37668 VSX instructions when the corresponding registers are not available.
37670 2011-05-19 Andreas Schwab <schwab@redhat.com>
37672 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37674 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37676 * libio/freopen.c (freopen): Use __dup2, not dup2.
37677 * libio/freopen64.c (freopen64): Likewise.
37679 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37682 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37683 * math/Makefile (tests): Add test-powl.
37684 (CFLAGS-test-powl.c): Define.
37685 * math/test-powl.c: New file.
37687 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37689 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37691 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37694 * iconvdata/gb18030.c: Update to GB18020-2005.
37696 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37698 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37699 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37700 Patch by Aharon Robbins <arnold@skeeve.com>.
37703 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37707 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37708 through underflows.
37711 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37712 point to strings before performing equality test for error_one_per_line
37716 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37719 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37720 (struct user_fpregs_struct): Avoid __uint*_t types.
37723 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37724 symbol info. Use it instead of calling _dl_addr locally.
37725 (lock_and_info): New function.
37726 (tr_freehook): Call lock_and_info and pass symbol info as additional
37727 parameter to tr_where.
37728 (tr_mallochook): Likewise.
37729 (tr_reallochook): Likewise.
37730 (tr_memalignhook): Likewise.
37732 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37733 used and couldn't be at all thread-safe.
37735 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37737 * libio/freopen.c (freopen): Don't close old file descriptor
37738 before the new one is opened. Instead dup the new file descriptor
37739 to the old one after the new stream is created.
37740 * libio/freopen64.c (freopen64): Likewise.
37741 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37742 * libio/fileops.c (_IO_new_file_close_it): Handle new
37743 _IO_FLAGS2_NOCLOSE flag.
37744 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37745 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37746 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37747 _IO_FLAGS2_NOCLOSE flag.
37748 * include/unistd.h: Add hidden_proto for dup3.
37749 Define __have_dup3.
37750 * io/dup3.c: Define hidden symbol.
37751 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37754 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37755 when an incomplete long option is used.
37756 * posix/tst-getopt_long1.c: New file.
37757 * posix/Makefile (tests): Add tst-getopt_long1.
37760 * scripts/config.guess: Update from autoconf-2.68.
37761 * scripts/config.sub: Likewise.
37764 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37766 (has_cpuclock): ...this. New function.
37767 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37768 macro here based on has_cpuclock code.
37771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37772 First byte (not low byte) is now always NUL.
37773 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37776 Use non-cancelable interfaces.
37779 * locale/iso-639.def: Add entry for Sorani.
37782 * include/stdlib.h: Move include protection to the right place.
37783 Define abort_msg_s. Declare __abort_msg with it.
37784 * stdlib/abort.c (__abort_msg): Adjust type.
37785 * assert/assert.c (__assert_fail_base): New function. Majority
37786 of code from __assert_fail. Allocate memory for __abort_msg with
37788 (__assert_fail): Now call __assert_fail_base.
37789 * assert/assert-perr.c: Remove bulk of implementation. Use
37790 __assert_fail_base.
37791 * include/assert.hL Declare __assert_fail_base.
37792 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37794 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37796 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37800 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37801 until all modules are registered in the DTV.
37802 * elf/Makefile: Add rules to build and run tst-tls19.
37803 * elf/tst-tls19.c: New file.
37804 * elf/tst-tls19mod1.c: New file.
37805 * elf/tst-tls19mod2.c: New file.
37806 * elf/tst-tls19mod3.c: New file.
37807 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37810 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37814 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37815 two-byte sequence errors.
37816 * iconvdata/Makefile (tests): Add bug-iconv8.
37817 * iconvdata/bug-iconv8.c: New file.
37820 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37823 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37826 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37827 (dummy_getcfa): New function.
37828 (init): Get _Unwind_GetCFA address, use dummy if not found.
37829 (backtrace_helper): In recursion check, also check whether CFA changes.
37830 (__backtrace): Completely initialize arg.
37832 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37833 storing incomplete byte sequence in state object. Avoid testing for
37834 guaranteed too small input if we know there is enough data available.
37836 2011-05-11 Andreas Schwab <schwab@redhat.com>
37838 * Makeconfig (+link-pie): Indent.
37839 * Rules (binaries-pie): Define if $(have-fpie) and
37841 (binaries-shared): Also filter out $(binaries-pie).
37842 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37843 * nscd/Makefile (others-pie): Add nscd.
37844 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37845 ($(objpfx)nscd): Remove command override.
37846 * login/Makefile (others-pie): Add pt_chown.
37847 ($(objpfx)pt_chown): Remove command override.
37848 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37849 remove command overrides.
37851 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37853 * libio/tst_putwc.c: Fix error messages.
37856 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37857 currently writing and seek to current position when not.
37858 * libio/Makefile (tests): Add bug-fclose1.
37859 * libio/bug-fclose1.c: New file.
37861 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37864 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37865 don't set DF_1_NODELETE here.
37866 (do_lookup_x): When entering new entry test for copy relocation
37867 and if necessary set DF_1_NODELETE flag.
37868 * elf/tst-unique4.cc: New file.
37869 * elf/tst-unique4.h: New file.
37870 * elf/tst-unique4lib.cc: New file.
37871 * elf/Makefile: Add rules to build and run tst-unique4.
37872 Patch by Piotr Bury <pbury@goahead.com>.
37874 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37877 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37880 * misc/mntent_r.c (addmntent): Flush the stream after the output
37883 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37884 (is_trusted_path_normalize): Skip initial colon. Append slash
37885 to empty buffer. Duplicate is_trusted_path code but allow
37886 constructed patch to be prefix.
37887 (is_dst): Allow $ORIGIN followed by /.
37888 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37889 Correct testing of result of is_trusted_path_normalize
37890 (decompose_rpath): Fix warning.
37892 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37895 * grp/initgroups.c (internal_getgrouplist): When we found the service
37896 list through the initgroups entry in nsswitch.conf do not always
37897 continue on a successful lookup. Don't always use the
37898 __nss_group_database value if it is set.
37899 * nss/nsswitch.conf (initgroups): Change action for successful db
37900 lookup to continue for compatibility.
37902 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37905 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37907 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37909 * iconvdata/tst-tables.sh: Likewise.
37910 * iconvdata/cp770.c: New file.
37911 * iconvdata/cp771.c: New file.
37912 * iconvdata/cp772.c: New file.
37913 * iconvdata/cp773.c: New file.
37914 * iconvdata/cp774.c: New file.
37915 * iconvdata/testdata/CP770: New file.
37916 * iconvdata/testdata/CP770..UTF8: New file.
37917 * iconvdata/testdata/CP771: New file.
37918 * iconvdata/testdata/CP771..UTF8: New file.
37919 * iconvdata/testdata/CP772: New file.
37920 * iconvdata/testdata/CP772..UTF8: New file.
37921 * iconvdata/testdata/CP773: New file.
37922 * iconvdata/testdata/CP773..UTF8: New file.
37923 * iconvdata/testdata/CP774: New file.
37924 * iconvdata/testdata/CP774..UTF8: New file.
37926 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37928 * iconvdata/gen-8bit-gap.sh: Likewise.
37929 * iconvdata/gen-8bit.sh: Likewise.
37931 * locale/iso-639.def: Add ary entry.
37934 * locale/C-translit.h.in: Add U20A1 transliteration.
37937 * locale/iso-639.def: Add wae entry.
37938 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37941 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37945 * locale/C-translit.h.in: Add entry for U20B9.
37946 Patch by pravin.d.s@gmail.com.
37948 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37951 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37952 ENAMETOOLONG use generic getcwd.
37953 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37954 in rtld. Use *stat64.
37955 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37956 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37957 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37958 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37959 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37960 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37961 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37962 __fstatat64 macros.
37963 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37964 * dirent/rewinddir.c: Add libc_hidden_def.
37965 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37966 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37968 * include/dirent.h (__alloc_dir): Add flags parameter.
37969 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37970 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37972 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37973 from fdopendir if O_CLOEXEC is already set.
37975 2011-03-15 Alan Modra <amodra@gmail.com>
37977 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37978 l_tls_firstbyte_offset non-zero. Save padding offset in
37979 l_tls_firstbyte_offset for later use.
37980 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37981 freeing static tls block.
37983 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37985 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37986 where #ifdef was intended. The intent is to prevent ARG_MAX from
37987 being defined by the kernel headers.
37989 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37992 * resolv/resolv.h: Define RES_NOTLDQUERY.
37993 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37994 no-tld-query and set RES_NOTLDQUERY.
37995 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37996 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37997 modern BIND to search name as TLD unless forbidden.
37999 2011-05-07 Petr Baudis <pasky@suse.cz>
38000 Ulrich Drepper <drepper@gmail.com>
38003 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38004 (is_trusted_path): ...to here.
38005 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38006 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38007 using is_trusted_path_normalize() in setuid scripts.
38009 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38011 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38012 __BEGIN/__END_DECLS.
38014 2011-05-06 Ulrich Drepper <drepper@gmail.com>
38016 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38017 NSS_STATUS_NOTFOUND if no record was found.
38019 2011-05-05 Andreas Schwab <schwab@redhat.com>
38021 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38022 (headers-not-in-tirpc): Remove rpc/netdb.h
38023 * resolv/netdb.h: Revert last change.
38025 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38027 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38028 circular dependency between libgcc.a and libc.a.
38030 2011-05-05 Andreas Schwab <schwab@redhat.com>
38032 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38033 * nis/Makefile: Don't install rpcsvc/*.
38034 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38035 instead of <rpc/types.h>.
38036 (MAXHOSTNAMELEN): Define.
38038 2011-05-03 Andreas Schwab <schwab@redhat.com>
38040 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38042 2011-04-28 Maciej Babinski <mbabinski@google.com>
38045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38046 gethostbyname4_r when IPv6 results are possible.
38048 2011-05-02 Ulrich Drepper <drepper@gmail.com>
38051 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38052 _PC_PIPE_BUF handling.
38054 2011-04-30 Bruno Haible <bruno@clisp.org>
38057 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38058 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38060 * inet/getnameinfo.c (getnameinfo): Likewise.
38062 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38064 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38065 to groups setting in database lookup.
38066 * nss/nsswitch.conf: Add initgroups entry.
38068 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38071 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38073 Patch by Eric Blake <eblake@redhat.com>.
38075 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38077 * sunrpc/Makefile (need-export-routines): Add svc_run.
38078 (routines): Remove svc_run.
38079 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38080 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38081 * sunrpc/svc_run.c (svc_run): Likewise.
38082 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38084 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38086 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38087 problem in reallocation in last patch.
38089 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38091 * sunrpc/Makefile: Move inclusion of Rules.
38093 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38095 * nss/nss_files/files-initgroups.c: New file.
38096 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38097 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38098 _nss_files_initgroups_dyn.
38100 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38102 * elf/elf.h (R_ARM_IRELATIVE): Define.
38104 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38106 * po/ru.po: Update from translation team.
38108 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38110 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38113 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38116 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38117 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38119 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38122 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38124 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38126 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38130 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38133 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38135 * stdlib/bug-getcontext.c: New file.
38136 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38138 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38140 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38141 instructions into .machine "z9-109".
38142 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38143 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38145 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38147 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38148 between environment variables and auxiliary vector.
38150 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38152 * Makefile: Add rules to build linkobj/libc.so.
38153 * include/libc-symbols.h: Define libc_hidden_nolink.
38154 * include/rpc/auth.h: Mark functions which are to be hidden.
38155 * include/rpc/auth_des.h: Likewise.
38156 * include/rpc/auth_unix.h: Likewise.
38157 * include/rpc/clnt.h: Likewise.
38158 * include/rpc/des_crypt.h: Likewise.
38159 * include/rpc/key_prot.h: Likewise.
38160 * include/rpc/pmap_clnt.h: Likewise.
38161 * include/rpc/pmap_prot.h: Likewise.
38162 * include/rpc/pmap_rmt.h: Likewise.
38163 * include/rpc/rpc_msg.h: Likewise.
38164 * include/rpc/svc.h: Likewise.
38165 * include/rpc/svc_auth.h: Likewise.
38166 * include/rpc/xdr.h: Likewise.
38167 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38168 * nss/Makefile: Likewise.
38169 * sunrpc/Makefile: Don't install headers. Build library with normal
38170 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38171 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38172 for the compat linking library. Remove use of INTDEF/INTUSE.
38173 * sunrpc/auth_none.c: Likewise.
38174 * sunrpc/auth_unix.c: Likewise.
38175 * sunrpc/authdes_prot.c: Likewise.
38176 * sunrpc/authuxprot.c: Likewise.
38177 * sunrpc/clnt_gen.c: Likewise.
38178 * sunrpc/clnt_perr.c: Likewise.
38179 * sunrpc/clnt_raw.c: Likewise.
38180 * sunrpc/clnt_simp.c: Likewise.
38181 * sunrpc/clnt_tcp.c: Likewise.
38182 * sunrpc/clnt_udp.c: Likewise.
38183 * sunrpc/clnt_unix.c: Likewise.
38184 * sunrpc/des_crypt.c: Likewise.
38185 * sunrpc/des_soft.c: Likewise.
38186 * sunrpc/get_myaddr.c: Likewise.
38187 * sunrpc/key_call.c: Likewise.
38188 * sunrpc/key_prot.c: Likewise.
38189 * sunrpc/netname.c: Likewise.
38190 * sunrpc/pm_getmaps.c: Likewise.
38191 * sunrpc/pm_getport.c: Likewise.
38192 * sunrpc/pmap_clnt.c: Likewise.
38193 * sunrpc/pmap_prot.c: Likewise.
38194 * sunrpc/pmap_prot2.c: Likewise.
38195 * sunrpc/pmap_rmt.c: Likewise.
38196 * sunrpc/publickey.c: Likewise.
38197 * sunrpc/rpc_cmsg.c: Likewise.
38198 * sunrpc/rpc_common.c: Likewise.
38199 * sunrpc/rpc_dtable.c: Likewise.
38200 * sunrpc/rpc_prot.c: Likewise.
38201 * sunrpc/rpc_thread.c: Likewise.
38202 * sunrpc/rtime.c: Likewise.
38203 * sunrpc/svc.c: Likewise.
38204 * sunrpc/svc_auth.c: Likewise.
38205 * sunrpc/svc_authux.c: Likewise.
38206 * sunrpc/svc_raw.c: Likewise.
38207 * sunrpc/svc_run.c: Likewise.
38208 * sunrpc/svc_simple.c: Likewise.
38209 * sunrpc/svc_tcp.c: Likewise.
38210 * sunrpc/svc_udp.c: Likewise.
38211 * sunrpc/svc_unix.c: Likewise.
38212 * sunrpc/svcauth_des.c: Likewise.
38213 * sunrpc/xcrypt.c: Likewise.
38214 * sunrpc/xdr.c: Likewise.
38215 * sunrpc/xdr_array.c: Likewise.
38216 * sunrpc/xdr_float.c: Likewise.
38217 * sunrpc/xdr_intXX_t.c: Likewise.
38218 * sunrpc/xdr_mem.c: Likewise.
38219 * sunrpc/xdr_rec.c: Likewise.
38220 * sunrpc/xdr_ref.c: Likewise.
38221 * sunrpc/xdr_sizeof.c: Likewise.
38222 * sunrpc/xdr_stdio.c: Likewise.
38224 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38227 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38228 * sysdeps/ia64/dl-tls.h: Likewise.
38229 * sysdeps/powerpc/dl-tls.h: Likewise.
38230 * sysdeps/s390/dl-tls.h: Likewise.
38231 * sysdeps/sh/dl-tls.h: Likewise.
38232 * sysdeps/sparc/dl-tls.h: Likewise.
38233 * sysdeps/x86_64/dl-tls.h: Likewise.
38234 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38236 2011-03-14 Andreas Schwab <schwab@redhat.com>
38238 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38239 rpath element also skip the following colon.
38240 (expand_dynamic_string_token): Add is_path parameter and pass
38241 down to DL_DST_REQUIRED and _dl_dst_substitute.
38242 (decompose_rpath): Call expand_dynamic_string_token with
38243 non-zero is_path. Ignore empty rpaths.
38244 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38247 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38252 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38255 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38256 Patch by Filipe David Manana <fdmanana@apache.org>.
38258 2011-04-07 Andreas Schwab <schwab@redhat.com>
38260 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38261 Maintain aligned stack.
38262 (CHECK_RSP): Remove unused macro.
38264 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38266 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38267 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38269 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38271 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38273 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38275 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38278 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38279 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38280 * sysdeps/x86_64/memmove.c: New file.
38281 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38282 (memcpy): Renamed to ...
38283 (__new_memcpy): This.
38284 (memcpy): Provide GLIBC_2_14 memcpy.
38285 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38286 (memcpy): Provide GLIBC_2_2_5 memcpy.
38288 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38291 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38293 2011-03-30 Andreas Schwab <schwab@redhat.com>
38295 * misc/syncfs.c: New file.
38296 * misc/Makefile (routines): Add syncfs.
38297 * posix/unistd.h: Declare syncfs.
38298 * sysdeps/unix/syscalls.list: Add syncfs.
38300 2011-04-01 Andreas Schwab <schwab@redhat.com>
38302 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38304 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38307 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38309 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38312 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38315 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38316 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38320 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38322 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38323 sync_file_range.c with -fexceptions.
38324 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38325 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38326 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38327 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38328 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38329 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38331 sync_file_range as cancellation point
38332 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38333 now a wrapper around __call_sync_file_range with cancellation handling.
38334 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38335 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38336 function name to __call_sync_file_range.
38337 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38338 Add call_sync_file_range.
38340 2011-04-01 Andreas Schwab <schwab@redhat.com>
38342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38345 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38347 * iconv/iconv.h: Fix typo in comment.
38348 * io/fcntl.h: Likewise.
38349 * libio/stdio.h: Likewise.
38350 * posix/spawn.h: Likewise.
38351 * posix/unistd.h: Likewise.
38352 * stdlib/stdlib.h: Likewise.
38353 * time/time.h: Likewise.
38354 * wcsmbs/wchar.h: Likewise.
38356 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38357 open_by_handle): Add.
38358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38359 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38360 Augment a few comments.
38361 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38363 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38366 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38369 * io/fcntl.h (AT_EMPTY_PATH): Define.
38371 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38373 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38374 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38375 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38377 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38378 * Versions.def: Add GLIBC_2.14.
38379 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38382 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38386 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38388 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38391 * string/test-strncmp.c (do_page_test): New function.
38392 (check2): Likewise.
38393 (test_main): Call check2.
38394 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38396 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38399 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38400 Handle cache information in CPU leaf 4.
38401 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38403 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38406 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38407 character representation.
38408 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38410 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38412 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38413 END(__isnan) to END(__isnanf) to match function entry point/label
38414 EALIGN(__isnanf,...).
38416 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38418 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38420 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38423 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38424 copy from the symbol referenced in the relocation to initialize the
38426 Patch by Piotr Bury <pbury@goahead.com>.
38427 * elf/Makefile: Add rules to build and tst-unique3.
38428 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38429 * elf/tst-unique3.cc: New file.
38430 * elf/tst-unique3.h: New file.
38431 * elf/tst-unique3lib.cc: New file.
38432 * elf/tst-unique3lib2.cc: New file.
38434 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38436 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38438 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38439 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38442 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38444 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38445 to-be-loaded object along a path to loader is ld.so.
38447 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38448 Ulrich Drepper <drepper@gmail.com>
38450 * sysdeps/x86_64/memset.S: After aligning destination, code
38451 branches to different locations depending on the value of
38452 misalignment, when multiarch is enabled. Fix this.
38454 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38456 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38457 Set _x86_64_preferred_memory_instruction for AMD processsors.
38458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38459 Set bit_Prefer_SSE_for_memop for AMD processors.
38461 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38463 * libio/fmemopen.c (fmemopen): Optimize a bit.
38465 2011-03-03 Andreas Schwab <schwab@redhat.com>
38467 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38469 2011-03-03 Roland McGrath <roland@redhat.com>
38471 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38473 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38475 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38476 __bzero_ultra1 instead of __memset_ultra1.
38478 2011-02-23 Andreas Schwab <schwab@redhat.com>
38479 Ulrich Drepper <drepper@gmail.com>
38482 * include/link.h (struct link_map): Add l_orig_initfini.
38483 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38484 returning unsuccessfully.
38485 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38486 close of a file loaded at startup, restore the original l_initfini
38488 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38489 list, store the pointer.
38490 * elf/Makefile ($(objpfx)noload-mem): New rule.
38491 (noload-ENV): Define.
38492 (tests): Add $(objpfx)noload-mem.
38493 * elf/noload.c: Include <memcheck.h>.
38494 (main): Call mtrace. Close all opened handles.
38496 2011-02-17 Andreas Schwab <schwab@redhat.com>
38499 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38500 dependencies are missing.
38502 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38504 Fix __if_freereq crash: Unlike the generic version which uses free,
38506 * sysdeps/mach/hurd/ifreq.h: New file.
38508 2011-01-27 Petr Baudis <pasky@suse.cz>
38509 Ulrich Drepper <drepper@gmail.com>
38512 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38513 to extend_alloca().
38514 * stdio-common/bug23.c: New file.
38515 * stdio-common/Makefile (tests): Add bug23.
38517 2010-09-28 Andreas Schwab <schwab@redhat.com>
38518 Ulrich Drepper <drepper@gmail.com>
38521 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38522 before performing relro protection. At old place add assertion
38523 to make sure nothing changed.
38525 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38526 Glauber de Oliveira Costa <glommer@gmail.com>
38528 * elf/elf.h: Add new ARM TLS relocs.
38530 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38533 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38535 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38537 * sysdeps/wordsize-64/tst-writev.c: New file.
38539 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38541 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38542 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38543 insns in _dl_start to prevent a TOC reference before relocs are
38546 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38549 * Makeconfig: Remove RANLIB definition.
38550 * Makerules: Don't use RANLIB.
38551 * aclocal.m4: Remove ranlib test.
38552 * configure.in: No need to check for ranlib.
38553 * elf/rtld-Rules: Don't use RANLIB.
38555 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38557 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38559 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38560 inclusion protection macro.
38562 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38563 SIGRTMIN and SIGRTMAX and print information in that case only when
38564 SIGRTMIN is defined.
38566 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38568 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38569 arginfo fn returning -1.
38571 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38572 and thousands string is zero terminated.
38574 2011-02-03 Andreas Schwab <schwab@redhat.com>
38576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38577 sysdeps/unix/sysv/linux/bits/socket.h.
38579 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38581 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38582 (__CPU_COUNT): Remove old macros.
38583 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38584 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38585 (__CPU_ALLOC, __CPU_FREE): Add macros.
38586 (__sched_cpualloc, __sched_cpufree): Add declarations.
38588 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38590 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38591 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38592 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38593 (readdhstai): Return value of addhstaiX call.
38594 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38595 (addgrbyX): Return value returned by cache_addgr.
38596 (readdgrbyname): Return value returned by addgrbyX.
38597 (readdgrbygid): Likewise.
38598 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38599 (addpwbyX): Return value returned by cache_addpw.
38600 (readdpwbyname): Return value returned by addhstbyX.
38601 (readdpwbyuid): Likewise.
38602 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38603 (addservbyX): Return value returned by cache_addserv.
38604 (readdservbyname): Return value returned by addservbyX:
38605 (readdservbyport): Likewise.
38606 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38607 (addhstbyX): Return value returned by cache_addhst.
38608 (readdhstbyname): Return value returned by addhstbyX.
38609 (readdhstbyaddr): Likewise.
38610 (readdhstbynamev6): Likewise.
38611 (readdhstbyaddrv6): Likewise.
38612 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38613 (readdinitgroups): Return value returned by addinitgroupsX.
38614 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38615 (prune_cache): Keep track of timeout value of re-added entries.
38616 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38617 * nscd/nscd.h: Adjust prototypes of readd* functions.
38619 2011-02-04 Roland McGrath <roland@redhat.com>
38621 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38622 (nis_stats): Likewise.
38623 * nis/nis_modify.c (nis_modify): Likewise.
38624 * nis/nis_remove.c (nis_remove): Likewise.
38625 * nis/nis_add.c (nis_add): Likewise.
38627 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38629 * posix/fnmatch_loop.c: Add some consts.
38631 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38633 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38636 * config.make.in (config-cflags-novzeroupper): Define.
38637 * configure.in: Substitute libc_cv_cc_novzeroupper.
38638 * elf/Makefile (AVX-CFLAGS): Define.
38639 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38640 (CFLAGS-tst-auditmod4a.c): Likewise.
38641 (CFLAGS-tst-auditmod4b.c): Likewise.
38642 (CFLAGS-tst-auditmod6b.c): Likewise.
38643 (CFLAGS-tst-auditmod6c.c): Likewise.
38644 (CFLAGS-tst-auditmod7b.c): Likewise.
38645 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38647 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38649 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38650 function to the callback.
38651 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38653 2011-02-02 Andreas Schwab <schwab@redhat.com>
38655 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38658 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38661 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38663 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38665 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38668 * elf/Makefile: Add rules to build and run new test.
38669 * elf/tst-initorder.c: New file.
38670 * elf/tst-initorder.exp: New file.
38671 * elf/tst-initordera1.c: New file.
38672 * elf/tst-initordera2.c: New file.
38673 * elf/tst-initordera3.c: New file.
38674 * elf/tst-initordera4.c: New file.
38675 * elf/tst-initorderb1.c: New file.
38676 * elf/tst-initorderb2.c: New file.
38677 * elf/tst-order-a1.c: New file.
38678 * elf/tst-order-a2.c: New file.
38679 * elf/tst-order-a3.c: New file.
38680 * elf/tst-order-a4.c: New file.
38681 * elf/tst-order-b1.c: New file.
38682 * elf/tst-order-b2.c: New file.
38683 * elf/tst-order-main.c: New file.
38684 New test case by George Gensure <werkt0@gmail.com>.
38686 2010-10-01 Andreas Schwab <schwab@redhat.com>
38688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38689 decoding ACE if AI_CANONIDN.
38691 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38693 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38695 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38697 * version.h (RELEASE): Bump for 2.13 release.
38698 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38700 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38702 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38704 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38707 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38709 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38711 * posix/getconf.c: Update copyright year.
38712 * catgets/gencat.c: Likewise.
38713 * csu/version.c: Likewise.
38714 * debug/catchsegv.sh: Likewise.
38715 * debug/xtrace.sh: Likewise.
38716 * elf/ldconfig.c: Likewise.
38717 * elf/ldd.bash.in: Likewise.
38718 * elf/sprof.c (print_version): Likewise.
38719 * iconv/iconv_prog.c: Likewise.
38720 * iconv/iconvconfig.c: Likewise.
38721 * locale/programs/locale.c: Likewise.
38722 * locale/programs/localedef.c: Likewise.
38723 * malloc/memusage.sh: Likewise.
38724 * malloc/mtrace.pl: Likewise.
38725 * nscd/nscd.c (print_version): Likewise.
38726 * nss/getent.c: Likewise.
38728 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38729 PF_CAIF, and PF_ALG.
38730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38732 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38734 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38735 (modules-names): Use them.
38736 (ifunc-test-modules, ifunc-pie-tests): Define.
38737 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38738 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38739 (test-extras): Likewise.
38740 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38741 $(compile-command.c).
38742 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38743 (all-built-dso): Define.
38744 (check-textrel.out, check-execstack.out): Depend on it.
38746 * configure.in: Don't override --enable-multi-arch.
38748 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38751 * nscd/hstcache.c (tryagain): Define.
38752 (cache_addhst): Return tryagain not notfound for temporary errors.
38753 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38756 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38759 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38760 to make the syscall.
38761 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38764 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38765 and fall back to matching as normal character if the string ends before
38766 the matching ']' is found. This is what POSIX requires.
38767 * posix/testfnm.c: Adjust test result.
38768 * posix/globtest.sh: Adjust test result. Add new test.
38769 * posix/tst-fnmatch.input: Likewise.
38770 * posix/tst-fnmatch2.c: Add new test.
38772 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38774 * elf/Makefile (check-execstack): Revert last change. Depend on
38776 (check-execstack.h): New target.
38777 (generated): Add check-execstack.h.
38778 * elf/check-execstack.c: Include "check-execstack.h".
38779 (main): Revert last change.
38780 (handle_file): Return zero if GNU_STACK is absent and
38781 DEFAULT_STACK_PERMS doesn't include PF_X.
38783 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38785 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38786 in child fails because the descriptor is already closed.
38787 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38788 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38789 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38792 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38796 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38797 temporary buffer used to handle multi lookups locally.
38798 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38800 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38802 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38805 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38807 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38808 alignment for SSE2.
38810 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38813 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38814 characters. When rounding increased number of integer digits recompute
38816 * stdio-common/tst-grouping.c: New file.
38817 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38819 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38821 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38822 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38824 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38826 * bits/select.h: Likewise.
38828 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38830 * po/ja.po: Update from translation team.
38832 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38835 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38836 implementation just like for lxstat, fxstatat, et al.
38838 2010-12-27 Jim Meyering <meyering@redhat.com>
38841 * posix/regexec.c (build_trtable): Return failure indication upon
38842 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38844 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38847 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38848 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38849 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38850 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38853 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38856 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38857 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38859 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38861 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38862 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38863 script has SORT_BY_INIT_PRIORITY.
38864 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38865 NO_CTORS_DTORS_SECTIONS is defined.
38866 * elf/soinit.c: Likewise.
38867 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38868 NO_CTORS_DTORS_SECTIONS is defined.
38869 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38870 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38871 * sysdeps/sh/init-first.c: Likewise.
38872 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38874 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38876 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38877 always use the slow path.
38879 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38881 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38882 similar rule which adds the sysdep directories to the header search in
38883 order to pick up the correct platform stackinfo.h.
38884 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38885 perform test if it is, otherwise return successfully without testing.
38886 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38887 DEFAULT_STACK_PERMS define in stackinfo.h.
38888 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38889 defined in stackinfo.h.
38890 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38891 DEFAULT_STACK_PERMS defined in stackinfo.h.
38892 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38893 * sysdeps/ia64/stackinfo.h: Likewise.
38894 * sysdeps/s390/stackinfo.h: Likewise.
38895 * sysdeps/sh/stackinfo.h: Likewise.
38896 * sysdeps/sparc/stackinfo.h: Likewise.
38897 * sysdeps/x86_64/stackinfo.h: Likewise.
38898 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38899 PF_X for powerpc64. Retain PF_X for powerpc32.
38901 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38903 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38905 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38906 GETDENTS_64BIT_ALIGNED.
38908 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38910 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38912 2010-12-10 Andreas Schwab <schwab@redhat.com>
38914 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38917 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38918 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38920 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38921 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38923 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38926 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38929 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38931 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38933 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38935 * po/it.po: Update from translation team.
38937 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38942 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38944 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38946 2010-11-24 Andreas Schwab <schwab@redhat.com>
38948 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38950 (gaih_getanswer_slice): Likewise.
38952 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38956 2010-05-31 Petr Baudis <pasky@suse.cz>
38959 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38960 silently even in the chroot mode.
38962 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38964 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38965 last patch a bit. Pretty printing
38967 2010-05-31 Petr Baudis <pasky@suse.cz>
38970 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38971 initialization of skip_initgroups_dyn.
38973 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38975 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38976 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38978 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38980 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38982 2010-11-11 Andreas Schwab <schwab@redhat.com>
38984 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38985 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38986 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38987 ($(objpfx)tst-fnmatch-mem): New rule.
38988 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38989 * posix/tst-fnmatch.c (main): Call mtrace.
38991 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38994 Support Intel processor model 6 and model 0x2c.
38996 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38998 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39001 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39004 * string/test-strncasecmp.c (check_result): New function.
39005 (do_one_test): Use it.
39006 (check1): New function.
39007 (test_main): Use it.
39008 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39009 Support strcasecmp and strncasecmp.
39011 2010-11-08 Ulrich Drepper <drepper@gmail.com>
39014 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39015 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39017 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39019 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39023 * sysdeps/x86_64/multiarch/bzero.S: New file.
39024 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39025 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39026 * sysdeps/x86_64/multiarch/memset.S: New file.
39027 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39029 Set bit_Prefer_SSE_for_memop for Intel processors.
39030 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39032 (index_Prefer_SSE_for_memop): Define.
39033 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39035 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
39037 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39038 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39040 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39043 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39044 (__x86_64_raw_data_cache_size_half): Likewise.
39045 (__x86_64_raw_shared_cache_size): Likewise.
39046 (__x86_64_raw_shared_cache_size_half): Likewise.
39048 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39049 (__x86_64_raw_data_cache_size_half): Likewise.
39050 (__x86_64_raw_shared_cache_size): Likewise.
39051 (__x86_64_raw_shared_cache_size_half): Likewise.
39052 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39053 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39054 and __x86_64_raw_shared_cache_size_half. Round
39055 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39056 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39057 to multiple of 256 bytes.
39059 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39062 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39063 of inacessible symlinks. Verify result of symlink before returning it.
39064 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39065 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39067 2010-10-28 Erich Ritz <erichritz@gmail.com>
39069 * math/math.h (isinf): Fix typo in comment.
39071 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39073 * po/da.po: Update from translation team.
39075 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39077 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39078 is added to the list.
39080 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39081 Ulrich Drepper <drepper@gmail.com>
39083 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39084 the global list here. Move code to...
39085 (_dl_add_to_namespace_list): ...here. New function.
39086 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39087 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39088 * elf/dl-load.c (lose): Don't remove the element from the list.
39089 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39090 (_dl_map_object): Likewise.
39092 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39095 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39096 into all bytes of SSE register.
39097 Patch by Richard Li <richardpku@gmail.com>.
39099 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39102 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39105 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39107 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39108 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39109 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39110 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39115 2010-10-22 Andreas Schwab <schwab@redhat.com>
39117 * include/dlfcn.h (__RTLD_SECURE): Define.
39118 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39119 mode & __RTLD_SECURE instead.
39120 (open_path): Rename preloaded parameter to secure.
39121 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39122 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39123 * elf/dl-deps.c (openaux): Likewise.
39124 * elf/rtld.c (struct map_args): Remove is_preloaded.
39125 (map_doit): Don't use it.
39126 (dl_main): Likewise.
39127 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39128 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39130 2010-09-09 Andreas Schwab <schwab@redhat.com>
39132 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39133 (sysd-rules-targets): Remove duplicates.
39134 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39135 rtld-%.$o dependency.
39137 2010-10-18 Andreas Schwab <schwab@redhat.com>
39139 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39140 _dl_map_object do it.
39142 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39144 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39145 fast fma builtins, define the macros in the C99 standard.
39146 (FP_FAST_FMAF): Likewise.
39147 (FP_FAST_FMAL): Likewise.
39148 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39150 * bits/mathdef.h: Update copyright year.
39151 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39153 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39155 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39156 builtins, define the macros in the C99 standard.
39157 (FP_FAST_FMAF): Likewise.
39158 (FP_FAST_FMAL): Likewise.
39159 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39161 (FP_FAST_FMAF): Likewise.
39163 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39166 * math/libm-test.inc (fma_test): Some new testcases.
39167 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39168 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39169 y and infinite z. Do multiplication by C already in long double.
39170 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39172 y and infinite z. Do bitwise or of inexact bit into u.d.
39173 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39174 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39175 * sysdeps/i386/fpu/s_fma.S: Removed.
39176 * sysdeps/i386/fpu/s_fmal.S: Removed.
39178 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39181 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39183 computation is not scheduled after fetestexcept. Fix value
39184 of minimum denormal long double.
39186 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39189 * math/libm-test.inc (fma_test): Add some more tests.
39190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39193 2010-10-15 Andreas Schwab <schwab@redhat.com>
39195 * scripts/data/localplt-s390-linux-gnu.data: New file.
39196 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39198 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39201 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39202 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39204 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39206 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39208 if one of x and y is very large and the other is subnormal.
39209 * sysdeps/s390/fpu/s_fmaf.c: New file.
39210 * sysdeps/s390/fpu/s_fma.c: New file.
39211 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39212 * sysdeps/powerpc/fpu/s_fma.S: New file.
39213 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39214 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39215 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39217 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39220 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39222 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39223 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39224 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39225 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39226 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39227 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39228 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39230 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39233 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39234 * posix/bug-regex31.input: Add test case.
39236 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39238 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39239 * posix/bug-regex31.input: New file.
39242 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39243 (parse_sub_exp): Fix last change, use postorder.
39245 * posix/bug-regex31.c: New file.
39246 * posix/Makefile: Add rules to build and run bug-regex31.
39248 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39251 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39254 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39255 to have entries in sys_siglist.
39258 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39261 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39264 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39265 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39266 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39267 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39268 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39269 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39270 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39271 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39272 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39273 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39274 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39275 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39276 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39277 * math/ftestexcept.c (fetestexcept): Likewise.
39278 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39279 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39280 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39281 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39282 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39283 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39284 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39286 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39289 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39292 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39294 * string/bug-strstr1.c: New file.
39295 * string/Makefile: Add rules to build and run bug-strstr1.
39297 2010-10-05 Eric Blake <eblake@redhat.com>
39300 * string/str-two-way.h (two_way_long_needle): Always clear memory
39301 when skipping input due to the shift table.
39303 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39306 * malloc/mcheck.c: Handle large requests.
39309 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39310 for strncmp and strncasecmp.
39311 * string/stratcliff.c: Add tests for strcmp and strncmp.
39312 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39314 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39316 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39319 2010-09-30 Andreas Jaeger <aj@suse.de>
39321 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39322 (CGROUP_SUPER_MAGIC): Define.
39323 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39324 Handle btrfs and cgroup file systems.
39325 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39328 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39330 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39331 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39333 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39336 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39337 trying to locate the ELF header.
39339 2010-09-27 Andreas Schwab <schwab@redhat.com>
39342 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39343 Mask out sign-bit copies when constructing f_fsid.
39345 2010-09-24 Petr Baudis <pasky@suse.cz>
39347 * debug/stack_chk_fail_local.c: Add missing licence exception.
39348 * debug/warning-nop.c: Likewise.
39350 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39352 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39353 implementing getdents64 using getdents syscall, set d_type if
39354 __ASSUME_GETDENTS32_D_TYPE.
39356 2010-09-16 Andreas Schwab <schwab@redhat.com>
39358 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39359 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39361 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39364 * posix/unistd.h: Undo change of feature selection for ftruncate from
39367 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39369 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39372 2010-09-20 Andreas Schwab <schwab@redhat.com>
39374 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39376 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39378 2010-09-14 Andreas Schwab <schwab@redhat.com>
39380 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39381 variables after CHECK_SP call.
39382 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39384 2010-09-13 Andreas Schwab <schwab@redhat.com>
39385 Ulrich Drepper <drepper@redhat.com>
39387 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39388 re-relocationg ld.so.
39389 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39390 _dl_init_paths call.
39391 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39394 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39396 * resolv/res_init.c (__res_vinit): Count the default server we added.
39398 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39399 Ulrich Drepper <drepper@redhat.com>
39402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39403 (____longjmp_chk): Use %ebx for saving value across system call.
39406 2010-09-06 Andreas Schwab <schwab@redhat.com>
39408 * manual/Makefile: Don't mix pattern rules with normal rules.
39410 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39412 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39414 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39415 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39416 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39417 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39421 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39424 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39425 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39427 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39429 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39430 * sysdeps/x86_64/addmul_1.S: Likewise.
39431 * sysdeps/x86_64/lshift.S: Likewise.
39432 * sysdeps/x86_64/mul_1.S: Likewise.
39433 * sysdeps/x86_64/rshift.S: Likewise.
39434 * sysdeps/x86_64/sub_n.S: Likewise.
39435 * sysdeps/x86_64/submul_1.S: Likewise.
39437 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39439 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39440 Define __sched_param instead of SCHED_* and sched_param when
39441 <bits/sched.h> is included with __need_schedparam defined.
39442 * bits/sched.h [__need_schedparam]
39443 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39444 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39445 (__defined_schedparam): Define to 1.
39446 (__sched_param): New structure, identical to sched_param.
39447 (__need_schedparam): Undefine.
39449 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39451 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39452 (epoll_create1): Declare.
39454 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39456 2010-08-31 Andreas Schwab <schwab@redhat.com>
39459 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39460 shifting retval into place.
39462 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39464 * nis/rpcsvc/nis.h: Update copyright notice.
39465 * nis/rpcsvc/nis.x: Likewise.
39466 * nis/rpcsvc/nis_callback.h: Likewise.
39467 * nis/rpcsvc/nis_callback.x: Likewise.
39468 * nis/rpcsvc/nis_object.x: Likewise.
39469 * nis/rpcsvc/nis_tags.h: Likewise.
39470 * nis/rpcsvc/yp.h: Likewise.
39471 * nis/rpcsvc/yp.x: Likewise.
39472 * nis/rpcsvc/ypupd.h: Likewise.
39473 * nis/yp_xdr.c: Likewise.
39474 * nis/ypupdate_xdr.c: Likewise.
39476 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39477 mainly the body of pmap_getport. Add parameters to specify timeouts.
39478 (pmap_getport): Use __libc_rpc_getport.
39479 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39480 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39481 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39483 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39488 2010-08-27 Roland McGrath <roland@redhat.com>
39490 * sysdeps/i386/i686/multiarch/Makefile
39491 (CFLAGS-varshift.c): New variable.
39493 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39495 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39496 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39498 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39500 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39502 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39504 * sysdeps/x86_64/strlen.S: Unroll the loop.
39505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39506 strlen-sse2 strlen-sse2-bsf.
39507 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39508 __strlen_no_bsf if bit_Slow_BSF is set.
39509 (__strlen_sse42): Removed.
39510 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39511 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39513 2010-08-25 Roland McGrath <roland@redhat.com>
39515 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39516 * sysdeps/x86_64/multiarch/varshift.c: New file.
39517 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39518 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39519 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39520 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39522 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39525 strlen-sse2 strlen-sse2-bsf.
39526 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39527 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39528 (__strlen_sse2): Removed.
39529 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39532 bit_Slow_BSF for Atom.
39533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39534 (index_Slow_BSF): Define.
39535 (HAS_SLOW_BSF): Define.
39537 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39540 * resolv/res_init.c (__res_vinit): When no server address at all
39541 is given default to loopback.
39543 2010-08-24 Roland McGrath <roland@redhat.com>
39545 * configure.in: Remove config-name.h generation.
39546 * configure: Regenerated.
39547 * config-name.in: File removed.
39548 * scripts/config-uname.sh: New file.
39549 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39550 ($(objdir)config-name.h): New target.
39552 * sunrpc/rpc_parse.h: Avoid nested comment.
39554 2010-08-24 Richard Henderson <rth@redhat.com>
39555 Ulrich Drepper <drepper@redhat.com>
39556 H.J. Lu <hongjiu.lu@intel.com>
39558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39560 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39561 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39562 _mm_alignr_epi8 with _mm_loadu_si128.
39563 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39564 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39565 (__m128i_shift_right): Removed.
39566 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39567 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39568 * sysdeps/x86_64/multiarch/varshift.h: New file.
39569 * sysdeps/x86_64/multiarch/varshift.S: New file.
39571 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39573 * configure.in: Move assembler checks to before sysdep dir checking.
39575 2010-08-20 Petr Baudis <pasky@suse.cz>
39577 * LICENSES: Sync the sunrpc license.
39579 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39581 * sunrpc/auth_des.c: Update copyright notice once again.
39582 * sunrpc/auth_none.c: Likewise.
39583 * sunrpc/auth_unix.c: Likewise.
39584 * sunrpc/authdes_prot.c: Likewise.
39585 * sunrpc/authuxprot.c: Likewise.
39586 * sunrpc/bindrsvprt.c: Likewise.
39587 * sunrpc/clnt_gen.c: Likewise.
39588 * sunrpc/clnt_perr.c: Likewise.
39589 * sunrpc/clnt_raw.c: Likewise.
39590 * sunrpc/clnt_simp.c: Likewise.
39591 * sunrpc/clnt_tcp.c: Likewise.
39592 * sunrpc/clnt_udp.c: Likewise.
39593 * sunrpc/clnt_unix.c: Likewise.
39594 * sunrpc/des_crypt.c: Likewise.
39595 * sunrpc/des_soft.c: Likewise.
39596 * sunrpc/get_myaddr.c: Likewise.
39597 * sunrpc/getrpcport.c: Likewise.
39598 * sunrpc/key_call.c: Likewise.
39599 * sunrpc/key_prot.c: Likewise.
39600 * sunrpc/openchild.c: Likewise.
39601 * sunrpc/pm_getmaps.c: Likewise.
39602 * sunrpc/pm_getport.c: Likewise.
39603 * sunrpc/pmap_clnt.c: Likewise.
39604 * sunrpc/pmap_prot.c: Likewise.
39605 * sunrpc/pmap_prot2.c: Likewise.
39606 * sunrpc/pmap_rmt.c: Likewise.
39607 * sunrpc/rpc/auth.h: Likewise.
39608 * sunrpc/rpc/auth_unix.h: Likewise.
39609 * sunrpc/rpc/clnt.h: Likewise.
39610 * sunrpc/rpc/des_crypt.h: Likewise.
39611 * sunrpc/rpc/key_prot.h: Likewise.
39612 * sunrpc/rpc/netdb.h: Likewise.
39613 * sunrpc/rpc/pmap_clnt.h: Likewise.
39614 * sunrpc/rpc/pmap_prot.h: Likewise.
39615 * sunrpc/rpc/pmap_rmt.h: Likewise.
39616 * sunrpc/rpc/rpc.h: Likewise.
39617 * sunrpc/rpc/rpc_des.h: Likewise.
39618 * sunrpc/rpc/rpc_msg.h: Likewise.
39619 * sunrpc/rpc/svc.h: Likewise.
39620 * sunrpc/rpc/svc_auth.h: Likewise.
39621 * sunrpc/rpc/types.h: Likewise.
39622 * sunrpc/rpc/xdr.h: Likewise.
39623 * sunrpc/rpc_clntout.c: Likewise.
39624 * sunrpc/rpc_cmsg.c: Likewise.
39625 * sunrpc/rpc_common.c: Likewise.
39626 * sunrpc/rpc_cout.c: Likewise.
39627 * sunrpc/rpc_dtable.c: Likewise.
39628 * sunrpc/rpc_hout.c: Likewise.
39629 * sunrpc/rpc_main.c: Likewise.
39630 * sunrpc/rpc_parse.c: Likewise.
39631 * sunrpc/rpc_parse.h: Likewise.
39632 * sunrpc/rpc_prot.c: Likewise.
39633 * sunrpc/rpc_sample.c: Likewise.
39634 * sunrpc/rpc_scan.c: Likewise.
39635 * sunrpc/rpc_scan.h: Likewise.
39636 * sunrpc/rpc_svcout.c: Likewise.
39637 * sunrpc/rpc_tblout.c: Likewise.
39638 * sunrpc/rpc_util.c: Likewise.
39639 * sunrpc/rpc_util.h: Likewise.
39640 * sunrpc/rpcinfo.c: Likewise.
39641 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39642 * sunrpc/rpcsvc/key_prot.x: Likewise.
39643 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39644 * sunrpc/rpcsvc/mount.x: Likewise.
39645 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39646 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39647 * sunrpc/rpcsvc/rex.x: Likewise.
39648 * sunrpc/rpcsvc/rstat.x: Likewise.
39649 * sunrpc/rpcsvc/rusers.x: Likewise.
39650 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39651 * sunrpc/rpcsvc/spray.x: Likewise.
39652 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39653 * sunrpc/rtime.c: Likewise.
39654 * sunrpc/svc.c: Likewise.
39655 * sunrpc/svc_auth.c: Likewise.
39656 * sunrpc/svc_authux.c: Likewise.
39657 * sunrpc/svc_raw.c: Likewise.
39658 * sunrpc/svc_run.c: Likewise.
39659 * sunrpc/svc_simple.c: Likewise.
39660 * sunrpc/svc_tcp.c: Likewise.
39661 * sunrpc/svc_udp.c: Likewise.
39662 * sunrpc/svc_unix.c: Likewise.
39663 * sunrpc/svcauth_des.c: Likewise.
39664 * sunrpc/xcrypt.c: Likewise.
39665 * sunrpc/xdr.c: Likewise.
39666 * sunrpc/xdr_array.c: Likewise.
39667 * sunrpc/xdr_float.c: Likewise.
39668 * sunrpc/xdr_mem.c: Likewise.
39669 * sunrpc/xdr_rec.c: Likewise.
39670 * sunrpc/xdr_ref.c: Likewise.
39671 * sunrpc/xdr_sizeof.c: Likewise.
39672 * sunrpc/xdr_stdio.c: Likewise.
39674 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39677 2010-08-19 Andreas Schwab <schwab@redhat.com>
39679 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39681 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39683 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39684 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39685 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39686 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39687 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39688 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39689 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39690 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39692 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39693 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39694 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39695 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39696 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39698 2010-07-26 Anton Blanchard <anton@samba.org>
39700 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39701 * malloc/arena.c (heap_trim): Likewise.
39703 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39705 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39708 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39710 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39712 * sysdeps/i386/elf/Makefile: New file.
39714 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39716 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39717 from fanotify_init.
39718 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39719 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39721 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39723 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39725 * sysdeps/multiarch/strcmp.S: Likewise.
39727 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39729 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39730 strncase_l-nonascii.
39731 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39732 Add strncase_l-ssse3.
39733 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39734 * sysdeps/x86_64/strcmp.S: Likewise.
39735 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39736 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39737 * sysdeps/x86_64/strncase.S: New file.
39738 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39739 * sysdeps/x86_64/strncase_l.S: New file.
39740 * string/Makefile (strop-tests): Add strncasecmp.
39741 * string/test-strncasecmp.c: New file.
39743 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39746 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39747 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39749 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39751 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39753 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39755 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39756 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39757 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39759 2010-05-01 Alan Modra <amodra@gmail.com>
39761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39762 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39763 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39764 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39765 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39766 tidying. Don't tail-call __sigjmp_save for static lib.
39767 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39769 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39770 (CALL_MCOUNT): Add eh info, and nop after bl.
39771 (TAIL_CALL_SYSCALL_ERROR): New macro.
39772 (PSEUDO_RET): Use it.
39773 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39774 Correct save location of integer regs and cr.
39775 (_dl_profile_resolve): Correct cr save location. Delete nops
39776 after bl when SHARED. Reduce cfi size a little by better
39777 placement of cfi directives.
39778 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39779 make a stack frame. Instead use parm save area as a temp.
39780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39781 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39783 Don't make a stack frame for parent, use parm save area.
39784 Increase child stack frame to 112 bytes. Don't save unused reg,
39785 and adjust reg usage. Set up cfi on error recovery and
39786 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39788 (__makecontext): Add dummy nop after jump to exit.
39789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39790 Use correct parm save area and cr save, reduce stack frame.
39791 Correct cfi for possible PSEUDO_RET frame setup.
39792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39793 Branch to local label emitted by PSEUDO_RET rather than
39796 2010-08-12 Andreas Schwab <schwab@redhat.com>
39799 * locale/programs/locale.c (print_assignment): New function.
39800 (show_locale_vars): Use it.
39802 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39804 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39806 (struct statfs64): Likewise.
39807 (_STATFS_F_FLAGS): Define.
39808 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39809 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39810 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39811 (ST_VALID): Define locally.
39812 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39813 __statvfs_getflags, use the provided value.
39814 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39815 __ASSUME_STATFS_F_FLAGS.
39817 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39819 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39820 Add sys/fanotify.h.
39821 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39822 fanotify_mask for GLIBC_2.13.
39823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39824 fanotify_init and fanotify_mark.
39825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39826 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39828 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39830 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39831 prlimit64 for GLIBC_2.13.
39832 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39837 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39838 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39839 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39842 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39845 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39846 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39848 * nss/Makefile: Add rules to build and run tst-nss-test1.
39849 * shlib-versions: Add entry for libnss_test1.
39850 * nss/nss_test1.c: New file.
39851 * nss/tst-nss-test1.c: New file.
39853 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39854 (__nss_configure_lookup): Set appropriate entry in
39855 __nss_configure_lookup to true.
39856 * nss/nsswitch.h: Define enum with indeces of databases in
39857 databases and __nss_database_custom arrays. Declare
39858 __nss_database_custom.
39859 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39860 to avoid using nscd when custom rules are installed.
39861 * nss/getXXbyYY_r.c: Likewise.
39862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39864 * nss/nss_files/files-parse.c: Whitespace fixes.
39866 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39869 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39870 * posix/fnmatch_loop.c: Likewise.
39872 2010-07-17 Andi Kleen <ak@linux.intel.com>
39874 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39875 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39876 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39877 * Versions.def [GLIBC_2.13]: Add.
39879 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39881 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39882 Also fail if tpwd after pwuid call is NULL.
39884 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39886 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39887 when converting to ms.
39889 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39891 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39892 EOPNOTSUPP errors with ENOTTY.
39893 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39894 EOPNOTSUPP errors with ENOTTY.
39896 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39898 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39899 Add strcasecmp_l-ssse3.
39900 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39902 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39903 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39904 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39906 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39908 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39910 * string/Makefile (strop-tests): Add strcasecmp.
39911 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39912 strcasecmp_l-nonascii.
39913 (gen-as-const-headers): Add locale-defines.sym.
39914 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39915 * sysdeps/x86_64/strcasecmp.S: New file.
39916 * sysdeps/x86_64/strcasecmp_l.S: New file.
39917 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39918 * sysdeps/x86_64/locale-defines.sym: New file.
39919 * string/test-strcasecmp.c: New file.
39921 * string/test-strcasestr.c: Test both ends of the range of characters.
39922 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39924 2010-07-29 Roland McGrath <roland@redhat.com>
39927 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39929 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39931 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39934 2010-07-27 Andreas Schwab <schwab@redhat.com>
39936 * manual/memory.texi (Malloc Tunable Parameters): Document
39939 2010-07-26 Roland McGrath <roland@redhat.com>
39942 * configure.in (-fgnu89-inline check): Set and substitute
39943 gnu89_inline, not libc_cv_gnu89_inline.
39944 * configure: Regenerated.
39945 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39947 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39949 * string/test-strnlen.c: New file.
39950 * string/Makefile (strop-tests): Add strnlen.
39951 * string/tester.c (test_strnlen): Add a few more test cases.
39952 * string/tst-strlen.c: Better error reporting.
39954 * sysdeps/x86_64/strnlen.S: New file.
39956 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39958 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39959 lower-latency instructions.
39961 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39963 * string/test-strcasestr.c: New file.
39964 * string/test-strstr.c: New file.
39965 * string/Makefile (strop-tests): Add strstr and strcasestr.
39966 * string/str-two-way.h: Don't undefine MAX.
39967 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39969 2010-07-21 Andreas Schwab <schwab@redhat.com>
39971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39972 strcasestr-nonascii.
39973 (CFLAGS-strcasestr-nonascii.c): Define.
39974 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39975 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39976 Remove unused attribute.
39978 2010-07-20 Roland McGrath <roland@redhat.com>
39980 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39981 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39982 ld.so.cache was broken. With it, there is no way to disable dsocaps
39983 like LD_HWCAP_MASK can disable hwcaps.
39985 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39987 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39989 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39991 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39992 call in strcasestr.
39993 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39994 __strcasestr_sse42_nonascii.
39995 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39996 strcasestr-nonascii.c.
39997 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39999 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
40001 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40002 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40004 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40006 2010-07-09 Ulrich Drepper <drepper@redhat.com>
40008 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40011 2010-07-06 Andreas Schwab <schwab@redhat.com>
40014 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40017 2010-07-06 Ulrich Drepper <drepper@redhat.com>
40019 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40020 _PC_PIPE_BUF using F_GETPIPE_SZ.
40022 2010-07-05 Roland McGrath <roland@redhat.com>
40024 * manual/arith.texi (Rounding Functions): Fix rint description
40025 implicit in round description.
40027 2010-07-02 Ulrich Drepper <drepper@redhat.com>
40029 * elf/Makefile: Fix linking for a few tests to make recent linker
40032 2010-06-30 Andreas Schwab <schwab@redhat.com>
40034 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40035 $(common-objpfx)libc_nonshared.a.
40037 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
40039 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40040 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40041 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40042 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40043 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40044 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40045 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40046 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40061 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40062 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40063 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40064 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40065 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40066 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40067 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40068 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40069 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40070 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40071 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40072 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40088 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40090 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40091 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40092 * string/memmove.c (memmove): Renamed to ...
40093 (MEMMOVE): ...this. Default to memmove.
40094 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40095 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40098 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40099 mempcpy-ssse3-back memmove-ssse3-back.
40100 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40103 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40104 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40105 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40106 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40107 * sysdeps/x86_64/multiarch/memmove.c: New file.
40108 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40109 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40110 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40111 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40112 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40113 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40115 (index_Fast_Copy_Backward): Define.
40116 (HAS_ARCH_FEATURE): Define.
40117 (HAS_FAST_REP_STRING): Define.
40118 (HAS_FAST_COPY_BACKWARD): Define.
40120 2010-06-21 Andreas Schwab <schwab@redhat.com>
40122 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40123 Restore proper fallback handling.
40125 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40128 * posix/group_member.c (__group_member): Correct checking loop.
40130 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40131 OOM in getpwuid_r correctly. Return error number when the caller
40132 should return, otherwise -1.
40133 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40134 call returning > 0 value.
40135 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40137 2010-06-07 Andreas Schwab <schwab@redhat.com>
40139 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40140 libc_nonshared.a from targets in modules-names.
40142 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40144 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40147 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40149 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40150 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40151 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40154 2010-06-02 Andreas Schwab <schwab@redhat.com>
40156 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40158 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40160 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40166 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40167 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40169 2010-06-14 Roland McGrath <roland@redhat.com>
40171 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40173 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40175 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40176 __REDIRECT followed by __THROW.
40177 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40178 * posix/getopt.h (getopt): Likewise.
40180 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40182 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40183 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40184 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40186 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40187 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40189 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40191 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40193 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40197 Properly check family and model.
40199 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40201 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40203 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40205 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40207 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40209 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40212 2010-05-19 Andreas Schwab <schwab@redhat.com>
40214 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40217 2010-05-21 Andreas Schwab <schwab@redhat.com>
40219 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40220 and internal_recvmmsg.
40221 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40222 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40223 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40224 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40226 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40227 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40228 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40230 2010-05-20 Andreas Schwab <schwab@redhat.com>
40232 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40234 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40236 POWER7 optimizations.
40237 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40238 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40240 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40242 * version.h: Update for 2.13 development version.
40244 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40246 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40247 exceptions. Return 0.
40249 2010-05-07 Roland McGrath <roland@redhat.com>
40251 * elf/ldconfig.c (main): Add a const.
40253 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40255 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40256 (args_options): Add no-idn option.
40257 (ahosts_keys_int): Add idn_flags to ai_flags.
40258 (parse_option): Handle 'i' option to clear idn_flags.
40260 * malloc/malloc.c (_int_free): Possible race in the most recently
40261 added check. Only act on the data if no current modification
40264 See ChangeLog.17 for earlier changes.