1 2014-02-26 Steve Ellcey <sellcey@mips.com>
3 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5 (libc_feholdexcept_setround_mips): Ditto.
6 (libc_feholdsetround): New.
7 (libc_feholdsetroundf): New.
8 (libc_feholdsetroundl): New.
9 (libc_feupdateenv_test_mips): New.
10 (libc_feupdateenv_test): New.
11 (libc_feupdateenv_testf): New.
12 (libc_feupdateenv_testl): New.
13 (libc_feresetround): New.
14 (libc_feresetroundf): New.
15 (libc_feresetroundl): New.
16 (libc_fetestexcept_mips): New.
17 (libc_fetestexcept): New.
18 (libc_fetestexceptf): New.
19 (libc_fetestexceptl): New.
21 (libc_feholdexcept_setround_mips_ctx): New.
22 (libc_feholdexcept_setround_ctx): New.
23 (libc_feholdexcept_setroundf_ctx): New.
24 (libc_feholdexcept_setroundl_ctx): New.
25 (libc_fesetenv_mips_ctx): New.
26 (libc_fesetenv_ctx): New.
27 (libc_fesetenv_ctxf): New.
28 (libc_fesetenv_ctxl): New.
29 (libc_feupdateenv_mips_ctx): New.
30 (libc_feupdateenv_ctx): New.
31 (libc_feupdateenvf_ctx): New.
32 (libc_feupdateenvl_ctx): New.
33 (libc_feholdsetround_mips_ctx): New.
34 (libc_feholdsetround_ctx): New.
35 (libc_feholdsetroundf_ctx): New.
36 (libc_feholdsetroundl_ctx): New.
37 (libc_feresetround_mips_ctx): New.
38 (libc_feresetround_ctx): New.
39 (libc_feresetroundf_ctx): New.
40 (libc_feresetroundl_ctx): New.
42 2014-02-26 Carlos O'Donell <carlos@redhat.com>
44 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
46 * manual/ipc.texi: New file.
47 * manual/Makefile (chapters): Add ipc.
48 * manual/job.texi: Add "Inter-Process Communication" to next.
49 * manual/process.texi: Add "Inter-Process Communication" to prev.
51 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
57 * malloc/malloc.c (__libc_calloc): Simplify implementation.
59 2014-02-25 Carlos O'Donell <carlos@redhat.com>
62 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
63 _DEFAULT_SOURCE is defined.
65 2014-02-25 Ulrich Drepper <drepper@gmail.com>
66 Carlos O'Donell <carlos@redhat.com>
69 * elf/dl-tls.c (_dl_count_modids): New function.
70 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
71 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
72 audit library and increment generation counter.
73 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
74 * elf/tst-audit9.c: New file.
75 * elf/tst-auditmod9a.c: New file.
76 * elf/tst-auditmod9b.c: New file.
77 * elf/Makefile: Add rules to build and run tst-audit9.
79 2014-02-25 Florian Weimer <fweimer@redhat.com>
82 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
84 2014-02-25 Will Newton <will.newton@linaro.org>
86 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
87 (__longjmp): Restore sp and lr before restoring callee
88 saved registers. Add longjmp and longjmp_target
89 SystemTap probe point.
90 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
91 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
92 Define to zero to match jmpbuf layout.
93 * sysdeps/arm/setjmp.S: Include stap-probe.h.
94 (__sigsetjmp): Save sp and lr before saving callee
95 saved registers. Add setjmp SystemTap probe point.
97 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
99 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
101 2014-02-24 Andreas Schwab <schwab@suse.de>
104 * elf/pldd.c (wait_for_ptrace_stop): New function.
105 (main): Call it after attaching.
107 2014-02-22 Roland McGrath <roland@hack.frob.com>
109 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
110 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
111 Versions files is now verboten.
112 * hurd/Versions (libc: GLIBC_2.0):
113 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
114 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
115 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
116 * mach/Versions: Likewise.
118 * csu/Versions: Remove unused %include.
119 * resolv/Versions: Likewise.
121 2014-02-21 Joseph Myers <joseph@codesourcery.com>
123 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
124 ($(objpfx)check-local-headers.out): Likewise.
125 ($(objpfx)begin-end-check.out): Likewise.
126 * Makerules (check-abi-%.out): Likewise.
127 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
128 ($(objpfx)test2.cat): Likewise.
129 ($(objpfx)de/libc.cat): Likewise.
130 ($(objpfx)test-gencat.out): Likewise.
131 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
132 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
133 ($(objpfx)noload-mem): Likewise.
134 ($(objpfx)tst-pathopt.out): Likewise.
135 ($(objpfx)tst-rtld-load-self.out): Likewise.
136 ($(objpfx)tst-array1-cmp.out): Likewise.
137 ($(objpfx)tst-array1-static-cmp.out): Likewise.
138 ($(objpfx)tst-array2-cmp.out): Likewise.
139 ($(objpfx)tst-array3-cmp.out): Likewise.
140 ($(objpfx)tst-array4-cmp.out): Likewise.
141 ($(objpfx)tst-array5-cmp.out): Likewise.
142 ($(objpfx)tst-array5-static-cmp.out): Likewise.
143 ($(objpfx)check-textrel.out): Likewise.
144 ($(objpfx)check-execstack.out): Likewise.
145 ($(objpfx)check-localplt.out): Likewise.
146 ($(objpfx)order2-cmp.out): Likewise.
147 ($(objpfx)tst-leaks1-mem): Likewise.
148 ($(objpfx)tst-leaks1-static-mem): Likewise.
149 ($(objpfx)tst-initorder-cmp.out): Likewise.
150 ($(objpfx)tst-initorder2-cmp.out): Likewise.
151 ($(objpfx)tst-unused-dep.out): Likewise.
152 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
153 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
154 * iconv/Makefile (test-iconvconfig): Likewise.
155 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
156 ($(objpfx)iconv-test.out): Likewise.
157 ($(objpfx)tst-tables.out): Likewise.
158 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
159 ($(objpfx)tst-gettext.out): Likewise.
160 ($(objpfx)tst-translit.out): Likewise.
161 ($(objpfx)tst-gettext2.out): Likewise.
162 ($(objpfx)tst-gettext4.out): Likewise.
163 ($(objpfx)tst-gettext6.out): Likewise.
164 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
165 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
166 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
167 ($(objpfx)tst-fopenloc-mem.out): Likewise.
168 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
169 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
170 * posix/Makefile ($(objpfx)globtest.out): Likewise.
171 ($(objpfx)wordexp-tst.out): Likewise.
172 ($(objpfx)annexc.out): Likewise.
173 ($(objpfx)tst-fnmatch-mem): Likewise.
174 ($(objpfx)bug-regex2-mem): Likewise.
175 ($(objpfx)bug-regex14-mem): Likewise.
176 ($(objpfx)bug-regex21-mem): Likewise.
177 ($(objpfx)bug-regex31-mem): Likewise.
178 ($(objpfx)tst-vfork3-mem): Likewise.
179 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
180 ($(objpfx)tst-pcre-mem): Likewise.
181 ($(objpfx)tst-boost-mem): Likewise.
182 ($(objpfx)tst-getconf.out): Likewise.
183 ($(objpfx)bug-ga2-mem): Likewise.
184 ($(objpfx)bug-glob2-mem): Likewise.
185 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
186 ($(objpfx)mtrace-tst-leaks2): Likewise.
187 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
188 ($(objpfx)tst-printf.out): Likewise.
189 ($(objpfx)tst-setvbuf1.out): Likewise.
190 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
191 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
192 ($(objpfx)tst-fmtmsg.out): Likewise.
193 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
194 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
196 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
197 * bits/sigaction.h [__USE_MISC]: Likewise.
198 * bits/waitstatus.h: Update #endif comments.
199 * ctype/ctype.h: Likewise.
200 * dirent/dirent.h: Likewise.
201 [__USE_MISC]: Remove redundant conditionals.
202 * grp/grp.h: Update #endif comments.
203 [__USE_GNU]: Remove redundant conditionals.
204 [__USE_MISC]: Likewise.
205 * inet/netinet/in.h [__USE_GNU]: Likewise.
206 * io/sys/stat.h [__USE_MISC]: Likewise.
207 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
208 * libio/bits/stdio.h: Update #endif comments.
209 [__USE_MISC]: Remove redundant conditionals.
210 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
211 * libio/stdio.h: Update #endif comments.
212 [__USE_MISC]: Remove redundant conditionals.
213 * math/bits/math-finite.h [__USE_MISC]: Likewise.
214 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
215 * math/math.h: Update #else and #endif comments.
216 [__USE_MISC]: Remove redundant conditionals.
217 * misc/sys/uio.h: Update #endif comments.
218 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
219 * posix/glob.h [__USE_MISC]: Likewise.
220 * posix/sys/types.h: Update #endif comments.
221 [__USE_MISC]: Remove redundant conditionals.
222 * posix/sys/wait.h: Update #endif comments.
223 [__USE_MISC]: Remove redundant conditionals.
224 * posix/unistd.h: Update #endif comments.
225 [__USE_MISC]: Remove redundant conditionals.
226 * pwd/pwd.h [__USE_GNU]: Likewise.
227 [__USE_MISC]: Likewise.
228 * resolv/netdb.h [__USE_GNU]: Likewise.
229 * signal/signal.h: Update #endif comments.
230 [__USE_MISC]: Remove redundant conditionals.
231 * stdlib/stdlib.h: Update #else and #endif comments.
232 [__USE_MISC]: Remove redundant conditionals.
233 [__USE_GNU]: Likewise.
234 * string/bits/string2.h [__USE_MISC]: Likewise.
235 * string/string.h: Update #endif comments.
236 [__USE_MISC]: Remove redundant conditionals.
237 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
239 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
240 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
241 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
243 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
245 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
247 [__USE_MISC]: Remove redundant conditionals.
248 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
249 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
250 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
251 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
252 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
254 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
255 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
257 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
258 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
260 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
262 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
263 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
265 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
267 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
268 * sysdeps/x86/bits/string.h: Update #endif comments.
269 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
271 * time/sys/time.h: Update #endif comments.
272 * time/time.h: Likewise.
273 [__USE_MISC]: Remove redundant conditionals.
275 2014-02-21 Yury Gribov <y.gribov@samsung.com>
278 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
280 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
282 * Versions.def (librt): Add GLIBC_2.17.
284 2014-02-21 Adam Conrad <adconrad@0c3.net>
286 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
287 synonym for _SYS_AUXV_H to allow direct inclusion.
288 * sysdeps/sparc/bits/hwcap.h: Likewise.
289 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
290 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
291 * sysdeps/sparc/sysdep.h: Likewise.
293 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
295 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
297 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
299 * benchtests/bench-strrchr.c: Print length instead of position.
301 2014-02-20 Joseph Myers <joseph@codesourcery.com>
304 * sysdeps/unix/sysv/linux/kernel-features.h
305 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
306 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
307 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
308 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
310 [__i386__ || __powerpc__ || __sh__ || __sparc__]
311 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
312 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
313 (__ASSUME_SENDMMSG): Define instead of using previous
314 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
315 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
316 (__ASSUME_SENDMMSG_SYSCALL): Define.
317 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
318 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
320 * sysdeps/unix/sysv/linux/arm/kernel-features.h
321 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
323 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
324 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
326 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
327 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
328 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
329 [__ASSUME_SENDMMSG]: Change conditionals to
330 [__ASSUME_SENDMMSG_SOCKETCALL].
331 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
332 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
334 * sysdeps/unix/sysv/linux/mips/kernel-features.h
335 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
337 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
338 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
339 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
340 [!__ASSUME_SENDMMSG]: Change conditional to
341 [!__ASSUME_SENDMMSG_SOCKETCALL].
342 * sysdeps/unix/sysv/linux/tile/kernel-features.h
343 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
347 * sysdeps/unix/sysv/linux/kernel-features.h
348 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
349 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
350 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
351 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
352 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
353 [__i386__ || __sparc__]
354 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
355 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
356 (__ASSUME_RECVMMSG): Define instead of using previous
357 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
358 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
359 (__ASSUME_RECVMMSG_SYSCALL): Define.
360 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
361 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
363 * sysdeps/unix/sysv/linux/arm/kernel-features.h
364 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
366 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
367 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
369 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
370 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
371 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
372 [__ASSUME_RECVMMSG]: Change condition to
373 [__ASSUME_RECVMMSG_SOCKETCALL].
374 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
375 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
377 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
378 * sysdeps/unix/sysv/linux/mips/kernel-features.h
379 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
381 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
382 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
383 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
384 [!__ASSUME_RECVMMSG]: Change condition to
385 [!__ASSUME_RECVMMSG_SOCKETCALL].
386 * sysdeps/unix/sysv/linux/tile/kernel-features.h
387 (__ASSUME_RECVMMSG_SYSCALL): Define.
390 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
391 __powerpc__ || __s390__ || __sh__ || __sparc__]
392 (__ASSUME_SOCKETCALL): Define.
393 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
394 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
395 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
396 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
397 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
398 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
399 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
400 (__ASSUME_ACCEPT4): Define instead of using previous
401 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
402 __powerpc__ || __sparc__ || __s390__)] condition.
403 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
404 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
405 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
406 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
407 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
408 [!__ASSUME_ACCEPT4]: Change condition to
409 [!__ASSUME_ACCEPT4_SOCKETCALL].
410 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
411 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
412 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
413 * sysdeps/unix/sysv/linux/arm/kernel-features.h
414 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
415 __ASSUME_ACCEPT4_SYSCALL.
416 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
417 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
418 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
419 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
420 __ASSUME_ACCEPT4_SYSCALL.
421 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
422 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
423 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
424 [__ASSUME_ACCEPT4]: Change condition to
425 [__ASSUME_ACCEPT4_SOCKETCALL].
426 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
427 (__ASSUME_SOCKETCALL): Define.
428 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
429 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
430 (__ASSUME_SOCKETCALL): Define.
431 (__ASSUME_ACCEPT4): Remove.
432 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
434 * sysdeps/unix/sysv/linux/mips/kernel-features.h
435 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
437 * sysdeps/unix/sysv/linux/tile/kernel-features.h
438 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
440 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
442 (HWCAP_ARM_LPAE): Likewise.
443 (HWCAP_ARM_EVTSTRM): Likewise.
444 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
445 Add vpfd32, lpae and evtstrm.
446 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
449 2014-02-19 Joseph Myers <joseph@codesourcery.com>
451 * math/auto-libm-test-in: Add tests of clog10.
452 * math/auto-libm-test-out: Regenerated.
453 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
454 * sysdeps/i386/fpu/libm-test-ulps: Update.
455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
457 2014-02-18 Andreas Schwab <schwab@suse.de>
460 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
461 Store non-zero if the second buffer was newly allocated.
463 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
464 to send_vc and send_dg.
465 (res_nsend): Pass NULL for ansp2_malloced.
466 * resolv/res_query.c (__libc_res_nquery): Add parameter
467 answerp2_malloced and pass it down to __libc_res_nsend.
468 (res_nquery): Pass additional NULL to __libc_res_nquery.
469 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
470 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
471 second answer buffer if answerp2_malloced was set.
472 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
473 (__libc_res_nquerydomain): Add parameter
474 answerp2_malloced and pass it down to __libc_res_nquery.
475 (res_nquerydomain): Pass additional NULL to
476 __libc_res_nquerydomain.
477 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
478 additional NULL to __libc_res_nsend and __libc_res_nquery.
479 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
480 additional NULL to __libc_res_nsearch.
481 (_nss_dns_gethostbyname4_r): Revert last change. Use new
482 parameter of __libc_res_nsearch to check for separately allocated
484 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
486 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
487 additional NULL to __libc_res_nquery.
488 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
490 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
491 * include/resolv.h: Update prototypes of __libc_res_nquery,
492 __libc_res_nsearch, __libc_res_nsend.
494 2014-02-18 Joseph Myers <joseph@codesourcery.com>
496 * math/auto-libm-test-in: Add tests of fma.
497 * math/auto-libm-test-out: Regenerated.
498 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
499 (fma_towardzero_test_data): Likewise.
500 (fma_downward_test_data): Likewise.
501 (fma_upward_test_data): Likewise.
502 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
504 (rounding_modes): Add values for new field.
505 (func_calc_method): Add value mpfr_fff_f.
506 (func_calc_desc): Add mpfr_fff_f union field.
507 (test_function): Add field exact_args.
508 (FUNC): Add macro argument EXACT_ARGS.
509 (FUNC_mpfr_f_f): Update call to FUNC.
510 (FUNC_mpfr_f_f): Likewise.
511 (FUNC_mpfr_ff_f): Likewise.
512 (FUNC_mpfr_if_f): Likewise.
513 (FUNC_mpc_c_f): Likewise.
514 (FUNC_mpc_c_c): Likewise.
515 (test_functions): Add fma. Update calls to FUNC.
516 (handle_input_arg): Add argument exact_args.
517 (add_test): Update call to handle_input_arg.
518 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
519 (output_for_one_input_case): Update call to calc_generic_results.
520 Recalculate exact zero results in each rounding mode.
522 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
523 non-negative before setting low bit.
524 * math/auto-libm-test-in: Mark one asin test possibly having
526 * math/auto-libm-test-out: Regenerated.
527 * sysdeps/i386/fpu/libm-test-ulps: Update.
528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
530 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
532 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
533 * sysdeps/unix/sysv/linux/microblaze: Move directory from
534 ports/sysdeps/unix/sysv/linux/microblaze.
535 * README: Add missing listing for microblaze*-*-linux-gnu.
537 2014-02-16 Mike Frysinger <vapier@gentoo.org>
539 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
540 * sysdeps/unix/sysv/linux/ia64: Move directory from
541 ports/sysdeps/unix/sysv/linux/ia64.
542 * README: Update listing for ia64-*-linux-gnu.
544 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
545 Joseph Myers <joseph@codesourcery.com>
547 * Makeconfig (test-name): New variable.
548 (evaluate-test): Likewise.
549 * Makerules (do-test-clean): Remove .test-result files.
550 (common-mostlyclean): Likewise.
551 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
552 * scripts/evaluate-test.sh: New file.
554 2014-02-14 Joseph Myers <joseph@codesourcery.com>
556 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
557 separate $(objpfx)tst-fopenloc-cmp.out and
558 $(objpfx)tst-fopenloc-mem.out targets.
559 (tests): Update dependencies.
560 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
561 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
562 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
563 (tst-rxspencer-no-utf8-ARGS): New variable.
564 (tst-rxspencer-no-utf8-ENV): Likewise.
565 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
566 instead of $(objpfx)tst-rxspencer-mem.
567 ($(objpfx)tst-rxspencer-mem): Change target to
568 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
569 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
570 * posix/tst-rxspencer-no-utf8.c: New file.
572 * elf/Makefile ($(objpfx)order.out): Remove rule.
573 [$(run-built-tests) = yes] (tests): Depend on
574 $(objpfx)order-cmp.out.
575 ($(objpfx)order-cmp.out): New rule.
576 [$(run-built-tests) = yes] (tests): Depend on
577 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
578 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
579 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
580 $(objpfx)tst-array5-static-cmp.out.
581 ($(objpfx)tst-array1.out): Remove rule.
582 ($(objpfx)tst-array1-cmp.out): New rule.
583 ($(objpfx)tst-array1-static.out): Remove rule.
584 ($(objpfx)tst-array1-static-cmp.out): New rule.
585 ($(objpfx)tst-array2.out): Remove rule.
586 ($(objpfx)tst-array2-cmp.out): New rule.
587 ($(objpfx)tst-array3.out): Remove rule.
588 ($(objpfx)tst-array3-cmp.out): New rule.
589 ($(objpfx)tst-array4.out): Remove rule.
590 ($(objpfx)tst-array4-cmp.out): New rule.
591 ($(objpfx)tst-array5.out): Remove rule.
592 ($(objpfx)tst-array5-cmp.out): New rule.
593 ($(objpfx)tst-array5-static.out): Remove rule.
594 ($(objpfx)tst-array5-static-cmp.out): New rule.
595 [$(run-built-tests) = yes] (tests): Depend on
596 $(objpfx)order2-cmp.out.
597 ($(objpfx)order2.out): Remove rule.
598 ($(objpfx)order2-cmp.out): New rule.
599 ($(objpfx)tst-initorder.out): Remove rule.
600 [$(run-built-tests) = yes] (tests): Depend on
601 $(objpfx)tst-initorder-cmp.out.
602 ($(objpfx)tst-initorder-cmp.out): New rule.
603 ($(objpfx)tst-initorder2.out): Remove rule.
604 [$(run-built-tests) = yes] (tests): Depend on
605 $(objpfx)tst-initorder2-cmp.out.
606 ($(objpfx)tst-initorder2-cmp.out): New rule.
607 [$(run-built-tests) = yes] (tests): Depend on
608 $(objpfx)tst-unused-dep-cmp.out.
609 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
610 ($(objpfx)tst-unused-dep-cmp.out): New rule.
611 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
612 on $(objpfx)tst-setvbuf1-cmp.out.
613 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
614 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
615 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
616 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
617 ($(objpfx)tst-svc.out): Remove rule.
618 ($(objpfx)tst-svc-cmp.out): New rule.
620 2014-02-13 Joseph Myers <joseph@codesourcery.com>
622 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
623 * ctype/ctype.h [__USE_MISC]: Likewise.
624 * dirent/dirent.h [__USE_MISC]: Likewise.
625 * grp/grp.h [__USE_MISC]: Likewise.
626 * io/fcntl.h [__USE_MISC]: Likewise.
627 * io/sys/stat.h [__USE_MISC]: Likewise.
628 * libio/stdio.h [__USE_MISC]: Likewise.
629 * posix/unistd.h [__USE_MISC]: Likewise.
630 * pwd/pwd.h [__USE_MISC]: Likewise.
631 * stdlib.h [__USE_MISC]: Likewise.
632 * string/bits/string2.h [__USE_MISC]: Likewise.
633 * string/string.h [__USE_MISC]: Likewise.
634 * time/time.h [__USE_MISC]: Likewise.
636 2014-02-13 Andreas Schwab <schwab@suse.de>
639 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
640 second answer buffer if it was separately allocated.
642 2014-02-12 Joseph Myers <joseph@codesourcery.com>
644 * sysdeps/mips/math-tests.h: Include <features.h>.
645 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
646 (ROUNDING_TESTS_long_double): Do not define.
647 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
648 (EXCEPTION_TESTS_long_double): Likewise.
649 * sysdeps/mips/mips64/libm-test-ulps: Update.
651 * include/features.h (__USE_BSD): Remove macro definitions.
652 (__USE_SVID): Likewise.
653 (_BSD_SOURCE): Likewise.
654 (_SVID_SOURCE): Likewise.
655 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
656 from definition of _DEFAULT_SOURCE.
657 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
659 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
660 * bits/mman.h [__USE_BSD]: Likewise.
661 * bits/termios.h [__USE_BSD]: Likewise.
662 * bits/waitstatus.h [__USE_BSD]: Likewise.
663 * ctype/ctype.h [__USE_SVID]: Likewise.
664 * dirent/dirent.h [__USE_BSD]: Likewise.
665 * grp/grp.h [__USE_SVID]: Likewise.
666 [__USE_BSD]: Likewise.
667 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
668 * io/fcntl.h [__USE_BSD]: Likewise.
669 * io/ftw.h [__USE_BSD]: Likewise.
670 * io/sys/stat.h [__USE_BSD]: Likewise.
671 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
672 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
673 * libio/stdio.h [__USE_SVID]: Likewise.
674 [__USE_BSD]: Likewise.
675 * math/math.h [__USE_SVID]: Likewise.
676 [__USE_BSD]: Likewise.
677 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
678 * misc/bits/syslog.h [__USE_BSD]: Likewise.
679 * misc/search.h [__USE_SVID]: Likewise.
680 * misc/sys/mman.h [__USE_BSD]: Likewise.
681 * misc/sys/syslog.h [__USE_BSD]: Likewise.
682 * misc/sys/uio.h [__USE_BSD]: Likewise.
683 * posix/bits/unistd.h [__USE_BSD]: Likewise.
684 * posix/glob.h [__USE_BSD]: Likewise.
685 * posix/regex.h [__USE_BSD]: Likewise.
686 * posix/sys/types.h [__USE_BSD]: Likewise.
687 [__USE_SVID]: Likewise.
688 * posix/sys/utsname.h [__USE_SVID]: Likewise.
689 * posix/sys/wait.h [__USE_BSD]: Likewise.
690 [__USE_SVID]: Likewise.
691 * posix/unistd.h [__USE_BSD]: Likewise.
692 [__USE_SVID]: Likewise.
693 * pwd/pwd.h [__USE_SVID]: Likewise.
694 * resolv/netdb.h [__USE_BSD]: Likewise.
695 * setjmp/setjmp.h [__USE_BSD]: Likewise.
696 * signal/signal.h [__USE_BSD]: Likewise.
697 [__USE_SVID]: Likewise.
698 * socket/sys/socket.h [__USE_BSD]: Likewise.
699 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
700 * stdlib/stdlib.h [__USE_BSD]: Likewise.
701 [__USE_SVID]: Likewise.
702 * string/bits/string2.h [__USE_BSD]: Likewise.
703 [__USE_SVID]: Likewise.
704 * string/bits/string3.h [__USE_BSD]: Likewise.
705 * string/endian.h [__USE_BSD]: Likewise.
706 * string/string.h [__USE_SVID]: Likewise.
707 [__USE_BSD]: Likewise.
708 * string/strings.h [__USE_BSD]: Likewise.
709 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
710 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
711 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
712 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
713 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
714 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
718 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
719 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
721 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
722 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
724 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
726 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
727 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
728 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
730 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
732 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
733 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
734 * termios/termios.h [__USE_BSD]: Likewise.
735 * time/sys/time.h [__USE_BSD]: Likewise.
736 * time/time.h [__USE_BSD]: Likewise.
737 [__USE_SVID]: Likewise.
739 * Makefile (subdir_targets): Remove subdir_lint.out.
741 * stdio-common/Makefile (do-tst-unbputc): Remove target.
742 (do-tst-printf): Likewise.
743 (tests): Depend directly on $(objpfx)tst-unbputc.out and
744 $(objpfx)tst-printf.out.
746 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
748 * Makerules (check-abi-%): Change target to
749 $(objpfx)check-abi-%.out.
750 (check-abi target): Update dependencies.
751 (check-abi-pattern variable): Redirect output of diff to $@.
752 (check-abi variable): Likewise.
753 * elf/Makefile (check-abi): Update dependencies.
755 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
757 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
758 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
760 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
761 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
762 value has largest subnormal exponent.
763 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
764 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
765 * sysdeps/aarch64/soft-fp/sfp-machine.h
766 (_FP_TININESS_AFTER_ROUNDING): New macro.
767 * sysdeps/alpha/soft-fp/sfp-machine.h
768 (_FP_TININESS_AFTER_ROUNDING): Likewise.
769 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
771 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
772 (_FP_TININESS_AFTER_ROUNDING): Likewise.
773 * sysdeps/mips/soft-fp/sfp-machine.h
774 (_FP_TININESS_AFTER_ROUNDING): Likewise.
775 * sysdeps/powerpc/soft-fp/sfp-machine.h
776 (_FP_TININESS_AFTER_ROUNDING): Likewise.
777 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
779 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
780 (_FP_TININESS_AFTER_ROUNDING): Likewise.
781 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
782 (_FP_TININESS_AFTER_ROUNDING): Likewise.
783 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
786 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
789 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
792 2014-02-12 Richard Henderson <rth@redhat.com>
794 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
795 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
796 * sysdeps/unix/sysv/linux/alpha: Move directory from
797 ports/sysdeps/unix/sysv/linux/alpha.
798 * README: Update listing for alpha-*-linux-gnu.
800 2014-02-11 Joseph Myers <joseph@codesourcery.com>
802 * include/features.h: Update comment documenting feature test
804 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
806 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
807 (_SVID_SOURCE): Likewise.
808 (_DEFAULT_SOURCE): Update description of default features.
809 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
811 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
813 * manual/math.texi (Mathematical Constants): Likewise.
814 * manual/signal.texi (Interrupted Primitives): Likewise.
815 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
816 * math/test-matherr.c (_SVID_SOURCE): Do not define.
817 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
818 Don't refer to _SVID_SOURCE in warning text.
820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
822 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
824 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
825 * sysdeps/mips/dl-lookup.c: Remove.
826 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
828 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
831 * math/auto-libm-test-in: Add testcase for expl.
832 * math/auto-libm-test-out: Regenerate.
833 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
834 calculation of unsafe.
835 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
837 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
839 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
840 * sysdeps/unix/sysv/linux/aarch64: Move directory from
841 ports/sysdeps/unix/sysv/linux/aarch64.
842 * README: Update listing for aarch64*-*-linux-gnu.
844 2014-02-11 Will Newton <will.newton@linaro.org>
846 * manual/probes.texi (Mathematical Function Probes): Use
847 "triggered" instead of "hit".
849 2014-02-11 Will Newton <will.newton@linaro.org>
851 * manual/probes.texi (Internal Probes): Add documentation
852 of setjmp, longjmp and longjmp_target probes.
854 2014-02-11 Will Newton <will.newton@linaro.org>
856 * include/stap-probe.h: Add comment about probe argument
859 2014-02-11 Will Newton <will.newton@linaro.org>
861 * malloc/mtrace.c (attribute_hidden): Remove unused macro
862 definition. (tr_where, tr_freehook, tr_mallochook,
863 tr_reallochook, tr_memalignhook): Use ANSI protoype.
865 2014-02-11 David S. Miller <davem@davemloft.net>
867 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
868 processing int_tests.
870 2014-02-10 Joseph Myers <joseph@codesourcery.com>
872 * sysdeps/mips: Move directory from ports/sysdeps/mips.
873 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
874 * sysdeps/unix/sysv/linux/mips: Move directory from
875 ports/sysdeps/unix/sysv/linux/mips.
876 * README: Update listing for mips-*-linux-gnu and
879 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
881 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
882 * sysdeps/unix/sysv/linux/m68k: Move directory from
883 ports/sysdeps/unix/sysv/linux/m68k.
884 * README: Update listing for m68k-*-linux-gnu.
886 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
888 * sysdeps/tile: Move directory from ports/sysdeps/tile.
889 * sysdeps/unix/sysv/linux/generic: Move directory from
890 ports/sysdeps/unix/sysv/linux/generic.
891 * sysdeps/unix/sysv/linux/tile: Move directory from
892 ports/sysdeps/unix/sysv/linux/tile.
893 * README: Update listing for tile*-*-linux-gnu.
895 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
897 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
898 * benchtests/bench-memmem.c (simple_memmem): Likewise.
899 * catgets/open_catalog.c (__open_catalog): Likewise.
900 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
901 * debug/confstr_chk.c: Likewise.
902 * debug/fread_chk.c (__fread_chk): Likewise.
903 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
904 * debug/getgroups_chk.c: Likewise.
905 * debug/mbsnrtowcs_chk.c: Likewise.
906 * debug/mbsrtowcs_chk.c: Likewise.
907 * debug/mbstowcs_chk.c: Likewise.
908 * debug/memcpy_chk.c: Likewise.
909 * debug/memmove_chk.c: Likewise.
910 * debug/mempcpy_chk.c: Likewise.
911 * debug/memset_chk.c: Likewise.
912 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
913 * debug/strcat_chk.c (__strcat_chk): Likewise.
914 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
915 * debug/strncat_chk.c (__strncat_chk): Likewise.
916 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
917 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
918 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
919 * debug/wcpncpy_chk.c: Likewise.
920 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
921 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
922 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
923 * debug/wcsncpy_chk.c: Likewise.
924 * debug/wcsnrtombs_chk.c: Likewise.
925 * debug/wcsrtombs_chk.c: Likewise.
926 * debug/wcstombs_chk.c: Likewise.
927 * debug/wmemcpy_chk.c: Likewise.
928 * debug/wmemmove_chk.c: Likewise.
929 * debug/wmempcpy_chk.c: Likewise.
930 * debug/wmemset_chk.c: Likewise.
931 * dirent/scandirat.c (SCANDIRAT): Likewise.
932 * dlfcn/dladdr1.c (dladdr1): Likewise.
933 * dlfcn/dladdr.c (dladdr): Likewise.
934 * dlfcn/dlclose.c (dlclose_doit): Likewise.
935 * dlfcn/dlerror.c (__dlerror): Likewise.
936 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
937 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
938 * dlfcn/dlopen.c (dlopen_doit): Likewise.
939 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
940 * dlfcn/dlsym.c (dlsym_doit): Likewise.
941 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
942 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
943 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
945 * elf/dl-conflict.c: Likewise.
946 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
947 * elf/dl-dst.h: Likewise.
948 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
949 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
950 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
951 * elf/dl-init.c (call_init, _dl_init): Likewise.
952 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
953 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
954 _dl_map_object_from_fd, open_verify, open_path,
955 _dl_map_object): Likewise.
956 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
958 * elf/dl-minimal.c (__libc_memalign): Likewise.
959 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
960 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
961 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
962 * elf/dl-sym.c (do_sym): Likewise.
963 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
964 _dl_tls_get_addr_soft): Likewise.
965 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
966 * elf/dl-writev.h (_dl_writev): Likewise.
967 * elf/ldconfig.c (search_dir): Likewise.
968 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
970 * elf/setup-vdso.h (setup_vdso): Likewise.
971 * grp/compat-initgroups.c (compat_call): Likewise.
972 * grp/fgetgrent.c (fgetgrent): Likewise.
973 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
974 * grp/putgrent.c (putgrent): Likewise.
975 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
977 * hurd/hurdinit.c: Likewise.
978 * iconvdata/8bit-gap.c (struct): Likewise.
979 * iconvdata/ansi_x3.110.c : Likewise.
980 * iconvdata/big5.c : Likewise.
981 * iconvdata/big5hkscs.c : Likewise.
982 * iconvdata/cp1255.c: Likewise.
983 * iconvdata/cp1258.c : Likewise.
984 * iconvdata/cp932.c : Likewise.
985 * iconvdata/euc-cn.c: Likewise.
986 * iconvdata/euc-jisx0213.c : Likewise.
987 * iconvdata/euc-jp.c: Likewise.
988 * iconvdata/euc-jp-ms.c : Likewise.
989 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
990 * iconvdata/gb18030.c : Likewise.
991 * iconvdata/gbbig5.c (const): Likewise.
992 * iconvdata/gbgbk.c: Likewise.
993 * iconvdata/gbk.c : Likewise.
994 * iconvdata/ibm1364.c : Likewise.
995 * iconvdata/ibm930.c : Likewise.
996 * iconvdata/ibm932.c: Likewise.
997 * iconvdata/ibm933.c : Likewise.
998 * iconvdata/ibm935.c : Likewise.
999 * iconvdata/ibm937.c : Likewise.
1000 * iconvdata/ibm939.c : Likewise.
1001 * iconvdata/ibm943.c: Likewise.
1002 * iconvdata/iso_11548-1.c: Likewise.
1003 * iconvdata/iso-2022-cn.c : Likewise.
1004 * iconvdata/iso-2022-cn-ext.c : Likewise.
1005 * iconvdata/iso-2022-jp-3.c: Likewise.
1006 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1007 * iconvdata/iso-2022-kr.c : Likewise.
1008 * iconvdata/iso646.c (gconv_end): Likewise.
1009 * iconvdata/iso_6937-2.c : Likewise.
1010 * iconvdata/iso_6937.c : Likewise.
1011 * iconvdata/iso8859-1.c: Likewise.
1012 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1013 * iconvdata/shift_jisx0213.c : Likewise.
1014 * iconvdata/sjis.c : Likewise.
1015 * iconvdata/t.61.c : Likewise.
1016 * iconvdata/tcvn5712-1.c : Likewise.
1017 * iconvdata/tscii.c: Likewise.
1018 * iconvdata/uhc.c : Likewise.
1019 * iconvdata/unicode.c (gconv_end): Likewise.
1020 * iconvdata/utf-16.c (gconv_end): Likewise.
1021 * iconvdata/utf-32.c (gconv_end): Likewise.
1022 * iconvdata/utf-7.c (base64): Likewise.
1023 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1024 * iconv/gconv_close.c (__gconv_close): Likewise.
1025 * iconv/gconv_open.c (__gconv_open): Likewise.
1026 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1027 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1028 internal_ucs4le_loop_single, ucs4le_internal_loop,
1029 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1030 * iconv/iconv.c (iconv): Likewise.
1031 * iconv/iconv_close.c: Likewise.
1032 * iconv/loop.c (SINGLE): Likewise.
1033 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1034 * include/atomic.h: Likewise.
1035 * inet/inet6_option.c (option_alloc): Likewise.
1036 * intl/bindtextdom.c (set_binding_values): Likewise.
1037 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1038 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1039 * intl/localealias.c (read_alias_file): Likewise.
1040 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1041 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1042 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1043 * libio/fmemopen.c (fmemopen): Likewise.
1044 * libio/iofgets.c (_IO_fgets): Likewise.
1045 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1046 * libio/iofgetws.c (fgetws): Likewise.
1047 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1048 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1049 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1050 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1051 * locale/findlocale.c (_nl_find_locale): Likewise.
1052 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1053 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1055 * locale/setlocale.c (setlocale): Likewise.
1056 * login/programs/pt_chown.c (main): Likewise.
1057 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1058 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1059 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1060 mmap, mmap64, mremap, munmap): Likewise.
1061 * math/e_exp2l.c: Likewise.
1062 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1063 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1064 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1065 * math/s_catan.c (__catan): Likewise.
1066 * math/s_catanf.c (__catanf): Likewise.
1067 * math/s_catanh.c (__catanh): Likewise.
1068 * math/s_catanhf.c (__catanhf): Likewise.
1069 * math/s_catanhl.c (__catanhl): Likewise.
1070 * math/s_catanl.c (__catanl): Likewise.
1071 * math/s_ccosh.c (__ccosh): Likewise.
1072 * math/s_ccoshf.c (__ccoshf): Likewise.
1073 * math/s_ccoshl.c (__ccoshl): Likewise.
1074 * math/s_cexp.c (__cexp): Likewise.
1075 * math/s_cexpf.c (__cexpf): Likewise.
1076 * math/s_cexpl.c (__cexpl): Likewise.
1077 * math/s_clog10.c (__clog10): Likewise.
1078 * math/s_clog10f.c (__clog10f): Likewise.
1079 * math/s_clog10l.c (__clog10l): Likewise.
1080 * math/s_clog.c (__clog): Likewise.
1081 * math/s_clogf.c (__clogf): Likewise.
1082 * math/s_clogl.c (__clogl): Likewise.
1083 * math/s_csin.c (__csin): Likewise.
1084 * math/s_csinf.c (__csinf): Likewise.
1085 * math/s_csinh.c (__csinh): Likewise.
1086 * math/s_csinhf.c (__csinhf): Likewise.
1087 * math/s_csinhl.c (__csinhl): Likewise.
1088 * math/s_csinl.c (__csinl): Likewise.
1089 * math/s_csqrt.c (__csqrt): Likewise.
1090 * math/s_csqrtf.c (__csqrtf): Likewise.
1091 * math/s_csqrtl.c (__csqrtl): Likewise.
1092 * math/s_ctan.c (__ctan): Likewise.
1093 * math/s_ctanf.c (__ctanf): Likewise.
1094 * math/s_ctanh.c (__ctanh): Likewise.
1095 * math/s_ctanhf.c (__ctanhf): Likewise.
1096 * math/s_ctanhl.c (__ctanhl): Likewise.
1097 * math/s_ctanl.c (__ctanl): Likewise.
1098 * math/w_pow.c: Likewise.
1099 * math/w_powf.c: Likewise.
1100 * math/w_powl.c: Likewise.
1101 * math/w_scalb.c (sysv_scalb): Likewise.
1102 * math/w_scalbf.c (sysv_scalbf): Likewise.
1103 * math/w_scalbl.c (sysv_scalbl): Likewise.
1104 * misc/error.c (error_tail): Likewise.
1105 * misc/pselect.c (__pselect): Likewise.
1106 * nis/nis_callback.c (__nis_create_callback): Likewise.
1107 * nis/nis_call.c (__nisfind_server): Likewise.
1108 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1109 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1110 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1111 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1112 * nis/nis_lookup.c (nis_lookup): Likewise.
1113 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1114 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1115 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1116 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1117 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1118 internal_getgrgid_r): Likewise.
1119 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1121 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1122 internal_getpwuid_r): Likewise.
1123 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1124 internal_getspnam_r): Likewise.
1125 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1126 _nss_nis_getaliasbyname_r): Likewise.
1127 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1128 _nss_nis_getntohost_r): Likewise.
1129 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1130 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1132 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1133 internal_nis_gethostent_r, internal_gethostbyname2_r,
1134 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1135 _nss_nis_gethostbyname4_r): Likewise.
1136 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1137 initgroups_netid): Likewise.
1138 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1139 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1140 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1141 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1142 _nss_nis_getprotobynumber_r): Likewise.
1143 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1144 _nss_nis_getsecretkey): Likewise.
1145 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1146 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1148 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1149 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1150 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1151 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1152 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1153 _nss_nis_getspnam_r): Likewise.
1154 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1156 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1157 _nss_nisplus_getntohost_r): Likewise.
1158 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1159 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1160 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1161 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1162 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1164 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1165 _nss_nisplus_getnetbyaddr_r): Likewise.
1166 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1167 _nss_nisplus_getprotobynumber_r): Likewise.
1168 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1169 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1170 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1172 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1173 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1174 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1175 _nss_nisplus_getspnam_r): Likewise.
1176 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1177 * nscd/aicache.c (addhstaiX): Likewise.
1178 * nscd/cache.c (cache_search, prune_cache): Likewise.
1179 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1180 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1181 * nscd/grpcache.c (addgrbyX): Likewise.
1182 * nscd/hstcache.c (addhstbyX): Likewise.
1183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1184 * nscd/mem.c (gc, mempool_alloc): Likewise.
1185 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1187 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1189 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1190 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1191 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1193 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1194 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1195 * nscd/nscd_helper.c (__readvall, open_socket,
1196 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1197 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1198 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1199 * nscd/pwdcache.c (addpwbyX): Likewise.
1200 * nscd/selinux.c (preserve_capabilities): Likewise.
1201 * nscd/servicescache.c (addservbyX): Likewise.
1202 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1203 * posix/fnmatch.c (fnmatch): Likewise.
1204 * posix/getopt.c (_getopt_internal_r): Likewise.
1205 * posix/glob.c (glob, glob_in_dir): Likewise.
1206 * posix/wordexp.c (exec_comm_child): Likewise.
1207 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1208 gaih_getanswer_slice): Likewise.
1209 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1210 * resolv/res_init.c: Likewise.
1211 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1212 * resolv/res_query.c (__libc_res_nquery): Likewise.
1213 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1215 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1216 * stdio-common/perror.c (perror): Likewise.
1217 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1218 * stdio-common/tmpnam.c (tmpnam): Likewise.
1219 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1220 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1221 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1222 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1223 * stdlib/putenv.c (putenv): Likewise.
1224 * stdlib/setenv.c (__add_to_environ): Likewise.
1225 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1226 * stdlib/strtol_l.c (INTERNAL): Likewise.
1227 * string/memmem.c (memmem): Likewise.
1228 * string/strerror.c (strerror): Likewise.
1229 * string/strnlen.c (__strnlen): Likewise.
1230 * string/test-memmem.c (simple_memmem): Likewise.
1231 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1232 * sunrpc/pm_getport.c (__get_socket): Likewise.
1233 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1234 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1235 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1236 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1238 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1240 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1241 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1242 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1243 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1244 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1245 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1246 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1247 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1248 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1249 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1251 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1252 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1253 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1254 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1255 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1256 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1260 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1262 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1263 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1264 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1265 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1266 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1267 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1268 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1271 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1272 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1273 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1274 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1275 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1277 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1278 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1280 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1284 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1286 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1288 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1289 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1290 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1291 * sysdeps/posix/sleep.c: Likewise.
1292 * sysdeps/posix/tempname.c: Likewise.
1293 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1296 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1297 elf_machine_rela): Likewise.
1298 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1300 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1301 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1303 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1304 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1305 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1306 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1307 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1308 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1309 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1310 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1311 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1312 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1314 elf_machine_lazy_rel): Likewise.
1315 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1317 elf_machine_lazy_rel): Likewise.
1318 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1319 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1320 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1321 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1322 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1323 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1324 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1327 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1328 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1329 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1330 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1331 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1332 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1333 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1334 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1335 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1336 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1337 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1339 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1340 (__posix_fallocate64_l64): Likewise.
1341 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1342 (posix_fallocate): Likewise.
1343 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1345 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1346 getifaddrs_internal): Likewise.
1347 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1348 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1349 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1350 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1351 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1352 (__posix_fallocate64_l64): Likewise.
1353 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1355 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1356 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1358 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1359 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1360 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1362 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1363 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1364 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1365 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1367 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1368 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1369 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1370 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1371 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1372 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1373 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1375 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1376 (posix_fallocate): Likewise.
1377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1378 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1379 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1380 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1381 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1383 * time/asctime.c (asctime_internal): Likewise.
1384 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1385 * time/tzset.c (__tzset_parse_tz): Likewise.
1386 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1387 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1388 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1389 * wcsmbs/wcsmbsload.h: Likewise.
1391 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1394 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1396 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1398 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1399 arena_get2): Remove THREAD_STATS conditionals.
1400 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1401 __malloc_stats, int): Likewise.
1403 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1405 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1406 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1408 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1410 * manual/setjmp.texi: Fix typos/grammar errors.
1412 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1414 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1415 Only return early when n is <= 0. Delete unused return statement.
1417 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1419 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1420 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1421 * debug/tst-longjmp_chk3.c: New file.
1423 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1425 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1426 (test_main): Replace code with set_fortify_handler call.
1427 * debug/test-strcpy_chk.c: Likewise.
1428 * debug/tst-chk1.c: Likewise.
1429 * debug/tst-longjmp_chk.c: Likewise.
1430 * test-skeleton.c: Include fcntl.h & paths.h
1431 (set_fortify_handler): Define.
1433 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1435 * debug/tst-longjmp_chk.c: Add header comment and include
1437 (do_test): Mark static.
1438 (TEST_FUNCTION): Define.
1440 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1442 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1443 (IP_PMTUDISC_INTERFACE): Likewise.
1444 (IP_MULTICAST_IF): Likewise.
1445 (IP_MULTICAST_TTL): Likewise.
1446 (IP_MULTICAST_LOOP): Likewise.
1447 (IP_ADD_MEMBERSHIP): Likewise.
1448 (IP_DROP_MEMBERSHIP): Likewise.
1449 (IP_UNBLOCK_SOURCE): Likewise.
1450 (IP_BLOCK_SOURCE): Likewise.
1451 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1452 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1453 (IP_MSFILTER): Likewise.
1454 (MCAST_JOIN_GROUP): Likewise.
1455 (MCAST_BLOCK_SOURCE): Likewise.
1456 (MCAST_UNBLOCK_SOURCE): Likewise.
1457 (MCAST_LEAVE_GROUP): Likewise.
1458 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1459 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1460 (MCAST_MSFILTER): Likewise.
1461 (IP_MULTICAST_ALL): Likewise.
1462 (IP_UNICAST_IF): Likewise.
1464 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1466 * timezone/Makefile: Delete $(have-ksh) check.
1467 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1468 * timezone/tzselect.ksh: Add +x mode bits.
1470 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1472 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1473 (ANON_INODE_FS_MAGIC): Likewise.
1474 (BDEVFS_MAGIC): Likewise.
1475 (BINFMTFS_MAGIC): Likewise.
1476 (BTRFS_TEST_MAGIC): Likewise.
1477 (CRAMFS_MAGIC_WEND): Likewise.
1478 (DEBUGFS_MAGIC): Likewise.
1479 (ECRYPTFS_SUPER_MAGIC): Likewise.
1480 (EXT3_SUPER_MAGIC): Likewise.
1481 (EXT4_SUPER_MAGIC): Likewise.
1482 (FUTEXFS_SUPER_MAGIC): Likewise.
1483 (HOSTFS_SUPER_MAGIC): Likewise.
1484 (HUGETLBFS_MAGIC): Likewise.
1485 (MINIX3_SUPER_MAGIC): Likewise.
1486 (MTD_INODE_FS_MAGIC): Likewise.
1487 (NILFS_SUPER_MAGIC): Likewise.
1488 (OPENPROM_SUPER_MAGIC): Likewise.
1489 (PIPEFS_MAGIC): Likewise.
1490 (PSTOREFS_MAGIC): Likewise.
1491 (QNX6_SUPER_MAGIC): Likewise.
1492 (RAMFS_MAGIC): Likewise.
1493 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1494 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1495 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1496 (SECURITYFS_MAGIC): Likewise.
1497 (SELINUX_MAGIC): Likewise.
1498 (SMACK_MAGIC): Likewise.
1499 (SOCKFS_MAGIC): Likewise.
1500 (SQUASHFS_MAGIC): Likewise.
1501 (STACK_END_MAGIC): Likewise.
1502 (TMPFS_MAGIC): Likewise.
1503 (USBDEVICE_SUPER_MAGIC): Likewise.
1504 (V9FS_MAGIC): Likewise.
1505 (XENFS_SUPER_MAGIC): Likewise.
1506 (CRAMFS_MAGIC): Fix typo in comment.
1507 (EXT2_SUPER_MAGIC): Update comment.
1508 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1510 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1512 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1513 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1514 * sysdeps/unix/sysv/linux/arm: Move directory from
1515 ports/sysdeps/unix/sysv/linux/arm.
1516 * README: Update listing for arm-*-linux-gnueabi.
1518 * README: Remove mention of am33.
1520 2014-02-07 Roland McGrath <roland@hack.frob.com>
1522 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1523 than the comma operator, to avoid "rhs of comma has no effect"
1525 (__sigfillset, __sigandset, __sigorset): Likewise.
1526 * include/signal.h (__sigemptyset): Likewise.
1527 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1529 2014-02-07 Allan McRae <allan@archlinux.org>
1531 * version.h (RELEASE): Set to "development".
1532 (VERSION): Set to "2.19.90"
1533 * NEWS: Add 2.20 section.
1535 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1538 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1540 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1542 * manual/contrib.texi: Update entry for Carlos O'Donell,
1543 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1545 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1547 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1549 * sysdeps/unix/sysv/linux/kernel-features.h
1550 [__LINUX_KERNEL_VERSION >= 0x020621]
1551 (__ASSUME_PROC_PID_TASK_COMM): Define.
1553 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1555 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1556 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1557 Leonard and Allan McRae.
1559 2014-02-04 David S. Miller <davem@davemloft.net>
1561 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1564 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1593 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1595 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1596 * shlib-versions: Likewise.
1598 2014-02-04 Roland McGrath <roland@hack.frob.com>
1599 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1601 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1602 (abilist-pattern): New variable, set to %-le.abilist.
1604 * Makerules (abilist-pattern): New variable.
1605 (vpath): Use $(abilist-pattern) in place of %.abilist.
1606 (check-abi-% pattern rule): Likewise.
1607 (check-abi, update-abi): Likewise.
1609 2014-02-04 Eric Wong <normalperson@yhbt.net>
1611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1613 2014-02-04 Eric Wong <normalperson@yhbt.net>
1615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1617 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1619 * manual/startup.texi: Add next, previous, and top entries for
1620 the `Program Arguments' and `Environment Variables' nodes.
1622 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1624 * manual/macros.texi: Add comments before MTASC-safety macros.
1626 * manual/users.texi: Document MTASC-safety properties.
1628 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1629 pthread_getspecific, pthread_setspecific): Format with
1630 @deftypefun, and add @safety note.
1631 * manual/signal.texi: Move comments that analyze the above
1632 functions to their home place.
1634 2014-02-03 Allan McRae <allan@archlinux.org>
1636 * po/sl.po: Update Slovenian translation from translation project.
1638 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1640 * manual/time.texi (timegm): Add missing blank after @c.
1641 Reported by Joseph Myers <joseph@codesourcery.com>.
1643 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1645 * manual/check-safety.sh: New.
1646 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1648 * manual/terminal.texi: Document MTASC-safety properties.
1650 * manual/filesys.texi: Document MTASC-safety properties.
1652 * manual/errno.texi: Document MTASC-safety properties.
1654 * manual/intro.texi: Document safety identifiers and
1657 * manual/string.texi (wcstok): Fix prototype.
1658 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1660 * manual/time.texi: Document MTASC-safety properties.
1662 * manual/string.texi: Document MTASC-safety properties.
1664 * manual/threads.texi: Document MTASC-safety properties.
1666 * manual/stdio.texi: Document MTASC-safety properties.
1668 * manual/syslog.texi: Document MTASC-safety properties.
1670 * manual/sysinfo.texi: Document MTASC-safety properties.
1672 * manual/startup.texi: Document MTASC-safety properties.
1674 * manual/socket.texi: Document MTASC-safety properties.
1676 * manual/signal.texi: Document MTASC-safety properties.
1678 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1680 * manual/setjmp.texi: Document MTASC-safety properties.
1682 * manual/search.texi: Document MTASC-safety properties.
1684 * manual/resource.texi: Document MTASC-safety properties.
1686 * manual/process.texi: Document MTASC-safety properties.
1688 * manual/platform.texi: Document MTASC-safety properties.
1690 * manual/pipe.texi: Document MTASC-safety properties.
1692 * manual/pattern.texi: Document MTASC-safety properties.
1694 * manual/message.texi: Document MTASC-safety properties.
1697 * manual/memory.texi: Document MTASC-safety properties.
1699 * manual/math.texi: Document MTASC-safety properties.
1701 * manual/locale.texi: Document MTASC-safety properties.
1703 * manual/llio.texi: Document MTASC-safety properties.
1705 * manual/libdl.texi: New.
1707 * manual/lang.texi: Document MTASC-safety properties.
1709 * manual/job.texi: Document MTASC-safety properties.
1711 * manual/getopt.texi: Document MTASC-safety properties.
1713 * manual/ctype.texi: Document MTASC-safety properties.
1715 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1718 * csu/libc-tls.c (static_map): Remove variable.
1719 (__libc_setup_tls): Use main executable's link map for TLS data.
1720 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1721 casing for LM_ID_BASE and GL(dl_nns).
1722 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1723 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1724 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1725 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1726 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1728 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1731 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1733 * manual/debug.texi: Document MTASC-safety properties.
1735 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1738 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1739 of __x86_64__ when disabling x87 inline functions.
1741 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1743 * manual/charset.texi: Document MTASC-safety properties.
1745 * manual/crypt.texi: Document MTASC-safety properties.
1747 * manual/conf.texi: Document MTASC-safety properties.
1749 * manual/arith.texi: Document MTASC-safety properties.
1751 * manual/argp.texi: Document MTASC-safety properties.
1753 * manual/macros.texi: Introduce macros to document multi
1754 thread, asynchronous signal and asynchronous cancellation
1756 * manual/intro.texi: Introduce the properties themselves.
1758 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1760 * sysdeps/sh/sh4/Makefile: New file.
1762 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1764 * math/gen-libm-test.pl ($srcdir): New variable.
1765 ($auto_input): Use it.
1767 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1770 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1771 access beyond array bounds when parsing netgroups file.
1773 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1774 the old buffer before realloc.
1776 2014-01-27 Allan McRae <allan@archlinux.org>
1778 * po/fr.po: Update French translation from translation project.
1780 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1782 * sysdeps/sh/libm-test-ulps: Regenerate.
1784 2014-01-24 David S. Miller <davem@davemloft.net>
1786 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1788 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1790 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1791 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1793 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1796 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1797 string pointers after reallocation.
1799 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1801 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1802 __SH4A__ instead of __SH_FPU_ANY__.
1804 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1806 * sysdeps/sh/fpu_control.h: New file.
1807 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1808 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1809 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1810 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1811 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1812 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1813 * sysdeps/sh/sys/ucontext.h: Remove.
1814 * sysdeps/sh/sys: Remove directory.
1816 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1818 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1819 s390/sys/ucontext.h.
1820 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1821 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1823 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1826 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1828 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1831 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1832 Adjust the vDSO correctly for internal calls.
1833 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1835 2014-01-20 Allan McRae <allan@archlinux.org>
1837 * po/ca.po: Update Catalan translation from translation project.
1839 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1841 * sysdeps/s390/sotruss-lib.c: New file.
1843 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1846 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1847 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1848 local calls issues by not having a PLT stub required for IFUNC calls.
1849 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1851 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1853 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1854 * math/test-fpucw-static.c: Likewise.
1856 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1859 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1861 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1863 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1864 implementation for powerpc.
1866 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1869 * sysdeps/posix/system.c (__libc_system): Do not enable
1870 asynchronous cancellation.
1872 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1875 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1876 handling only for numbers special also in the IEEE case.
1878 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1880 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1882 2014-01-11 Allan McRae <allan@archlinux.org>
1884 * po/bg.po: Update Bulgarian translation from translation project.
1886 * po/de.po: Update German translation from translation project.
1888 2014-01-10 Roland McGrath <roland@hack.frob.com>
1890 * sysdeps/generic/gcc-compat.h: New file.
1892 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1894 * benchtests/asin-inputs: Correct slow inputs.
1895 * benchtests/acos-inputs: Likewise.
1897 2014-01-10 Allan McRae <allan@archlinux.org>
1899 * po:sv.po: Update Swedish translation from translation project.
1901 * po/vi.po: Update Vietnamese translation from translation project.
1903 * po/eo.po: Update Esperanto translation from translation project.
1905 * po/cs.po: Update Czech translation from translation project.
1907 * po/nl.po: Update Dutch translation from translation project.
1909 * po/pl.po: Update Polish translation from translation project.
1911 * po/ru.po: Update Russian translation from translation project.
1913 * po/uk.po: Update Ukrainian translation from translation project.
1915 2014-01-08 Brooks Moses <bmoses@google.com>
1917 * elf/dl-load.c: Fix comment typo.
1919 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1921 * po/header.pot: Rename to...
1922 * po/pot.header: ... this.
1923 * po/Makefile: Use pot.header.
1925 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1926 Maxim Kuvyrkov <maxim@kugelworks.com>
1929 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1930 SRC and DEST against LEN.
1932 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1935 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1937 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1939 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1943 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1947 for large positive arguments.
1949 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1951 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1953 * math/auto-libm-test-in: Mark various tests with
1954 xfail-rounding:ldbl-128ibm.
1955 * math/auto-libm-test-out: Regenerated.
1958 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1959 Increase overflow threshold.
1961 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1964 * stdio-common/vfprintf.c: Check for integer overflow.
1966 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1968 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1969 the first argument and return value of __tls_get_addr_internal.
1971 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1973 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1974 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1976 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1978 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1979 * sysdeps/s390/rtld-global-offsets.sym: New file.
1980 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1982 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1983 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1984 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1986 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1987 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1993 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1994 halfs of GPRs for high_gprs contexts.
1995 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1996 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1998 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2000 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2002 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2003 for high GPRs (uc_high_gprs) and for future extensions
2005 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2006 for future extensions (__reserved).
2007 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2009 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2010 SC_HIGHGPRS offset definition.
2011 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2012 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2014 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2016 * Versions.def: Add GLIBC_2.19 for libpthread.
2017 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2018 siglongjmp for libpthread with GLIBC_2.19 symver.
2019 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2020 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2021 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2022 * sysdeps/s390/__longjmp.c: New file.
2023 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2024 * sysdeps/s390/longjmp.c: New file.
2025 * sysdeps/s390/setjmp.S: New file.
2026 * sysdeps/s390/sigjmp.S: New file.
2027 * sysdeps/s390/v1-longjmp.c: New file.
2028 * sysdeps/s390/v1-setjmp.h: New file.
2029 * sysdeps/s390/v1-sigjmp.c: New file.
2030 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2031 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2033 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2034 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2035 versioned symbols for ____longjmp_chk.
2036 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2046 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2047 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2048 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2049 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2050 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2051 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2052 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2053 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2054 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2055 * sysdeps/s390/rtld-__longjmp.c: New file.
2056 * sysdeps/s390/rtld-setjmp.S: New file.
2058 2014-01-06 Joseph Myers <joseph@codesourcery.com>
2061 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2062 Return -__logl (x) for small positive arguments without evaluating
2065 2014-01-06 Mike Frysinger <vapier@gentoo.org>
2067 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2069 (__ptrace_peeksiginfo_args): ... this.
2070 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2071 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2074 2014-01-06 Allan McRae <allan@archlinux.org>
2076 * inet/netinet/in.h: Fix typo in comment.
2078 2014-01-05 Andreas Jaeger <aj@suse.de>
2080 * sysdeps/i386/fpu/libm-test-ulps: Update.
2082 2014-01-05 Allan McRae <allan@archlinux.org>
2084 * po/libc.pot: Regenerated.
2086 * malloc/memusagestat.c: Fix gettext call formatting.
2088 2014-01-04 Sami Kerola <kerolasa@iki.fi>
2090 * nscd/nscd.c: Improve usage() output.
2092 2014-01-04 Mike Frysinger <vapier@gentoo.org>
2094 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2095 * sysdeps/unix/sysv/linux/configure: Regenerated.
2096 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2097 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2099 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2102 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2103 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2105 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2108 extra tokens at end of #undef directive.
2109 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2110 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2113 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2115 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2117 * math/auto-libm-test-in: Mark various tests with
2118 xfail-rounding:ldbl-128ibm.
2119 * math/auto-libm-test-out: Regenerated.
2121 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2124 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2125 numbers with subnormal high part when calculating exponent.
2128 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2132 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2134 (__ieee754_acoshl): Use __log1pl not __log1p.
2136 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2138 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2139 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2140 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2141 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2142 Convert to GNU style.
2143 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2144 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2145 memalign_check, __malloc_set_state): Likewise.
2146 * malloc/mallocbug.c (main): Likewise.
2147 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2148 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2149 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2150 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2151 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2152 * malloc/malloc.h: Likewise.
2153 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2154 memalignhook, reallochook, mabort): Likewise.
2155 * malloc/mcheck.h: Likewise.
2156 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2157 mmap64, mremap, munmap, dest): Likewise.
2158 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2159 * malloc/morecore.c (__default_morecore): Likewise.
2160 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2161 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2162 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2163 print_and_abort): Likewise.
2164 * malloc/obstack.h: Likewise.
2165 * malloc/set-freeres.c (__libc_freeres): Likewise.
2166 * malloc/tst-mallocstate.c (main): Likewise.
2167 * malloc/tst-mtrace.c (main): Likewise.
2168 * malloc/tst-realloc.c (do_test): Likewise.
2170 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2173 * nscd/netgroupcache.c (do_notfound): New function.
2174 (addgetnetgrentX): Use it.
2177 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2178 NSS_STATUS_NOTFOUND.
2180 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2182 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2185 2014-01-01 Allan McRae <allan@archlinux.org>
2187 * scripts/update-copyrights: Update configure input file suffix.
2189 * NEWS: Update copyright year.
2190 * catgets/gencat.c: Likewise.
2191 * csu/version.c: Likewise.
2192 * debug/catchsegv.sh: Likewise.
2193 * debug/pcprofiledump.c: Likewise.
2194 * debug/xtrace.sh: Likewise.
2195 * elf/ldconfig.c: Likewise.
2196 * elf/ldd.bash.in: Likewise.
2197 * elf/pldd.c: Likewise.
2198 * elf/sotruss.ksh: Likewise.
2199 * elf/sprof.c: Likewise.
2200 * iconv/iconv_prog.c: Likewise.
2201 * iconv/iconvconfig.c: Likewise.
2202 * locale/programs/locale.c: Likewise.
2203 * locale/programs/localedef.c: Likewise.
2204 * login/programs/pt_chown.c: Likewise.
2205 * malloc/memusage.sh: Likewise.
2206 * malloc/memusagestat.c: Likewise.
2207 * malloc/mtrace.pl: Likewise.
2208 * manual/libc.texinfo: Likewise.
2209 * nscd/nscd.c: Likewise.
2210 * nss/getent.c: Likewise.
2211 * nss/makedb.c: Likewise.
2212 * posix/getconf.c: Likewise.
2213 * scripts/test-installation.pl: Likewise.
2215 * All files with FSF copyright notices: Update copyright dates
2216 using scripts/update-copyrights.
2217 * intl/plural.c: Regenerated.
2218 * locale/programs/charmap-kw.h: Likewise.
2219 * locale/programs/locfile-kw.h: Likewise.
2221 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2223 * sysdeps/unix/sysv/linux/configure: Regenerated.
2224 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2225 the linux/fanotify.h header.
2226 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2227 HAVE_LINUX_FANOTIFY_H is defined.
2229 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2231 * benchtests/cos-inputs: New inputs.
2232 * benchtests/sin-inputs: Likewise.
2234 * benchtests/atan-inputs: New inputs. Fix name of multiple
2235 precision fallback inputs.
2237 * benchtests/atanh-inputs: New inputs.
2238 * benchtests/tanh-inputs: Likewise.
2240 * benchtests/acosh-inputs: New inputs.
2241 * benchtests/asinh-inputs: Likewise.
2243 * benchtests/cosh-inputs: New inputs.
2244 * benchtests/sinh-inputs: Likewise.
2246 * benchtests/acos-inputs: Add more inputs.
2247 * benchtests/asin-inputs: Likewise.
2249 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2252 * manual/arith.texi: Fix spelling.
2253 * manual/charset.texi: Likewise.
2254 * manual/errno.texi: Likewise.
2255 * manual/filesys.texi: Likewise.
2256 * manual/lang.texi: Likewise.
2257 * manual/llio.texi: Likewise.
2258 * manual/locale.texi: Likewise.
2259 * manual/message.texi: Likewise.
2260 * manual/resource.texi: Likewise.
2261 * manual/search.texi: Likewise.
2262 * manual/setjmp.texi: Likewise.
2263 * manual/stdio.texi: Likewise.
2264 * manual/string.texi: Likewise.
2265 * manual/sysinfo.texi: Likewise.
2266 * manual/time.texi: Likewise.
2268 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2270 * po/sl.po: New file.
2272 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2274 * .gitignore: Add core/.gdbinit/.gdb_history.
2276 2013-12-27 Allan McRae <allan@archlinux.org>
2279 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2280 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2282 2013-12-24 Brooks Moses <bmoses@google.com>
2284 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2285 all compilers that claim C++98 compliance, not just GCC.
2286 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2289 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2291 * NEWS: Restore accidentally deleted bug-fix entries.
2293 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2294 Ondřej Bílka <neleai@seznam.cz>
2297 * malloc/malloc.c (_int_free): Perform sanity check only if we
2300 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2303 * manual/stdio.texi (String Input Conversions): Clarify that character
2304 classes are not supported.
2306 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2310 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2313 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2314 Calculate results for small negative arguments directly rather
2315 than using reflection formula with special underflow handling.
2317 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2318 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2319 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2320 (fchflags): Likewise.
2322 (setlogin): Likewise.
2323 (sigaltstack): Likewise.
2326 (sigsetmask): Likewise.
2328 (waitpid): Likewise.
2329 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2330 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2332 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2333 * sysdeps/unix/bsd/Makefile: ... here.
2334 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2335 * sysdeps/unix/bsd/Versions: ... here.
2336 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2337 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2338 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2339 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2340 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2341 * sysdeps/unix/bsd/sigblock.c: ... here.
2342 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2343 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2344 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2345 * sysdeps/unix/bsd/sigvec.c: ... here.
2346 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2347 * sysdeps/unix/bsd/tcdrain.c: ... here.
2348 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2349 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2350 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2351 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2352 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2353 * sysdeps/unix/bsd/wait.c: ... here.
2354 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2355 * sysdeps/unix/bsd/wait3.c: ... here.
2356 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2357 * sysdeps/unix/bsd/waitpid.c: ... here.
2359 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2362 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2363 round-to-nearest for [!USE_AS_EXPM1L].
2364 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2365 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2366 more tests of exp and exp10. Expect some exp10 tests to miss
2367 exceptions or fail in directed rounding modes.
2368 * math/auto-libm-test-out: Regenerated.
2369 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2370 (exp10_test_tonearest): New function.
2371 (exp10_towardzero_test_data): New array.
2372 (exp10_test_towardzero): New function.
2373 (exp10_downward_test_data): New array.
2374 (exp10_test_downward): New function.
2375 (exp10_upward_test_data): New array.
2376 (exp10_test_upward): New function.
2377 (main): Call the new functions.
2378 * sysdeps/i386/fpu/libm-test-ulps: Update.
2379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2381 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2383 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2384 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2385 * math/auto-libm-test-out: Regenerated.
2386 * math/libm-test.inc (acosh_test_data): Add more tests.
2387 (atanh_test_data): Likewise.
2388 (ceil_test_data): Likewise.
2389 (copysign_test_data): Likewise.
2390 * sysdeps/i386/fpu/libm-test-ulps: Update.
2391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2393 * timezone/checktab.awk: Update from tzcode 2013i.
2394 * timezone/private.h: Likewise.
2395 * timezone/scheck.c: Likewise.
2396 * timezone/tzfile.h: Likewise.
2397 * timezone/tzselect.ksh: Likewise.
2398 * timezone/zdump.c: Likewise.
2399 * timezone/zic.c: Likewise.
2401 * math/auto-libm-test-in: Add tests of cpow.
2402 * math/auto-libm-test-out: Regenerated.
2403 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2404 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2406 (func_calc_desc): Add mpc_cc_c union field.
2407 (test_functions): Add cpow.
2408 (special_fill_2pi): New function.
2409 (special_real_inputs): Add 2pi.
2410 (calc_generic_results): Handle mpc_cc_c.
2411 * sysdeps/i386/fpu/libm-test-ulps: Update.
2412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2414 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2415 csqrt, ctan and ctanh.
2416 * math/auto-libm-test-out: Regenerated.
2417 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2418 (TEST_COND_x86): Likewise.
2419 (ccos_test_data): Use AUTO_TESTS_c_c.
2420 (ccosh_test_data): Likewise.
2421 (cexp_test_data): Likewise.
2422 (clog_test_data): Likewise.
2423 (csqrt_test_data): Likewise.
2424 (ctan_test_data): Likewise.
2425 (ctan_tonearest_test_data): Likewise.
2426 (ctan_towardzero_test_data): Likewise.
2427 (ctan_downward_test_data): Likewise.
2428 (ctan_upward_test_data): Likewise.
2429 (ctanh_test_data): Likewise.
2430 (ctanh_tonearest_test_data): Likewise.
2431 (ctanh_towardzero_test_data): Likewise.
2432 (ctanh_downward_test_data): Likewise.
2433 (ctanh_upward_test_data): Likewise.
2434 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2436 (func_calc_desc): Add mpc_c_c union field.
2437 (FUNC_mpc_c_c): New macro.
2438 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2439 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2441 (special_fill_min_subnorm_p120): New function.
2442 (special_real_inputs): Add min_subnorm_p120.
2443 (calc_generic_results): Handle mpc_c_c.
2444 * sysdeps/i386/fpu/libm-test-ulps: Update.
2445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2447 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2449 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2450 do_sin_slow): New functions.
2451 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2452 cslow2, csloww1, csloww2): Use the new functions.
2454 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2455 Use M to change sign of result instead of X. Assume X is
2457 (csloww1): Likewise.
2461 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2466 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2468 (sloww1): Don't adjust sign of DX.
2469 (csloww1): Likewise.
2470 (sloww2): Use X directly and don't adjust sign of DX.
2471 (csloww2): Likewise.
2473 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2475 * math/auto-libm-test-in: Add tests of cabs and carg.
2476 * math/auto-libm-test-out: Regenerated.
2477 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2478 (carg_test_data): Likewise.
2479 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2481 (func_calc_desc): Add mpc_c_f union field.
2482 (test_functions): Add cabs and carg.
2483 (calc_generic_results): Handle mpc_c_f.
2485 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2486 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2487 as a macro and a compat symbol.
2488 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2489 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2490 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2491 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2492 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2493 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2495 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2497 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2499 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2501 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2503 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2505 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2506 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2509 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2513 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2515 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2516 trailing whitespace removed.
2517 * scripts/config.guess: Update to version 2013-11-29.
2518 * scripts/config.sub: Update to version 2013-10-01.
2520 * math/auto-libm-test-in: Add tests of sincos.
2521 * math/auto-libm-test-out: Regenerated.
2522 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2523 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2525 (func_calc_desc): Add mpfr_f_11 union field.
2526 (test_functions): Add sincos.
2527 (calc_generic_results): Handle mpfr_f_11.
2528 * sysdeps/i386/fpu/libm-test-ulps: Update.
2529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2531 2013-12-19 Andreas Schwab <schwab@suse.de>
2533 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2535 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2536 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2537 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2539 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2541 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2542 * sysdeps/i386/fpu/libm-test-ulps: Update.
2543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2547 round-to-nearest mode when using frndint.
2548 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2549 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2550 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2552 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2554 * math/auto-libm-test-out: Regenerated.
2555 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2556 (TEST_COND_x86): Likewise.
2557 (expm1_tonearest_test_data): New array.
2558 (expm1_test_tonearest): New function.
2559 (expm1_towardzero_test_data): New array.
2560 (expm1_test_towardzero): New function.
2561 (expm1_downward_test_data): New array.
2562 (expm1_test_downward): New function.
2563 (expm1_upward_test_data): New array.
2564 (expm1_test_upward): New function.
2565 (main): Run the new test functions.
2566 * sysdeps/i386/fpu/libm-test-ulps: Update.
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569 * include/features.h: Update comment documenting feature test
2570 macros. Mention _DEFAULT_SOURCE in comment.
2571 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2572 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2573 _BSD_SOURCE and _SVID_SOURCE.
2574 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2575 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2576 !_SVID_SOURCE]: Likewise.
2577 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2578 (__USE_POSIX_IMPLICITLY): Define.
2579 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2580 (_POSIX_SOURCE): Undefine and redefine.
2581 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2582 (_POSIX_C_SOURCE): Likewise.
2583 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2584 (Feature Test Macros): Update documentation of default features.
2586 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2588 * benchtests/Makefile: Add bench-strtok.
2589 * benchtests/bench-strtok.c: New file: strtok benchtest.
2591 2013-12-19 Allan McRae <allan@archlinux.org>
2593 * manual/install.texi: Suppress menu for plain text output.
2594 * INSTALL: Regenerated.
2596 2013-12-18 Brooks Moses <bmoses@google.com>
2599 * misc/getauxval.c: Include errno.h.
2600 (__getauxval): Set errno to ENOENT if the requested type is not
2602 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2603 don't declare with __attribute_const__.
2604 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2605 * manual/startup.texi: Document that getauxval sets errno.
2607 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2609 * math/auto-libm-test-in: Add tests of jn and yn.
2610 * math/auto-libm-test-out: Regenerated.
2611 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2612 (yn_test_data): Likewise.
2613 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2615 (func_calc_desc): Add mpfr_if_f union field.
2616 (FUNC_mpfr_if_f): New macro.
2617 (test_functions): Add jn and yn.
2618 (calc_generic_results): Assert type of second input for
2619 mpfr_ff_f. Handle mpfr_if_f.
2620 (output_for_one_input_case): Disable all checking for arguments
2621 fitting floating-point types in case of an integer argument.
2622 * sysdeps/i386/fpu/libm-test-ulps: Update.
2623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2626 Don't expect fegetround reference in libm.so.
2628 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2630 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2631 $(config-cflags-nofma).
2633 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2635 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2636 * math/auto-libm-test-out: Regenerated.
2639 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2640 to determine exponent and adjust argument to have exponent of -1.
2641 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2643 * math/auto-libm-test-out: Regenerated.
2644 * sysdeps/i386/fpu/libm-test-ulps: Update.
2645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2647 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2649 * manual/probes.texi: Remove cases when per-thread arenas are
2652 2013-12-18 Andreas Schwab <schwab@suse.de>
2654 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2655 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2656 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2657 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2658 * sysdeps/i386/i686/multiarch/Makefile: Update.
2659 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2661 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2663 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2664 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2666 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2669 Support TZ transition times < 00:00:00.
2670 This is needed for version-3 tz-format files; it supports time
2671 stamps past 2037 for America/Godthab (the only entry in the tz
2672 database for which this change is relevant).
2673 * manual/time.texi (TZ Variable): Document transition times
2674 from -167:59:59 through -00:00:01.
2675 * time/tzset.c (tz_rule): Time of day is now signed.
2676 (__tzset_parse_tz): Parse negative time of day.
2678 Document TZ transition times >= 25:00:00.
2679 * manual/time.texi (TZ Variable): Document transition times from
2680 25:00:00 through 167:59:59. These are already supported, and this
2681 support will help with version-3 tz-format files.
2683 * manual/time.texi (TZ Variable): Modernize North America example
2684 to reflect current (i.e., 2007-and-later) daylight saving rules.
2686 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2688 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2690 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2691 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2694 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2695 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2696 * sysdeps/unix/bsd/clock.c: Likewise.
2697 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2698 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2699 * sysdeps/unix/bsd/init-posix.c: Likewise.
2700 * sysdeps/unix/bsd/poll.c: Likewise.
2701 * sysdeps/unix/bsd/ptsname.c: Likewise.
2702 * sysdeps/unix/bsd/seekdir.c: Likewise.
2703 * sysdeps/unix/bsd/setegid.c: Likewise.
2704 * sysdeps/unix/bsd/seteuid.c: Likewise.
2705 * sysdeps/unix/bsd/setgid.c: Likewise.
2706 * sysdeps/unix/bsd/setrgid.c: Likewise.
2707 * sysdeps/unix/bsd/setruid.c: Likewise.
2708 * sysdeps/unix/bsd/setsid.c: Likewise.
2709 * sysdeps/unix/bsd/setuid.c: Likewise.
2710 * sysdeps/unix/bsd/sigaction.c: Likewise.
2711 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2712 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2713 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2714 * sysdeps/unix/bsd/telldir.c: Likewise.
2715 * sysdeps/unix/bsd/times.c: Likewise.
2716 * sysdeps/unix/bsd/usleep.c: Likewise.
2718 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2719 ($(objpfx)libbsd-compat.a): Remove rule.
2721 * include/features.h (__FAVOR_BSD): Do not define.
2722 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2723 features conflicting with POSIX.
2724 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2725 (_BSD_SOURCE): Remove description of not being a subset of other
2726 feature test macros.
2727 * manual/job.texi (getpgrp): Do not document BSD version.
2728 (getpgid): Do not document by reference to BSD getpgrp.
2729 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2730 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2731 * signal/signal.h [__FAVOR_BSD]: Likewise.
2732 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2733 instead of making contents conditional on [__FAVOR_BSD].
2734 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2736 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2740 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2743 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2744 values below 2**-450, not 2**-500.
2745 * math/auto-libm-test-in: Don't allow spurious underflow from
2747 * math/auto-libm-test-out: Regenerated.
2751 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2752 values of ha and hb and sort them after adjusting subnormal
2754 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2756 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2757 values of ea and eb and sort them after adjusting subnormal
2759 * math/auto-libm-test-in: Do not expect some hypot tests of
2760 subnormals to fail. Add more hypot tests.
2761 * math/auto-libm-test-out: Regenerated.
2763 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2766 * sysdeps/sh/s_fma.c: New file.
2767 * sysdeps/sh/s_fmaf.c: New file.
2768 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2770 * sysdeps/sh/Implies: Add sh/soft-fp.
2772 2013-12-16 Roland McGrath <roland@hack.frob.com>
2774 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2775 level of indirection to members `objname', `errstring', `malloced'.
2776 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2777 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2778 it as the __longjmp argument (just pass 1 instead).
2779 (_dl_catch_error): Initialize C with argument pointers and address of
2780 volatile local ERRCODE rather than copying values out of C at return.
2782 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2784 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2785 * math/auto-libm-test-out: Regenerated.
2786 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2787 (hypot_test_data): Likewise.
2788 (pow_test_data): Likewise.
2789 (pow_tonearest_test_data): Likewise.
2790 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2792 (func_calc_desc): Add mpfr_ff_f union field.
2793 (FUNC_mpfr_ff_f): New macro.
2794 (test_functions): Add atan2, hypot and pow.
2795 (special_fill_min): New function.
2796 (special_fill_minus_min): Likewise.
2797 (special_fill_min_subnorm): Likewise.
2798 (special_fill_minus_min_subnorm): Likewise.
2799 (special_real_inputs): Add min, -min, min_subnorm and
2801 (calc_generic_results): Handle mpfr_ff_f.
2802 * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2805 2013-12-16 Will Newton <will.newton@linaro.org>
2807 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2808 (Aligned Memory Blocks): Add documentation for aligned_alloc
2809 and suggest it as an alternative to posix_memalign.
2810 (Hooks for Malloc): Document __memalign_hook is also called
2811 for aligned_alloc. (Summary of Malloc): Add summary for
2812 aligned alloc. Document __memalign_hook is also called
2815 2013-12-16 Will Newton <will.newton@linaro.org>
2817 * manual/memory.texi (Malloc Examples): Clarify default
2818 alignment documentation. Suggest posix_memalign rather
2819 than memalign or valloc.
2820 (Aligned Memory Blocks): Remove suggestion to use memalign
2821 or valloc. Remove obsolete comment about BSD.
2822 Document memalign errno values and mark the function obsolete.
2823 Document posix_memalign returned error codes. Mark valloc
2824 as obsolete. (Hooks for Malloc): __memalign_hook is also
2825 called for posix_memalign and valloc.
2826 (Summary of Malloc): Add posix_memalign to function summary.
2827 __memalign_hook is also called for posix_memalign and valloc.
2829 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2831 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2835 (sloww): Use mynumber union. Expand ternary operator into
2837 (cslow): use mynumber union.
2839 2013-12-16 Allan McRae <allan@archlinux.org>
2841 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2842 * configure: Regenerated.
2844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2847 * configure.ac: Added --enable-maintainer-mode. Check for
2848 autoconf when enabled.
2849 * configure: Regenerated.
2851 * nscd/nscd.service: New file.
2852 * nscd/nscd.tmpfiles: New file.
2854 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2857 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2858 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2859 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2860 (strstr): Add __strstr_sse2_unaligned ifunc.
2861 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2862 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2863 (strcasestr): Remove __strcasestr_sse42 ifunc.
2864 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2865 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2868 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2870 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2871 * sysdeps/sh/bits/fenv.h: ... here.
2872 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2874 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2878 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2881 hypotf multiarch implementations.
2882 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2885 multiarch hypot for PPC64.
2886 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2887 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2888 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2889 multiarch hypotf for PPC64.
2891 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2894 modff multiarch implementations.
2895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2898 multiarch modf for PPC64.
2899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2902 multiarch modff for PPC64.
2904 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2907 and logl multiarch implementations.
2908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2911 multiarch logb for PPC64.
2912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2915 multiarch logb for PPC64.
2916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2919 multiarch logb for PPC64.
2921 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2924 isinff multiarch implementation.
2925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2929 multiarch isinf for PPC64.
2930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2933 multiarch isinff for PPC64.
2935 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2938 finitef multiarch implementation.
2939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2943 multiarch finite for PPC64.
2944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2947 multiarch finitef for PPC64.
2949 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2952 lrint multiarch implementation.
2953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2957 multiarch llrint for PPC64.
2958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2959 multiarch lrint for PPC64.
2961 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2964 copysignf multiarch implementation.
2965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2970 multiarch copysign for PPC64.
2971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2972 multiarch copysignf for PPC64.
2974 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2977 multiarch implementation.
2978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2986 multiarch llround for PPC64.
2987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2988 multiarch trunc for PPC64.
2989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2990 multiarch truncf for PPC64.
2992 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2995 multiarch implementation.
2996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3004 multiarch llround for PPC64.
3005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3006 multiarch round for PPC64.
3007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3008 multiarch roundf for PPC64.
3010 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3013 multiarch implementation.
3014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3022 multiarch llround for PPC64.
3023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3024 multiarch floor for PPC64.
3025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3026 multiarch floorf for PPC64.
3028 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3031 multiarch implementation.
3032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3040 multiarch llround for PPC64.
3041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3042 multiarch ceil for PPC64.
3043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3044 multiarch ceilf for PPC64.
3046 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3049 multiarch implementation.
3050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3057 multiarch llround for PPC64.
3058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3059 multiarch lround for PPC64.
3061 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3064 multiarch implementation.
3065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3072 multiarch isnan for PPC64.
3073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3074 multiarch isnanf for PPC64.
3076 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3078 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3079 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3080 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3081 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3082 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3085 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3087 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3088 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3092 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3095 multiarch implementations.
3096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3097 (__libc_ifunc_impl_list): Likewise.
3098 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3099 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3100 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3101 multiarch stpcpy for PPC64.
3103 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3106 multiarch implementations.
3107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3108 (__libc_ifunc_impl_list): Likewise.
3109 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3110 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3111 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3112 multiarch strcpy for PPC64.
3114 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3116 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3117 redefine function name.
3118 (_wordcopy_fwd_dest_aligned): Likewise.
3119 (_wordcopy_bwd_aligned): Likewise.
3120 (_wordcopy_bwd_dest_aligned): Likewise.
3121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3122 multiarch implementations.
3123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3124 (__libc_ifunc_impl_list): Likewise.
3125 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3126 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3127 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3128 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3129 multiarch wcscpy for PPC64.
3131 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3134 multiarch implementations.
3135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3136 (__libc_ifunc_impl_list): Likewise.
3137 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3138 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3139 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3140 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3141 multiarch wcscpy for PPC64.
3143 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3146 multiarch implementations.
3147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3148 (__libc_ifunc_impl_list): Likewise.
3149 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3150 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3151 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3152 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3153 multiarch wcsrchr for PPC64.
3155 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3158 multiarch implementations.
3159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3160 (__libc_ifunc_impl_list): Likewise.
3161 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3162 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3163 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3164 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3165 multiarch wcschr for PPC64.
3167 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3170 multiarch implementations.
3171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3172 (__libc_ifunc_impl_list): Likewise.
3173 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3174 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3175 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3176 multiarch strchrnul for PPC64.
3178 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3183 (__libc_ifunc_impl_list): Likewise.
3184 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3185 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3186 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3187 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3190 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3195 (__libc_ifunc_impl_list): Likewise.
3196 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3197 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3198 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3199 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3202 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3205 multiarch implementations.
3206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3207 (__libc_ifunc_impl_list): Likewise.
3208 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3209 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3210 strncasecmp for PPC64.
3211 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3212 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3213 multiarch strncasecmp_l for PPC64.
3215 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3218 multiarch implementations.
3219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3220 (__libc_ifunc_impl_list): Likewise.
3221 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3222 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3223 multiarch strcasecmp for PPC64.
3224 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3226 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3227 multiarch strcasecmp_l for PPC64.
3229 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3234 (__libc_ifunc_impl_list): Likewise.
3235 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3236 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3237 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3240 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3245 (__libc_ifunc_impl_list): Likewise.
3246 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3247 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3248 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3251 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3256 (__libc_ifunc_impl_list): Likewise.
3257 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3258 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3259 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3260 rawmemrchr for PPC64.
3262 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3267 (__libc_ifunc_impl_list): Likewise.
3268 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3269 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3270 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3273 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3278 (__libc_ifunc_impl_list): Likewise.
3279 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3280 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3281 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3284 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3289 (__libc_ifunc_impl_list): Likewise.
3290 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3291 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3292 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3295 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3298 avoid cretion of __bzero symbol.
3299 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3301 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3303 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3306 multiarch implementations.
3307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3308 (__libc_ifunc_impl_list): Likewise.
3309 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3310 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3311 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3312 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3314 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3315 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3316 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3317 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3318 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3320 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3322 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3324 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3328 (__libc_ifunc_impl_list): Likewise.
3329 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3330 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3331 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3332 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3335 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3338 multiarch for POWER/PPC64.
3339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3340 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3341 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3342 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3343 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3344 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3345 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3346 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3347 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3350 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3352 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3353 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3354 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3355 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3356 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3357 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3358 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3359 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3360 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3361 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3362 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3363 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3364 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3365 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3366 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3375 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3377 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3379 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3381 * benchtests/Makefile (bench): Add exp2 and log2.
3382 (LDLIBS-bench-exp2): Add -lm.
3383 (LDLIBS-bench-log2): Likewise.
3384 * benchtests/exp2-inputs: New inputs file.
3385 * benchtests/log2-inputs: New inputs file.
3386 * benchtests/log-inputs: Add new inputs.
3387 * benchtests/tan-inputs: Likewise.
3389 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3391 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3393 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3394 csloww1, csloww2): ... from here.
3396 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3397 instead of structures.
3398 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3399 (POLYNOMIAL): Likewise.
3400 (TAYLOR_SLOW): Likewise.
3408 (bsloww1): Likewise.
3409 (bsloww2): Likewise.
3412 (csloww1): Likewise.
3413 (csloww2): Likewise.
3415 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3417 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3418 (__malloc_assert, __libc_realloc, __libc_calloc,
3419 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3421 * malloc/hooks.c (realloc_check): Likewise.
3423 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3425 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3426 * malloc/arena.c: Remove PER_THREAD conditional.
3427 [!PER_THREAD]: Remove code.
3428 (ptmalloc_unlock_all2): Likewise.
3429 (ptmalloc_init): Likewise.
3430 (_int_new_arena): Likewise.
3431 (arena_get2): Likewise.
3432 * malloc/hooks.c (__malloc_get_state): Likewise.
3433 (__malloc_set_state): Likewise.
3434 * malloc/malloc.c: Likewise.
3435 (struct malloc_state): Likewise.
3436 (struct malloc_par): Likewise.
3437 (__libc_realloc): Likewise.
3438 (__libc_mallopt): Likewise.
3440 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3442 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3444 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3446 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3447 macro to a function. Check for zero perturb_byte.
3448 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3450 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3452 * malloc/malloc.c: (force_reg): Remove.
3453 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3454 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3455 force_reg by atomic_forced_read.
3456 * malloc/arena.c (ptmalloc_init): Likewise.
3457 * malloc/hooks.c (top_check): Likewise.
3459 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3463 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3467 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3469 * math/auto-libm-test-in: Add tests of lgamma.
3470 * math/auto-libm-test-out: Regenerated.
3471 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3472 (M_LOG_2_SQRT_PIl): Likewise.
3473 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3474 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3476 (func_calc_desc): Add mpfr_f_f1 union field.
3485 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3486 (test_functions): Add lgamma.
3487 (calc_generic_results): Handle mpfr_f_f1.
3488 * sysdeps/i386/fpu/libm-test-ulps: Update.
3489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3491 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3493 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3494 __mpn_add_n for PowerPC64/POWER7.
3495 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3496 __mpn_sub_n for PowerPC64/POWER7.
3498 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3500 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3501 __mpn_addmul_1 for PowerPC64.
3502 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3503 __mpn_submul_1 for PowerPC64.
3504 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3506 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3509 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3512 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3514 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3516 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3518 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3520 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3521 add multiarch folders.
3522 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3523 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3524 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3525 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3526 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3527 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3528 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3529 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3530 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3531 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3532 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3540 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3543 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3549 multiarch __ieee754_hypot for PowerPC32.
3550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3555 multiarch __ieee754_hypotf for PowerPC32.
3557 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3560 long_double_symbol only if __logbl is defined.
3561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3562 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3564 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3566 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3567 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3568 path for implementation.
3569 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3572 logb, and logbl multiarch implementations for PowerPC32.
3573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3578 multiarch logb for PowerPC32.
3579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3584 multiarch logbf for PowerPC32.
3585 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3589 multiarch logbl implementation for PowerPC32.
3591 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3594 and modff multiarch implementations.
3595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3600 multiarch modf for PowerPC32.
3601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3606 multiarch modff for PowerPC32.
3608 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3611 and lrintf multiarch implementations.
3612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3617 multiarch lrint for PowerPC32.
3618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3619 file: multiarch lrintf for PowerPC32.
3621 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3624 and lroundf multiarch implementations.
3625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3632 multiarch lround for PowerPC32.
3633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3634 file: multiarch lroundf for PowerPC32.
3636 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3639 copysign and copysignf multiarch implementations.
3640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3645 file: multiarch copysign for PowerPC32.
3646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3647 file: multiarch copysignf for PowerPC32.
3649 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3652 and truncf multiarch implementations.
3653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3658 multiarch trunc for PowerPC32.
3659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3664 multiarch truncf for PowerPC32.
3666 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3669 and roundf multiarch implementations.
3670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3675 multiarch round for PowerPC32.
3676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3681 multiarch roundf for PowerPC32.
3683 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3686 and floorf multiarch implementations.
3687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3692 multiarch floor for PowerPC32.
3693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3698 multiarch floorf for PowerPC32.
3700 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3703 and ceilf multiarch implementations.
3704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3709 multiarch ceil for PowerPC32.
3710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3715 multiarch ceilf for PowerPC32.
3717 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3719 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3721 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3724 and finitef multiarch implementations.
3725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3730 multiarch finite for PowerPC32.
3731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3734 file: multiarch finitef for PowerPC32.
3736 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3739 and isinff multiarch implementations.
3740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3745 multiarch isinf for PowerPC32.
3746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3749 multiarch isinff for PowerPC32.
3751 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3753 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3754 alias when __isnan is defined.
3755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3756 and isnanf multiarch implementations.
3757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3766 multiarch isnan for PowerPC32.
3767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3772 multiarch isnanf for PowerPC32.
3774 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3777 and sqrtf multiarch implementations.
3778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3783 multiarch sqrt for PowerPC32.
3784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3789 multiarch sqrtf for PowerPC32.
3791 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3794 and llroundf multiarch implementations.
3795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3802 file: multiarch llround for PowerPC32.
3803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3804 file: multiarch llroundf for PowerPC32.
3806 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3809 multiarch PowerPC32 fpu implementations.
3810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3815 multiarch llrint for PowerPC32.
3816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3823 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3827 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3829 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3831 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3833 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3835 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3836 multiarch wordcopy for PPC32.
3837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3840 (__libc_ifunc_impl_list): Likewise.
3841 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3842 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3843 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3844 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3845 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3846 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3848 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3850 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3858 multiarch wcscpy for PPC32.
3859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3862 (__libc_ifunc_impl_list): Likewise.
3863 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3864 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3865 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3866 sysdeps/powerpc/power6/wcscpy.c.
3868 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3870 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3878 multiarch wcsrchr for PPC32.
3879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3882 (__libc_ifunc_impl_list): Likewise.
3883 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3884 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3885 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3886 sysdeps/powerpc/power6/wcsrchr.c.
3888 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3896 multiarch wcschr for PPc32.
3897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3900 (__libc_ifunc_impl_list): Likewise.
3901 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3902 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3903 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3904 sysdeps/powerpc/power6/wcschr.c.
3906 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3908 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3909 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3911 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3912 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3913 file: multiarch strchr for PPC32.
3914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3917 (__libc_ifunc_impl_list): Likewise.
3919 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3921 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3923 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3925 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3927 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3928 multiarch strchrnul for PPC32.
3929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3932 (__libc_ifunc_impl_list): Likewise.
3934 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3936 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3938 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3939 multiarch strncasecmp for PPC32.
3940 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3942 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3943 multiarch strncasecmp_l for PPC32.
3944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3945 strncasecmp multiarch objects.
3946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3947 (__libc_ifunc_impl_list): Likewise.
3949 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3951 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3953 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3954 multiarch strncasecmp for PPC32.
3955 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3957 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3958 multiarch strcasecmp_l for PPC32.
3959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3962 (__libc_ifunc_impl_list): Likewise.
3964 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3966 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3968 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3971 multiarch strncmp for PPC32.
3972 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3974 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3975 (__libc_ifunc_impl_list): Likewise.
3977 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3979 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3980 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3982 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3983 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3987 (__libc_ifunc_impl_list): Likewise.
3989 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3991 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3993 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3995 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3999 (__libc_ifunc_impl_list): Likewise.
4001 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4003 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4005 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4007 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4008 multiarch rawmemchr for PPC32.
4009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4012 (__libc_ifunc_impl_list): Likewise.
4014 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4016 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4018 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4020 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4021 file: memrchr multiarch for PPC32.
4022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4025 (__libc_ifunc_impl_list): Likewise.
4027 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4030 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4032 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4033 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4034 multiarch memchr for PPC32.
4035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4038 (__libc_ifunc_impl_list): Likewise.
4040 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4042 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4043 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4045 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4047 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4048 file: multiarch mempcpy for PPC32.
4049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4052 (__libc_ifunc_impl_list): Likewise.
4054 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4056 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4057 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4058 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4059 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4060 multiarch bzero for PPC32.
4061 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4063 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4065 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4066 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4067 file: multiarch memset for PPC32.
4068 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4070 memset multiarch objects.
4071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4072 (__libc_ifunc_impl_list): Likewise.
4074 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4078 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4081 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4084 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4085 (__libc_ifunc_impl_list): Likewise.
4087 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4093 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4095 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4098 multiarch memcpy for PPC32.
4099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4102 (__libc_ifunc_impl_list): Likewise.
4104 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4107 support multiarch for POWER/PPC32.
4108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4110 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4112 Implies file to make multiarch folder appers before the fpu and
4113 default folder for power4 configuration.
4115 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4117 * scripts/bench.pl: Append volatile keyword to type.
4119 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4121 * sysdeps/sh/sotruss-lib.c: New file.
4122 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4124 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4128 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4131 * math/w_tgamma.c: Include <errno.h>.
4132 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4133 * math/w_tgammaf.c: Include <errno.h>.
4134 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4135 * math/w_tgammal.c: Include <errno.h>.
4136 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4137 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4138 underflow. Add more tgamma tests.
4139 * math/auto-libm-test-out: Regenerated.
4140 * sysdeps/i386/fpu/libm-test-ulps: Update.
4141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4143 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4144 sin, sinh, tan, tanh, tgamma, y0 and y1.
4145 * math/auto-libm-test-out: Regenerated.
4146 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4147 (TEST_COND_x86): Likewise.
4148 (M_E2l): Remove macro.
4150 (M_2_SQRT_PIl): Likewise.
4151 (M_SQRT_PIl): Likewise.
4152 (M_1_DIV_El): Likewise.
4153 (log_test_data): Use AUTO_TESTS_f_f.
4154 (log10_test_data): Likewise.
4155 (log1p_test_data): Likewise.
4156 (log2_test_data): Likewise.
4157 (sin_test_data): Likewise.
4158 (sin_tonearest_test_data): Likewise.
4159 (sin_towardzero_test_data): Likewise.
4160 (sin_downward_test_data): Likewise.
4161 (sin_upward_test_data): Likewise.
4162 (sinh_test_data): Likewise.
4163 (sinh_tonearest_test_data): Likewise.
4164 (sinh_towardzero_test_data): Likewise.
4165 (sinh_downward_test_data): Likewise.
4166 (sinh_upward_test_data): Likewise.
4167 (tan_test_data): Likewise.
4168 (tan_tonearest_test_data): Likewise.
4169 (tan_towardzero_test_data): Likewise.
4170 (tan_downward_test_data): Likewise.
4171 (tan_upward_test_data): Likewise.
4172 (tanh_test_data): Likewise.
4173 (tgamma_test_data): Likewise.
4174 (y0_test_data): Likewise.
4175 (y1_test_data): Likewise.
4176 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4177 (special_real_inputs): Add pi/4.
4178 * sysdeps/i386/fpu/libm-test-ulps: Update.
4179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4181 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4183 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4184 "longjmp_target" static probes.
4185 (__longjmp): Rename to __longjmp_symbol.
4186 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4187 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4188 on which longjmp to generate.
4189 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4190 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4192 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4193 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4194 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4195 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4196 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4197 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4199 __longjmp_symbol based on which __longjmp to generate.
4200 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4202 (setjmp): Rename to setjmp_symbol.
4203 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4204 (_setjmp): Rename to _setjmp_symbol.
4205 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4206 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4207 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4208 which setjmp to generate.
4209 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4210 "longjmp_target" static probes.
4212 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4214 * benchtests/README: Add note about output arguments.
4215 * benchtests/bench-sincos.c: Remove file.
4216 * benchtests/sincos-inputs: New file.
4217 * scripts/bench.pl: Identify output arguments and define
4218 static variables for them.
4220 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4223 * Makefile (INSTALL): Add install-plain.texi as the primary
4225 * manual/install-plain.texi: New file.
4226 * manual/install.texi: Include node directive only for
4227 non-plaintext output.
4229 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4231 * stdlib/longlong.h: Update from GCC.
4235 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4236 * math/w_j0f.c (y0f): Likewise.
4237 * math/w_j0l.c (__y0l): Likewise.
4238 * math/w_j1.c (y1): Likewise.
4239 * math/w_j1f.c (y1f): Likewise.
4240 * math/w_j1l.c (__y1l): Likewise
4241 * math/w_jn.c (yn): Likewise.
4242 * math/w_jnf.c (ynf): Likewise.
4243 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4244 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4245 value for Bessel function domain errors outside _SVID_ mode.
4246 Adjust sign of return value for yn (negative integer, 0).
4247 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4248 by zero in return for negative x and set sign appropriately for
4250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4251 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4252 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4253 expectations in error cases.
4254 (y1_test_data): Likewise.
4255 (yn_test_data): Likewise.
4256 * sysdeps/i386/fpu/libm-test-ulps: Update.
4257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4259 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4261 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4262 "64" to "64-v1". Add "64-v2".
4263 (abi-64-options): Rename to ...
4264 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4265 (abi-64-condition): Rename to ...
4266 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4267 (abi-64-ld-soname): Rename to ...
4268 (abi-64-v1-ld-soname): ... this.
4269 (abi-64-v2-options): Define.
4270 (abi-64-v2-condition): Likewise.
4271 (abi-64-v2-ld-soname): Likewise.
4272 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4273 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4278 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4279 Alan Modra <amodra@gmail.com>
4281 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4282 New versions for use with the ELFv2 ABI.
4283 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4284 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4286 (struct La_ppc64v2_retval): Likewise.
4287 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4288 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4289 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4290 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4291 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4292 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4293 Do not save or restore CR.
4294 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4295 (_dl_profile_resolve): Do no save or restore CR. Support extended
4296 return values for ELFv2 ABI. Fix location of FPR return registers.
4297 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4298 updated values for _CALL_ELF == 2.
4299 (La_regs, La_retval, int_retval): Likewise.
4301 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4303 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4304 (FRAME_MIN_SIZE_PARM): Likewise.
4305 (FRAME_BACKCHAIN): Likewise.
4306 (FRAME_CR_SAVE): Likewise.
4307 (FRAME_LR_SAVE): Likewise.
4308 (FRAME_TOC_SAVE): Likewise.
4309 (FRAME_PARM_SAVE): Likewise.
4310 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4311 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4312 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4313 (call_mcount_parm_offset): New macro.
4314 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4315 (PROF): Use symbolic stack frame offsets.
4316 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4317 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4318 Redefine in terms of FRAME_MIN_SIZE.
4319 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4320 (_dl_profile_resolve): Likewise. Update comment.
4321 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4322 symbols stack frame offsets.
4323 (__sigsetjmp): Likewise.
4324 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4325 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4326 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4327 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4330 (FRAME_BACKCHAIN): Remove.
4331 (FRAME_CR_SAVE): Likewise.
4332 (FRAME_LR_SAVE): Likewise.
4333 (FRAME_COMPILER_DW): Likewise.
4334 (FRAME_LINKER_DW): Likewise.
4335 (FRAME_TOC_SAVE): Likewise.
4336 (FRAME_PARM_SAVE): Likewise.
4337 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4338 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4339 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4341 (CHECK_SP): Use symbolic stack frame offsets.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4343 zone" instead of caller's parameter save area for temp storage.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4345 Likewise. Also, use symbolic stack frame offsets.
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4347 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4348 our own stack frame instead of the caller's.
4349 (__socket): Use symbolic stack frame offsets.
4351 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4352 Alan Modra <amodra@gmail.com>
4354 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4356 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4357 PPC64_LOCAL_ENTRY_OFFSET): Define.
4358 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4360 (elf_machine_fixup_plt): Call it.
4361 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4363 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4364 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4365 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4366 r2 before calling target.
4368 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4369 Alan Modra <amodra@gmail.com>
4371 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4372 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4373 versions of macros to support ELFv2 ABI.
4374 (LOCALENTRY): New macro.
4375 (ENTRY, EALIGN): Use it.
4376 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4377 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4378 fall through into ENTRY entry point.
4379 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4380 Only define if _CALL_ELF != 2.
4382 (elf_machine_matches_host): Verify ABI version matches.
4383 (RTLD_START): Use LOCALENTRY.
4384 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4385 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4386 (PLT_ENTRY_WORDS): New macro.
4387 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4388 (elf_machine_runtime_setup): Support ELFv2 ABI.
4389 (elf_machine_fixup_plt): Likewise.
4390 (elf_machine_plt_conflict): Likewise.
4391 (resolve_ifunc): Likewise.
4392 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4393 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4396 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4398 (makecontext): Support ELFv2 ABI.
4399 * elf/elf.h (EF_PPC64_ABI): Define.
4401 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4403 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4404 New assembler macro.
4405 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4406 [ASSEMBLER] (ENTRY): ... but instead here ...
4407 [ASSEMBLER] (EALIGN): ... and here.
4408 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4409 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4410 [!ASSEMBLER] (ENTRY_2): Use it.
4411 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4412 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4413 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4414 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4415 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4417 Use PPC64_LOAD_FUNCPTR.
4419 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4421 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4423 2013-12-04 Alan Modra <amodra@gmail.com>
4425 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4426 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4427 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4428 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4430 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4431 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4432 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4433 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4434 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4435 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4437 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4440 (__makecontext): Fix incorrect CFI when backtracing out of
4441 context created via makecontext.
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4443 (__setcontext): Fix incorrect CFI during switch to new context.
4444 (__novec_setcontext): Likewise.
4446 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4449 * time/strptime_l.c (__strptime_internal): Allow modifiers
4451 * time/tst-strptime.c (day_tests): Add testcase.
4454 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4456 * scripts/bench.pl: Skip over blank lines.
4458 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4461 * manual/time.texi (Calendar Time): Clarify what timezone functions
4464 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4468 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4470 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4472 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4473 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4474 * debug/memset_chk.c (__memset_chk): Likewise.
4475 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4476 * debug/strncpy_chk.c: Likewise.
4478 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4482 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4483 (__ieee754_exp): For possibly underflowing results, check size of
4484 result and force underflow exception if required.
4485 * math/auto-libm-test-in: Add more tests of exp.
4486 * math/auto-libm-test-out: Regenerated.
4487 * sysdeps/i386/fpu/libm-test-ulps: Update.
4488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4491 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4492 * math/w_exp2f.c (__exp2f): Likewise.
4493 * math/w_exp2l.c (__exp2l): Likewise.
4494 * math/auto-libm-test-in: Do not allow missing errno on exp2
4496 * math/auto-libm-test-out: Regenerated.
4498 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4501 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4502 handle filename validation.
4503 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4506 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4509 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4510 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4511 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4513 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4514 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4515 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4517 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4519 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4520 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4521 Add more erfc tests.
4522 * math/auto-libm-test-out: Regenerated.
4523 * sysdeps/i386/fpu/libm-test-ulps: Update.
4524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4526 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4527 exp2, expm1, j0 and j1.
4528 * math/auto-libm-test-out: Regenerated.
4529 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4530 (erfc_test_data): Likewise.
4531 (exp_test_data): Likewise.
4532 (exp_tonearest_test_data): Likewise.
4533 (exp_towardzero_test_data): Likewise.
4534 (exp_downward_test_data): Likewise.
4535 (exp_upward_test_data): Likewise.
4536 (exp10_test_data): Likewise.
4537 (exp2_test_data): Likewise.
4538 (expm1_test_data): Likewise.
4539 (j0_test_data): Likewise.
4540 (j1_test_data): Likewise.
4541 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4542 (input_flag_type): Add flag_xfail_rounding.
4543 (input_flags): Add xfail-rounding.
4544 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4545 (output_for_one_input_case): Handle flag_xfail_rounding.
4546 * sysdeps/i386/fpu/libm-test-ulps: Update.
4547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4549 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4552 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4555 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4558 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4559 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4560 (STAP_PROBE0): New macro.
4561 (STAP_PROBE1): Likewise.
4562 (STAP_PROBE2): Likewise.
4563 (STAP_PROBE3): Likewise.
4564 (STAP_PROBE4): Likewise.
4566 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4568 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4570 2013-12-02 Steve Ellcey <sellcey@mips.com>
4572 * benchtests/Makefile (bench): Add sqrt.
4573 (LDLIBS-bench-sqrt): New.
4574 * benchtests/sqrt-input: New.
4576 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4578 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4579 (GAIH_EAI): Likewise.
4580 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4581 (gaih_inet): Likewise.
4582 (getaddrinfo): Don't use GAIH_EAI.
4584 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4585 (struct gaih): Remove definition.
4587 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4589 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4590 Use HERRNOP directly.
4592 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4596 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4598 * math/gen-auto-libm-tests.c (test_functions): Add more
4599 single-argument functions.
4600 (special_fill_pi_2): New function.
4601 (special_fill_minus_pi_2): Likewise.
4602 (special_fill_pi_6): Likewise.
4603 (special_fill_minus_pi_6): Likewise.
4604 (special_fill_pi_3): Likewise.
4605 (special_fill_2pi_3): Likewise.
4606 (special_fill_e): Likewise.
4607 (special_fill_1_e): Likewise.
4608 (special_fill_e_minus_1): Likewise.
4609 (special_real_inputs): Add more special inputs.
4610 (output_for_one_input_case): Do not require ERANGE on underflow to
4611 zero if round-to-nearest result does not underflow to zero, unless
4612 exact results required.
4613 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4614 atan, atanh, cbrt, cos and cosh.
4615 * math/auto-libm-test-out: Regenerated.
4616 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4617 (acos_tonearest_test_data): Likewise.
4618 (acos_towardzero_test_data): Likewise.
4619 (acos_downward_test_data): Likewise.
4620 (acos_upward_test_data): Likewise.
4621 (acosh_test_data): Likewise.
4622 (asin_test_data): Likewise.
4623 (asin_tonearest_test_data): Likewise.
4624 (asin_towardzero_test_data): Likewise.
4625 (asin_upward_test_data): Likewise.
4626 (asinh_test_data): Likewise.
4627 (atan_test_data): Likewise.
4628 (atanh_test_data): Likewise.
4629 (cbrt_test_data): Likewise.
4630 (cos_test_data): Likewise.
4631 (cos_tonearest_test_data): Likewise.
4632 (cos_towardzero_test_data): Likewise.
4633 (cos_downward_test_data): Likewise.
4634 (cos_upward_test_data): Likewise.
4635 (cosh_test_data): Likewise.
4636 (cosh_tonearest_test_data): Likewise.
4637 (cosh_towardzero_test_data): Likewise.
4638 (cosh_downward_test_data): Likewise.
4639 (cosh_upward_test_data): Likewise.
4640 * sysdeps/i386/fpu/libm-test-ulps: Update.
4641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4643 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4646 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4647 * math/w_exp10f.c (__exp10f): Likewise.
4648 * math/w_exp10l.c (__exp10l): Likewise.
4649 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4650 errno settings in existing tests.
4653 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4654 precision control set to double precision.
4655 * sysdeps/i386/fpu/w_sqrt.c: New file.
4656 * math/auto-libm-test-in: Add more tests.
4657 * math/auto-libm-test-out: Update.
4659 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4660 (sqrt_test_tonearest): New function.
4661 (sqrt_towardzero_test_data): New variable.
4662 (sqrt_test_towardzero): New function.
4663 (sqrt_downward_test_data): New variable.
4664 (sqrt_test_downward): New function.
4665 (sqrt_upward_test_data): New variable.
4666 (sqrt_test_upward): New function.
4667 (main): Call the new functions.
4669 * math/gen-auto-libm-tests.c: New file.
4670 * math/auto-libm-test-in: Likewise.
4671 * math/auto-libm-test-out: New generated file.
4672 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4674 (%beautify): Add generated representations of zero.
4675 (top level): Set $auto_input and call parse_auto_input.
4676 (beautify): Remove trailing "f" from hex float constants.
4677 (parse_args): Handle XFAIL_TEST.
4678 (convert_condition): New function.
4679 (or_value): Likewise.
4680 (or_cond_value): Likewise.
4681 (generate_testfile): Handle AUTO_TESTS_* lines.
4682 (parse_auto_input): New function.
4683 * math/libm-test.inc (XFAIL_TEST): New macro.
4684 (ERRNO_UNCHANGED): Update value.
4685 (ERRNO_EDOM): Likewise.
4686 (ERRNO_ERANGE): Likewise.
4687 (IGNORE_RESULT): Likewise.
4688 (TEST_COND_flt_32): New macro.
4689 (TEST_COND_dbl_64): Likewise.
4690 (TEST_COND_ldbl_96_intel): Likewise.
4691 (TEST_COND_ldbl_96_m68k): Likewise.
4692 (TEST_COND_ldbl_128): Likewise.
4693 (TEST_COND_ldbl_128ibm): Likewise.
4694 (TEST_COND_long32): Likewise.
4695 (TEST_COND_long64): Likewise.
4696 (TEST_COND_before_rounding): Likewise.
4697 (TEST_COND_after_rounding): Likewise.
4698 (enable_test): Handle XFAIL_TEST flag.
4699 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4700 with finite results.
4701 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4704 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4705 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4708 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4709 __tls_get_addr_internal instead of __tls_get_offset in order to
4710 avoid GOT pointer dependency. Make rtld export
4711 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4712 __tls_get_addr since we are a __tls_get_offset platform.
4713 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4714 GOT pointer being set up before.
4715 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4717 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4719 * manual/math.texi (Errors in Math Functions): Document accuracy
4723 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4724 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4727 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4729 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4740 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4741 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4742 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4743 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4744 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4746 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4748 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4750 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4751 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4752 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4753 atomic-feupdateenv and flt-rounds.
4754 * sysdeps/powerpc/nofpu/Versions (libc): Add
4755 __atomic_feholdexcept, __atomic_feclearexcept,
4756 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4757 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4758 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4759 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4760 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4765 * manual/arith.texi (FP Exceptions): Document that exceptions may
4766 not be raised when matherr is used.
4767 (Math Error Reporting): Document overflow in directed rounding
4768 modes. Document that errno may not be set when finite values are
4769 returned on overflow. Document intent to set errno on underflow
4770 only for underflow to zero.
4773 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4774 round-to-nearest then adjust result for other rounding modes.
4775 * include/fenv.h (fegetround): Use libm_hidden_proto.
4776 * math/fegetround.c (fegetround): Use libm_hidden_def.
4777 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4778 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4779 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4780 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4782 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4783 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4784 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4785 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4787 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4790 * nss/Versions (libnss_files): Add
4791 _nss_files_gethostbyname3_r.
4792 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4794 (HOST_DB_LOOKUP): Remove macro.
4795 (_nss_files_gethostbyname_r): Implement function without the
4796 HOST_DB_LOOKUP macro.
4797 (_nss_files_gethostbyname2_r): Likewise.
4799 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4801 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4803 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4805 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4806 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4809 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4811 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4812 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4813 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4814 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4815 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4816 __fe_nomask_env_priv and attribute_hidden.
4817 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4818 (libc_feupdateenv_test_ppc): Likewise.
4819 (libc_feresetround_ppc): Likewise.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4821 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4822 compat_symbol macro.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4824 (__fe_nomask_env): Likewise.
4825 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4827 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4829 * string/Makefile: Remove ifunc tests.
4830 * string/test-string.h: Define TEST_IFUNC.
4831 * string/test-bcopy-ifunc.c: Remove.
4832 * string/test-bzero-ifunc.c: Likewise.
4833 * string/test-memccpy-ifunc.c: Likewise.
4834 * string/test-memchr-ifunc.c: Likewise.
4835 * string/test-memcmp-ifunc.c: Likewise.
4836 * string/test-memcpy-ifunc.c: Likewise.
4837 * string/test-memmem-ifunc.c: Likewise.
4838 * string/test-memmove-ifunc.c: Likewise.
4839 * string/test-mempcpy-ifunc.c: Likewise.
4840 * string/test-memrchr-ifunc.c: Likewise.
4841 * string/test-memset-ifunc.c: Likewise.
4842 * string/test-rawmemchr-ifunc.c: Likewise.
4843 * string/test-stpcpy-ifunc.c: Likewise.
4844 * string/test-stpncpy-ifunc.c: Likewise.
4845 * string/test-strcasecmp-ifunc.c: Likewise.
4846 * string/test-strcasestr-ifunc.c: Likewise.
4847 * string/test-strcat-ifunc.c: Likewise.
4848 * string/test-strchr-ifunc.c: Likewise.
4849 * string/test-strchrnul-ifunc.c: Likewise.
4850 * string/test-strcmp-ifunc.c: Likewise.
4851 * string/test-strcpy-ifunc.c: Likewise.
4852 * string/test-strcspn-ifunc.c: Likewise.
4853 * string/test-strlen-ifunc.c: Likewise.
4854 * string/test-strncasecmp-ifunc.c: Likewise.
4855 * string/test-strncat-ifunc.c: Likewise.
4856 * string/test-strncmp-ifunc.c: Likewise.
4857 * string/test-strncpy-ifunc.c: Likewise.
4858 * string/test-strnlen-ifunc.c: Likewise.
4859 * string/test-strpbrk-ifunc.c: Likewise.
4860 * string/test-strrchr-ifunc.c: Likewise.
4861 * string/test-strspn-ifunc.c: Likewise.
4862 * string/test-strstr-ifunc.c: Likewise.
4864 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4866 * benchtests/Makefile: Remove ifunc tests.
4867 * benchtests/bench-string.h: Define TEST_IFUNC.
4868 * benchtests/bench-bcopy-ifunc.c: Remove.
4869 * benchtests/bench-bzero-ifunc.c: Likewise.
4870 * benchtests/bench-memccpy-ifunc.c: Likewise.
4871 * benchtests/bench-memchr-ifunc.c: Likewise.
4872 * benchtests/bench-memcmp-ifunc.c: Likewise.
4873 * benchtests/bench-memcpy-ifunc.c: Likewise.
4874 * benchtests/bench-memmem-ifunc.c: Likewise.
4875 * benchtests/bench-memmove-ifunc.c: Likewise.
4876 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4877 * benchtests/bench-memrchr-ifunc.c: Likewise.
4878 * benchtests/bench-memset-ifunc.c: Likewise.
4879 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4880 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4881 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4882 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4883 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4884 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4885 * benchtests/bench-strcat-ifunc.c: Likewise.
4886 * benchtests/bench-strchr-ifunc.c: Likewise.
4887 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4888 * benchtests/bench-strcmp-ifunc.c: Likewise.
4889 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4890 * benchtests/bench-strcpy-ifunc.c: Likewise.
4891 * benchtests/bench-strcspn-ifunc.c: Likewise.
4892 * benchtests/bench-strlen-ifunc.c: Likewise.
4893 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4894 * benchtests/bench-strncat-ifunc.c: Likewise.
4895 * benchtests/bench-strncmp-ifunc.c: Likewise.
4896 * benchtests/bench-strncpy-ifunc.c: Likewise.
4897 * benchtests/bench-strnlen-ifunc.c: Likewise.
4898 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4899 * benchtests/bench-strrchr-ifunc.c: Likewise.
4900 * benchtests/bench-strsep-ifunc.c: Likewise.
4901 * benchtests/bench-strspn-ifunc.c: Likewise.
4902 * benchtests/bench-strstr-ifunc.c: Likewise.
4904 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4906 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4908 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4910 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4911 * rt/aio.h: Likewise.
4912 * sysdeps/gnu/bits/utmp.h: Likewise.
4913 * sysdeps/gnu/bits/utmpx.h: Likewise.
4914 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4915 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4916 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4917 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4918 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4919 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4920 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4921 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4922 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4923 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4924 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4925 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4926 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4928 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4929 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4930 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4931 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4932 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4933 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4934 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4935 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4936 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4937 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4938 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4941 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4942 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4943 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4944 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4945 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4946 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4947 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4948 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4949 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4950 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4951 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4952 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4953 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4954 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4955 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4957 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4960 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4961 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4963 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4965 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4966 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4969 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4971 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4972 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4973 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4974 (__fesetround): Remove define.
4975 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4976 rounding and exceptions handling.
4977 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4978 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4979 (__fe_nomask_env): Likewise.
4980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4981 __fegetround instead of fegetround.
4982 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4985 2013-11-21 Roland McGrath <roland@hack.frob.com>
4987 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4990 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4992 2013-11-21 Meador Inge <meadori@codesourcery.com>
4995 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4996 (encrypt_r): Likewise.
4997 * malloc/obstack.h (obstack_free): Likewise.
4998 * posix/unistd.h (encrypt): Likewise.
5000 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5002 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5003 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5004 DL_CALL_DT_FINI() that call the functions directly.
5005 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5006 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5007 * elf/dl-fini.c: Likewise.
5009 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
5011 * malloc/hooks.c (memalign_check): Add alignment rounding.
5012 * malloc/malloc.c (_mid_memalign): New function.
5013 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5014 Implement by calling _mid_memalign.
5015 * manual/probes.texi (Memory Allocation Probes): Remove
5016 memory_valloc_retry and memory_pvalloc_retry.
5018 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5020 * locale/programs/locarchive.c (open_archive): Add const
5021 qualifier to ARCHIVEFNAME and copy default fname to
5025 * libio/tst-widetext.input: Rename Oriya to Odia.
5026 * locale/iso-639.def: Likewise.
5028 * manual/probes.texi (Mathematical Function Probes): Add
5029 documentation for sin, cos, asin and acos probes.
5030 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5031 (__sin32): Add slowasin probe.
5032 (__cos32): Add slowacos probe.
5033 (__mpsin): Add slowsin probe.
5034 (__mpcos): Add slowcos probe.
5036 2013-11-19 Joseph Myers <joseph@codesourcery.com>
5039 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5040 thread-local __sim_exceptions_thread and global
5041 __sim_exceptions_global.
5042 (__sim_disabled_exceptions): Change to thread-local
5043 __sim_disabled_exceptions_thread and global
5044 __sim_disabled_exceptions_global.
5045 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5046 and global __sim_round_mode_global.
5047 (__simulate_exceptions): Use thread-local floating-point state and
5048 set global state from it as needed.
5049 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5050 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5051 __sim_round_mode_thread.
5052 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5053 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5054 and global __sim_exceptions_global.
5055 (__sim_disabled_exceptions): Change to thread-local
5056 __sim_disabled_exceptions_thread and global
5057 __sim_disabled_exceptions_global.
5058 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5059 and global __sim_round_mode_global.
5060 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5061 (SIM_SET_GLOBAL): Likewise.
5062 * sysdeps/powerpc/soft-fp/sfp-machine.h
5063 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5064 __sim_round_mode_thread.
5065 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5066 __sim_disabled_exceptions_thread.
5067 (__sim_exceptions): Change to __sim_exceptions_thread.
5068 (__sim_disabled_exceptions): Change to
5069 __sim_disabled_exceptions_thread.
5070 (__sim_round_mode): Change to __sim_round_mode_thread.
5071 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5072 thread-local floating-point state and set global state from it as
5074 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5075 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5076 (__sim_disabled_exceptions): Remove extern declaration.
5077 (feenableexcept): Use thread-local floating-point state and set
5078 global state from it as needed.
5079 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5081 (__sim_disabled_exceptions): Likewise.
5082 (__sim_round_mode): Likewise.
5083 (__fegetenv): Use thread-local floating-point state.
5084 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5085 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5086 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5087 floating-point state and set global state from it as needed.
5088 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5089 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5090 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5092 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5093 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5095 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5096 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5097 Use __sim_round_mode_thread.
5098 * math/test-fenv-tls.c: New file.
5099 * math/Makefile (tests): Add test-fenv-tls.
5100 ($(objpfx)test-fenv-tls): Depend on
5101 $(common-objpfx)nptl/libpthread.so.
5103 2013-11-19 Andreas Schwab <schwab@suse.de>
5105 * locale/programs/locale.c (show_info): Decode wordarray elements.
5106 * locale/categories.def (LC_MONETARY): Add element for
5107 _NL_MONETARY_CRNCYSTR.
5108 * locale/C-monetary.c (conversion_rate): New variable.
5109 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5112 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5114 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5115 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5117 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5119 * elf/Makefile (tst-auxv): New test.
5120 * elf/tst-auxv.c: New
5121 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5123 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5125 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5126 (hidden_proto): Caller changed.
5127 (hidden_tls_proto): New macro.
5128 (libc_hidden_tls_proto): Likewise.
5129 (rtld_hidden_tls_proto): Likewise.
5130 (libm_hidden_tls_proto): Likewise.
5131 (libresolv_hidden_tls_proto): Likewise.
5132 (librt_hidden_tls_proto): Likewise.
5133 (libdl_hidden_tls_proto): Likewise.
5134 (libnss_files_hidden_tls_proto): Likewise.
5135 (libnsl_hidden_tls_proto): Likewise.
5136 (libnss_nisplus_hidden_tls_proto): Likewise.
5137 (libutil_hidden_tls_proto): Likewise.
5139 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5142 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5143 (decompose_rpath): Defer expansion to fillin_rpath.
5144 (_dl_init_paths): Pass linkmap to fillin_rpath.
5146 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5148 * benchtests/Makefile: Add strsep.
5149 * benchtests/bench-strsep.c: New file: strsep benchtest.
5150 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5152 2013-11-18 Andreas Schwab <schwab@suse.de>
5154 * locale/programs/locale.c (show_info) [case byte]: Check for
5155 '\377' instead of '\177'.
5156 * locale/C-monetary.c (not_available): Always use "\377".
5157 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5158 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5159 detect unavailable sign_posn locale elements.
5160 * locale/localeconv.c (__localeconv): For grouping and
5161 mon_grouping handle "\177" and "\377" like no grouping.
5162 (INT_ELEM): New macro. Use it to set all numeric members.
5163 * locale/programs/ld-monetary.c (monetary_read)
5164 <tok_mon_grouping>: Normalize single -1 to the empty string.
5165 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5168 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5171 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5172 when we match (nil).
5173 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5175 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5177 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5178 (NO_TEST_INLINE): Update value.
5179 (ERRNO_UNCHANGED): Likewise.
5180 (ERRNO_EDOM): Likewise.
5181 (ERRNO_ERANGE): Likewise.
5182 (IGNORE_RESULT): Likewise.
5183 (check_float_internal): Check signs of NaN results if
5185 (check_complex): Pass TEST_NAN_SIGN flag through to second
5186 check_float_internal call.
5187 (copysign_test_data): Add tests with quiet NaNs as second
5188 argument. Use TEST_NAN_SIGN.
5189 (fabs_test_data): Add test of negative quiet NaN argument. Use
5191 (signbit_test_data): Add tests of quiet NaN argument.
5192 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5194 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5196 (parse_args): Handle function results specified as IGNORE.
5197 * math/libm-test.inc (IGNORE_RESULT): New macro.
5198 (check_float_internal): Do not check numerical result if flag
5200 (check_complex): Pass through IGNORE_RESULT to second
5201 check_float_internal call.
5202 (check_int): Do not check numerical result if flag IGNORE_RESULT
5204 (check_long): Likewise.
5205 (check_bool): Likewise.
5206 (check_longlong): Likewise.
5207 (lrint_test_data): Add tests of infinite and NaN arguments.
5208 (lrint_tonearest_test_data): Likewise.
5209 (lrint_towardzero_test_data): Likewise.
5210 (lrint_downward_test_data): Likewise.
5211 (lrint_upward_test_data): Likewise.
5212 (llrint_test_data): Likewise.
5213 (llrint_tonearest_test_data): Likewise.
5214 (llrint_towardzero_test_data): Likewise.
5215 (llrint_downward_test_data): Likewise.
5216 (llrint_upward_test_data): Likewise.
5217 (lround_test_data): Likewise.
5218 (llround_test_data): Likewise.
5220 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5221 (ERRNO_UNCHANGED): Update value.
5222 (ERRNO_EDOM): Likewise.
5223 (ERRNO_ERANGE): Likewise.
5224 (NO_TEST_INLINE_FLOAT): New macro.
5225 (NO_TEST_INLINE_DOUBLE): Likewise.
5226 (enable_test): New function.
5227 (RUN_TEST_f_f): Check enable_test before running test.
5228 (RUN_TEST_2_f): Likewise.
5229 (RUN_TEST_fff_f): Likewise.
5230 (RUN_TEST_c_f): Likewise.
5231 (RUN_TEST_f_f1): Likewise.
5232 (RUN_TEST_fF_f1): Likewise.
5233 (RUN_TEST_fI_f1): Likewise.
5234 (RUN_TEST_ffI_f1): Likewise.
5235 (RUN_TEST_c_c): Likewise.
5236 (RUN_TEST_cc_c): Likewise.
5237 (RUN_TEST_f_i): Likewise.
5238 (RUN_TEST_f_i_tg): Likewise.
5239 (RUN_TEST_ff_i_tg): Likewise.
5240 (RUN_TEST_f_b): Likewise.
5241 (RUN_TEST_f_b_tg): Likewise.
5242 (RUN_TEST_f_l): Likewise.
5243 (RUN_TEST_f_L): Likewise.
5244 (RUN_TEST_fFF_11): Likewise.
5245 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5247 (cosh_test_data): Likewise.
5248 (exp_test_data): Likewise.
5249 (expm1_test_data): Likewise.
5250 (hypot_test_data): Likewise.
5251 (pow_test_data): Likewise.
5252 (sinh_test_data): Likewise.
5253 (tanh_test_data): Likewise.
5254 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5257 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5258 tests with quiet NaN input and output.
5259 (acosh_test_data): Likewise.
5260 (asin_test_data): Likewise.
5261 (asinh_test_data): Likewise.
5262 (atan_test_data): Likewise.
5263 (atanh_test_data): Likewise.
5264 (atan2_test_data): Likewise.
5265 (cbrt_test_data): Likewise.
5266 (cos_test_data): Likewise.
5267 (cosh_test_data): Likewise.
5268 (erf_test_data): Likewise.
5269 (erfc_test_data): Likewise.
5270 (exp_test_data): Likewise.
5271 (exp10_test_data): Likewise.
5272 (exp2_test_data): Likewise.
5273 (expm1_test_data): Likewise.
5274 (hypot_test_data): Likewise.
5275 (j0_test_data): Likewise.
5276 (j1_test_data): Likewise.
5277 (jn_test_data): Likewise.
5278 (lgamma_test_data): Likewise.
5279 (log_test_data): Likewise.
5280 (log10_test_data): Likewise.
5281 (log1p_test_data): Likewise.
5282 (log2_test_data): Likewise.
5283 (pow_test_data): Likewise.
5284 (scalb_test_data): Likewise.
5285 (sin_test_data): Likewise.
5286 (sincos_test_data): Likewise.
5287 (sinh_test_data): Likewise.
5288 (tan_test_data): Likewise.
5289 (tanh_test_data): Likewise.
5290 (tgamma_test_data): Likewise.
5291 (y0_test_data): Likewise.
5292 (y1_test_data): Likewise.
5293 (yn_test_data): Likewise.
5296 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5297 argument being NaN and avoid computations with second argument in
5299 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5300 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5301 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5303 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5305 * locale/iso-639.def: Add Chitwani Tharu (the).
5307 2013-11-14 Andreas Schwab <schwab@suse.de>
5309 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5310 word instead of empty string.
5312 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5315 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5317 (__fe_nomask_env): Likewise.
5319 2013-11-13 Steve Ellcey <sellcey@mips.com>
5321 * benchtests/bench-timing.h: Include time.h.
5323 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5326 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5328 * sysdeps/unix/sysv/linux/configure: Regenerated.
5330 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5333 * stdlib/strtod_l.c (round_and_return): Do not consider
5334 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5335 exponent one less than half the least subnormal exponent.
5336 * stdlib/test-strtod-round-data: Add more tests.
5337 * stdlib/tst-strtod-round.c (tests): Regenerated.
5339 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5342 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5343 (__fe_mask_env): Likewise.
5344 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5345 libm_hidden_proto and add function prototype.
5346 (__fe_mask_env): Add function prototype.
5347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5348 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5350 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5352 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5354 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5356 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5357 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5359 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5361 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5362 of htab_find_slot().
5364 2013-11-11 David S. Miller <davem@davemloft.net>
5367 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5368 symbol in the non-vis3 case in static builds.
5369 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5370 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5371 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5372 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5374 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5377 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5380 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5382 * benchtests/Makefile: Add bench-strtod.
5383 * benchtests/bench-strtod.c: New file: strtod benchtest
5385 2013-11-11 Andreas Schwab <schwab@suse.de>
5388 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5389 terminating NUL in key length.
5391 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5393 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5394 Add artificial ODP entry for vDSO symbol for PPC64.
5395 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5396 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5398 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5401 * nss/getent.c (services_keys): Recognize services starting with digit.
5403 2013-11-06 David S. Miller <davem@davemloft.net>
5406 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5407 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5409 2013-11-06 Will Newton <will.newton@linaro.org>
5411 * manual/memory.texi (Malloc Examples): Remove register
5412 keyword from examples.
5414 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5416 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5418 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5421 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5422 depending on [__GCC_IEC_559 > 0].
5423 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5424 depending on [__GCC_IEC_559_COMPLEX > 0].
5426 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5428 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5431 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5433 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5435 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5438 * malloc/malloc (malloc_info): Do not handle first bin as
5441 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5443 * locale/iso-639.def: Add Central Nahuatl (nhn).
5445 2013-11-01 Bruno Haible <bruno@clisp.org>
5448 * manual/math.texi (BSD Random): Specify range upper bound as
5451 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5453 * locale/iso-639.def: Add Meadow Mari (mhr).
5455 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5457 [BZ #14752], [BZ #15763]
5458 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5460 * rt/tst_shm.c: Add test for escaping directory.
5462 2013-10-31 Andreas Schwab <schwab@suse.de>
5465 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5466 followed by 'x' as part of digit sequence.
5467 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5469 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5472 * configure.ac: allow GNU Make 4.0 and greater.
5473 * configure: Regenerated.
5475 2013-10-30 Will Newton <will.newton@linaro.org>
5478 * malloc/hooks.c (memalign_check): Limit alignment to the
5479 maximum representable power of two.
5480 * malloc/malloc.c (__libc_memalign): Likewise.
5481 * malloc/tst-memalign.c (do_test): Add test for very
5482 large alignment values.
5483 * malloc/tst-posix_memalign.c (do_test): Likewise.
5485 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5488 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5489 (munmap_chunk): Likewise.
5490 (mremap_chunk): Likewise.
5492 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5495 * stdlib/div.c (div): Remove obsolete code.
5496 * stdlib/ldiv.c (ldiv): Likewise.
5497 * stdlib/lldiv.c (lldiv): Likewise.
5499 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5502 * nss/nss_files/files-XXX.c (get_contents_ret): New
5504 (get_contents): New function.
5505 (internal_getent): Use it. Expand size of LINEBUFLEN.
5507 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5509 * configure.in: Moved to ...
5510 * configure.ac: ... here. Change reference to configure.in
5512 * sysdeps/arm/preconfigure.ac: ... here.
5513 configure.in to configure.ac.
5514 * sysdeps/gnu/configure.in: Moved to ...
5515 * sysdeps/gnu/configure.ac: ... here.
5516 * sysdeps/i386/configure.in: Moved to ...
5517 * sysdeps/i386/configure.ac: ... here.
5518 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5519 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5520 * sysdeps/mach/configure.in: Moved to ...
5521 * sysdeps/mach/configure.ac: ... here.
5522 * sysdeps/mach/hurd/configure.in: Moved to ...
5523 * sysdeps/mach/hurd/configure.ac: ... here.
5524 * sysdeps/powerpc/configure.in: Moved to ...
5525 * sysdeps/powerpc/configure.ac: ... here.
5526 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5527 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5528 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5529 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5530 * sysdeps/s390/s390-32/configure.in: Moved to ...
5531 * sysdeps/s390/s390-32/configure.ac: ... here.
5532 * sysdeps/s390/s390-64/configure.in: Moved to ...
5533 * sysdeps/s390/s390-64/configure.ac: ... here.
5534 * sysdeps/sh/configure.in: Moved to ...
5535 * sysdeps/sh/configure.ac: ... here.
5536 * sysdeps/sparc/configure.in: Moved to ...
5537 * sysdeps/sparc/configure.ac: ... here.
5538 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5539 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5540 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5541 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5542 * sysdeps/x86_64/configure.in: Moved to ...
5543 * sysdeps/x86_64/configure.ac: ... here.
5544 * sysdeps/x86_64/preconfigure.in: Moved to ...
5545 * sysdeps/x86_64/preconfigure.ac: ... here.
5546 * aclocal.m4: Change reference to configure.in to configure.ac.
5547 * config.h.in: Likewise.
5548 * manual/install.texi: Likewise.
5549 * manual/maint.texi: Likewise.
5550 * Makefile: Likewise.
5551 * malloc/Makefile: Likewise.
5552 * nscd/Makefile: Likewise.
5553 * Makeconfig: Change reference to configure.in and
5554 preconfigure.in to configure.ac and preconfigure.ac
5556 * INSTALL: Regenerated.
5557 * configure: Likewise.
5558 * sysdeps/gnu/configure: Likewise.
5559 * sysdeps/i386/configure: Likewise.
5560 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5561 * sysdeps/mach/configure: Likewise.
5562 * sysdeps/mach/hurd/configure: Likewise.
5563 * sysdeps/powerpc/configure: Likewise.
5564 * sysdeps/powerpc/powerpc32/configure: Likewise.
5565 * sysdeps/powerpc/powerpc64/configure: Likewise.
5566 * sysdeps/s390/s390-32/configure: Likewise.
5567 * sysdeps/s390/s390-64/configure: Likewise.
5568 * sysdeps/sh/configure: Likewise.
5569 * sysdeps/sparc/configure: Likewise.
5570 * sysdeps/unix/sysv/linux/configure: Likewise.
5571 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5572 * sysdeps/x86_64/configure: Likewise.
5573 * sysdeps/x86_64/preconfigure: Likewise.
5575 2013-10-29 Andreas Schwab <schwab@suse.de>
5577 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5579 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5581 * benchtests/pow-inputs: Add new inputs.
5583 * benchtests/exp-inputs: Add new inputs.
5585 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5586 conditional check for return value.
5587 (__cos32): Likewise.
5589 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5591 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5592 to provide a boost for large inputs with word alignment.
5593 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5594 implementation based on optimized PPC64 strcpy.
5595 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5596 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5597 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5598 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5600 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5603 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5605 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5608 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5609 * time/tst-strptime.c (day_tests): Add testcase.
5611 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5614 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5616 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5619 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5620 MAP_FAILED on error.
5622 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5625 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5626 heap for large requests.
5628 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5631 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5632 result if the result has no associated interface.
5633 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5634 interface for all 127.X.Y.Z addresses.
5636 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5638 * locale/iso-639.def: Add Ligurian (lij)
5640 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5643 * sunrpc/rpc_main.c: Document rpcgen -5.
5645 2013-10-19 Michael Stahl <mstahl@redhat.com>
5647 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5649 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5652 * posix/glob.c: Match only directories when trailing slash is present.
5653 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5654 (main): Add testcase.
5656 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5659 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5661 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5663 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5664 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5665 AUTH_DES and cindex for FIPS 140-2.
5666 (DES Encryption): Add cindex FIPS 46-3.
5668 * locale/locarchive.h (struct locarhandle): Add fname.
5669 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5670 if an optional argument was specified to --list-archive,
5672 * locale/programs/locarchive.c (show_archive_content): Take new
5673 argument fname and pass it via ah.fname to open_archive.
5674 * locale/programs/localedef.h: Update decl.
5675 (open_archive): If AH->fname is non-null, open that file
5676 rather than the default file name, and don't ignore ENOENT.
5677 (create_archive): Set AH.fname to NULL.
5678 (delete_locales_from_archive): Likewise.
5679 (add_locales_to_archive): Likewise.
5680 * locale/programs/locfile.c (write_all_categories): Likewise.
5682 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5683 Aldy Hernandez <aldyh@redhat.com>
5685 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5686 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5687 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5688 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5689 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5690 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5691 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5692 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5693 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5694 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5695 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5696 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5697 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5698 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5699 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5701 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5703 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5705 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5707 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5708 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5710 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5711 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5712 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5713 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5715 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5716 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5717 * sysdeps/powerpc/preconfigure: Likewise.
5718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5720 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5721 Replace contents of file by #include of <fenv_libc.h>.
5722 * sysdeps/powerpc/soft-fp/sfp-machine.h
5723 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5725 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5726 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5727 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5728 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5729 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5730 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5732 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5733 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5738 Allow copysignl PLT reference to be missing.
5740 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5741 Joseph Myers <joseph@codesourcery.com
5744 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5746 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5748 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5750 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5751 * elf/tst-tls1.c: Likewise.
5752 * elf/tst-tls10.h: Likewise.
5753 * elf/tst-tls14.c: Likewise.
5754 * elf/tst-tls2.c: Likewise.
5755 * elf/tst-tls3.c: Likewise.
5756 * elf/tst-tls4.c: Likewise.
5757 * elf/tst-tls5.c: Likewise.
5758 * elf/tst-tls6.c: Likewise.
5759 * elf/tst-tls7.c: Likewise.
5760 * elf/tst-tls8.c: Likewise.
5761 * elf/tst-tls9.c: Likewise.
5762 * elf/tst-tlsmod1.c: Likewise.
5763 * elf/tst-tlsmod13.c: Likewise.
5764 * elf/tst-tlsmod13a.c: Likewise.
5765 * elf/tst-tlsmod14a.c: Likewise.
5766 * elf/tst-tlsmod16a.c: Likewise.
5767 * elf/tst-tlsmod16b.c: Likewise.
5768 * elf/tst-tlsmod2.c: Likewise.
5769 * elf/tst-tlsmod3.c: Likewise.
5770 * elf/tst-tlsmod4.c: Likewise.
5771 * elf/tst-tlsmod5.c: Likewise.
5772 * elf/tst-tlsmod6.c: Likewise.
5774 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5777 * malloc/malloc.c: remove checks for statistics.
5779 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5782 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5783 * inet/tst-network.c: Add testcase.
5785 2013-10-17 Andreas Schwab <schwab@suse.de>
5788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5789 to determine canonical name.
5791 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5793 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5794 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5796 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5798 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5799 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5800 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5801 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5802 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5803 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5807 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5808 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5810 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5811 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5812 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5813 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5814 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5816 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5817 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5818 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5819 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5820 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5821 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5822 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5823 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5825 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5826 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5827 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5828 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5830 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5831 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5832 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5833 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5834 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5835 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5836 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5837 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5838 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5839 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5840 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5841 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5842 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5843 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5844 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5845 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5846 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5847 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5848 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5850 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5852 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5855 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5856 make result into a quiet NaN.
5858 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5860 * soft-fp/adddf3.c: Fix horizontal whitespace.
5861 * soft-fp/addsf3.c: Likewise.
5862 * soft-fp/addtf3.c: Likewise.
5863 * soft-fp/divdf3.c: Likewise.
5864 * soft-fp/divsf3.c: Likewise.
5865 * soft-fp/divtf3.c: Likewise.
5866 * soft-fp/double.h: Likewise.
5867 * soft-fp/eqdf2.c: Likewise.
5868 * soft-fp/eqsf2.c: Likewise.
5869 * soft-fp/eqtf2.c: Likewise.
5870 * soft-fp/extenddftf2.c: Likewise.
5871 * soft-fp/extended.h: Likewise.
5872 * soft-fp/extendsfdf2.c: Likewise.
5873 * soft-fp/extendsftf2.c: Likewise.
5874 * soft-fp/extendxftf2.c: Likewise.
5875 * soft-fp/fixdfdi.c: Likewise.
5876 * soft-fp/fixdfsi.c: Likewise.
5877 * soft-fp/fixdfti.c: Likewise.
5878 * soft-fp/fixsfdi.c: Likewise.
5879 * soft-fp/fixsfsi.c: Likewise.
5880 * soft-fp/fixsfti.c: Likewise.
5881 * soft-fp/fixtfdi.c: Likewise.
5882 * soft-fp/fixtfsi.c: Likewise.
5883 * soft-fp/fixtfti.c: Likewise.
5884 * soft-fp/fixunsdfdi.c: Likewise.
5885 * soft-fp/fixunsdfsi.c: Likewise.
5886 * soft-fp/fixunsdfti.c: Likewise.
5887 * soft-fp/fixunssfdi.c: Likewise.
5888 * soft-fp/fixunssfsi.c: Likewise.
5889 * soft-fp/fixunssfti.c: Likewise.
5890 * soft-fp/fixunstfdi.c: Likewise.
5891 * soft-fp/fixunstfsi.c: Likewise.
5892 * soft-fp/fixunstfti.c: Likewise.
5893 * soft-fp/floatdidf.c: Likewise.
5894 * soft-fp/floatdisf.c: Likewise.
5895 * soft-fp/floatditf.c: Likewise.
5896 * soft-fp/floatsidf.c: Likewise.
5897 * soft-fp/floatsisf.c: Likewise.
5898 * soft-fp/floatsitf.c: Likewise.
5899 * soft-fp/floattidf.c: Likewise.
5900 * soft-fp/floattisf.c: Likewise.
5901 * soft-fp/floattitf.c: Likewise.
5902 * soft-fp/floatundidf.c: Likewise.
5903 * soft-fp/floatundisf.c: Likewise.
5904 * soft-fp/floatunditf.c: Likewise.
5905 * soft-fp/floatunsidf.c: Likewise.
5906 * soft-fp/floatunsisf.c: Likewise.
5907 * soft-fp/floatunsitf.c: Likewise.
5908 * soft-fp/floatuntidf.c: Likewise.
5909 * soft-fp/floatuntisf.c: Likewise.
5910 * soft-fp/floatuntitf.c: Likewise.
5911 * soft-fp/fmadf4.c: Likewise.
5912 * soft-fp/fmasf4.c: Likewise.
5913 * soft-fp/fmatf4.c: Likewise.
5914 * soft-fp/gedf2.c: Likewise.
5915 * soft-fp/gesf2.c: Likewise.
5916 * soft-fp/getf2.c: Likewise.
5917 * soft-fp/ledf2.c: Likewise.
5918 * soft-fp/lesf2.c: Likewise.
5919 * soft-fp/letf2.c: Likewise.
5920 * soft-fp/muldf3.c: Likewise.
5921 * soft-fp/mulsf3.c: Likewise.
5922 * soft-fp/multf3.c: Likewise.
5923 * soft-fp/negdf2.c: Likewise.
5924 * soft-fp/negsf2.c: Likewise.
5925 * soft-fp/negtf2.c: Likewise.
5926 * soft-fp/op-1.h: Likewise.
5927 * soft-fp/op-2.h: Likewise.
5928 * soft-fp/op-4.h: Likewise.
5929 * soft-fp/op-8.h: Likewise.
5930 * soft-fp/op-common.h: Likewise.
5931 * soft-fp/quad.h: Likewise.
5932 * soft-fp/single.h: Likewise.
5933 * soft-fp/soft-fp.h: Likewise.
5934 * soft-fp/sqrtdf2.c: Likewise.
5935 * soft-fp/sqrtsf2.c: Likewise.
5936 * soft-fp/sqrttf2.c: Likewise.
5937 * soft-fp/subdf3.c: Likewise.
5938 * soft-fp/subsf3.c: Likewise.
5939 * soft-fp/subtf3.c: Likewise.
5940 * soft-fp/truncdfsf2.c: Likewise.
5941 * soft-fp/trunctfdf2.c: Likewise.
5942 * soft-fp/trunctfsf2.c: Likewise.
5943 * soft-fp/trunctfxf2.c: Likewise.
5944 * soft-fp/unorddf2.c: Likewise.
5945 * soft-fp/unordsf2.c: Likewise.
5946 * soft-fp/unordtf2.c: Likewise.
5948 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5950 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5951 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5953 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5955 * elf/dl-libc.c: Clear initfini list after freeing.
5957 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5959 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5960 * soft-fp/addsf3.c: Likewise.
5961 * soft-fp/addtf3.c: Likewise.
5962 * soft-fp/divdf3.c: Likewise.
5963 * soft-fp/divsf3.c: Likewise.
5964 * soft-fp/divtf3.c: Likewise.
5965 * soft-fp/double.h: Likewise.
5966 * soft-fp/eqdf2.c: Likewise.
5967 * soft-fp/eqsf2.c: Likewise.
5968 * soft-fp/eqtf2.c: Likewise.
5969 * soft-fp/extenddftf2.c: Likewise.
5970 * soft-fp/extended.h: Likewise.
5971 * soft-fp/extendsfdf2.c: Likewise.
5972 * soft-fp/extendsftf2.c: Likewise.
5973 * soft-fp/extendxftf2.c: Likewise.
5974 * soft-fp/fixdfdi.c: Likewise.
5975 * soft-fp/fixdfsi.c: Likewise.
5976 * soft-fp/fixdfti.c: Likewise.
5977 * soft-fp/fixsfdi.c: Likewise.
5978 * soft-fp/fixsfsi.c: Likewise.
5979 * soft-fp/fixsfti.c: Likewise.
5980 * soft-fp/fixtfdi.c: Likewise.
5981 * soft-fp/fixtfsi.c: Likewise.
5982 * soft-fp/fixtfti.c: Likewise.
5983 * soft-fp/fixunsdfdi.c: Likewise.
5984 * soft-fp/fixunsdfsi.c: Likewise.
5985 * soft-fp/fixunsdfti.c: Likewise.
5986 * soft-fp/fixunssfdi.c: Likewise.
5987 * soft-fp/fixunssfsi.c: Likewise.
5988 * soft-fp/fixunssfti.c: Likewise.
5989 * soft-fp/fixunstfdi.c: Likewise.
5990 * soft-fp/fixunstfsi.c: Likewise.
5991 * soft-fp/fixunstfti.c: Likewise.
5992 * soft-fp/floatdidf.c: Likewise.
5993 * soft-fp/floatdisf.c: Likewise.
5994 * soft-fp/floatditf.c: Likewise.
5995 * soft-fp/floatsidf.c: Likewise.
5996 * soft-fp/floatsisf.c: Likewise.
5997 * soft-fp/floatsitf.c: Likewise.
5998 * soft-fp/floattidf.c: Likewise.
5999 * soft-fp/floattisf.c: Likewise.
6000 * soft-fp/floattitf.c: Likewise.
6001 * soft-fp/floatundidf.c: Likewise.
6002 * soft-fp/floatundisf.c: Likewise.
6003 * soft-fp/floatunsidf.c: Likewise.
6004 * soft-fp/floatunsisf.c: Likewise.
6005 * soft-fp/floatuntidf.c: Likewise.
6006 * soft-fp/floatuntisf.c: Likewise.
6007 * soft-fp/floatuntitf.c: Likewise.
6008 * soft-fp/fmadf4.c: Likewise.
6009 * soft-fp/fmasf4.c: Likewise.
6010 * soft-fp/fmatf4.c: Likewise.
6011 * soft-fp/gedf2.c: Likewise.
6012 * soft-fp/gesf2.c: Likewise.
6013 * soft-fp/getf2.c: Likewise.
6014 * soft-fp/ledf2.c: Likewise.
6015 * soft-fp/lesf2.c: Likewise.
6016 * soft-fp/letf2.c: Likewise.
6017 * soft-fp/muldf3.c: Likewise.
6018 * soft-fp/mulsf3.c: Likewise.
6019 * soft-fp/multf3.c: Likewise.
6020 * soft-fp/negdf2.c: Likewise.
6021 * soft-fp/negsf2.c: Likewise.
6022 * soft-fp/negtf2.c: Likewise.
6023 * soft-fp/op-1.h: Likewise.
6024 * soft-fp/op-2.h: Likewise.
6025 * soft-fp/op-4.h: Likewise.
6026 * soft-fp/op-8.h: Likewise.
6027 * soft-fp/op-common.h: Likewise.
6028 * soft-fp/quad.h: Likewise.
6029 * soft-fp/single.h: Likewise.
6030 * soft-fp/soft-fp.h: Likewise.
6031 * soft-fp/sqrtdf2.c: Likewise.
6032 * soft-fp/sqrtsf2.c: Likewise.
6033 * soft-fp/sqrttf2.c: Likewise.
6034 * soft-fp/subdf3.c: Likewise.
6035 * soft-fp/subsf3.c: Likewise.
6036 * soft-fp/subtf3.c: Likewise.
6037 * soft-fp/truncdfsf2.c: Likewise.
6038 * soft-fp/trunctfdf2.c: Likewise.
6039 * soft-fp/trunctfsf2.c: Likewise.
6040 * soft-fp/trunctfxf2.c: Likewise.
6041 * soft-fp/unorddf2.c: Likewise.
6042 * soft-fp/unordsf2.c: Likewise.
6043 * soft-fp/unordtf2.c: Likewise.
6045 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
6048 * misc/error.c (error_tail): Fix possible buffer overflow.
6050 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6053 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6056 2013-10-14 P. J. McDermott <pj@pehjota.net>
6059 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6060 testing pipefail option.
6062 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6064 * soft-fp/double.h: Indent preprocessor directives inside #if.
6065 * soft-fp/extended.h: Likewise.
6066 * soft-fp/op-2.h: Likewise.
6067 * soft-fp/op-4.h: Likewise.
6068 * soft-fp/op-common.h: Likewise.
6069 * soft-fp/quad.h: Likewise.
6070 * soft-fp/single.h: Likewise.
6071 * soft-fp/soft-fp.h: Likewise.
6073 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6075 * iconv/iconv_prog.c: Fix typos.
6076 * stdio-common/psiginfo-data.h: Likewise.
6078 2013-10-12 Reuben Thomas <rrt@sc3d.org>
6081 * locale/setlocale.c: Fix typo.
6083 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6086 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6087 signaling NaN arguments.
6088 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6089 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6092 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6094 * soft-fp/gesf2.c (__gesf2): Likewise.
6095 * soft-fp/getf2.c (__getf2): Likewise.
6096 * soft-fp/ledf2.c (__ledf2): Likewise.
6097 * soft-fp/lesf2.c (__lesf2): Likewise.
6098 * soft-fp/letf2.c (__letf2): Likewise.
6100 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6101 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6102 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6103 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6104 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6105 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6106 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6107 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6108 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6109 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6110 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6111 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6112 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6113 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6114 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6115 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6116 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6117 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6118 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6119 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6120 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6121 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6122 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6123 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6124 * soft-fp/floattidf.c (__floattidf): Likewise.
6125 * soft-fp/floattisf.c (__floattisf): Likewise.
6126 * soft-fp/floattitf.c (__floattitf): Likewise.
6127 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6128 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6129 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6130 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6131 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6132 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6133 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6134 * soft-fp/gesf2.c (__gesf2): Likewise.
6135 * soft-fp/getf2.c (__getf2): Likewise.
6136 * soft-fp/ledf2.c (__ledf2): Likewise.
6137 * soft-fp/lesf2.c (__lesf2): Likewise.
6138 * soft-fp/letf2.c (__letf2): Likewise.
6140 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6141 Undefine and redefine.
6142 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6143 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6144 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6145 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6146 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6147 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6148 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6149 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6150 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6151 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6152 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6153 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6154 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6155 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6156 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6159 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6160 without decrementing exponent if mantissa >= that for the
6162 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6163 denominator, not >. Decrement exponent in < case instead of
6164 incrementing in >= case.
6165 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6166 without decrementing exponent if mantissa >= that for the
6169 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6170 computing saturated result for unsigned overflow.
6172 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6173 Jeff Law <law@redhat.com>
6175 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6176 (atan2Mp): Add systemtap probe marker.
6177 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6178 (__ieee754_log): Add systemtap probe marker.
6179 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6180 (atanMp): Add systemtap probe marker.
6181 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6182 (tanMp): Add systemtap probe marker.
6183 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6184 (__slowexp): Add systemtap probe marker.
6185 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6186 (__slowpow): Add systemtap probe marker.
6187 * manual/probes.texi: Document probes.
6189 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6192 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6194 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6196 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6197 written to buffer but not flushed.
6198 * libio/iofwrite_u.c: Likewise.
6199 * libio/iopadn.c: Return bytes returned even if EOF was
6201 * libio/iowpadn.c: Likewise.
6202 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6203 if _IO_padn does not write the whole buffer.
6204 [!COMPILE_WPRINTF] (PAD): Likewise.
6206 2013-10-10 David S. Miller <davem@davemloft.net>
6208 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6211 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6213 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6214 instead of FSF address.
6215 * soft-fp/fixdfti.c: Likewise.
6216 * soft-fp/fixsfti.c: Likewise.
6217 * soft-fp/fixtfti.c: Likewise.
6218 * soft-fp/fixunsdfti.c: Likewise.
6219 * soft-fp/fixunssfti.c: Likewise.
6220 * soft-fp/fixunstfti.c: Likewise.
6221 * soft-fp/floattidf.c: Likewise.
6222 * soft-fp/floattisf.c: Likewise.
6223 * soft-fp/floattitf.c: Likewise.
6224 * soft-fp/floatuntidf.c: Likewise.
6225 * soft-fp/floatuntisf.c: Likewise.
6226 * soft-fp/floatuntitf.c: Likewise.
6227 * soft-fp/trunctfxf2.c: Likewise.
6229 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6230 * soft-fp/fixdfti.c: Likewise.
6231 * soft-fp/fixsfti.c: Likewise.
6232 * soft-fp/fixtfti.c: Likewise.
6233 * soft-fp/fixunsdfti.c: Likewise.
6234 * soft-fp/fixunssfti.c: Likewise.
6235 * soft-fp/fixunstfti.c: Likewise.
6236 * soft-fp/floattidf.c: Likewise.
6237 * soft-fp/floattisf.c: Likewise.
6238 * soft-fp/floattitf.c: Likewise.
6239 * soft-fp/floatuntidf.c: Likewise.
6240 * soft-fp/floatuntisf.c: Likewise.
6241 * soft-fp/floatuntitf.c: Likewise.
6242 * soft-fp/trunctfxf2.c: Likewise.
6244 2013-10-10 David S. Miller <davem@davemloft.net>
6246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6248 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6250 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6251 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6252 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6253 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6254 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6255 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6256 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6258 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6259 for NaNs before doing comparisons on argument.
6260 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6263 2013-10-10 Will Newton <will.newton@linaro.org>
6265 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6266 passed to _int_memalign does not overflow.
6268 2013-10-10 Torvald Riegel <triegel@redhat.com>
6270 * scripts/bench.pl: Add include-sources directive.
6271 * benchtests/README: Update documentation.
6273 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6275 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6276 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6277 instead of FP_INIT_ROUNDMODE.
6278 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6279 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6282 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6283 copy class of input value.
6284 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6285 not handle exceptions.
6286 * soft-fp/negsf2.c (__negsf2): Likewise.
6287 * soft-fp/negtf2.c (__negtf2): Likewise.
6288 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6290 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6292 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6293 semicolon. From Linux kernel.
6295 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6297 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6299 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6302 * manual/socket.texi: Added statement about buffer
6303 for gethostbyname2_r.
6305 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6307 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6308 Use .p2align directive instead, throughout.
6309 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6310 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6311 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6312 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6313 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6314 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6315 * sysdeps/x86_64/strchr.S: Likewise.
6316 * sysdeps/x86_64/strrchr.S: Likewise.
6318 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6320 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6322 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6324 * sysdeps/generic/math_private.h (__mpsin1): Remove
6326 (__mpcos1): Likewise.
6327 (__mpsin): New argument __range_reduce.
6328 (__mpcos): Likewise.
6329 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6330 (slow): Use __mpsin and __mpcos.
6337 (bsloww1): Likewise.
6338 (bsloww2): Likewise.
6341 (csloww1): Likewise.
6342 (csloww2): Likewise.
6343 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6344 range_reduce. Merge in __mpsin1.
6345 (__mpcos): Likewise.
6347 (__mpcos1): Likewise.
6349 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6351 * locale/loadlocale.c (_nl_intern_locale_data): Use
6353 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6354 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6355 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6356 obstack data is appropriately aligned.
6357 (obstack_int32_grow_fast): Likewise.
6358 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6359 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6360 (add_locale_uint32_array): Likewise.
6362 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6364 * benchtests/Makefile: Remove ARGLIST and RET variables.
6365 ($(objpfx)bench-%.c): Pass only function name to the script.
6366 * benchtests/README: Update documentation.
6367 * benchtests/acos-inputs: Add new directives.
6368 * benchtests/acosh-inputs: Likewise.
6369 * benchtests/asin-inputs: Likewise.
6370 * benchtests/asinh-inputs: Likewise.
6371 * benchtests/atan-inputs: Likewise.
6372 * benchtests/atanh-inputs: Likewise.
6373 * benchtests/cos-inputs: Likewise.
6374 * benchtests/cosh-inputs: Likewise.
6375 * benchtests/exp-inputs: Likewise.
6376 * benchtests/log-inputs: Likewise.
6377 * benchtests/pow-inputs: Likewise.
6378 * benchtests/rint-inputs: Likewise.
6379 * benchtests/sin-inputs: Likewise.
6380 * benchtests/sinh-inputs: Likewise.
6381 * benchtests/tan-inputs: Likewise.
6382 * benchtests/tanh-inputs: Likewise.
6383 * scripts/bench.pl: Add support for new directives.
6385 2013-10-07 Alan Modra <amodra@gmail.com>
6387 * README: Fix careless merge.
6389 2013-10-05 Alan Modra <amodra@gmail.com>
6391 * NEWS: Mention powerpc64le support and bugs fixed.
6392 * README: Both big-endian and little-endian powerpc64 supported.
6394 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6396 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6397 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6398 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6399 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6401 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6403 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6406 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6408 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6409 Move -mhard-float appending from
6410 ports/sysdeps/powerpc/powerpc32/Makefile.
6411 [$(with-fp) = yes] (ASFLAGS): Likewise.
6412 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6413 * sysdeps/powerpc/nofpu: Move directory from
6414 ports/sysdeps/powerpc/nofpu.
6415 * sysdeps/powerpc/soft-fp: Move directory from
6416 ports/sysdeps/powerpc/soft-fp.
6417 * sysdeps/powerpc/powerpc32/405: Move directory from
6418 ports/sysdeps/powerpc/powerpc32/405.
6419 * sysdeps/powerpc/powerpc32/440: Move directory from
6420 ports/sysdeps/powerpc/powerpc32/440.
6421 * sysdeps/powerpc/powerpc32/464: Move directory from
6422 ports/sysdeps/powerpc/powerpc32/464.
6423 * sysdeps/powerpc/powerpc32/476: Move directory from
6424 ports/sysdeps/powerpc/powerpc32/476.
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6426 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6428 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6430 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6432 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6434 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6435 * README: Update for powerpc-*-linux-gnu software floating point
6438 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6439 case to powerpc/powerpc32*.
6440 * sysdeps/unix/sysv/linux/configure: Regenerated.
6442 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6443 (_FPU_MASK_OM): Define as 0x04.
6444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6452 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6455 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6458 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6459 and setcontext_e500.
6461 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6463 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6465 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6467 * manual/threads.texi (Default Thread Attributes): Fix typo.
6469 2013-10-04 Will Newton <will.newton@linaro.org>
6471 * malloc/Makefile: Add tst-memalign.
6472 * malloc/tst-memalign.c: New file.
6474 * malloc/tst-posix_memalign.c: Add comments.
6475 (do_test): Add comments and call free on all potentially
6476 allocated pointers. Add space after cast.
6478 * malloc/tst-pvalloc.c: Add comments.
6479 (do_test): Add comments and call free on all potentially
6480 allocated pointers. Remove duplicate check for NULL pointer.
6481 Add space after cast.
6483 * malloc/tst-valloc.c: Add comments.
6484 (do_test): Add comments and call free on all potentially
6485 allocated pointers. Remove duplicate check for NULL pointer.
6486 Add space after cast.
6488 2013-10-04 Alan Modra <amodra@gmail.com>
6490 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6491 Use stdint types in rather than __attribute__((mode())).
6492 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6494 2013-10-04 Alan Modra <amodra@gmail.com>
6496 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6497 Correct handling of unaligned relocs for little-endian.
6498 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6500 2013-10-04 Alan Modra <amodra@gmail.com>
6502 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6503 * configure: Regenerate.
6504 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6505 * shlib-versions: Likewise.
6507 2013-10-04 Alan Modra <amodra@gmail.com>
6509 * string/tester.c (test_memrchr): Increment reported test cycle.
6511 2013-10-04 Alan Modra <amodra@gmail.com>
6513 * string/test-memcpy.c (do_one_test): When reporting errors, print
6514 string address and don't overrun end of string.
6516 2013-10-04 Alan Modra <amodra@gmail.com>
6518 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6519 insrdi. Make better use of reg selection to speed exit slightly.
6520 Schedule entry path a little better. Remove useless "are we done"
6521 checks on entry to main loop. Handle wrapping around zero address.
6522 Correct main loop count. Handle single left-over word from main
6523 loop inline rather than by using loop_small. Remove extra word
6524 case in loop_small caused by wrong loop count. Add little-endian
6526 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6527 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6529 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6530 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6531 support. Avoid rlwimi.
6532 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6534 2013-10-04 Alan Modra <amodra@gmail.com>
6536 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6538 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6539 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6540 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6541 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6542 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6543 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6545 2013-10-04 Alan Modra <amodra@gmail.com>
6547 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6548 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6549 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6550 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6551 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6552 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6553 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6554 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6555 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6556 use of regs. Use power7 mtocrf. Tidy function tails.
6558 2013-10-04 Alan Modra <amodra@gmail.com>
6560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6561 Formatting. Consistently use rXXX register defines or rN defines.
6562 Use early exit labels that avoid restoring unused non-volatile regs.
6563 Make cr field use more consistent with rWORDn compares. Rename
6564 regs used as shift registers for unaligned loop, using rN defines
6565 for short lifetime/multiple use regs.
6566 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6567 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6568 addi 1,1,64 to pop stack frame. Simplify return value code.
6569 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6571 2013-10-04 Alan Modra <amodra@gmail.com>
6573 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6574 support. Correct typos, formatting. Optimize tail. Use insrdi
6576 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6577 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6578 little-endian support. Correct typos.
6579 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6581 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6582 in loop and entry code to keep "and." results.
6583 (strchr): Add little-endian support. Comment. Move cntlzd
6585 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6587 2013-10-04 Alan Modra <amodra@gmail.com>
6589 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6590 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6591 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6592 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6594 2013-10-04 Alan Modra <amodra@gmail.com>
6596 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6597 (rTMP): Define as r11.
6598 (strcmp): Add little-endian support. Optimise tail.
6599 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6600 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6601 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6602 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6603 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6604 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6605 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6607 2013-10-04 Alan Modra <amodra@gmail.com>
6609 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6610 little-endian support. Remove unnecessary "are we done" tests.
6611 Handle "s" wrapping around zero and extremely large "size".
6612 Correct main loop count. Handle single left-over word from main
6613 loop inline rather than by using small_loop. Correct comments.
6614 Delete "zero" tail, use "end_max" instead.
6615 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6617 2013-10-04 Alan Modra <amodra@gmail.com>
6619 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6620 support. Don't branch over align.
6621 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6622 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6623 support. Rearrange tmp reg use to suit. Comment.
6624 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6626 2013-10-04 Alan Modra <amodra@gmail.com>
6628 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6630 2013-10-04 Alan Modra <amodra@gmail.com>
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6633 conditional form of branch and link when obtaining pc.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6636 2013-10-04 Alan Modra <amodra@gmail.com>
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6643 2013-10-04 Alan Modra <amodra@gmail.com>
6645 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6646 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6647 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6648 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6649 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6650 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6651 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6652 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6653 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6654 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6656 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6657 Alistair Popple <alistair@ozlabs.au.ibm.com>
6658 Alan Modra <amodra@gmail.com>
6661 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6662 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6663 _dl_hwcap access for little-endian.
6664 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6665 destroy vmx regs when saving unaligned.
6666 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6667 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6668 destroy vmx regs when saving unaligned.
6670 2013-10-04 Alan Modra <amodra@gmail.com>
6672 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6673 Don't use a union to pack hi/low value.
6675 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6677 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6679 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6681 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6682 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6683 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6685 2013-10-04 Alan Modra <amodra@gmail.com>
6687 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6688 constants to usual value for .cst8 section, and remove redundant
6690 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6691 constant for 0x1p52. Load little-endian words of double from
6692 correct stack offsets.
6694 2013-10-04 Alan Modra <amodra@gmail.com>
6696 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6697 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6698 words of double from correct stack offsets.
6699 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6700 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6701 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6702 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6703 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6704 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6705 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6706 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6707 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6708 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6709 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6710 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6711 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6712 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6713 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6714 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6715 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6717 2013-10-04 Alan Modra <amodra@gmail.com>
6719 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6720 64-bit int/double union.
6721 (_FPU_SETCW): Likewise.
6722 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6723 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6725 2013-10-04 Alan Modra <amodra@gmail.com>
6727 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6728 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6730 2013-10-04 Alan Modra <amodra@gmail.com>
6732 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6733 use vector int constants.
6734 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6736 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6738 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6739 array with long long.
6740 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6741 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6742 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6743 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6744 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6745 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6746 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6747 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6748 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6749 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6750 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6751 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6752 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6754 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6756 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6757 (__signbit): Likewise. Correct for little-endian.
6758 (__signbitl): Call __signbit.
6759 (lrint): Correct for little-endian.
6760 (lrintf): Call lrint.
6762 2013-10-04 Alan Modra <amodra@gmail.com>
6764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6765 union 32-bit int array member with 64-bit int array.
6766 (t515, tm256): Double rather than long double.
6767 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6769 2013-10-04 Alan Modra <amodra@gmail.com>
6771 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6773 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6774 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6775 version of math_ldbl.h.
6777 2013-10-04 Alan Modra <amodra@gmail.com>
6779 [BZ #15734], [BZ #15735]
6780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6781 all uses of ieee875 long double macros and unions. Simplify test
6782 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6783 ldbl_extract_mantissa value for ix,iy exponents. Properly
6784 normalize after ldbl_extract_mantissa, and don't add hidden bit
6785 already handled. Don't treat low word of ieee854 mantissa like
6786 low word of IBM long double and mask off bit when testing for
6788 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6789 all uses of ieee875 long double macros and unions. Simplify tests
6790 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6791 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6792 two1022, instead use their values. Recognise that tests for large
6793 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6794 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6795 Rewrite all uses of ieee875 long double macros and unions. Simplify
6796 test for 0.0L and nan. Correct negation.
6797 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6798 ieee875 long double macros and unions. Correct output for large
6799 magnitude x. Correct absolute value calculation.
6800 (__erfcl): Likewise.
6801 * math/libm-test.inc: Add tests for errors discovered in IBM long
6802 double versions of fmodl, remainderl, erfl and erfcl.
6804 2013-10-04 Alan Modra <amodra@gmail.com>
6806 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6807 all uses of ieee854 long double macros and unions. Simplify tests
6808 for long doubles that are fully specified by the high double.
6809 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6811 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6812 Remove dead code too.
6813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6814 (__ieee754_ynl): Likewise.
6815 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6816 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6817 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6818 Remove dead code too.
6819 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6820 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6821 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6822 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6826 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6828 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6829 Comment on variable precision.
6830 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6833 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6837 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6839 2013-10-04 Alan Modra <amodra@gmail.com>
6841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6842 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6843 all uses of ieee854 long double macros and unions.
6844 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6845 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6849 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6851 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6855 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6856 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6857 Simplify sign and nan test too.
6858 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6863 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6867 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6868 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6869 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6870 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6873 2013-10-04 Alan Modra <amodra@gmail.com>
6875 * stdio-common/printf_size.c (__printf_size): Don't use
6876 union ieee854_long_double in fpnum union.
6877 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6878 signbit macro to retrieve sign from long double.
6879 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6880 retrieve sign from long double.
6881 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6882 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6883 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6884 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6885 * math/test-misc.c (main): Don't use union ieee854_long_double.
6887 2013-10-04 Alan Modra <amodra@gmail.com>
6890 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6891 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6892 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6893 calculation. Remove unnecessary test for denormal exponent.
6894 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6895 Correct handling of denormals. Avoid undefined shift behaviour.
6896 Correct normalisation of low mantissa when low double is denormal.
6897 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6898 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6899 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6900 Correct normalisation of low mantissa. Test for overflow of high
6901 mantissa and normalise.
6902 (ldbl_nearbyint): Use more readable constant for two52.
6903 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6904 (__mpn_construct_long_double): Fix test for overflow of high
6905 mantissa and correct normalisation. Avoid undefined shift.
6907 2013-10-04 Alan Modra <amodra@gmail.com>
6909 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6910 (union ibm_extended_long_double): Define as an array of ieee754_double.
6911 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6912 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6913 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6914 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6923 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6925 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6926 page size instead of calling getpagesize.
6928 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6929 (LOCFILE_ALIGN_MASK): Likewise.
6930 (LOCFILE_ALIGN_UP): Likewise.
6931 (LOCFILE_ALIGNED_P): Likewise.
6932 * locale/programs/ld-collate.c (collate_output): Use the new
6933 macros instead of __alignof__ (int32_t).
6934 * locale/weight.h (findidx): Likewise.
6936 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6939 * manual/string.texi: Fix strncat and wcsncat.
6941 2013-10-03 Brooks Moses <bmoses@google.com>
6944 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6945 * Makerules: ...here, and adjust associated comments.
6947 2013-10-02 Will Newton <will.newton@linaro.org>
6949 * malloc/Makefile: Add tst-pvalloc.
6950 * malloc/tst-pvalloc.c: New file.
6952 2013-10-02 Will Newton <will.newton@linaro.org>
6954 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6955 improve test coverage.
6957 2013-10-02 Will Newton <will.newton@linaro.org>
6959 * malloc/Makefile: Add tst-posix_memalign.
6960 * malloc/tst-posix_memalign.c: New file.
6962 2013-10-01 Eric Blake <eblake@redhat.com>
6964 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6965 Use __THROWNL rather than __THROW on static functions.
6967 2013-09-30 Petr Machata <pmachata@redhat.com>
6969 * elf/elf.h (R_AARCH64_ABS16): New macro.
6970 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6971 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6972 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6973 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6974 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6975 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6976 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6977 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6978 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6979 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6980 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6981 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6982 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6983 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6984 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6985 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6986 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6987 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6988 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6989 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6990 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6991 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6992 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6993 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6994 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6995 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6996 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6997 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6998 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6999 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7000 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7001 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7002 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7003 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7004 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7005 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7006 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7007 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7008 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7009 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7010 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7011 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7012 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7013 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7014 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7015 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7016 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7017 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7018 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7019 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7020 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7021 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7022 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7023 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7024 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7025 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7026 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7027 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7028 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7029 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7030 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7031 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7032 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7033 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7034 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7035 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7036 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7037 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7038 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7039 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7040 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7041 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7042 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7043 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7044 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7045 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7046 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7047 (R_AARCH64_TLSDESC_LDR): Likewise.
7048 (R_AARCH64_TLSDESC_ADD): Likewise.
7049 (R_AARCH64_TLSDESC_CALL): Likewise.
7051 2013-09-30 Andreas Schwab <schwab@suse.de>
7054 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7055 the nss database lookup.
7056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7059 2013-09-28 Mike Frysinger <vapier@gentoo.org>
7061 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7063 2013-09-28 P. J. McDermott <pj@pehjota.net>
7065 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7066 ${Bash-specific parameter/pattern/string} parameter expansion.
7067 * sysdeps/unix/make-syscalls.sh: Likewise.
7069 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7071 * sysdeps/sh/stackguard-macros.h: New file.
7073 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
7075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7077 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7078 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7079 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7080 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7082 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7084 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7085 Fix thread ID register.
7087 2013-09-25 Joseph Myers <joseph@codesourcery.com>
7089 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7090 [POSIX || UNIX98]: Require rather than permitting all symbols from
7092 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7093 element of struct sched_param.
7094 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7095 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7096 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7097 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7100 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7102 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7103 argument calculation.
7105 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7107 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7109 [POSIX] (pthread_attr_t): Do not require type.
7110 [POSIX] (pthread_cond_t): Likewise.
7111 [POSIX] (pthread_condattr_t): Likewise.
7112 [POSIX] (pthread_key_t): Likewise.
7113 [POSIX] (pthread_mutex_t): Likewise.
7114 [POSIX] (pthread_mutexattr_t): Likewise.
7115 [POSIX] (pthread_once_t): Likewise.
7116 [POSIX] (pthread_t): Likewise.
7117 [POSIX-based standards] (pthread_atfork): Expect function.
7119 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7120 Richard Sandiford <richard@codesourcery.com>
7122 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7123 (swap_endianness_p): New extern variable.
7124 (set_big_endian): New inline function.
7125 (maybe_swap_uint32): Likewise.
7126 (maybe_swap_uint32_array): Likewise.
7127 (maybe_swap_uint32_obstack): Likewise.
7128 * locale/programs/locfile.c: Include <stdbool.h>.
7129 (swap_endianness_p): New variable.
7130 (add_locale_uint32): Call maybe_swap_uint32.
7131 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7132 (write_locale_data): Call maybe_swap_uint32_array.
7133 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7135 (obstack_int32_grow_fast): Likewise.
7136 (output_weightwc): Call maybe_swap_uint32_obstack.
7137 (collate_output): Likewise.
7138 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7139 (OPT_LITTLE_ENDIAN): Likewise.
7140 (options): Add --little-endian and --big-endian options.
7141 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7142 * locale/programs/locarchive.c: Include "locfile.h".
7146 (create_archive): Use the new macros to access fields of
7147 structures directly mapped from or written to locale archives.
7148 (oldlocrecentcmp): Likewise.
7149 (enlarge_archive): Likewise.
7150 (insert_name): Likewise.
7151 (add_alias): Likewise.
7152 (add_locale): Likewise.
7153 (delete_locales_from_archive): Likewise.
7154 (show_archive_content): Likewise.
7155 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7158 2013-09-24 Roland McGrath <roland@hack.frob.com>
7160 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7161 http://www.gnu.org/doc/freemanuals.texi.
7162 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7164 2013-09-24 Will Newton <will.newton@linaro.org>
7166 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7169 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7171 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7174 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7176 * manual/threads.texi (POSIX Threads): Fix a typo.
7178 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7181 * string/tst-strcoll-overflow.c: New test case.
7182 * string/Makefile (xtests): Add tst-strcoll-overflow.
7183 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7184 cache if string sizes may cause integer overflow.
7187 * string/strcoll_l.c (coll_seq): New members rule, idx,
7188 save_idx and back_us.
7189 (get_next_seq_nocache): New function.
7190 (do_compare_nocache): New function.
7191 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7194 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7197 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7198 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7199 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7202 * elf/Makefile (tests): Add tst-ptrguard1.
7203 (tests-static): Add tst-ptrguard1-static.
7204 (tst-ptrguard1-ARGS): Define.
7205 (tst-ptrguard1-static-ARGS): Define.
7206 * elf/tst-ptrguard1.c: New file.
7207 * elf/tst-ptrguard1-static.c: New file.
7208 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7209 * sysdeps/i386/stackguard-macros.h: Likewise.
7210 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7211 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7212 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7213 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7214 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7215 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7217 2013-09-23 Hector Marco <hecmargi@upv.es>
7218 Ismael Ripoll <iripoll@disca.upv.es>
7219 Carlos O'Donell <carlos@redhat.com>
7222 * sysdeps/generic/stackguard-macros.h: Define
7223 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7224 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7225 Define __pointer_chk_guard_local.
7226 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7227 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7229 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7232 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7234 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7236 * include/string.h (__ffs): Declare as hidden.
7237 * string/ffs.c (__ffs): Define as hidden.
7238 * sysdeps/i386/ffs.c (__ffs): Likewise.
7239 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7240 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7241 * sysdeps/s390/ffs.c (__ffs): Likewise.
7242 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7244 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7246 * NEWS: Mention malloc probes.
7248 * malloc/arena.c (new_heap): New memory_heap_new probe.
7249 (grow_heap): New memory_heap_more probe.
7250 (shrink_heap): New memory_heap_less probe.
7251 (heap_trim): New memory_heap_free probe.
7252 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7253 (systrim): New memory_sbrk_less probe.
7254 * manual/probes.texi: Document them.
7256 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7257 * manual/probes.texi: Document it.
7259 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7260 (__libc_realloc): Add memory_realloc_retry probe.
7261 (__libc_memalign): Add memory_memalign_retry probe.
7262 (__libc_valloc): Add memory_valloc_retry probe.
7263 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7264 (__libc_calloc): Add memory_calloc_retry probe.
7265 * manual/probes.texi: Document them.
7267 * malloc/arena.c (get_free_list): Add probe
7268 memory_arena_reuse_free_list.
7269 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7270 and memory_arena_reuse.
7271 (arena_get2) [!PER_THREAD]: Likewise.
7272 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7273 memory_arena_reuse_realloc.
7274 * manual/probes.texi: Document them.
7276 * malloc/malloc.c (__libc_free): Add
7277 memory_mallopt_free_dyn_thresholds probe.
7278 (__libc_mallopt): Add multiple memory_mallopt probes.
7279 * manual/probes.texi: Document them.
7281 * malloc/malloc.c: Include stap-probe.h.
7282 (__libc_mallopt): Add memory_mallopt probe.
7283 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7284 * manual/probes.texi: New.
7285 * manual/Makefile (chapters): Add probes.
7286 * manual/threads.texi: Set next node.
7288 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7291 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7292 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7293 Add `Chinese' to `nan' entry name.
7295 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7297 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7298 (POLYNOMIAL): Likewise.
7299 (TAYLOR_SINCOS): Likewise.
7300 (TAYLOR_SLOW): Likewise.
7301 (__sin): Use TAYLOR_SINCOS.
7303 (slow): Use TAYLOR_SLOW.
7308 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7310 * stdlib/strtod_l.c: Fix buffer overrun.
7312 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7314 * benchtests/Makefile (bench): Add sincos.
7315 * benchtests/bench-sincos.c: New file.
7317 * math/libm-test.inc (cos_test_data): New test inputs.
7318 (sin_test_data): Likewise.
7320 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7328 (bsloww1): Likewise.
7329 (bsloww2): Likewise.
7331 (csloww1): Likewise.
7332 (csloww2): Likewise.
7334 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7339 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7343 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7345 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7346 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7347 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7348 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7349 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7350 * elf/cache.c (print_entry): Handle the new cache flags.
7352 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7353 Aldy Hernandez <aldyh@redhat.com>
7355 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7356 Change condition to [_SOFT_FLOAT].
7357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7369 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7372 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7375 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7377 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7378 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7379 (__longjmp): Use LOAD_GP to load saved GPRs.
7380 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7381 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7382 (__sigsetjmp): Use SAVE_GP to save GPRs.
7384 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7385 Do not append -msoft-float.
7386 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7388 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7390 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7392 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7395 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7396 (_FPU_GETCW): Use initial "__" on variable and field names but not
7397 on macro parameter name.
7398 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7399 parentheses around reference to macro parameter.
7401 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7403 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7405 (ctype_startup): Use uint32_t in cast and sizeof for
7408 2013-09-11 Jia Liu <proljc@gmail.com>
7410 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7412 [__FreeBSD__]: Likewise.
7414 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7417 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7418 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7419 (strchr): Remove __strchr_sse42 ifunc selection.
7420 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7421 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7423 2013-09-11 Will Newton <will.newton@linaro.org>
7425 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7426 parameter to RES. Remove hardcoded 1000 value.
7427 * benchtests/bench-skeleton.c (main): Pass RES parameter
7428 to TIMING_INIT and multiply result by 1000.
7430 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7434 2013-09-11 Andreas Schwab <schwab@suse.de>
7436 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7438 (O_TMPFILE) [__USE_GNU]: Define.
7439 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7442 2013-09-11 Will Newton <will.newton@linaro.org>
7445 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7448 2013-09-11 Will Newton <will.newton@linaro.org>
7451 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7454 2013-09-11 Will Newton <will.newton@linaro.org>
7457 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7460 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7462 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7463 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7464 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7465 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7466 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7468 2013-09-10 Allan McRae <allan@archlinux.org>
7471 * manual/arith.texi (Parsing of Floats): Clarify
7475 * manual/install.texi (Running make install): Mention
7477 * INSTALL: Regenerated.
7479 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7481 * csu/init-first.c (_init): Remove the !SHARED condition around
7482 FPU control word initialization.
7483 * elf/dl-support.c (_dl_fpu_control): New variable.
7484 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7485 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7486 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7487 * math/test-fpucw-static.c: New file.
7488 * math/test-fpucw-ieee.c: New file.
7489 * math/test-fpucw-ieee-static.c: New file.
7490 * math/Makefile (tests): Add `test-fpucw-ieee' and
7492 (tests-static): New variable.
7493 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7495 [($(build-shared),yes)]
7496 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7498 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7501 2013-09-09 Allan McRae <allan@archlinux.org>
7504 * manual/string.texi (Collation Functions): Fix typo in
7506 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7509 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7512 * libio/memstream.c (open_memstream): Fix memory leak.
7513 * libio/wmemstream.c (open_wmemstream): Likewise.
7516 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7518 2013-09-09 Will Newton <will.newton@linaro.org>
7520 * malloc/Makefile: Add tst-realloc to tests.
7521 * malloc/tst-realloc.c: New file.
7523 2013-09-09 Allan McRae <allan@archlinux.org>
7526 * COPYING: Update from GNU website to fix FSF address.
7527 * COPYING.LIB: Likewise.
7529 2013-09-06 David S. Miller <davem@davemloft.net>
7531 * po/zh_TW.po: Update Chinese (traditional) translation from
7532 translation project.
7534 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7535 Joseph Myers <joseph@codesourcery.com>
7537 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7539 (obstack_chunk_alloc): New macro.
7540 (obstack_chunk_free): Likewise.
7541 (record_offset): New function.
7542 (init_locale_data): Likewise.
7543 (align_locale_data): Likewise.
7544 (add_locale_empty): Likewise.
7545 (add_locale_raw_data): Likewise.
7546 (add_locale_raw_obstack): Likewise.
7547 (add_locale_string): Likewise.
7548 (add_locale_wstring): Likewise.
7549 (add_locale_uint32): Likewise.
7550 (add_locale_uint32_array): Likewise.
7551 (add_locale_char): Likewise.
7552 (start_locale_structure): Likewise.
7553 (end_locale_structure): Likewise.
7554 (start_locale_prelude): Likewise.
7555 (end_locale_prelude): Likewise.
7556 (write_locale_data): Take locale_file structure rather than an
7558 * locale/programs/locfile.h: Include "obstack.h".
7559 (struct locale_file): Change to store locale file contents instead
7561 (init_locale_data): New prototype.
7562 (align_locale_data): Likewise.
7563 (add_locale_empty): Likewise.
7564 (add_locale_raw_data): Likewise.
7565 (add_locale_raw_obstack): Likewise.
7566 (add_locale_string): Likewise.
7567 (add_locale_wstring): Likewise.
7568 (add_locale_uint32): Likewise.
7569 (add_locale_uint32_array): Likewise.
7570 (add_locale_char): Likewise.
7571 (start_locale_structure): Likewise.
7572 (end_locale_structure): Likewise.
7573 (start_locale_prelude): Likewise.
7574 (end_locale_prelude): Likewise.
7575 (write_locale_data): Update prototype.
7576 * locale/programs/3level.h (struct TABLE): Remove result field.
7577 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7578 Use new locale_file interface.
7579 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7580 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7581 * locale/programs/ld-address.c (address_output): Use new
7582 locale_file interface.
7583 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7585 (collate_finish): Don't call collseq_table_finalize.
7586 (collate_output): Use new locale_file interface.
7587 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7589 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7590 (TABLE): Move defines earlier in file.
7591 (ELEMENT): Likewise.
7592 (DEFAULT): Likewise.
7593 (wctrans_table_add): Move macro and inline function earlier in
7595 (struct wctype_table): Move type earlier in file.
7596 (add_locale_wctype_table): New static prototype.
7597 (struct locale_ctype_t): Use logical types instead of struct iovec
7598 pointers for members.
7599 (ctype_output): Use new locale_file interface.
7600 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7601 new locale_file interface.
7602 (allocate_arrays): Update for use of new locale_file interface.
7603 * locale/programs/ld-identification.c (identification_output): Use
7604 new locale_file interface.
7605 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7606 * locale/programs/ld-messages.c (messages_output): Likewise.
7607 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7608 * locale/programs/ld-name.c (name_output): Likewise.
7609 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7610 * locale/programs/ld-paper.c (paper_output): Likewise.
7611 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7612 * locale/programs/ld-time.c (time_output): Likewise.
7614 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7616 * benchtests/Makefile: Add memrchr benchmark.
7617 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7618 benchmark as memrchr.
7619 * benchtests/bench-memrchr-ifunc.c: New file.
7620 * benchtests/bench-memrchr.c: New file.
7622 2013-09-06 Will Newton <will.newton@linaro.org>
7624 * benchtests/Makefile (string-bench): Add memcpy.
7626 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7627 Cong Wang <amwang@redhat.com>
7630 * sysdeps/unix/sysv/linux/bits/in.h
7631 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7632 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7633 before __USE_KERNEL_IPV6_DEFS uses.
7634 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7636 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7637 sockaddr_in6, or ipv6_mreq.
7639 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7641 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7642 memory access for final bytes in some large inputs.
7643 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7645 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7647 * string/test-memrchr.c: New file.
7648 * string/test-memrchr-ifunc.c: New file.
7649 * string/Makefile: Add new memrchr testcase.
7651 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7653 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7654 fanotify_init returns EPERM.
7656 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7658 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7660 (top level): Treat second token from macro or constant entries for
7661 allowed headers as allowed.
7662 * include/complex.h: Condition internal declarations on
7664 * include/fenv.h: Condition include of <stdbool.h> and internal
7665 declarations on [!_ISOMAC].
7667 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7670 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7672 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7674 * configure.in (--enable-versioning): Remove configure option.
7675 (libc_cv_asm_symver_directive): Remove configure test.
7676 (libc_cv_ld_version_script_option): Likewise.
7677 (VERSIONING): Remove variable and AC_SUBST.
7678 (DO_VERSIONING): Remove AC_DEFINE.
7679 * configure: Regenerated.
7680 * config.h.in (DO_VERSIONING): Remove macro.
7681 * Makerules [$(versioning) = yes]: Change conditionals to
7682 [$(build-shared) = yes].
7683 * config.make.in (versioning): Remove variable.
7684 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7685 [$(build-shared) = yes].
7686 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7687 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7688 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7689 [$(build-shared) = yes].
7690 * extra-lib.mk [$(versioning) = yes]: Likewise.
7691 * hurd/Makefile [$(versioning) = yes]: Likewise.
7692 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7694 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7696 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7697 [SHARED && !NO_HIDDEN].
7698 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7700 [SHARED && DO_VERSIONING]: Likewise..
7701 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7702 [$(build-shared) = yes].
7703 * manual/install.texi (--disable-versioning): Remove
7705 * INSTALL: Regenerated.
7706 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7708 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7709 [$(build-shared) = yes].
7710 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7711 * sysdeps/i386/i686/multiarch/strstr-c.c
7712 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7713 [SHARED && !NO_HIDDEN].
7714 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7715 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7716 * sysdeps/powerpc/powerpc32/dl-machine.c
7717 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7718 * sysdeps/powerpc/powerpc32/sysdep.h
7719 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7720 to [SHARED && PIC && !NO_HIDDEN].
7721 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7722 conditional to [SHARED].
7724 2013-09-04 Will Newton <will.newton@linaro.org>
7726 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7727 * benchtests/bench-string.h: Include bench-timing.h instead
7728 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7729 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7730 call to HP_TIMING_DIFF_INIT.
7731 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7732 instead of hp-timing.h macros.
7733 * benchtests/bench-memchr.c: Likewise.
7734 * benchtests/bench-memcmp.c: Likewise.
7735 * benchtests/bench-memcpy.c: Likewise.
7736 * benchtests/bench-memmem.c: Likewise.
7737 * benchtests/bench-memmove.c: Likewise.
7738 * benchtests/bench-memset.c: Likewise.
7739 * benchtests/bench-rawmemchr.c: Likewise.
7740 * benchtests/bench-strcasecmp.c: Likewise.
7741 * benchtests/bench-strcasestr.c: Likewise.
7742 * benchtests/bench-strcat.c: Likewise.
7743 * benchtests/bench-strchr.c: Likewise.
7744 * benchtests/bench-strcmp.c: Likewise.
7745 * benchtests/bench-strcpy.c: Likewise.
7746 * benchtests/bench-strcpy_chk.c: Likewise.
7747 * benchtests/bench-strlen.c: Likewise.
7748 * benchtests/bench-strncasecmp.c: Likewise.
7749 * benchtests/bench-strncat.c: Likewise.
7750 * benchtests/bench-strncmp.c: Likewise.
7751 * benchtests/bench-strncpy.c: Likewise.
7752 * benchtests/bench-strnlen.c: Likewise.
7753 * benchtests/bench-strpbrk.c: Likewise.
7754 * benchtests/bench-strrchr.c: Likewise.
7755 * benchtests/bench-strspn.c: Likewise.
7756 * benchtests/bench-strstr.c: Likewise.
7758 2013-09-04 Will Newton <will.newton@linaro.org>
7760 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7762 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7765 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7766 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7767 * math/libm-test.inc (lgamma_test_data): Add more tests.
7768 * sysdeps/i386/fpu/libm-test-ulps: Update.
7769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7771 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7773 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7777 Add strcmp-sse2-unaligned
7778 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7780 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7782 * Versions.def (libc): Add GLIBC_2.19.
7784 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7786 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7787 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7789 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7792 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7793 intermediate calculations in recurrence.
7794 (__ieee754_ynf): Likewise.
7795 * math/libm-test.inc (jn_test_data): Do not allow spurious
7796 underflow exception. Add more tests.
7797 (yn_test_data): Add more tests.
7798 * sysdeps/i386/fpu/libm-test-ulps: Update.
7799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7801 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7803 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7805 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7807 * csu/init-first.c: Fix then/than typos.
7808 * locale/programs/ld-collate.c: Likewise.
7809 * locale/programs/linereader.h: Likewise.
7810 * manual/charset.texi: Likewise.
7811 * manual/filesys.texi: Likewise.
7812 * manual/stdio.texi: Likewise.
7813 * manual/string.texi: Likewise.
7814 * stdlib/fmtmsg.c: Likewise.
7815 * sysdeps/i386/stpncpy.S: Likewise.
7816 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7817 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7818 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7819 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7821 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7823 * elf/dl-open.c: Fix typos.
7824 * iconvdata/gbbig5.c: Likewise.
7825 * iconvdata/iso-2022-jp.c: Likewise.
7826 * iconv/gconv_int.h: Likewise.
7827 * iconv/loop.c: Likewise.
7828 * nis/rpcsvc/nis.h: Likewise.
7829 * resolv/ns_name.c: Likewise.
7830 * stdio-common/vfscanf.c: Likewise.
7831 * streams/stropts.h: Likewise.
7832 * sunrpc/rpc_thread.c: Likewise.
7833 * sysdeps/i386/strpbrk.S: Likewise.
7834 * sysdeps/ieee754/k_standard.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7837 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7838 * sysdeps/mach/hurd/profil.c: Likewise.
7839 * sysdeps/s390/dl-procinfo.h: Likewise.
7840 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7841 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7842 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7843 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7844 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7846 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7848 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7851 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7853 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7855 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7856 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7857 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7858 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7859 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7860 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7861 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7862 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7864 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7865 Roland McGrath <roland@hack.frob.com>
7867 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7868 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7870 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7872 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7873 __executable_start symbol instead of _start.
7875 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7877 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7878 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7880 * sysdeps/gnu/ldsodefs.h: ... this new file.
7882 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7883 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7884 instead of ELFOSABI_LINUX.
7886 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7887 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7888 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7889 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7891 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7892 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7895 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7896 (ibm_extended_long_double): Add ieee_nan member.
7897 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7898 (do_test): New function.
7900 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7902 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7903 functions, renamed from truncdfsf_test, trunctfsf_test,
7905 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7907 (do_test): Run all these.
7909 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7911 * argp/argp-help.c: Fix typos.
7912 * argp/argp-parse.c: Likewise.
7913 * debug/backtracesyms.c: Likewise.
7914 * elf/elf.h: Likewise.
7915 * malloc/malloc.c: Likewise.
7916 * nis/nis_print.c: Likewise.
7917 * resolv/res_comp.c: Likewise.
7918 * stdlib/stdlib.h: Likewise.
7919 * sunrpc/clnt_tcp.c: Likewise.
7920 * sunrpc/clnt_udp.c: Likewise.
7921 * sunrpc/clnt_unix.c: Likewise.
7922 * sysdeps/unix/bsd/ptsname.c: Likewise.
7923 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7924 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7931 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7933 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7935 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7938 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7941 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7942 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7943 ($(objpfx)bug-dl-leaf): New rule.
7944 ($(objpfx)bug-dl-leaf.so): Likewise.
7945 ($(objpfx)bug-dl-leaf.out): Likewise.
7946 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7947 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7948 * dlfcn/bug-dl-leaf.c: New test.
7949 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7950 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7951 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7952 (dlclose): Likewise.
7953 (dlmopen): Likewise.
7955 2013-08-27 Roland McGrath <roland@hack.frob.com>
7957 * include/netdb.h [!_ISOMAC]:
7958 Don't include <tls.h>.
7959 (h_errno, __libc_h_errno): Move declaration and macros out of
7962 * include/resolv.h [_RESOLV_H_]:
7963 Don't include <tls.h>.
7964 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7965 * resolv/res_libc.c: Don't include <tls.h>.
7966 (_res): Use __attribute__ ((nocommon)) in place of
7967 __attribute__ ((section (".bss"))).
7969 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7970 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7972 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7974 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7975 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7977 * resolv/res_mkquery.c: Include <sys/time.h>.
7979 * inet/ifreq.c: Moved to ...
7980 * sysdeps/unix/ifreq.c: ... here.
7981 * inet/ifreq.c: New file, true stub version.
7983 * socket/sa_len.c: New file.
7984 * socket/Makefile (aux): Add it.
7985 * sysdeps/unix/sysv/linux/Makefile
7986 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7987 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7988 and #include <socket/sa_len.c>.
7989 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7990 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7992 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7993 * bits/socket.h: ... here.
7995 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7996 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7997 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7999 2013-08-27 Andreas Schwab <schwab@suse.de>
8002 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8003 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8004 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8005 * string/test-strcasecmp.c (test_main): Run tests in several
8007 * string/test-strncasecmp.c (test_main): Likewise.
8009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8010 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8011 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8013 (__strncasecmp_ssse3) [PIC]: Likewise.
8015 2013-08-26 Roland McGrath <roland@hack.frob.com>
8017 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8019 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8020 instead of explicitly declaring xdecrypt.
8021 * nis/nss_nis/nis-publickey.c: Likewise.
8023 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8026 * nscd/aicache.c: Include res_hconf.h.
8027 (addhstaiX): Initialize res_hconf.
8029 2013-08-26 Andreas Schwab <schwab@suse.de>
8031 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8032 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8034 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8036 * nscd/aicache.c (addhstaiX): Fix indentation.
8038 2013-08-25 Mike Frysinger <vapier@gentoo.org>
8040 * configure.ac: Quote $build_pt_chown test.
8041 * configure: Regenerated.
8043 2013-08-23 Joseph Myers <joseph@codesourcery.com>
8046 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8047 * math/s_cexpf.c (__cexpf): Likewise.
8048 * math/s_cexpl.c (__cexpl): Likewise.
8049 * math/libm-test.inc (cexp_test_data): Correct expected return
8050 value for NaN + i0. Add another test.
8052 2013-08-22 David S. Miller <davem@davemloft.net>
8054 * po/ca.po: Update Catalan translation from translation project.
8055 * po/uk.po: Add Ukrainian translations from translation project.
8057 2013-08-21 Joseph Myers <joseph@codesourcery.com>
8060 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8061 is infinite, not alongside NaN test.
8062 * math/s_fdimf.c (__fdimf): Likewise.
8063 * math/s_fdiml.c (__fdiml): Likewise.
8064 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8067 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
8069 * argp/argp-help.c: Fix typos.
8070 * crypt/speeds.c: Likewise.
8071 * csu/check_fds.c: Likewise.
8072 * elf/dl-load.c: Likewise.
8073 * elf/dl-open.c: Likewise.
8074 * elf/reldep3.c: Likewise.
8075 * elf/reldep.c: Likewise.
8076 * elf/sprof.c: Likewise.
8077 * iconv/iconv_charmap.c: Likewise.
8078 * iconv/skeleton.c: Likewise.
8079 * iconv/strtab.c: Likewise.
8080 * io/lockf64.c: Likewise.
8081 * libio/libioP.h: Likewise.
8082 * resolv/gai_notify.c: Likewise.
8083 * resolv/ns_name.c: Likewise.
8084 * resolv/ns_samedomain.c: Likewise.
8085 * resolv/res_send.c: Likewise.
8086 * stdlib/random.c: Likewise.
8087 * sunrpc/rpc/xdr.h: Likewise.
8088 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8089 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8090 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8091 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8092 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8093 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8095 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8096 * sysdeps/mach/hurd/check_fds.c: Likewise.
8097 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8098 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8099 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8100 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8101 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8102 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8103 * sysdeps/pthread/aio_notify.c: Likewise.
8104 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8105 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8106 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8107 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8108 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8110 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8112 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8113 version if bit_Slow_SSE4_2 is set.
8114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8115 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8117 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8120 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8121 trampoline stack frame information.
8122 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8123 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8124 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8125 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8126 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8127 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8128 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8129 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8131 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8132 interrupting a syscall and set with option SA_SIGINFO.
8134 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8137 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8138 argument is infinite.
8139 * math/s_cprojf.c (__cprojf): Likewise.
8140 * math/s_cprojl.c (__cprojl): Likewise.
8141 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8142 * math/libm-test.inc (cproj_test_data): Add more tests.
8144 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8146 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8147 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8148 size. Use __ffs to determine corresponding shift.
8150 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8151 Roland McGrath <roland@hack.frob.com>
8153 * Makefile (INSTALL): Remove trailing blank lines from output of
8156 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8158 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8159 Align 32 bit compat elf_greg to 8 bytes.
8161 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8163 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8165 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8167 * string/strcoll_l.c (coll_seq): New structure.
8168 (get_next_seq_cached): New function.
8169 (get_next_seq): New function.
8170 (do_compare): New function.
8171 (STRCOLL): Use GNU style definition. Simplify implementation
8172 by using get_next_seq, get_next_seq_cached and do_compare.
8174 2013-08-16 Florian Weimer <fweimer@redhat.com>
8178 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8180 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8182 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8183 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8184 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8186 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8187 GETDENTS_64BIT_ALIGNED.
8188 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8189 * manual/filesys.texi (Reading/Closing Directory): Document
8190 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8192 * manual/conf.texi (Limits for Files): Add portability note to
8194 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8196 2013-08-13 Andreas Schwab <schwab@suse.de>
8199 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8201 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8202 LDBL_MAX_EXP >= 16384]: Add tests for it.
8204 2013-08-12 David S. Miller <davem@davemloft.net>
8206 * version.h (RELEASE): Set to "development".
8207 (VERSION): Set to "2.18.90".
8208 * NEWS: Add 2.19 section.
8210 2013-08-03 David S. Miller <davem@davemloft.net>
8212 * po/ko.po: Update Korean translation from translation project.
8214 2013-08-01 David S. Miller <davem@davemloft.net>
8216 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8217 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8220 2013-07-30 David S. Miller <davem@davemloft.net>
8222 * po/fr.po: Update French translation from translation project.
8224 2013-07-28 David S. Miller <davem@davemloft.net>
8226 * po/cs.po: Update Czech translation from translation project.
8228 * po/sv.po: Update Swedish translation from translation project.
8230 2013-07-27 David S. Miller <davem@davemloft.net>
8232 * po/eo.po: Update Esperanto translation from translation project.
8234 * po/vi.po: Update Vietnamese translation from translation project.
8236 * po/de.po: Update German translation from translation project.
8238 2013-07-26 David S. Miller <davem@davemloft.net>
8240 * po/bg.po: Update Bulgarian translation from translation project.
8242 * po/nl.po: Update Dutch translation from translation project.
8243 * po/pl.po: Update Polish translation from translation project.
8244 * po/ru.po: Update Russian translation from translation project.
8246 2013-07-24 David S. Miller <davem@davemloft.net>
8248 * po/libc.pot: Update.
8250 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8252 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8254 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8255 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8256 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8258 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8260 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8262 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8263 Andreas Schwab <schwab@suse.de>
8264 Roland McGrath <roland@hack.frob.com>
8265 Joseph Myers <joseph@codesourcery.com>
8266 Carlos O'Donell <carlos@redhat.com>
8269 * config.h.in: Define HAVE_PT_CHOWN.
8270 * config.make.in (build-pt-chown): New variable.
8271 * configure.in (--enable-pt_chown): New configure option.
8272 * configure: Regenerate.
8273 * login/Makefile: Include Makeconfig. Build pt_chown only if
8274 build-pt-chown is enabled.
8275 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8276 pt_chown to fix pty ownership.
8277 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8279 * manual/install.texi (Configuring and compiling): Mention
8280 --enable-pt_chown. Add @findex for grantpt.
8281 * INSTALL: Regenerate.
8283 2013-07-20 David S. Miller <davem@davemloft.net>
8285 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8286 difference between 32-bit and 64-bit.
8288 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8291 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8292 Avoid system header dependency with -ffreestanding.
8293 ($(objpfx)bits/syscall%d): Likewise.
8295 2013-07-13 David S. Miller <davem@davemloft.net>
8297 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8298 underflows from atanl/atan2l due to bug 15319.
8299 (casinh_test_data): Likewise.
8301 2013-07-07 David S. Miller <davem@davemloft.net>
8303 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8305 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8307 * sysdeps/i386/fpu/libm-test-ulps: Update.
8308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8310 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8312 * configure.in (--enable-lock-elision): Fix message text.
8313 * INSTALL: Regenerate.
8314 * configure: Regenerate.
8316 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8320 2013-07-03 Andreas Jaeger <aj@suse.de>
8322 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8324 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8325 (ptrace_peeksiginfo_args): Add.
8326 (__ptrace_peeksiginfo_flags): Add.
8327 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8328 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8329 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8331 2013-07-03 Allan McRae <allan@archlinux.org>
8333 * sysdeps/i386/fpu/libm-test-ulps: Update.
8335 2013-07-02 David S. Miller <davem@davemloft.net>
8337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8339 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8343 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8345 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8348 2013-07-02 Andi Kleen <ak@linux.intel.com>
8350 * config.h.in (ENABLE_LOCK_ELISION): Add.
8351 * configure.in (--enable-lock-elision): Add option.
8352 * manual/install.texi: Document --enable lock elision.
8353 * configure: Regenerate
8354 * INSTALL: Regenerate.
8356 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8358 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8359 SSE4.2 strcasecmp for libc.a.
8360 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8362 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8365 * soft-fp/op-common.h (_FP_FMA): New macro.
8366 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8367 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8368 (_FP_MUL_MEAT_1_imm): ... here.
8369 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8370 (_FP_MUL_MEAT_1_wide): ... here.
8371 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8372 (_FP_MUL_MEAT_1_hard): ... here.
8373 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8374 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8375 (_FP_MUL_MEAT_2_wide): ... here.
8376 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8377 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8378 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8379 (_FP_MUL_MEAT_2_gmp): ... here.
8380 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8381 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8382 (_FP_MUL_MEAT_4_wide): ... here.
8383 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8384 (_FP_MUL_MEAT_4_gmp): ... here.
8385 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8386 (_FP_WFRACBITS_DW_S): Likewise.
8387 (_FP_WFRACXBITS_DW_S): Likewise.
8388 (_FP_HIGHBIT_DW_S): Likewise.
8389 (FP_FMA_S): Likewise.
8390 (_FP_FRAC_HIGH_DW_S): Likewise.
8391 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8392 (_FP_WFRACBITS_DW_D): Likewise.
8393 (_FP_WFRACXBITS_DW_D): Likewise.
8394 (_FP_HIGHBIT_DW_D): Likewise.
8395 (FP_FMA_D): Likewise.
8396 (_FP_FRAC_HIGH_DW_D): Likewise.
8397 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8398 (_FP_WFRACBITS_DW_E): Likewise.
8399 (_FP_WFRACXBITS_DW_E): Likewise.
8400 (_FP_HIGHBIT_DW_E): Likewise.
8401 (FP_FMA_E): Likewise.
8402 (_FP_FRAC_HIGH_DW_E): Likewise.
8403 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8404 (_FP_WFRACBITS_DW_Q): Likewise.
8405 (_FP_WFRACXBITS_DW_Q): Likewise.
8406 (_FP_HIGHBIT_DW_Q): Likewise.
8407 (FP_FMA_Q): Likewise.
8408 (_FP_FRAC_HIGH_DW_Q): Likewise.
8409 * soft-fp/fmasf4.c: New file.
8410 * soft-fp/fmadf4.c: Likewise.
8411 * soft-fp/fmatf4.c: Likewise.
8413 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8416 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8420 (index_Slow_SSE4_2): Likewise.
8421 (index_Prefer_PMINUB_for_stringop): Likewise.
8422 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8423 bit_Slow_SSE4_2 is set.
8424 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8425 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8427 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8429 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8430 rtld_global._dl_hwcap2.
8431 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8433 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8434 POWER8 feature descriptions defined in _dl_hwcap2.
8435 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8436 string handling for POWER8 feature bits.
8437 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8438 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8439 _dl_powerpc_cap_flags.
8440 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8441 * sysdeps/powerpc/rtld-global-offsets.sym
8442 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8443 _dl_hwcap2 in the rtld_global_ro structure.
8445 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8447 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8448 hardware capabilities in support of AT_HWCAP2.
8449 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8450 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8452 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8453 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8454 explicitly the unknown a_type display mechanism is used.
8455 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8456 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8458 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8459 to macro prototype for AT_HWCAP2 support.
8460 * sysdeps/i386/dl-procinfo.h: Likewise.
8461 * sysdeps/s390/dl-procinfo.h: Likewise.
8462 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8463 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8464 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8465 return -1 for unknown a_type display fallback.
8466 * sysdeps/sparc/dl-procinfo.h: Likewise.
8467 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8468 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8470 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8472 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8473 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8475 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8478 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8479 mprotect making __stack_prot writable.
8481 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8482 Joseph Myers <joseph@codesourcery.com>
8484 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8485 as being properly aligned.
8487 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8489 * dlfcn/modstatic5.c: New file.
8490 * dlfcn/tststatic5.c: New file.
8491 * dlfcn/Makefile (tests): Add tststatic5.
8492 (tests-static): Likewise.
8493 (modules-names): Add modstatic5.
8494 (tststatic5-ENV): New variable.
8495 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8498 * elf/dl-support.c (_dl_main_map): New variable.
8499 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8500 (_dl_nns, _dl_load_adds): Set to 1.
8501 (_dl_initial_searchlist): Refer to _dl_main_map.
8502 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8503 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8504 call to _dl_get_origin.
8505 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8507 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8508 * dlfcn/modstatic3.c: New file.
8509 * dlfcn/tststatic3.c: New file.
8510 * dlfcn/tststatic4.c: New file.
8511 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8512 (tests-static): Likewise.
8513 (modules-names): Add modstatic3.
8514 (tststatic3-ENV, tststatic4-ENV): New variables.
8515 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8516 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8518 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8520 * configure.in (CC): Require GCC version 4.4 or later.
8521 * configure: Regenerated.
8522 * manual/install.texi (Tools for Compilation): Update GCC version
8524 * INSTALL: Regenerated.
8526 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8529 * string/test-memcmp.c (check2): New.
8530 (main): Call check2.
8532 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8534 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8537 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8539 (dl_open_worker) [!SHARED]: ... here.
8541 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8543 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8545 2013-06-25 Richard Henderson <rth@redhat.com>
8547 * locale/programs/locarchive.c: Include <libc-internal.h>
8549 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8551 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8552 trailing whitespace removed.
8554 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8557 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8558 * locale/programs/locarchive.c: Include libc-mmap.h.
8559 (prepare_address_space): Take two new outputs (the mmap base and len).
8560 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8562 (create_archive): Declare new mmap base and len values for
8563 prepare_address_space, and store the result in ah.
8564 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8565 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8566 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8567 Declare new mmap base and len values for
8568 prepare_address_space, and store the result in new_ah.
8569 (open_archive): Declare new mmap base and len values for
8570 prepare_address_space, and store the result in ah.
8571 (close_archive): If ah->mmap_base is not NULL, use that and
8572 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8573 * sysdeps/generic/libc-mmap.h: New file.
8575 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8577 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8578 (ALIGN_UP): Likewise.
8579 (PTR_ALIGN_DOWN): Likewise.
8580 (PTR_ALIGN_UP): Likewise.
8582 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8584 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8585 entry mapped to PPC_PLATFORM_POWER8.
8586 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8588 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8589 (_dl_string_platform): Add case for exporting platform position for
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8592 search path to sysdeps/powerpc/powerpc32/power8 directory.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8594 search path to sysdeps/powerpc/powerpc64/power8 directory.
8595 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8597 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8600 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8602 * INSTALL: Regenerate.
8604 * nscd/connections.c (nscd_init): Fix comment.
8606 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8608 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8611 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8612 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8614 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8616 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8618 (DL_DST_REQ_STATIC): Remove macro.
8620 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8623 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8624 with a shift of 0 bits.
8626 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8628 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8631 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8634 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8636 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8638 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8639 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8640 accepts -fno-tree-loop-distribute-patterns.
8641 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8642 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8644 * string/memset.c (memset): Likewise.
8645 * string/test-memmove.c (simple_memmove): Disable loop transformation
8647 * string/test-memset.c (simple_memset): Likewise.
8648 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8649 * benchtests/bench-memset.c (simple_memset): Likewise.
8650 * configure: Regenerated.
8652 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8654 * math/test-misc.c (main): Ignore fesetround failure when failures
8655 of subsequent rounding tests would be ignored.
8658 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8659 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8660 * math/fegetenv.c (__fegetenv): Return 0.
8661 * math/fegetexcept.c (fegetexcept): Return 0.
8662 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8664 * math/feholdexcpt.c (feholdexcept): Return 0.
8665 * math/fesetenv.c (__fesetenv): Return 0.
8666 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8667 argument FE_TONEAREST.
8668 * math/feupdateenv.c (__feupdateenv): Return 0.
8669 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8671 2013-06-18 Roland McGrath <roland@hack.frob.com>
8673 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8674 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8675 ($(objpfx)rtld-%.os rules): Use them.
8677 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8679 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8682 2013-06-17 Roland McGrath <roland@hack.frob.com>
8684 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8685 length of target pattern, then descending length of dependency pattern.
8686 * configure.in (AWK): Require gawk 3.1.2 or newer.
8687 * manual/install.texi (Tools for Compilation): Say that we do.
8688 * configure: Regenerated.
8690 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8691 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8692 * scripts/sysd-rules.awk: ... this new script.
8693 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8694 than a glob-style pattern.
8696 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8698 * math/test-misc.c (main): Do not treat incorrectly rounded
8699 conversions as failure unless ROUNDING_TESTS passes.
8701 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8704 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8705 restore exception state around main square root computation, then
8706 check for inexactness explicitly.
8708 * math/libm-test.inc (fma_test_data): Add another test.
8710 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8712 * manual/threads.texi (Non-POSIX Extensions): New document
8713 node. Document pthread_getattr_default_np and
8714 pthread_setattr_default_np.
8716 * Versions.def (libpthread): Add GLIBC_2.18.
8717 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8726 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8737 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8740 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8742 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8743 H.J. Lu <hjl.tools@gmail.com>
8746 * sysdeps/x86_64/rtld-memset.c: Remove file.
8747 * sysdeps/x86_64/rtld-memset.S: New file.
8749 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8751 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8752 (test_in_one_mode): Take arguments for whether the rounding mode
8753 is supported for each floating-point type.
8754 (do_test): Pass new arguments to test_in_one_mode using
8757 2013-06-13 Roland McGrath <roland@hack.frob.com>
8759 * posix/tst-waitid.c (do_test): Distinguish different instances of
8760 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8761 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8762 before entering the kernel for waitpid.
8764 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8766 * NEWS: Fix note on clock function precision. Text by Roland
8769 2013-06-13 Roland McGrath <roland@hack.frob.com>
8771 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8772 it into place only when and if the sanity check passes.
8774 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8776 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8777 output for whether conversion result is exact. Take argument
8778 indicating whether type is IBM long double.
8779 (round_for_all): Change need_exact field to ibm_ld.
8780 * stdlib/tst-strtod-round.c (struct exactness): New type.
8781 (struct test): Change bool ld_ok field to struct exactness exact.
8782 (TEST): Update all definitions for change to field.
8783 (tests): Regenerate array contents.
8784 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8785 field value. Check for IBM long double here.
8786 (do_test): Update calls to test_in_one_mode.
8788 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8791 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8792 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8794 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8797 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8798 generated by the compiler on loop optimizations.
8799 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8800 general definitions.
8802 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8804 * math/bug-nextafter.c: Include <math-tests.h>.
8805 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8807 * math/bug-nexttoward.c: Include <math-tests.h>.
8808 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8810 * math/test-misc.c: Include <math-tests.h>.
8811 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8814 2013-06-12 Andreas Jaeger <aj@suse.de>
8816 * po/ia.po: Update Interlingua translation from translation
8819 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8821 * include/fenv.h: Include stdbool.h.
8822 (struct rm_ctx): New structure.
8823 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8825 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8826 (SET_RESTORE_ROUNDF): Likewise.
8827 (SET_RESTORE_ROUNDL): Likewise.
8828 (SET_RESTORE_ROUND_NOEX): Likewise.
8829 (SET_RESTORE_ROUND_NOEXF): Likewise.
8830 (SET_RESTORE_ROUND_NOEXL): Likewise.
8831 (SET_RESTORE_ROUND_53BIT): Likewise.
8832 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8833 (libc_feresetround_noexf_ctx): Likewise.
8834 (libc_feresetround_noexl_ctx): Likewise.
8835 (libc_feholdsetround_53bit_ctx): Likewise.
8836 (libc_feresetround_53bit_ctx): Likewise.
8837 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8838 (libc_feholdexcept_setround_sse_ctx): New function.
8839 (libc_fesetenv_sse_ctx): Likewise.
8840 (libc_feupdateenv_sse_ctx): Likewise.
8841 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8842 (libc_feholdexcept_setround_387_ctx): Likewise.
8843 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8844 (libc_feholdsetround_387_prec_ctx): Likewise.
8845 (libc_feholdsetround_387_ctx): Likewise.
8846 (libc_feholdsetround_387_53bit_ctx): Likewise.
8847 (libc_feholdsetround_sse_ctx): Likewise.
8848 (libc_feresetround_sse_ctx): Likewise.
8849 (libc_feresetround_387_ctx): Likewise.
8850 (libc_feupdateenv_387_ctx): Likewise.
8851 (libc_feholdexcept_setroundf_ctx): Define macro.
8852 (libc_fesetenvf_ctx): Likewise.
8853 (libc_feupdateenvf_ctx): Likewise.
8854 (libc_feholdsetroundf_ctx): Likewise.
8855 (libc_feresetroundf_ctx): Likewise.
8856 (libc_feholdexcept_setround_ctx): Likewise.
8857 (libc_fesetenv_ctx): Likewise.
8858 (libc_feupdateenv_ctx): Likewise.
8859 (libc_feholdsetround_ctx): Likewise.
8860 (libc_feresetround_ctx): Likewise.
8861 (libc_feholdexcept_setroundl_ctx): Likewise.
8862 (libc_feupdateenvl_ctx): Likewise.
8863 (libc_feholdsetroundl_ctx): Likewise.
8864 (libc_feresetroundl_ctx): Likewise.
8865 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8866 (libc_feresetround_53bit_ctx): Likewise.
8868 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8870 * locale/iso-639.def: Convert to UTF-8.
8872 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8874 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8875 (EXCEPTION_TESTS_double): Likewise.
8876 (EXCEPTION_TESTS_long_double): Likewise.
8877 (EXCEPTION_TESTS): Likewise.
8878 * math/libm-test.inc (test_exceptions): Only test exceptions if
8879 EXCEPTION_TESTS (FLOAT).
8881 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8883 * benchtests/Makefile (string-bench): Add strcpy_chk and
8885 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8886 * benchtests/bench-stpcpy_chk.c: New file.
8887 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8888 * benchtests/bench-strcpy_chk.c: New file.
8889 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8891 (do_test): Likewise.
8893 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8895 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8896 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8897 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8898 with tabs where appropriate.
8899 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8901 [PPC_PLATFORM_PPC440]: Likewise.
8902 [PPC_PLATFORM_PPC464]: Likewise.
8903 [PPC_PLATFORM_PPC476]: Likewise.
8904 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8905 ppc464, and ppc476 platform strings merging from ports/
8908 2013-06-11 Andreas Schwab <schwab@suse.de>
8911 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8912 (from_ucs4_idx): Regenerate.
8913 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8914 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8915 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8916 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8917 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8918 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8919 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8920 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8921 from FROM_LOOP and TO_LOOP specific macros.
8922 (BODY): Handle combining characters.
8923 * iconvdata/BIG5HKSCS.irreversible: Update.
8924 * iconvdata/BIG5HKSCS.precomposed: New file.
8925 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8927 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8929 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8931 * include/sys/time.h: Fix indentation and add copyright header.
8933 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8934 (do_test): Likewise.
8935 * string/test-memchr.c (do_one_test): Likewise.
8936 (do_test): Likewise.
8937 * string/test-memcmp.c (do_one_test): Likewise.
8938 (do_test): Likewise.
8939 * string/test-memcpy.c (do_one_test): Likewise.
8940 (do_test): Likewise.
8941 * string/test-memmem.c (do_one_test): Likewise.
8942 (do_test): Likewise.
8943 (do_random_tests): Likewise.
8944 * string/test-memmove.c (do_one_test): Likewise.
8945 (do_test): Likewise.
8946 * string/test-memset.c (do_one_test): Likewise.
8947 (do_test): Likewise.
8948 * string/test-rawmemchr.c (do_one_test): Likewise.
8949 (do_test): Likewise.
8950 * string/test-strcasecmp.c (do_one_test): Likewise.
8951 (do_test): Likewise.
8952 * string/test-strcasestr.c (do_one_test): Likewise.
8953 (do_test): Likewise.
8954 * string/test-strcat.c (do_one_test): Likewise.
8955 (do_test): Likewise.
8956 * string/test-strchr.c (do_one_test): Likewise.
8957 (do_test): Likewise.
8958 * string/test-strcmp.c (do_one_test): Likewise.
8959 (do_test): Likewise.
8960 * string/test-strcpy.c (do_one_test): Likewise.
8961 (do_test): Likewise.
8962 * string/test-string.h: Likewise.
8963 (test_init): Likewise.
8964 * string/test-strlen.c (do_one_test): Likewise.
8965 (do_test): Likewise.
8966 * string/test-strncasecmp.c (do_one_test): Likewise.
8967 (do_test): Likewise.
8968 * string/test-strncat.c (do_one_test): Likewise.
8969 (do_test): Likewise.
8970 * string/test-strncmp.c (do_one_test): Likewise.
8971 (do_test_limit): Likewise.
8972 (do_test): Likewise.
8973 * string/test-strncpy.c (do_one_test): Likewise.
8974 (do_test): Likewise.
8975 * string/test-strnlen.c (do_one_test): Likewise.
8976 (do_test): Likewise.
8977 * string/test-strpbrk.c (do_one_test): Likewise.
8978 (do_test): Likewise.
8979 * string/test-strrchr.c (do_one_test): Likewise.
8980 (do_test): Likewise.
8981 * string/test-strspn.c (do_one_test): Likewise.
8982 (do_test): Likewise.
8983 * string/test-strstr.c (do_one_test): Likewise.
8984 (do_test): Likewise.
8986 * benchtests/Makefile (string-bench): Add string benchmarks.
8987 * benchtests/bench-bcopy-ifunc.c: New file.
8988 * benchtests/bench-bcopy.c: New file.
8989 * benchtests/bench-bzero-ifunc.c: New file.
8990 * benchtests/bench-bzero.c: New file.
8991 * benchtests/bench-memccpy-ifunc.c: New file.
8992 * benchtests/bench-memccpy.c: New file.
8993 * benchtests/bench-memchr-ifunc.c: New file.
8994 * benchtests/bench-memchr.c: New file.
8995 * benchtests/bench-memcmp-ifunc.c: New file.
8996 * benchtests/bench-memcmp.c: New file.
8997 * benchtests/bench-memmem-ifunc.c: New file.
8998 * benchtests/bench-memmem.c: New file.
8999 * benchtests/bench-memmove-ifunc.c: New file.
9000 * benchtests/bench-memmove.c: New file.
9001 * benchtests/bench-mempcpy-ifunc.c: New file.
9002 * benchtests/bench-mempcpy.c: New file.
9003 * benchtests/bench-memset-ifunc.c: New file.
9004 * benchtests/bench-memset.c: New file.
9005 * benchtests/bench-rawmemchr-ifunc.c: New file.
9006 * benchtests/bench-rawmemchr.c: New file.
9007 * benchtests/bench-stpcpy-ifunc.c: New file.
9008 * benchtests/bench-stpcpy.c: New file.
9009 * benchtests/bench-stpncpy-ifunc.c: New file.
9010 * benchtests/bench-stpncpy.c: New file.
9011 * benchtests/bench-strcasecmp-ifunc.c: New file.
9012 * benchtests/bench-strcasecmp.c: New file.
9013 * benchtests/bench-strcasestr-ifunc.c: New file.
9014 * benchtests/bench-strcasestr.c: New file.
9015 * benchtests/bench-strcat-ifunc.c: New file.
9016 * benchtests/bench-strcat.c: New file.
9017 * benchtests/bench-strchr-ifunc.c: New file.
9018 * benchtests/bench-strchr.c: New file.
9019 * benchtests/bench-strchrnul-ifunc.c: New file.
9020 * benchtests/bench-strchrnul.c: New file.
9021 * benchtests/bench-strcmp-ifunc.c: New file.
9022 * benchtests/bench-strcmp.c: New file.
9023 * benchtests/bench-strcpy-ifunc.c: New file.
9024 * benchtests/bench-strcpy.c: New file.
9025 * benchtests/bench-strcspn-ifunc.c: New file.
9026 * benchtests/bench-strcspn.c: New file.
9027 * benchtests/bench-strlen-ifunc.c: New file.
9028 * benchtests/bench-strlen.c: New file.
9029 * benchtests/bench-strncasecmp-ifunc.c: New file.
9030 * benchtests/bench-strncasecmp.c: New file.
9031 * benchtests/bench-strncat-ifunc.c: New file.
9032 * benchtests/bench-strncat.c: New file.
9033 * benchtests/bench-strncmp-ifunc.c: New file.
9034 * benchtests/bench-strncmp.c: New file.
9035 * benchtests/bench-strncpy-ifunc.c: New file.
9036 * benchtests/bench-strncpy.c: New file.
9037 * benchtests/bench-strnlen-ifunc.c: New file.
9038 * benchtests/bench-strnlen.c: New file.
9039 * benchtests/bench-strpbrk-ifunc.c: New file.
9040 * benchtests/bench-strpbrk.c: New file.
9041 * benchtests/bench-strrchr-ifunc.c: New file.
9042 * benchtests/bench-strrchr.c: New file.
9043 * benchtests/bench-strspn-ifunc.c: New file.
9044 * benchtests/bench-strspn.c: New file.
9045 * benchtests/bench-strstr-ifunc.c: New file.
9046 * benchtests/bench-strstr.c: New file.
9048 * benchtests/Makefile: Disable parallel execution of targets.
9049 (string-bench): Add memcpy.
9050 (benchset): New variable to store a list of benchmark sets.
9051 (bench-func): Renamed from bench.
9052 (bench-set): New target.
9053 (bench): Depend on bench-func and bench-set.
9054 * benchtests/README: Add section on benchmark sets.
9055 * benchtests/bench-memcpy-ifunc.c: New file.
9056 * benchtests/bench-memcpy.c: New file.
9057 * benchtests/bench-string.h: New file.
9059 2013-06-11 Andreas Schwab <schwab@suse.de>
9062 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9063 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9064 values in the triple.
9065 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9066 terminator in the group key.
9068 2013-06-11 Andreas Jaeger <aj@suse.de>
9070 * po/zh_TW.po: Update Chinese (traditional) translation from
9071 translation project.
9073 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9075 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9076 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9077 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9078 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9079 (clock_getcpuclockid): Likewise.
9080 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9081 Add weak_alias and libc_hidden_def.
9082 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9083 * rt/clock_gettime.c (clock_gettime): Rename to
9084 __clock_gettime. Add weak_alias and libc_hidden_def.
9085 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9086 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9087 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9088 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9089 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9091 * rt/clock_settime.c (clock_settime): Rename to
9092 __clock_settime. Add weak_alias and libc_hidden_def.
9093 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9095 2013-06-10 Joseph Myers <joseph@codesourcery.com>
9097 * mach/err_boot.sub: Remove trailing whitespace.
9098 * mach/err_ipc.sub: Likewise.
9099 * mach/err_mach.sub: Likewise.
9101 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9102 (ROUNDING_TESTS_double): Likewise.
9103 (ROUNDING_TESTS_long_double): Likewise.
9104 (ROUNDING_TESTS): Likewise.
9105 * math/libm-test.inc: Include <math-tests.h>.
9106 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9107 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9108 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9109 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9111 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9113 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9116 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9118 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9119 otherwise empty TRANS lines.
9120 * sysdeps/gnu/errlist.c: Regenerated.
9122 * catgets/gencat.c (error_print): Use (void) in function
9124 * crypt/crypt_util.c (__init_des): Likewise.
9125 * crypt/speeds.c (Stop): Likewise.
9127 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9128 * inet/ruserpass.c (token): Likewise.
9129 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9130 * intl/localealias.c (extend_alias_table): Likewise.
9131 * intl/plural-exp.c (init_germanic_plural): Likewise.
9132 * libio/fcloseall.c (__fcloseall): Likewise.
9133 * libio/genops.c (_IO_flush_all): Likewise.
9134 (_IO_flush_all_linebuffered): Likewise.
9135 (_IO_cleanup): Likewise.
9136 (_IO_iter_begin): Likewise.
9137 (_IO_iter_end): Likewise.
9138 (_IO_list_lock): Likewise.
9139 (_IO_list_unlock): Likewise.
9140 (_IO_list_resetlock): Likewise.
9141 * libio/getchar.c (getchar): Likewise.
9142 * libio/getchar_u.c (getchar_unlocked): Likewise.
9143 * libio/getwchar.c (getwchar): Likewise.
9144 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9145 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9146 * login/getpt.c (__getpt): Likewise.
9147 * login/tst-utmp.c (main): Likewise.
9148 * malloc/hooks.c (__malloc_check_init): Likewise.
9149 * malloc/malloc.c (__malloc_stats): Likewise.
9150 * malloc/mtrace.c (tr_break): Likewise.
9152 (muntrace): Likewise.
9153 * misc/fstab.c (endfsent): Likewise.
9154 * misc/getclktck.c (__getclktck): Likewise.
9155 * misc/getdtsz.c (__getdtablesize): Likewise.
9156 * misc/gethostid.c (gethostid): Likewise.
9157 * misc/getpagesize.c (__getpagesize): Likewise.
9158 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9159 (__get_nprocs): Likewise.
9160 (__get_phys_pages): Likewise.
9161 (__get_avphys_pages): Likewise.
9162 * misc/getttyent.c (getttyent): Likewise.
9163 (setttyent): Likewise.
9164 (endttyent): Likewise.
9165 * misc/getusershell.c (getusershell): Likewise.
9166 (endusershell): Likewise.
9167 (setusershell): Likewise.
9168 (initshells): Likewise.
9169 * misc/hsearch.c (__hdestroy): Likewise.
9170 * misc/sync.c (sync): Likewise.
9171 * misc/syslog.c (closelog_internal): Likewise.
9172 (closelog): Likewise.
9173 * misc/ttyslot.c (ttyslot): Likewise.
9174 * misc/vhangup.c (vhangup): Likewise.
9175 * posix/fork.c (__fork): Likewise.
9176 * posix/getegid.c (__getegid): Likewise.
9177 * posix/geteuid.c (__geteuid): Likewise.
9178 * posix/getgid.c (__getgid): Likewise.
9179 * posix/getpid.c (__getpid): Likewise.
9180 * posix/getppid.c (__getppid): Likewise.
9181 * posix/getuid.c (__getuid): Likewise.
9182 * posix/pause.c (pause): Likewise.
9183 * posix/setpgrp.c (setpgrp): Likewise.
9184 * posix/setsid.c (__setsid): Likewise.
9185 * posix/test-vfork.c (noop): Likewise.
9186 * resolv/gethnamaddr.c (_endhtent): Likewise.
9187 (_gethtent): Likewise.
9188 (ht_endhostent): Likewise.
9189 (gethostent): Likewise.
9190 (dns_service): Likewise.
9191 * stdlib/drand48.c (drand48): Likewise.
9192 * stdlib/lrand48.c (lrand48): Likewise.
9193 * stdlib/mrand48.c (mrand48): Likewise.
9194 * stdlib/rand.c (rand): Likewise.
9195 * stdlib/random.c (__random): Likewise.
9196 * stdlib/setenv.c (clearenv): Likewise.
9197 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9198 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9199 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9200 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9201 (__get_nprocs): Likewise.
9202 (__get_phys_pages): Likewise.
9203 (__get_avphys_pages): Likewise.
9204 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9205 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9206 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9207 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9208 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9209 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9210 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9211 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9212 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9213 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9214 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9215 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9216 * sysdeps/posix/clock.c (clock): Likewise.
9217 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9218 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9219 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9220 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9221 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9223 (__get_nprocs_conf): Likewise.
9224 (__get_phys_pages): Likewise.
9225 (__get_avphys_pages): Likewise.
9226 * time/clock.c (clock): Likewise.
9227 * time/tzset.c (__tzname_max): Likewise.
9229 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9231 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9232 (__bswap_32): Do not use "register".
9233 * crypt/crypt.c (_ufc_doit_r): Likewise.
9234 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9235 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9236 * gmon/gmon.c (__monstartup): Likewise.
9237 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9238 * hurd/hurdmalloc.c (more_memory): Likewise.
9241 (realloc): Likewise.
9242 (malloc_fork_prepare): Likewise.
9243 (malloc_fork_parent): Likewise.
9244 (malloc_fork_child): Likewise.
9245 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9246 (_svcauth_des): Likewise.
9247 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9248 * inet/inet_net.c (inet_network): Likewise.
9249 * inet/inet_netof.c (inet_netof): Likewise.
9250 * inet/rcmd.c (__validuser2_sa): Likewise.
9251 * io/fts.c (fts_open): Likewise.
9252 (fts_load): Likewise.
9253 (fts_close): Likewise.
9254 (fts_read): Likewise.
9255 (fts_children): Likewise.
9256 (fts_build): Likewise.
9257 (fts_stat): Likewise.
9258 (fts_sort): Likewise.
9259 (fts_alloc): Likewise.
9260 (fts_lfree): Likewise.
9261 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9262 (_IO_file_xsgetn): Likewise.
9263 (_IO_file_xsgetn_mmap): Likewise.
9264 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9265 (_IO_cookie_write): Likewise.
9266 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9267 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9268 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9269 * malloc/obstack.c (_obstack_begin): Likewise.
9270 (_obstack_begin_1): Likewise.
9271 (_obstack_newchunk): Likewise.
9272 (_obstack_allocated_p): Likewise.
9273 (obstack_free): Likewise.
9274 (_obstack_memory_used): Likewise.
9275 * misc/getttyent.c (getttynam): Likewise.
9276 (getttyent): Likewise.
9279 * misc/getusershell.c (initshells): Likewise.
9280 * misc/syslog.c (__vsyslog_chk): Likewise.
9281 * misc/ttyslot.c (ttyslot): Likewise.
9282 * nis/nis_hash.c (__nis_hash): Likewise.
9283 * posix/fnmatch_loop.c (FCT): Likewise.
9284 * posix/getconf.c (print_all): Likewise.
9286 * posix/getopt.c (exchange): Likewise.
9287 * posix/glob.c (globfree): Likewise.
9288 (prefix_array): Likewise.
9289 (__glob_pattern_type): Likewise.
9290 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9291 (NS_GET32): Likewise.
9292 (NS_PUT16): Likewise.
9293 (NS_PUT32): Likewise.
9294 * resolv/gethnamaddr.c (getanswer): Likewise.
9295 (gethostbyname2): Likewise.
9296 (gethostbyaddr): Likewise.
9297 (_gethtent): Likewise.
9298 (_gethtbyname2): Likewise.
9299 (_gethtbyaddr): Likewise.
9300 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9301 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9302 * resolv/res_init.c (__res_vinit): Likewise.
9303 (net_mask): Likewise.
9304 * resolv/res_mkquery.c (outchar): Likewise.
9306 * stdio-common/printf_fp.c (outchar): Likewise.
9308 * stdio-common/printf_fphex.c (outchar): Likewise.
9310 * stdio-common/printf_size.c (outchar): Likewise.
9312 * stdio-common/test_rdwr.c (main): Likewise.
9313 * stdio-common/tfformat.c (matches): Likewise.
9314 * stdio-common/vfprintf.c (outchar): Likewise.
9315 (printf_unknown): Likewise.
9316 (buffered_vfprintf): Likewise.
9317 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9318 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9319 (ReadFile): Likewise.
9320 * stdlib/qsort.c (SWAP): Likewise.
9321 (_quicksort): Likewise.
9322 * stdlib/setenv.c (__add_to_environ): Likewise.
9323 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9324 * stdlib/strtol_l.c (__strtol_l): Likewise.
9325 * stdlib/tst-strtod.c (main): Likewise.
9326 * stdlib/tst-strtol.c (main): Likewise.
9327 * stdlib/tst-strtoll.c (main): Likewise.
9328 * string/bits/string2.h (__strcmp_cc): Likewise.
9329 (__strcmp_cg): Likewise.
9330 (__strcspn_c1): Likewise.
9331 (__strcspn_c2): Likewise.
9332 (__strcspn_c3): Likewise.
9333 (__strspn_c1): Likewise.
9334 (__strspn_c2): Likewise.
9335 (__strspn_c3): Likewise.
9336 (__strsep_1c): Likewise.
9337 (__strsep_2c): Likewise.
9338 (__strsep_3c): Likewise.
9339 * string/memccpy.c (__memccpy): Likewise.
9340 * string/stpcpy.c (__stpcpy): Likewise.
9341 * string/strcmp.c (strcmp): Likewise.
9342 * string/strrchr.c (strrchr): Likewise.
9343 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9345 * sysdeps/mach/hurd/getcwd.c
9346 (_hurd_canonicalize_directory_name_internal): Likewise.
9347 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9348 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9349 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9350 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9351 Likewise, in both definitions.
9352 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9354 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9355 64] (__bswap_64): Likewise.
9356 * time/test_time.c (main): Likewise.
9357 * time/tzfile.c (__tzfile_read): Likewise.
9358 (__tzfile_compute): Likewise.
9359 * time/tzset.c (__tzset_parse_tz): Likewise.
9360 (tzset_internal): Likewise.
9361 (compute_change): Likewise.
9362 * wcsmbs/wcscat.c (__wcscat): Likewise.
9363 * wcsmbs/wcschr.c (wcschr): Likewise.
9364 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9365 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9366 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9367 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9368 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9369 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9370 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9371 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9372 * wcsmbs/wmemset.c (wmemset): Likewise.
9374 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9376 * scripts/config.guess: Update to version 2013-05-16.
9377 * scripts/config.sub: Update to version 2013-04-24.
9378 * scripts/install-sh: Update to version 2011-11-20.07.
9379 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9380 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9382 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9384 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9385 * elf/sln.c: Likewise.
9386 * hurd/hurd/ioctl.h: Likewise.
9387 * hurd/hurdmalloc.c: Likewise.
9388 * hurd/xattr.c: Likewise.
9389 * include/shlib-compat.h: Likewise.
9390 * inet/ruserpass.c: Likewise.
9391 * libio/iofgets_u.c: Likewise.
9392 * libio/iofgetws_u.c: Likewise.
9393 * locale/programs/ld-identification.c: Likewise.
9394 * locale/programs/ld-time.c: Likewise.
9395 * mach/msg-destroy.c: Likewise.
9396 * nss/nss_files/files-netgrp.c: Likewise.
9397 * resolv/res_data.c: Likewise.
9398 * soft-fp/op-1.h: Likewise.
9399 * soft-fp/op-2.h: Likewise.
9400 * soft-fp/op-4.h: Likewise.
9401 * soft-fp/op-common.h: Likewise.
9402 * stdio-common/printf_fphex.c: Likewise.
9403 * stdlib/strtod_l.c: Likewise.
9404 * sunrpc/rpc/clnt.h: Likewise.
9405 * sysdeps/generic/framestate.c: Likewise.
9406 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9407 * sysdeps/i386/bsd-setjmp.S: Likewise.
9408 * sysdeps/i386/__longjmp.S: Likewise.
9409 * sysdeps/i386/setjmp.S: Likewise.
9410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9411 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9412 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9416 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9417 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9418 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9427 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9428 * sysdeps/ieee754/support.c: Likewise.
9429 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9430 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9431 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9432 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9433 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9434 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9435 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9436 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9437 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9438 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9439 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9440 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9441 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9442 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9443 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9444 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9445 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9448 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9450 * posix/transbug.c: Remove executable mode.
9452 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9454 * crypt/speeds.c: Remove trailing whitespace.
9455 * dlfcn/default.c: Likewise.
9456 * elf/ifuncdep2.c: Likewise.
9457 * elf/ifuncmain1.c: Likewise.
9458 * elf/ifuncmain1vis.c: Likewise.
9459 * elf/testobj.h: Likewise.
9460 * elf/tst-stackguard1.c: Likewise.
9461 * gmon/sys/gmon.h: Likewise.
9462 * hurd/hurdmsg.c: Likewise.
9463 * hurd/new-fd.c: Likewise.
9464 * hurd/ports-get.c: Likewise.
9465 * iconvdata/ibm1008_420.c: Likewise.
9466 * inet/tst-getni1.c: Likewise.
9467 * inet/tst-getni2.c: Likewise.
9468 * libio/ioungetc.c: Likewise.
9469 * libio/wfiledoalloc.c: Likewise.
9470 * manual/libm-err-tab.pl: Likewise.
9471 * math/w_dremf.c: Likewise.
9472 * misc/ftruncate.c: Likewise.
9473 * posix/bug-glob2.c: Likewise.
9474 * posix/tst-pcre.c: Likewise.
9475 * posix/wait4.c: Likewise.
9476 * resolv/README: Likewise.
9477 * resolv/res_debug.h: Likewise.
9478 * resolv/tst-inet_ntop.c: Likewise.
9479 * setjmp/bug269-setjmp.c: Likewise.
9480 * soft-fp/extended.h: Likewise.
9481 * soft-fp/op-1.h: Likewise.
9482 * soft-fp/op-2.h: Likewise.
9483 * soft-fp/op-4.h: Likewise.
9484 * soft-fp/op-8.h: Likewise.
9485 * soft-fp/testit.c: Likewise.
9486 * stdio-common/bug16.c: Likewise.
9487 * stdlib/random.c: Likewise.
9488 * sunrpc/rpcsvc/rquota.x: Likewise.
9489 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9490 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9491 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9492 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9494 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9495 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9497 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9498 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9499 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9518 * sysdeps/ieee754/s_lib_version.c: Likewise.
9519 * sysdeps/mach/hurd/check_fds.c: Likewise.
9520 * sysdeps/mach/hurd/getsockname.c: Likewise.
9521 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9522 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9523 * sysdeps/powerpc/bits/link.h: Likewise.
9524 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9525 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9526 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9527 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9528 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9529 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9530 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9531 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9532 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9533 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9534 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9535 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9536 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9537 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9538 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9539 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9540 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9541 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9542 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9543 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9544 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9545 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9546 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9547 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9548 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9549 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9551 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9552 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9553 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9556 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9557 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9558 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9559 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9560 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9561 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9562 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9563 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9564 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9565 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9566 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9567 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9568 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9569 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9570 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9571 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9572 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9573 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9574 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9576 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9577 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9578 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9579 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9580 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9581 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9582 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9583 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9584 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9585 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9586 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9587 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9588 * sysdeps/powerpc/sysdep.h: Likewise.
9589 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9590 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9591 * sysdeps/sh/dl-trampoline.S: Likewise.
9592 * sysdeps/sh/memset.S: Likewise.
9593 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9594 * sysdeps/sh/strlen.S: Likewise.
9595 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9596 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9597 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9598 * sysdeps/sparc/sparc32/rem.S: Likewise.
9599 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9600 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9601 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9602 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9603 * sysdeps/sparc/sparc32/urem.S: Likewise.
9604 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9605 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9606 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9607 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9608 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9609 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9610 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9611 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9612 * sysdeps/unix/bsd/times.c: Likewise.
9613 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9614 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9618 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9619 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9620 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9621 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9622 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9623 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9624 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9625 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9626 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9627 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9628 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9629 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9630 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9631 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9632 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9633 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9634 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9635 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9636 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9637 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9638 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9639 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9640 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9641 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9642 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9643 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9644 * sysdeps/x86_64/strcspn.S: Likewise.
9646 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9648 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9649 generated file. Regenerate properly from gen-translit.pl.
9650 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9651 locale/C-translit.h.
9653 2013-06-05 Andreas Schwab <schwab@suse.de>
9656 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9657 week as 6 instead of -1.
9658 * time/tst-strptime.c (day_tests): Add test case.
9660 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9662 * sysdeps/generic/math_private.h
9663 (libc_feholdexcept_setround_53bit): Replace with
9664 libc_feholdsetround_53bit.
9665 (libc_feupdateenv_53bit): Replace with
9666 libc_feresetround_53bit.
9667 (SET_RESTORE_ROUND_53BIT): Adjust.
9669 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9671 * string/test-strchrnul.c: Add copyright header.
9673 * posix/tst-getaddrinfo4.c: Increase test timeout.
9675 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9678 * math/libm-test.inc (MAX_EXP): Remove
9680 (ulp): Use MIN_EXP - MANT_DIG.
9681 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9683 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9685 * po/be.po: Revert last change.
9686 * po/zh_CN.po: Likewise.
9687 * po/header.pot: Likewise.
9689 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9691 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9692 link-libc-deps to empty as target-specific variable.
9693 * Makerules (link-libc-args): New variable.
9694 (libc-for-link): Likewise.
9695 (link-libc-deps): Likewise.
9696 (lib%.so): Depend on $(link-libc-deps). Link with
9698 (build-module): Link with $(link-libc-args).
9699 (build-module-asneeded): Likewise.
9700 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9702 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9703 target-specific variable.
9704 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9705 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9706 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9708 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9710 ($(objpfx)libpcprofile.so): Likewise.
9711 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9713 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9714 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9715 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9717 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9718 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9719 * login/Makefile ($(objpfx)libutil.so): Likewise.
9720 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9721 * math/Makefile ($(objpfx)libm.so): Likewise.
9722 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9723 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9724 variable instead of depending directly on libc.
9725 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9726 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9728 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9730 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9731 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9732 ($(objpfx)libanl.so): Likewise.
9733 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9735 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9737 * sysdeps/i386/fpu/Makefile: Remove file.
9738 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9739 ($(objpfx)libm.so): Remove dependency on ld.so.
9741 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9744 * nis/yp_xdr.c (XDRMAXNAME): Define.
9745 (XDRMAXRECORD): Define.
9746 (xdr_domainname): Use XDRMAXNAME.
9747 (xdr_mapname): Likewise.
9748 (xdr_peername): Likewise.
9749 (xdr_keydat): Use XDRMAXRECORD.
9750 (xdr_valdat): Likewise.
9752 2013-05-30 Jeff Law <law@redhat.com>
9755 * manual/errno.texi (ESTALE): Update to account for more than
9756 just NFS file systems.
9757 * sysdeps/gnu/errlist.c: Regenerated.
9759 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9762 * elf/Makefile (tests): Add tst-null-argv.
9763 (modules-names): Add tst-null-argv-lib.
9764 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9765 (tst-null-argv-ENV): Set environment for tst-null-argv.
9766 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9767 (RTLD_PROGNAME): New macro.
9768 * elf/tst-null-argv.c: New test case.
9769 * elf/tst-null-argv-lib.c: Library for test case.
9770 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9771 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9772 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9773 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9774 * elf/dl-init.c (call_init): Likewise.
9775 (_dl_init): Likewise.
9776 * elf/dl-load.c (print_search_path): Likewise.
9777 (_dl_map_object): Likewise.
9778 * elf/dl-lookup.c (do_lookup_x): Likewise.
9779 (add_dependency): Likewise.
9780 (_dl_lookup_symbol_x): Likewise.
9781 (_dl_debug_bindings): Likewise.
9782 * elf/dl-open.c (_dl_show_scope): Likewise.
9783 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9784 * elf/dl-version.c (match_symbol): Likewise.
9785 (_dl_check_map_versions): Likewise.
9786 * elf/rtld.c (dl_main): Likewise.
9787 (print_unresolved): Use RTLD_PROGNAME.
9788 (print_missing_version): Likewise.
9789 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9790 (elf_machine_rela): Likewise.
9791 * sysdeps/powerpc/powerpc32/dl-machine.c
9792 (__process_machine_rela): Likewise.
9793 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9795 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9797 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9799 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9802 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9806 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9808 * po/be.po: Add descriptive title.
9809 * po/zh_CN.po: Likewise.
9810 * po/header.pot: Likewise.
9812 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9814 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9816 (enlarge_archive): Likewise.
9818 2013-05-28 Ben North <ben@redfrontdoor.org>
9820 * manual/arith.texi (frexp): It is the magnitude of the return
9821 value which lies in [0.5, 1), not the return value itself.
9823 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9827 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9829 * stdio-common/bug26.c (main): Correct fscanf template.
9831 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9832 declare _dl_skip_args.
9834 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9837 * manual/platform.texi: Add missing @end deftypefun.
9839 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9842 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9843 bit of mantissa of 2^16382.
9844 * math/libm-test.inc (hypot_test_data): Add more tests.
9846 * math/libm-test.inc: Add drem and pow10 to list of tested
9848 (pow10_test): New function.
9849 (drem_test): Likewise.
9850 (drem_test_tonearest): Likewise.
9851 (drem_test_towardzero): Likewise.
9852 (drem_test_downward): Likewise.
9853 (drem_test_upward): Likewise.
9854 (main): Call the new functions.
9856 * math/libm-test.inc (finite_test_data): Remove.
9857 (finite_test): Run tests from isfinite_test_data.
9858 (gamma_test_data): Remove.
9859 (gamma_test): Run tests from lgamma_test_data.
9860 * sysdeps/i386/fpu/libm-test-ulps: Update.
9861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9863 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9865 * manual/platform.texi: Add PowerPC PPR function set documentation.
9866 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9869 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9871 * math/libm-test.inc (MAX_EXP): Define.
9873 (ulp): New function.
9874 (check_float_internal): Use ULPDIFF.
9875 (cpow_test): Disable failing test.
9876 (check_ulp): Test ulp() implemetnation.
9877 (main): Call check_ulp before starting tests.
9879 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9881 * math/gen-libm-test.pl (generate_testfile): Do not handle
9882 START_DATA and END_DATA.
9883 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9885 (acos_tonearest_test_data): Likewise.
9886 (acos_towardzero_test_data): Likewise.
9887 (acos_downward_test_data): Likewise.
9888 (acos_upward_test_data): Likewise.
9889 (acosh_test_data): Likewise.
9890 (asin_test_data): Likewise.
9891 (asin_tonearest_test_data): Likewise.
9892 (asin_towardzero_test_data): Likewise.
9893 (asin_downward_test_data): Likewise.
9894 (asin_upward_test_data): Likewise.
9895 (asinh_test_data): Likewise.
9896 (atan_test_data): Likewise.
9897 (atanh_test_data): Likewise.
9898 (atan2_test_data): Likewise.
9899 (cabs_test_data): Likewise.
9900 (cacos_test_data): Likewise.
9901 (cacosh_test_data): Likewise.
9902 (carg_test_data): Likewise.
9903 (casin_test_data): Likewise.
9904 (casinh_test_data): Likewise.
9905 (catan_test_data): Likewise.
9906 (catanh_test_data): Likewise.
9907 (cbrt_test_data): Likewise.
9908 (ccos_test_data): Likewise.
9909 (ccosh_test_data): Likewise.
9910 (ceil_test_data): Likewise.
9911 (cexp_test_data): Likewise.
9912 (cimag_test_data): Likewise.
9913 (clog_test_data): Likewise.
9914 (clog10_test_data): Likewise.
9915 (conj_test_data): Likewise.
9916 (copysign_test_data): Likewise.
9917 (cos_test_data): Likewise.
9918 (cos_tonearest_test_data): Likewise.
9919 (cos_towardzero_test_data): Likewise.
9920 (cos_downward_test_data): Likewise.
9921 (cos_upward_test_data): Likewise.
9922 (cosh_test_data): Likewise.
9923 (cosh_tonearest_test_data): Likewise.
9924 (cosh_towardzero_test_data): Likewise.
9925 (cosh_downward_test_data): Likewise.
9926 (cosh_upward_test_data): Likewise.
9927 (cpow_test_data): Likewise.
9928 (cproj_test_data): Likewise.
9929 (creal_test_data): Likewise.
9930 (csin_test_data): Likewise.
9931 (csinh_test_data): Likewise.
9932 (csqrt_test_data): Likewise.
9933 (ctan_test_data): Likewise.
9934 (ctan_tonearest_test_data): Likewise.
9935 (ctan_towardzero_test_data): Likewise.
9936 (ctan_downward_test_data): Likewise.
9937 (ctan_upward_test_data): Likewise.
9938 (ctanh_test_data): Likewise.
9939 (ctanh_tonearest_test_data): Likewise.
9940 (ctanh_towardzero_test_data): Likewise.
9941 (ctanh_downward_test_data): Likewise.
9942 (ctanh_upward_test_data): Likewise.
9943 (erf_test_data): Likewise.
9944 (erfc_test_data): Likewise.
9945 (exp_test_data): Likewise.
9946 (exp_tonearest_test_data): Likewise.
9947 (exp_towardzero_test_data): Likewise.
9948 (exp_downward_test_data): Likewise.
9949 (exp_upward_test_data): Likewise.
9950 (exp10_test_data): Likewise.
9951 (exp2_test_data): Likewise.
9952 (expm1_test_data): Likewise.
9953 (fabs_test_data): Likewise.
9954 (fdim_test_data): Likewise.
9955 (finite_test_data): Likewise.
9956 (floor_test_data): Likewise.
9957 (fma_test_data): Likewise.
9958 (fma_towardzero_test_data): Likewise.
9959 (fma_downward_test_data): Likewise.
9960 (fma_upward_test_data): Likewise.
9961 (fmax_test_data): Likewise.
9962 (fmin_test_data): Likewise.
9963 (fmod_test_data): Likewise.
9964 (fpclassify_test_data): Likewise.
9965 (frexp_test_data): Likewise.
9966 (gamma_test_data): Likewise.
9967 (hypot_test_data): Likewise.
9968 (ilogb_test_data): Likewise.
9969 (isfinite_test_data): Likewise.
9970 (isgreater_test_data): Likewise.
9971 (isgreaterequal_test_data): Likewise.
9972 (isinf_test_data): Likewise.
9973 (isless_test_data): Likewise.
9974 (islessequal_test_data): Likewise.
9975 (islessgreater_test_data): Likewise.
9976 (isnan_test_data): Likewise.
9977 (isnormal_test_data): Likewise.
9978 (issignaling_test_data): Likewise.
9979 (isunordered_test_data): Likewise.
9980 (j0_test_data): Likewise.
9981 (j1_test_data): Likewise.
9982 (jn_test_data): Likewise.
9983 (ldexp_test_data): Likewise.
9984 (lgamma_test_data): Likewise.
9985 (lrint_test_data): Likewise.
9986 (lrint_tonearest_test_data): Likewise.
9987 (lrint_towardzero_test_data): Likewise.
9988 (lrint_downward_test_data): Likewise.
9989 (lrint_upward_test_data): Likewise.
9990 (llrint_test_data): Likewise.
9991 (llrint_tonearest_test_data): Likewise.
9992 (llrint_towardzero_test_data): Likewise.
9993 (llrint_downward_test_data): Likewise.
9994 (llrint_upward_test_data): Likewise.
9995 (log_test_data): Likewise.
9996 (log10_test_data): Likewise.
9997 (log1p_test_data): Likewise.
9998 (log2_test_data): Likewise.
9999 (logb_test_data): Likewise.
10000 (logb_downward_test_data): Likewise.
10001 (lround_test_data): Likewise.
10002 (llround_test_data): Likewise.
10003 (modf_test_data): Likewise.
10004 (nearbyint_test_data): Likewise.
10005 (nextafter_test_data): Likewise.
10006 (nexttoward_test_data): Likewise.
10007 (pow_test_data): Likewise.
10008 (pow_tonearest_test_data): Likewise.
10009 (pow_towardzero_test_data): Likewise.
10010 (pow_downward_test_data): Likewise.
10011 (pow_upward_test_data): Likewise.
10012 (remainder_test_data): Likewise.
10013 (remainder_tonearest_test_data): Likewise.
10014 (remainder_towardzero_test_data): Likewise.
10015 (remainder_downward_test_data): Likewise.
10016 (remainder_upward_test_data): Likewise.
10017 (remquo_test_data): Likewise.
10018 (rint_test_data): Likewise.
10019 (rint_tonearest_test_data): Likewise.
10020 (rint_towardzero_test_data): Likewise.
10021 (rint_downward_test_data): Likewise.
10022 (rint_upward_test_data): Likewise.
10023 (round_test_data): Likewise.
10024 (scalb_test_data): Likewise.
10025 (scalbn_test_data): Likewise.
10026 (scalbln_test_data): Likewise.
10027 (signbit_test_data): Likewise.
10028 (sin_test_data): Likewise.
10029 (sin_tonearest_test_data): Likewise.
10030 (sin_towardzero_test_data): Likewise.
10031 (sin_downward_test_data): Likewise.
10032 (sin_upward_test_data): Likewise.
10033 (sincos_test_data): Likewise.
10034 (sinh_test_data): Likewise.
10035 (sinh_tonearest_test_data): Likewise.
10036 (sinh_towardzero_test_data): Likewise.
10037 (sinh_downward_test_data): Likewise.
10038 (sinh_upward_test_data): Likewise.
10039 (sqrt_test_data): Likewise.
10040 (tan_test_data): Likewise.
10041 (tan_tonearest_test_data): Likewise.
10042 (tan_towardzero_test_data): Likewise.
10043 (tan_downward_test_data): Likewise.
10044 (tan_upward_test_data): Likewise.
10045 (tanh_test_data): Likewise.
10046 (tgamma_test_data): Likewise.
10047 (trunc_test_data): Likewise.
10048 (y0_test_data): Likewise.
10049 (y1_test_data): Likewise.
10050 (yn_test_data): Likewise.
10051 (significand_test_data): Likewise.
10053 * math/gen-libm-test.pl (@functions): Remove variable.
10054 (generate_testfile): Don't handle START and END lines.
10055 * math/libm-test.inc (START): New macro.
10057 (END_COMPLEX): Likewise.
10058 (acos_test): Use END macro without arguments.
10059 (acos_test_tonearest): Likewise.
10060 (acos_test_towardzero): Likewise.
10061 (acos_test_downward): Likewise.
10062 (acos_test_upward): Likewise.
10063 (acosh_test): Likewise.
10064 (asin_test): Likewise.
10065 (asin_test_tonearest): Likewise.
10066 (asin_test_towardzero): Likewise.
10067 (asin_test_downward): Likewise.
10068 (asin_test_upward): Likewise.
10069 (asinh_test): Likewise.
10070 (atan_test): Likewise.
10071 (atanh_test): Likewise.
10072 (atan2_test): Likewise.
10073 (cabs_test): Likewise.
10074 (cacos_test): Use END_COMPLEX macro without arguments.
10075 (cacosh_test): Likewise.
10076 (carg_test): Use END macro without arguments.
10077 (casin_test): Use END_COMPLEX macro without arguments.
10078 (casinh_test): Likewise.
10079 (catan_test): Likewise.
10080 (catanh_test): Likewise.
10081 (cbrt_test): Use END macro without arguments.
10082 (ccos_test): Use END_COMPLEX macro without arguments.
10083 (ccosh_test): Likewise.
10084 (ceil_test): Use END macro without arguments.
10085 (cexp_test): Use END_COMPLEX macro without arguments.
10086 (cimag_test): Use END macro without arguments.
10087 (clog_test): Use END_COMPLEX macro without arguments.
10088 (clog10_test): Likewise.
10089 (conj_test): Likewise.
10090 (copysign_test): Use END macro without arguments.
10091 (cos_test): Likewise.
10092 (cos_test_tonearest): Likewise.
10093 (cos_test_towardzero): Likewise.
10094 (cos_test_downward): Likewise.
10095 (cos_test_upward): Likewise.
10096 (cosh_test): Likewise.
10097 (cosh_test_tonearest): Likewise.
10098 (cosh_test_towardzero): Likewise.
10099 (cosh_test_downward): Likewise.
10100 (cosh_test_upward): Likewise.
10101 (cpow_test): Use END_COMPLEX macro without arguments.
10102 (cproj_test): Likewise.
10103 (creal_test): Use END macro without arguments.
10104 (csin_test): Use END_COMPLEX macro without arguments.
10105 (csinh_test): Likewise.
10106 (csqrt_test): Likewise.
10107 (ctan_test): Likewise.
10108 (ctan_test_tonearest): Likewise.
10109 (ctan_test_towardzero): Likewise.
10110 (ctan_test_downward): Likewise.
10111 (ctan_test_upward): Likewise.
10112 (ctanh_test): Likewise.
10113 (ctanh_test_tonearest): Likewise.
10114 (ctanh_test_towardzero): Likewise.
10115 (ctanh_test_downward): Likewise.
10116 (ctanh_test_upward): Likewise.
10117 (erf_test): Use END macro without arguments.
10118 (erfc_test): Likewise.
10119 (exp_test): Likewise.
10120 (exp_test_tonearest): Likewise.
10121 (exp_test_towardzero): Likewise.
10122 (exp_test_downward): Likewise.
10123 (exp_test_upward): Likewise.
10124 (exp10_test): Likewise.
10125 (exp2_test): Likewise.
10126 (expm1_test): Likewise.
10127 (fabs_test): Likewise.
10128 (fdim_test): Likewise.
10129 (finite_test): Likewise.
10130 (floor_test): Likewise.
10131 (fma_test): Likewise.
10132 (fma_test_towardzero): Likewise.
10133 (fma_test_downward): Likewise.
10134 (fma_test_upward): Likewise.
10135 (fmax_test): Likewise.
10136 (fmin_test): Likewise.
10137 (fmod_test): Likewise.
10138 (fpclassify_test): Likewise.
10139 (frexp_test): Likewise.
10140 (gamma_test): Likewise.
10141 (hypot_test): Likewise.
10142 (ilogb_test): Likewise.
10143 (isfinite_test): Likewise.
10144 (isgreater_test): Likewise.
10145 (isgreaterequal_test): Likewise.
10146 (isinf_test): Likewise.
10147 (isless_test): Likewise.
10148 (islessequal_test): Likewise.
10149 (islessgreater_test): Likewise.
10150 (isnan_test): Likewise.
10151 (isnormal_test): Likewise.
10152 (issignaling_test): Likewise.
10153 (isunordered_test): Likewise.
10154 (j0_test): Likewise.
10155 (j1_test): Likewise.
10156 (jn_test): Likewise.
10157 (ldexp_test): Likewise.
10158 (lgamma_test): Likewise.
10159 (lrint_test): Likewise.
10160 (lrint_test_tonearest): Likewise.
10161 (lrint_test_towardzero): Likewise.
10162 (lrint_test_downward): Likewise.
10163 (lrint_test_upward): Likewise.
10164 (llrint_test): Likewise.
10165 (llrint_test_tonearest): Likewise.
10166 (llrint_test_towardzero): Likewise.
10167 (llrint_test_downward): Likewise.
10168 (llrint_test_upward): Likewise.
10169 (log_test): Likewise.
10170 (log10_test): Likewise.
10171 (log1p_test): Likewise.
10172 (log2_test): Likewise.
10173 (logb_test): Likewise.
10174 (logb_test_downward): Likewise.
10175 (lround_test): Likewise.
10176 (llround_test): Likewise.
10177 (modf_test): Likewise.
10178 (nearbyint_test): Likewise.
10179 (nextafter_test): Likewise.
10180 (nexttoward_test): Likewise.
10181 (pow_test): Likewise.
10182 (pow_test_tonearest): Likewise.
10183 (pow_test_towardzero): Likewise.
10184 (pow_test_downward): Likewise.
10185 (pow_test_upward): Likewise.
10186 (remainder_test): Likewise.
10187 (remainder_test_tonearest): Likewise.
10188 (remainder_test_towardzero): Likewise.
10189 (remainder_test_downward): Likewise.
10190 (remainder_test_upward): Likewise.
10191 (remquo_test): Likewise.
10192 (rint_test): Likewise.
10193 (rint_test_tonearest): Likewise.
10194 (rint_test_towardzero): Likewise.
10195 (rint_test_downward): Likewise.
10196 (rint_test_upward): Likewise.
10197 (round_test): Likewise.
10198 (scalb_test): Likewise.
10199 (scalbn_test): Likewise.
10200 (scalbln_test): Likewise.
10201 (signbit_test): Likewise.
10202 (sin_test): Likewise.
10203 (sin_test_tonearest): Likewise.
10204 (sin_test_towardzero): Likewise.
10205 (sin_test_downward): Likewise.
10206 (sin_test_upward): Likewise.
10207 (sincos_test): Likewise.
10208 (sinh_test): Likewise.
10209 (sinh_test_tonearest): Likewise.
10210 (sinh_test_towardzero): Likewise.
10211 (sinh_test_downward): Likewise.
10212 (sinh_test_upward): Likewise.
10213 (sqrt_test): Likewise.
10214 (tan_test): Likewise.
10215 (tan_test_tonearest): Likewise.
10216 (tan_test_towardzero): Likewise.
10217 (tan_test_downward): Likewise.
10218 (tan_test_upward): Likewise.
10219 (tanh_test): Likewise.
10220 (tgamma_test): Likewise.
10221 (trunc_test): Likewise.
10222 (y0_test): Likewise.
10223 (y1_test): Likewise.
10224 (yn_test): Likewise.
10225 (significand_test): Likewise.
10227 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10230 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10232 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10235 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10236 __ppc_mdoio and __ppc_mdoom.
10237 * manual/platform.texi: Document new functions __ppc_yield,
10238 __ppc_mdoio and __ppc_mdoom.
10240 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10242 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10243 (main): Mention "tls" pseudo-hwcap is legacy.
10244 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10246 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10248 * math/gen-libm-test.pl (parse_args): Output only string of
10249 arguments as text for test name, not full call or descriptions of
10250 tests for extra outputs.
10251 (generate_testfile): Do not pass function name to parse_args.
10252 Generate this_func variable from START.
10253 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10255 (struct test_ff_f_data): Likewise.
10256 (test_ff_f_data_nexttoward): Likewise.
10257 (struct test_fi_f_data): Likewise.
10258 (struct test_fl_f_data): Likewise.
10259 (struct test_if_f_data): Likewise.
10260 (struct test_fff_f_data): Likewise.
10261 (struct test_c_f_data): Likewise.
10262 (struct test_f_f1_data): Likewise. Remove field extra_name.
10263 (struct test_fF_f1_data): Likewise.
10264 (struct test_ffI_f1_data): Likewise.
10265 (struct test_c_c_data): Rename test_name field to arg_str.
10266 (struct test_cc_c_data): Likewise.
10267 (struct test_f_i_data): Likewise.
10268 (struct test_ff_i_data): Likewise.
10269 (struct test_f_l_data): Likewise.
10270 (struct test_f_L_data): Likewise.
10271 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10273 (COMMON_TEST_SETUP): New macro.
10274 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10275 (COMMON_TEST_CLEANUP): Likewise.
10276 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10277 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10279 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10280 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10282 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10283 (RUN_TEST_fff_f): Take argument string. Call new setup and
10285 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10286 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10288 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10289 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10291 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10292 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10294 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10295 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10297 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10298 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10300 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10301 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10303 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10304 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10306 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10307 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10309 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10310 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10312 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10313 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10315 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10316 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10318 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10319 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10321 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10322 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10324 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10325 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10327 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10328 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10330 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10332 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10334 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10335 to _sifields.sigfault.
10336 (si_addr_lsb): Define new macro.
10337 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10338 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10339 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10341 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10344 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10346 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10348 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10349 loading the domain.
10351 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10353 * math/gen-libm-test.pl (parse_args): Do not include expected
10354 result in test name.
10355 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10357 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10358 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10359 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10362 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10364 * benchtests/Makefile: Sort function entries.
10366 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10367 tanh, asinh, acosh, atanh.
10368 * benchtests/acos-inputs: New file.
10369 * benchtests/acosh-inputs: New file.
10370 * benchtests/asin-inputs: New file.
10371 * benchtests/asinh-inputs: New file.
10372 * benchtests/atanh-inputs: New file.
10373 * benchtests/cosh-inputs: New file.
10374 * benchtests/log-inputs: New file.
10375 * benchtests/sinh-inputs: New file.
10376 * benchtests/tanh-inputs: New file.
10378 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10381 * posix/tst-getaddrinfo4.c: New test.
10382 * posix/Makefile (tests): Add it.
10384 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10387 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10388 when no services were used.
10389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10390 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10392 2013-05-21 Andreas Schwab <schwab@suse.de>
10395 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10396 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10398 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10399 redundant variable declarations and reallocation of buffer when
10400 parsing as IPv6 address. Always set NSS status when called from
10401 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10402 buffer too small. Correct computation of needed size.
10403 * nss/Makefile (tests): Add test-digits-dots.
10404 * nss/test-digits-dots.c: New test.
10406 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10408 * benchtests/Makefile: Remove instructions for adding
10410 * benchtests/README: New file to explain how to execute and
10411 enhance the benchmark tests.
10413 2013-05-21 Andreas Schwab <schwab@suse.de>
10416 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10417 * setjmp/tst-sigsetjmp.c: New test.
10419 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10421 * sysdeps/x86_64/memset.S (memset): New implementation.
10422 (__bzero): Likewise.
10423 (__memset_tail): New function.
10425 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10427 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10428 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10429 __memcpy_sse2_unaligned ifunc selection.
10430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10431 Add memcpy-sse2-unaligned.S.
10432 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10433 Add: __memcpy_sse2_unaligned.
10435 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10438 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10439 math_force_eval before restoring floating-point envrionment.
10440 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10441 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10443 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10445 (__nearbyintl): Use math_force_eval before restoring
10446 floating-point environment.
10447 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10449 * math/gen-libm-test.pl (special_functions): Remove.
10450 (parse_args): Don't handle TEST_extra. Handle functions with no
10452 * math/libm-test.inc (struct test_sincos_data): Replace with
10453 struct test_fFF_11_data.
10454 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10455 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10456 (sincos_test_data): Change element type to struct
10457 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10458 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10459 RUN_TEST_LOOP_sincos.
10460 * math/README.libm-test: Don't mention special handling of
10461 individual functions.
10462 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10463 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10464 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10465 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10466 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10469 * math/gen-libm-test.pl (get_variable): Remove function.
10470 (parse_args): Don't show pointer parameters to call in test
10471 names. Use "extra output N" in test names for extra outputs
10472 rather than naming variables.
10474 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10477 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10478 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10479 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10481 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10483 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10486 * math/gen-libm-test.pl (@tests): Remove variable.
10487 ($count): Likewise.
10488 (new_test): Remove function.
10489 (show_exceptions): New function.
10490 (special_functions): Use show_exceptions instead of new_test.
10491 (parse_args): Likewise.
10492 (generate_testfile): Pass only function name in generated call to
10493 print_max_error or print_complex_max_error.
10494 (get_ulps): Do not handle complex tests specially.
10495 (output_test): Rename to ...
10496 (get_all_ulps_for_test): ... this. Return a string rather than
10497 printing to a file. Require ulps to be present.
10498 (output_ulps): Generate arrays rather than #defines.
10499 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10500 (struct ulp_data): New type.
10501 (BUILD_COMPLEX_ULP): Remove macro.
10502 (compare_ulp_data): New function.
10503 (find_ulps): Likewise.
10504 (find_test_ulps): Likewise.
10505 (find_function_ulps): Likewise.
10506 (find_complex_function_ulps): Likewise.
10507 (print_max_error): Determine allowed ulps using
10508 find_function_ulps.
10509 (print_complex_max_error): Determine allowed ulps using
10510 find_complex_function_ulps.
10511 (check_float_internal): Determine max ulps using find_test_ulps.
10512 (check_float): Do not take max_ulp parameter. Update call to
10513 check_float_internal.
10514 (check_complex): Likewise.
10515 (check_int): Do not take max_ulp parameter.
10516 (check_long): Likewise.
10517 (check_bool): Likewise.
10518 (check_longlong): Likewise.
10519 (struct test_f_f_data): Remove max_ulp field.
10520 (struct test_ff_f_data): Likewise.
10521 (struct test_ff_f_data_nexttoward): Likewise.
10522 (struct test_fi_f_data): Likewise.
10523 (struct test_fl_f_data): Likewise.
10524 (struct test_if_f_data): Likewise.
10525 (struct test_fff_f_data): Likewise.
10526 (struct test_c_f_data): Likewise.
10527 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10528 (struct test_fF_f1_data): Likewise.
10529 (struct test_ffI_f1_data): Likewise.
10530 (struct test_c_c_data): Remove max_ulp field.
10531 (struct test_cc_c_data): Likewise.
10532 (struct test_f_i_data): Likewise.
10533 (struct test_ff_i_data): Likewise.
10534 (struct test_f_l_data): Likewise.
10535 (struct test_f_L_data): Likewise.
10536 (struct test_sincos_data): Likewise.
10537 (RUN_TEST_f_f): Do not handle ulps.
10538 (RUN_TEST_LOOP_f_f): Likewise.
10539 (RUN_TEST_2_f): Likewise.
10540 (RUN_TEST_LOOP_2_f): Likewise.
10541 (RUN_TEST_fff_f): Likewise.
10542 (RUN_TEST_LOOP_fff_f): Likewise.
10543 (RUN_TEST_c_f): Likewise.
10544 (RUN_TEST_LOOP_c_f): Likewise.
10545 (RUN_TEST_f_f1): Likewise.
10546 (RUN_TEST_LOOP_f_f1): Likewise.
10547 (RUN_TEST_fF_f1): Likewise.
10548 (RUN_TEST_LOOP_fF_f1): Likewise.
10549 (RUN_TEST_fI_f1): Likewise.
10550 (RUN_TEST_LOOP_fI_f1): Likewise.
10551 (RUN_TEST_ffI_f1): Likewise.
10552 (RUN_TEST_LOOP_ffI_f1): Likewise.
10553 (RUN_TEST_c_c): Likewise.
10554 (RUN_TEST_LOOP_c_c): Likewise.
10555 (RUN_TEST_cc_c): Likewise.
10556 (RUN_TEST_LOOP_cc_c): Likewise.
10557 (RUN_TEST_f_i): Likewise.
10558 (RUN_TEST_LOOP_f_i): Likewise.
10559 (RUN_TEST_f_i_tg): Likewise.
10560 (RUN_TEST_LOOP_f_i_tg): Likewise.
10561 (RUN_TEST_ff_i_tg): Likewise.
10562 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10563 (RUN_TEST_f_b): Likewise.
10564 (RUN_TEST_LOOP_f_b): Likewise.
10565 (RUN_TEST_f_b_tg): Likewise.
10566 (RUN_TEST_LOOP_f_b_tg): Likewise.
10567 (RUN_TEST_f_l): Likewise.
10568 (RUN_TEST_LOOP_f_l): Likewise.
10569 (RUN_TEST_f_L): Likewise.
10570 (RUN_TEST_LOOP_f_L): Likewise.
10571 (RUN_TEST_sincos): Likewise.
10572 (RUN_TEST_LOOP_sincos): Likewise.
10574 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10578 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10579 main case of finite arguments, set rounding mode to FE_TONEAREST
10580 and discard exceptions.
10581 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10583 (remainder_tonearest_test_data): New variable.
10584 (remainder_test_tonearest): New function.
10585 (remainder_towardzero_test_data): New variable.
10586 (remainder_test_towardzero): New function.
10587 (remainder_downward_test_data): New variable.
10588 (remainder_test_downward): New function.
10589 (remainder_upward_test_data): New variable.
10590 (remainder_test_upward): New function.
10591 (main): Call the new test functions.
10593 * math/libm-test.inc (struct test_f_f1_data): Remove field
10595 (struct test_fF_f1_data): Likewise.
10596 (struct test_ffI_f1_data): Likewise.
10597 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10598 based on value of EXTRA_EXPECTED.
10599 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10600 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10601 EXTRA_VAR based on value of EXTRA_EXPECTED.
10602 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10603 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10604 EXTRA_VAR based on value of EXTRA_EXPECTED.
10605 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10606 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10607 EXTRA_VAR based on value of EXTRA_EXPECTED.
10608 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10609 * math/gen-libm-test.pl (parse_args): Don't output initializers
10610 for extra output values.
10612 * math/libm-test.inc (check_int): Expect result to be exactly
10613 equal to expected value and do not handle ulps.
10614 (check_long): Likewise.
10615 (check_longlong): Likewise.
10617 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10619 (cimag_test_data): Likewise.
10620 (conj_test_data): Likewise.
10621 (copysign_test_data): Likewise.
10622 (cproj_test_data): Likewise.
10623 (creal_test_data): Likewise.
10624 (fabs_test_data): Likewise.
10625 (fdim_test_data): Likewise.
10626 (finite_test_data): Likewise.
10627 (floor_test_data): Likewise.
10628 (fmax_test_data): Likewise.
10629 (fmin_test_data): Likewise.
10630 (fmod_test_data): Likewise.
10631 (fpclassify_test_data): Likewise.
10632 (frexp_test_data): Likewise.
10633 (ilogb_test_data): Likewise.
10634 (isfinite_test_data): Likewise.
10635 (isgreater_test_data): Likewise.
10636 (isgreaterequal_test_data): Likewise.
10637 (isinf_test_data): Likewise.
10638 (isless_test_data): Likewise.
10639 (islessequal_test_data): Likewise.
10640 (islessgreater_test_data): Likewise.
10641 (isnan_test_data): Likewise.
10642 (isnormal_test_data): Likewise.
10643 (issignaling_test_data): Likewise.
10644 (isunordered_test_data): Likewise.
10645 (ldexp_test_data): Likewise.
10646 (lrint_test_data): Likewise.
10647 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10648 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10649 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10650 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10651 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10652 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10654 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10655 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10656 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10657 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10659 (lrint_downward_test_data): Test for "inexact" exceptions.
10660 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10661 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10662 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10664 (lrint_upward_test_data): Test for "inexact" exceptions.
10665 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10667 (llrint_test_data): Test for "inexact" exceptions.
10668 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10669 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10670 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10671 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10672 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10673 (llrint_downward_test_data): Test for "inexact" exceptions.
10674 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10675 (llrint_upward_test_data): Test for "inexact" exceptions.
10676 (logb_test_data): Likewise.
10677 (logb_downward_test_data): Likewise.
10678 (nextafter_test_data): Likewise.
10679 (nexttoward_test_data): Likewise.
10680 (remainder_test_data): Likewise.
10681 (remquo_test_data): Likewise.
10682 (scalbn_test_data): Likewise.
10683 (scalbln_test_data): Likewise.
10684 (signbit_test_data): Likewise.
10685 (sqrt_test_data): Likewise.
10686 (significand_test_data): Likewise.
10688 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10691 * benchtests/bench-modf.c (struct args): Mark arg0 as
10693 * scripts/bench.pl: Mark members of struct args as volatile.
10695 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10698 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10699 negative infinity on POWER6 or lower.
10700 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10702 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10705 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10706 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10707 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10708 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10709 (_FP_SETQNAN): New macro.
10710 (_FP_SETQNAN_SEMIRAW): Likewise.
10711 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10712 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10713 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10714 (FP_EXTEND): Use _FP_FRAC_SNANP.
10715 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10716 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10718 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10720 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10723 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10725 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10726 with DIVIDE_BY_ZERO_EXCEPTION.
10727 (gamma_test_data): Likewise.
10728 (lgamma_test_data): Likewise.
10729 (log_test_data): Likewise.
10730 (log10_test_data): Likewise.
10731 (log2_test_data): Likewise.
10732 (tgamma_test_data): Likewise.
10734 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10735 (acos_test_tonearest): Likewise.
10736 (acos_test_towardzero): Likewise.
10737 (acos_test_downward): Likewise.
10738 (acos_test_upward): Likewise.
10739 (acosh_test): Likewise.
10740 (asin_test): Likewise.
10741 (asin_test_tonearest): Likewise.
10742 (asin_test_towardzero): Likewise.
10743 (asin_test_downward): Likewise.
10744 (asin_test_upward): Likewise.
10745 (asinh_test): Likewise.
10746 (atan_test): Likewise.
10747 (atanh_test): Likewise.
10748 (atan2_test): Likewise.
10749 (cabs_test): Likewise.
10750 (cacos_test): Likewise.
10751 (cacosh_test): Likewise.
10752 (casin_test): Likewise.
10753 (casinh_test): Likewise.
10754 (catan_test): Likewise.
10755 (catanh_test): Likewise.
10756 (cbrt_test): Likewise.
10757 (ccos_test): Likewise.
10758 (ccosh_test): Likewise.
10759 (cexp_test): Likewise.
10760 (clog_test): Likewise.
10761 (clog10_test): Likewise.
10762 (cos_test): Likewise.
10763 (cos_test_tonearest): Likewise.
10764 (cos_test_towardzero): Likewise.
10765 (cos_test_downward): Likewise.
10766 (cos_test_upward): Likewise.
10767 (cosh_test): Likewise.
10768 (cosh_test_tonearest): Likewise.
10769 (cosh_test_towardzero): Likewise.
10770 (cosh_test_downward): Likewise.
10771 (cosh_test_upward): Likewise.
10772 (cpow_test): Likewise.
10773 (csin_test): Likewise.
10774 (csinh_test): Likewise.
10775 (csqrt_test): Likewise.
10776 (ctan_test): Likewise.
10777 (ctan_test_tonearest): Likewise.
10778 (ctan_test_towardzero): Likewise.
10779 (ctan_test_downward): Likewise.
10780 (ctan_test_upward): Likewise.
10781 (ctanh_test): Likewise.
10782 (ctanh_test_tonearest): Likewise.
10783 (ctanh_test_towardzero): Likewise.
10784 (ctanh_test_downward): Likewise.
10785 (ctanh_test_upward): Likewise.
10786 (erf_test): Likewise.
10787 (erfc_test): Likewise.
10788 (exp_test): Likewise.
10789 (exp_test_tonearest): Likewise.
10790 (exp_test_towardzero): Likewise.
10791 (exp_test_downward): Likewise.
10792 (exp_test_upward): Likewise.
10793 (exp10_test): Likewise.
10794 (exp2_test): Likewise.
10795 (expm1_test): Likewise.
10796 (fmod_test): Likewise.
10797 (gamma_test): Likewise.
10798 (hypot_test): Likewise.
10799 (j0_test): Likewise.
10800 (j1_test): Likewise.
10801 (jn_test): Likewise.
10802 (lgamma_test): Likewise.
10803 (log_test): Likewise.
10804 (log10_test): Likewise.
10805 (log1p_test): Likewise.
10806 (log2_test): Likewise.
10807 (logb_test_downward): Likewise.
10808 (pow_test): Likewise.
10809 (pow_test_tonearest): Likewise.
10810 (pow_test_towardzero): Likewise.
10811 (pow_test_downward): Likewise.
10812 (pow_test_upward): Likewise.
10813 (remainder_test): Likewise.
10814 (remquo_test): Likewise.
10815 (sin_test): Likewise.
10816 (sin_test_tonearest): Likewise.
10817 (sin_test_towardzero): Likewise.
10818 (sin_test_downward): Likewise.
10819 (sin_test_upward): Likewise.
10820 (sincos_test): Likewise.
10821 (sinh_test): Likewise.
10822 (sinh_test_tonearest): Likewise.
10823 (sinh_test_towardzero): Likewise.
10824 (sinh_test_downward): Likewise.
10825 (sinh_test_upward): Likewise.
10826 (sqrt_test): Likewise.
10827 (tan_test): Likewise.
10828 (tan_test_tonearest): Likewise.
10829 (tan_test_towardzero): Likewise.
10830 (tan_test_downward): Likewise.
10831 (tan_test_upward): Likewise.
10832 (tanh_test): Likewise.
10833 (tgamma_test): Likewise.
10834 (y0_test): Likewise.
10835 (y1_test): Likewise.
10836 (yn_test): Likewise.
10838 * math/gen-libm-test.pl (adjust_arg): Remove function.
10839 (special_function): Remove argument $in_func. Only handle
10840 generating output for tables of tests, not inside functions.
10841 (parse_args): Likewise.
10842 (generate_testfile): Remove variable $in_func. Update call to
10844 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10845 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10846 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10847 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10848 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10849 (MAX_VALUE_INIT): Rename macro to max_value.
10850 (MIN_VALUE_INIT): Rename macro to min_value.
10851 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10852 (plus_zero): Remove variable.
10853 (minus_zero): Likewise.
10854 (plus_infty): Likewise.
10855 (minus_infty): Likewise.
10856 (qnan_value): Likewise.
10857 (max_value): Likewise.
10858 (min_value): Likewise.
10859 (min_subnorm_value): Likewise.
10861 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10863 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10864 uint64_t or uint32_t usage.
10865 * crypt/sha256-block.c: Likewise.
10866 * crypt/sha256-crypt.c: Likewise.
10867 * crypt/sha256.c: Likewise.
10868 * crypt/sha512-block.c: Likewise.
10869 * crypt/sha512-crypt.c: Likewise.
10870 * crypt/sha512.c: Likewise.
10871 * debug/backtrace-tst.c: Likewise.
10872 * debug/pcprofiledump.c: Likewise.
10873 * elf/cache.c: Likewise.
10874 * elf/dl-cache.c: Likewise.
10875 * elf/dl-misc.c: Likewise.
10876 * elf/dl-profile.c: Likewise.
10877 * elf/dl-support.c: Likewise.
10878 * elf/ldconfig.c: Likewise.
10879 * elf/sprof.c: Likewise.
10880 * iconv/dummy-repertoire.c: Likewise.
10881 * iconv/iconv_charmap.c: Likewise.
10882 * iconv/skeleton.c: Likewise.
10883 * iconvdata/8bit-generic.c: Likewise.
10884 * iconvdata/cp737.h: Likewise.
10885 * iconvdata/cp775.h: Likewise.
10886 * iconvdata/ibm1008.h: Likewise.
10887 * iconvdata/ibm1025.h: Likewise.
10888 * iconvdata/ibm1046.h: Likewise.
10889 * iconvdata/ibm1097.h: Likewise.
10890 * iconvdata/ibm1112.h: Likewise.
10891 * iconvdata/ibm1122.h: Likewise.
10892 * iconvdata/ibm1123.h: Likewise.
10893 * iconvdata/ibm1124.h: Likewise.
10894 * iconvdata/ibm1129.h: Likewise.
10895 * iconvdata/ibm1130.h: Likewise.
10896 * iconvdata/ibm1132.h: Likewise.
10897 * iconvdata/ibm1133.h: Likewise.
10898 * iconvdata/ibm1137.h: Likewise.
10899 * iconvdata/ibm1140.h: Likewise.
10900 * iconvdata/ibm1141.h: Likewise.
10901 * iconvdata/ibm1142.h: Likewise.
10902 * iconvdata/ibm1143.h: Likewise.
10903 * iconvdata/ibm1144.h: Likewise.
10904 * iconvdata/ibm1145.h: Likewise.
10905 * iconvdata/ibm1146.h: Likewise.
10906 * iconvdata/ibm1147.h: Likewise.
10907 * iconvdata/ibm1148.h: Likewise.
10908 * iconvdata/ibm1149.h: Likewise.
10909 * iconvdata/ibm1153.h: Likewise.
10910 * iconvdata/ibm1154.h: Likewise.
10911 * iconvdata/ibm1155.h: Likewise.
10912 * iconvdata/ibm1156.h: Likewise.
10913 * iconvdata/ibm1157.h: Likewise.
10914 * iconvdata/ibm1158.h: Likewise.
10915 * iconvdata/ibm1160.h: Likewise.
10916 * iconvdata/ibm1161.h: Likewise.
10917 * iconvdata/ibm1162.h: Likewise.
10918 * iconvdata/ibm1163.h: Likewise.
10919 * iconvdata/ibm1164.h: Likewise.
10920 * iconvdata/ibm1166.h: Likewise.
10921 * iconvdata/ibm1167.h: Likewise.
10922 * iconvdata/ibm12712.h: Likewise.
10923 * iconvdata/ibm1390.h: Likewise.
10924 * iconvdata/ibm1399.h: Likewise.
10925 * iconvdata/ibm16804.h: Likewise.
10926 * iconvdata/ibm4517.h: Likewise.
10927 * iconvdata/ibm4899.h: Likewise.
10928 * iconvdata/ibm4909.h: Likewise.
10929 * iconvdata/ibm4971.h: Likewise.
10930 * iconvdata/ibm5347.h: Likewise.
10931 * iconvdata/ibm803.h: Likewise.
10932 * iconvdata/ibm856.h: Likewise.
10933 * iconvdata/ibm901.h: Likewise.
10934 * iconvdata/ibm902.h: Likewise.
10935 * iconvdata/ibm9030.h: Likewise.
10936 * iconvdata/ibm9066.h: Likewise.
10937 * iconvdata/ibm921.h: Likewise.
10938 * iconvdata/ibm922.h: Likewise.
10939 * iconvdata/ibm9448.h: Likewise.
10940 * iconvdata/isiri-3342.h: Likewise.
10941 * iconvdata/jis0201.h: Likewise.
10942 * include/link.h: Likewise.
10943 * include/netdb.h: Likewise.
10944 * inet/check_native.c: Likewise.
10945 * inet/check_pf.c: Likewise.
10946 * inet/getipv4sourcefilter.c: Likewise.
10947 * inet/getnameinfo.c: Likewise.
10948 * inet/getsourcefilter.c: Likewise.
10949 * inet/htonl.c: Likewise.
10950 * inet/setipv4sourcefilter.c: Likewise.
10951 * inet/setsourcefilter.c: Likewise.
10952 * inet/test-inet6_opt.c: Likewise.
10953 * inet/tst-network.c: Likewise.
10954 * locale/C-collate.c: Likewise.
10955 * locale/C-ctype.c: Likewise.
10956 * locale/C-time.c: Likewise.
10957 * locale/C-translit.h: Likewise.
10958 * locale/loadarchive.c: Likewise.
10959 * locale/programs/3level.h: Likewise.
10960 * locale/programs/charmap.c: Likewise.
10961 * locale/programs/charmap.h: Likewise.
10962 * locale/programs/ld-address.c: Likewise.
10963 * locale/programs/ld-collate.c: Likewise.
10964 * locale/programs/ld-ctype.c: Likewise.
10965 * locale/programs/ld-identification.c: Likewise.
10966 * locale/programs/ld-measurement.c: Likewise.
10967 * locale/programs/ld-messages.c: Likewise.
10968 * locale/programs/ld-monetary.c: Likewise.
10969 * locale/programs/ld-name.c: Likewise.
10970 * locale/programs/ld-numeric.c: Likewise.
10971 * locale/programs/ld-paper.c: Likewise.
10972 * locale/programs/ld-telephone.c: Likewise.
10973 * locale/programs/ld-time.c: Likewise.
10974 * locale/programs/linereader.c: Likewise.
10975 * locale/programs/locale.c: Likewise.
10976 * locale/programs/locarchive.c: Likewise.
10977 * locale/programs/locfile.h: Likewise.
10978 * locale/programs/repertoire.c: Likewise.
10979 * locale/programs/simple-hash.c: Likewise.
10980 * locale/programs/simple-hash.h: Likewise.
10981 * malloc/memusage.c: Likewise.
10982 * malloc/memusagestat.c: Likewise.
10983 * nis/nis_defaults.c: Likewise.
10984 * nis/nis_hash.c: Likewise.
10985 * nis/nis_print.c: Likewise.
10986 * nis/nis_xdr.c: Likewise.
10987 * nscd/connections.c: Likewise.
10988 * nscd/hstcache.c: Likewise.
10989 * nscd/nscd_gethst_r.c: Likewise.
10990 * nscd/nscd_getserv_r.c: Likewise.
10991 * nscd/nscd_helper.c: Likewise.
10992 * nscd/servicescache.c: Likewise.
10993 * nss/makedb.c: Likewise.
10994 * nss/nss_db/db-XXX.c: Likewise.
10995 * nss/nss_db/db-initgroups.c: Likewise.
10996 * nss/nss_db/db-netgrp.c: Likewise.
10997 * nss/nss_files/files-network.c: Likewise.
10998 * nss/nss_files/files-parse.c: Likewise.
10999 * posix/bug-regex5.c: Likewise.
11000 * posix/fnmatch_loop.c: Likewise.
11001 * posix/regcomp.c: Likewise.
11002 * posix/regexec.c: Likewise.
11003 * posix/tst-rfc3484-2.c: Likewise.
11004 * posix/tst-rfc3484-3.c: Likewise.
11005 * posix/tst-rfc3484.c: Likewise.
11006 * resolv/nss_dns/dns-canon.c: Likewise.
11007 * resolv/nss_dns/dns-network.c: Likewise.
11008 * resolv/res_init.c: Likewise.
11009 * resolv/res_mkquery.c: Likewise.
11010 * resolv/tst-aton.c: Likewise.
11011 * stdlib/cxa_atexit.c: Likewise.
11012 * stdlib/cxa_finalize.c: Likewise.
11013 * stdlib/gen-fpioconst.c: Likewise.
11014 * stdlib/strtol_l.c: Likewise.
11015 * string/tst-endian.c: Likewise.
11016 * sunrpc/auth_des.c: Likewise.
11017 * sunrpc/clnt_udp.c: Likewise.
11018 * sunrpc/rtime.c: Likewise.
11019 * sunrpc/svcauth_des.c: Likewise.
11020 * sunrpc/xdr.c: Likewise.
11021 * sunrpc/xdr_intXX_t.c: Likewise.
11022 * sunrpc/xdr_rec.c: Likewise.
11023 * sysdeps/generic/ldconfig.h: Likewise.
11024 * sysdeps/generic/ldsodefs.h: Likewise.
11025 * sysdeps/generic/memusage.h: Likewise.
11026 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11029 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11036 * sysdeps/posix/getaddrinfo.c: Likewise.
11037 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11038 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11039 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11040 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11041 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11042 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11043 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11044 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11045 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11046 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11047 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11048 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11049 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11050 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11052 * sysdeps/x86_64/dl-tls.h: Likewise.
11053 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11054 * time/alt_digit.c: Likewise.
11055 * time/era.c: Likewise.
11056 * wcsmbs/tst-c16c32-1.c: Likewise.
11058 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11060 * math/libm-test.inc (struct test_sincos_data): New type.
11061 (RUN_TEST_LOOP_sincos): New macro.
11062 (sincos_test_data): New variable.
11063 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11065 2013-05-16 Richard Henderson <rth@redhat.com>
11067 * math/atest-exp2.c (LIMB64): New macro.
11068 (CONSTSZ): New macro.
11069 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11071 (print_mpn_fp): ... to function scope.
11072 (read_mpn_hex): Remove.
11073 (get_log2): Remove.
11074 (exp2_mpn): Use mp_log2.
11075 (main): Use mp_exp1.
11077 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11079 * math/libm-test.inc: Remove comment about not testing "inexact"
11081 (INEXACT_EXCEPTION): New macro.
11082 (NO_INEXACT_EXCEPTION): Likewise.
11083 (INVALID_EXCEPTION_OK): Update value.
11084 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11085 (OVERFLOW_EXCEPTION_OK): Likewise.
11086 (UNDERFLOW_EXCEPTION_OK): Likewise.
11087 (IGNORE_ZERO_INF_SIGN): Likewise.
11088 (ERRNO_UNCHANGED): Likewise.
11089 (ERRNO_EDOM): Likewise.
11090 (ERRNO_ERANGE): Likewise.
11091 (test_exceptions): Handle testing "inexact" exceptions.
11092 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11093 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11094 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11095 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11097 (rint_towardzero_test_data): Likewise.
11098 (rint_downward_test_data): Likewise.
11099 (rint_upward_test_data): Likewise.
11101 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11102 with OVERFLOW_EXCEPTION.
11103 (exp10_test_data): Likewise.
11104 (exp2_test_data): Likewise.
11105 (expm1_test_data): Likewise.
11106 (lgamma_test_data): Likewise.
11107 (pow_test_data): Likewise.
11108 (tgamma_test_data): Likewise.
11109 (yn_test_data): Remove duplicate test of overflow.
11111 * math/libm-test.inc (struct test_cc_c_data): New type.
11112 (RUN_TEST_LOOP_cc_c): New macro.
11113 (cpow_test_data): New variable.
11114 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11116 * math/libm-test.inc (struct test_f_L_data): New type.
11117 (RUN_TEST_LOOP_f_L): New macro.
11118 (llrint_test_data): New variable.
11119 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11120 (llrint_tonearest_test_data): New variable.
11121 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11122 (llrint_towardzero_test_data): New variable.
11123 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11124 (llrint_downward_test_data): New variable.
11125 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11126 (llrint_upward_test_data): New variable.
11127 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11128 (llround_test_data): New variable.
11129 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11131 2013-05-13 Peter Collingbourne <pcc@google.com>
11133 * math/atest-exp2.c (get_log2): Remove const attribute.
11135 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11137 * math/libm-test.inc (struct test_f_l_data): New type.
11138 (RUN_TEST_LOOP_f_l): New macro.
11139 (lrint_test_data): New variable.
11140 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11141 (lrint_tonearest_test_data): New variable.
11142 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11143 (lrint_towardzero_test_data): New variable.
11144 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11145 (lrint_downward_test_data): New variable.
11146 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11147 (lrint_upward_test_data): New variable.
11148 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11149 (lround_test_data): New variable.
11150 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11152 2013-05-15 Peter Collingbourne <pcc@google.com>
11154 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11155 (EXTRACT_WORDS64) Use where appropriate.
11156 (INSERT_WORDS64) Likewise.
11158 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11159 constraints with x constraints.
11160 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11162 * malloc/obstack.c (_obstack_compat): Add initializer.
11164 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11166 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11167 si_trapno and add si_addr_lsb to _sifields.sigfault.
11168 (si_trapno): Remove macro.
11169 (si_addr_lsb): Define new macro.
11170 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11172 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11174 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11175 instead of TEST_f_l.
11176 (llrint_test_tonearest): Likewise.
11177 (llrint_test_towardzero): Likewise.
11178 (llrint_test_downward): Likewise.
11179 (llrint_test_upward): Likewise.
11180 (llround_test): Likewise.
11182 * math/libm-test.inc (struct test_f_i_data): Add comment.
11183 (RUN_TEST_LOOP_f_b): New macro.
11184 (RUN_TEST_LOOP_f_b_tg): Likewise.
11185 (finite_test_data): New variable.
11186 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11187 (isfinite_test_data): New variable.
11188 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11189 (isinf_test_data): New variable.
11190 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11191 (isnan_test_data): New variable.
11192 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11193 (isnormal_test_data): New variable.
11194 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11195 (issignaling_test_data): New variable.
11196 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11197 (signbit_test_data): New variable.
11198 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11200 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11201 with INVALID_EXCEPTION.
11202 (acosh_test_data): Likewise.
11203 (asin_test_data): Likewise.
11204 (atanh_test_data): Likewise.
11205 (fmod_test_data): Likewise.
11206 (log_test_data): Likewise.
11207 (log10_test_data): Likewise.
11208 (log2_test_data): Likewise.
11209 (pow_test_data): Likewise.
11210 (sqrt_test_data): Likewise.
11211 (y0_test_data): Likewise.
11212 (y1_test_data): Likewise.
11213 (yn_test_data): Likewise.
11215 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11218 * math/libm-test.inc (struct test_ff_i_data): New type.
11219 (RUN_TEST_LOOP_ff_i_tg): New macro.
11220 (isgreater_test_data): New variable.
11221 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11222 (isgreaterequal_test_data): New variable.
11223 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11224 (isless_test_data): New variable.
11225 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11226 (islessequal_test_data): New variable.
11227 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11228 (islessgreater_test_data): New variable.
11229 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11230 (isunordered_test_data): New variable.
11231 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11233 2013-05-14 David S. Miller <davem@davemloft.net>
11235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11237 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11239 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11241 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11243 (struct test_f_i_data): Change type of max_ulp to int.
11245 * math/libm-test.inc (test_ffI_f1_data): New type.
11246 (RUN_TEST_LOOP_ffI_f1): New macro.
11247 (remquo_test_data): New variable.
11248 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11250 * setjmp/tst-setjmp-fp.c: New file.
11251 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11252 (link-libm): New variable.
11253 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11255 * math/libm-test.inc (struct test_f_i_data): New type.
11256 (RUN_TEST_LOOP_f_i): New macro.
11257 (RUN_TEST_LOOP_f_i_tg): Likewise.
11258 (fpclassify_test_data): New variable.
11259 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11260 (ilogb_test_data): New variable.
11261 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11263 * math/libm-test.inc (scalbln_test): Correct function name in END
11266 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11267 (RUN_TEST_LOOP_fI_f1): New macro.
11268 (frexp_test_data): New variable.
11269 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11271 * math/libm-test.inc (struct test_fF_f1_data): New type.
11272 (RUN_TEST_LOOP_fF_f1): New macro.
11273 (modf_test_data): New variable.
11274 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11276 * math/libm-test.inc (struct test_f_f1_data): New type.
11277 (RUN_TEST_LOOP_f_f1): New macro.
11278 (gamma_test_data): New variable.
11279 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11280 (lgamma_test_data): New variable.
11281 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11283 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11285 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11286 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11287 (main): Comment "tls" pseudo-hwcap.
11289 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11291 * math/libm-test.inc (struct test_fl_f_data): New type.
11292 (RUN_TEST_LOOP_fl_f): New variable.
11293 (scalbln_test_data): New variable.
11294 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11296 * math/libm-test.inc (struct test_fi_f_data): New type.
11297 (RUN_TEST_LOOP_fi_f): New macro.
11298 (ldexp_test_data): New variable.
11299 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11300 (scalbn_test_data): New variable.
11301 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11303 * math/libm-test.inc (struct test_c_f_data): New type.
11304 (RUN_TEST_LOOP_c_f): New macro.
11305 (cabs_test_data): New variable.
11306 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11307 (carg_test_data): New variable.
11308 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11309 (cimag_test_data): New variable.
11310 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11311 (creal_test_data): New variable.
11312 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11314 * math/libm-test.inc (struct test_if_f_data): New type.
11315 (RUN_TEST_LOOP_if_f): New macro.
11316 (jn_test_data): New variable.
11317 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11318 (yn_test_data): New variable.
11319 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11321 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11323 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11325 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11326 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11328 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11330 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11331 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11332 (bench-deps): Add bench-timing.h.
11333 * benchtests-bench-skeleton.c: Include bench-timing.h.
11334 (main): Use TIMING_* macros instead of clock_gettime.
11335 * benchtests/bench-timing.h: New file.
11338 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11339 Renamed from _LIB_VERSION.
11340 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11342 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11344 * math/libm-test.inc (struct test_fff_f_data): New type.
11345 (RUN_TEST_LOOP_fff_f): New macro.
11346 (fma_test_data): New variable.
11347 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11348 (fma_towardzero_test_data): New variable.
11349 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11350 (fma_downward_test_data): New variable.
11351 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11352 (fma_upward_test_data): New variable.
11353 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11355 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11356 (struct test_c_c_data): New type.
11357 (RUN_TEST_LOOP_c_c): New macro.
11358 (cacos_test_data): New variable.
11359 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11360 (cacosh_test_data): New variable.
11361 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11362 (casin_test_data): New variable.
11363 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11364 (casinh_test_data): New variable.
11365 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11366 (catan_test_data): New variable.
11367 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11368 (catanh_test_data): New variable.
11369 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11370 (ccos_test_data): New variable.
11371 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11372 (ccosh_test_data): New variable.
11373 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11374 (cexp_test_data): New variable.
11375 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11376 (clog_test_data): New variable.
11377 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11378 (clog10_test_data): New variable.
11379 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11380 (conj_test_data): New variable.
11381 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11382 (cproj_test_data): New variable.
11383 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11384 (csin_test_data): New variable.
11385 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11386 (csinh_test_data): New variable.
11387 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11388 (csqrt_test_data): New variable.
11389 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11390 (ctan_test_data): New variable.
11391 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11392 (ctan_tonearest_test_data): New variable.
11393 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11394 (ctan_towardzero_test_data): New variable.
11395 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11396 (ctan_downward_test_data): New variable.
11397 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11398 (ctan_upward_test_data): New variable.
11399 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11400 (ctanh_test_data): New variable.
11401 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11402 (ctanh_tonearest_test_data): New variable.
11403 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11404 (ctanh_towardzero_test_data): New variable.
11405 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11406 (ctanh_downward_test_data): New variable.
11407 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11408 (ctanh_upward_test_data): New variable.
11409 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11410 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11413 * math/libm-test.inc (struct test_ff_f_data): New type.
11414 (struct test_ff_f_data_nexttoward): Likewise.
11415 (RUN_TEST_LOOP_2_f): New macro.
11416 (RUN_TEST_LOOP_ff_f): Likewise.
11417 (atan2_test_data): New variable.
11418 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11419 (copysign_test_data): New variable.
11420 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11421 (fdim_test_data): New variable.
11422 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11423 (fmax_test_data): New variable.
11424 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11425 (fmin_test_data): New variable.
11426 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11427 (fmod_test_data): New variable.
11428 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11429 (hypot_test_data): New variable.
11430 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11431 (nextafter_test_data): New variable.
11432 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11433 (nexttoward_test_data): New variable.
11434 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11435 (pow_test_data): New variable.
11436 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11437 (pow_tonearest_test_data): New variable.
11438 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11439 (pow_towardzero_test_data): New variable.
11440 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11441 (pow_downward_test_data): New variable.
11442 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11443 (pow_upward_test_data): New variable.
11444 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11445 (remainder_test_data): New variable.
11446 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11447 (scalb_test_data): New variable.
11448 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11449 * sysdeps/i386/fpu/libm-test-ulps: Update.
11451 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11453 * math/libm-test.inc (fma_test): Use max_value instead of local
11455 (nextafter_test): Likewise.
11457 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11458 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11459 (acos_downward_test_data): New variable.
11460 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11461 (acos_upward_test_data): New variable.
11462 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11463 (acosh_test_data): New variable.
11464 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11465 (asin_test_data): New variable.
11466 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11467 (asin_tonearest_test_data): New variable.
11468 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11469 (asin_towardzero_test_data): New variable.
11470 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11471 (asin_downward_test_data): New variable.
11472 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11473 (asin_upward_test_data): New variable.
11474 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11475 (asinh_test_data): New variable.
11476 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11477 (atan_test_data): New variable.
11478 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11479 (atanh_test_data): New variable.
11480 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11481 (cbrt_test_data): New variable.
11482 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11483 (ceil_test_data): New variable.
11484 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11485 (cos_test_data): New variable.
11486 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11487 (cos_tonearest_test_data): New variable.
11488 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11489 (cos_towardzero_test_data): New variable.
11490 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11491 (cos_downward_test_data): New variable.
11492 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11493 (cos_upward_test_data): New variable.
11494 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11495 (cosh_test_data): New variable.
11496 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11497 (cosh_tonearest_test_data): New variable.
11498 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11499 (cosh_towardzero_test_data): New variable.
11500 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11501 (cosh_downward_test_data): New variable.
11502 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11503 (cosh_upward_test_data): New variable.
11504 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11505 (erf_test_data): New variable.
11506 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11507 (erfc_test_data): New variable.
11508 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11509 (exp_test_data): New variable.
11510 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11511 (exp_tonearest_test_data): New variable.
11512 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11513 (exp_towardzero_test_data): New variable.
11514 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11515 (exp_downward_test_data): New variable.
11516 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11517 (exp_upward_test_data): New variable.
11518 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11519 (exp10_test_data): New variable.
11520 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11521 (exp2_test_data): New variable.
11522 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11523 (expm1_test_data): New variable.
11524 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11525 (fabs_test_data): New variable.
11526 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11527 (floor_test_data): New variable.
11528 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11529 (j0_test_data): New variable.
11530 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11531 (j1_test_data): New variable.
11532 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11533 (log_test_data): New variable.
11534 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11535 (log10_test_data): New variable.
11536 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11537 (log1p_test_data): New variable.
11538 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11539 (log2_test_data): New variable.
11540 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11541 (logb_test_data): New variable.
11542 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11543 (logb_downward_test_data): New variable.
11544 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11545 (nearbyint_test_data): New variable.
11546 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11547 (rint_test_data): New variable.
11548 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11549 (rint_tonearest_test_data): New variable.
11550 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11551 (rint_towardzero_test_data): New variable.
11552 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11553 (rint_downward_test_data): New variable.
11554 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11555 (rint_upward_test_data): New variable.
11556 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11557 (round_test_data): New variable.
11558 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11559 (sin_test_data): New variable.
11560 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11561 (sin_tonearest_test_data): New variable.
11562 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11563 (sin_towardzero_test_data): New variable.
11564 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11565 (sin_downward_test_data): New variable.
11566 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11567 (sin_upward_test_data): New variable.
11568 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11569 (sinh_test_data): New variable.
11570 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11571 (sinh_tonearest_test_data): New variable.
11572 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11573 (sinh_towardzero_test_data): New variable.
11574 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11575 (sinh_downward_test_data): New variable.
11576 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11577 (sinh_upward_test_data): New variable.
11578 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11579 (sqrt_test_data): New variable.
11580 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11581 (tan_test_data): New variable.
11582 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11583 (tan_tonearest_test_data): New variable.
11584 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11585 (tan_towardzero_test_data): New variable.
11586 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11587 (tan_downward_test_data): New variable.
11588 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11589 (tan_upward_test_data): New variable.
11590 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11591 (tanh_test_data): New variable.
11592 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11593 (tgamma_test_data): New variable.
11594 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11595 (trunc_test_data): New variable.
11596 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11597 (y0_test_data): New variable.
11598 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11599 (y1_test_data): New variable.
11600 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11601 (significand_test_data): New variable.
11602 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11604 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11607 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11609 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11611 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11613 2013-05-10 Andreas Jaeger <aj@suse.de>
11616 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11617 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11619 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11621 * math/gen-libm-test.pl (adjust_arg): New function.
11622 (special_functions): Handle generating output in both functions
11624 (parse_args): Likewise.
11625 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11626 $in_func argument to parse_args.
11627 * math/libm-test.inc (struct test_f_f_data): New type.
11628 (IF_ROUND_INIT_): New macro.
11629 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11630 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11631 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11632 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11633 (ROUND_RESTORE_): Likewise.
11634 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11635 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11636 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11637 (ROUND_RESTORE_FE_UPWARD): Likewise.
11638 (RUN_TEST_LOOP_f_f): New macro.
11639 (acos_test_data): New variable.
11640 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11641 (acos_tonearest_test_data): New variable.
11642 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11644 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11646 * benchtests/bench-skeleton.c (startup): Fix coding style.
11648 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11651 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11652 negative infinity argument.
11653 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11654 negative infinity argument.
11655 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11656 negative infinity argument.
11657 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11660 2013-05-10 Florian Weimer <fweimer@redhat.com>
11662 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11663 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11664 * iconv/iconv_prog.c (main): Likewise.
11665 * locale/programs/charmap-dir.c (charmap_readdir)
11666 (fopen_uncompressed): Likewise.
11667 * locale/programs/locfile.c (siblings_uncached)
11668 (write_locale_data): Use lstat64 instead of lstat.
11669 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11672 2013-05-10 Andreas Jaeger <aj@suse.de>
11675 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11677 Include <locale.h>.
11679 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11681 * elf/dl-close.c (_dl_close_worker): Add comments.
11683 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11686 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11688 (__ieee754_rem_pio2l): Update comments.
11691 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11693 (__ieee754_rem_pio2l): Update comments.
11695 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11696 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11698 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11701 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11702 (M_PI_34_LOG10El): Likewise.
11703 (M_PI2_LOG10El): Likewise.
11704 (M_PI4_LOG10El): Likewise.
11705 (M_PI_LOG10El): Likewise.
11707 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11711 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11713 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11714 (MINUS_ZERO_INIT): Likewise.
11715 (PLUS_INFTY_INIT): Likewise.
11716 (MINUS_INFTY_INIT): Likewise.
11717 (QNAN_VALUE_INIT): Likewise.
11718 (MAX_VALUE_INIT): Likewise.
11719 (MIN_VALUE_INIT): Likewise.
11720 (MIN_SUBNORM_VALUE_INIT): Likewise.
11721 (plus_zero): Initialize with PLUS_ZERO_INIT.
11722 (minus_zero): Initialize with MINUS_ZERO_INIT.
11723 (plus_infty): Initialize with PLUS_INFTY_INIT.
11724 (minus_infty): Initialize with MINUS_INFTY_INIT.
11725 (qnan_value): Initialize with QNAN_VALUE_INIT.
11726 (max_value): Initialize with MAX_VALUE_INIT.
11727 (min_value): Initialize with MIN_VALUE_INIT.
11728 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11730 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11731 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11732 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11733 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11735 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11736 (RUN_TEST_2_f): Likewise.
11737 (RUN_TEST_ff_f): Likewise.
11738 (RUN_TEST_fi_f): Likewise.
11739 (RUN_TEST_fl_f): Likewise.
11740 (RUN_TEST_fff_f): Likewise.
11741 (RUN_TEST_c_f): Likewise.
11742 (RUN_TEST_f_f1): Likewise.
11743 (RUN_TEST_fF_f1): Likewise.
11744 (RUN_TEST_fI_f1): Likewise.
11745 (RUN_TEST_ffI_f1): Likewise.
11746 (RUN_TEST_c_c): Likewise.
11747 (RUN_TEST_cc_c): Likewise.
11748 (RUN_TEST_f_i): Likewise.
11749 (RUN_TEST_f_i_tg): Likewise.
11750 (RUN_TEST_ff_i_tg): Likewise.
11751 (RUN_TEST_f_b): Likewise.
11752 (RUN_TEST_f_b_tg): Likewise.
11753 (RUN_TEST_f_l): Likewise.
11754 (RUN_TEST_f_L): Likewise.
11755 (RUN_TEST_sincos): Likewise.
11756 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11757 whether to show exceptions. Do not include ");\n" in return
11759 (special_functions): Output call to RUN_TEST_sincos instead of
11760 check_float calls. Update calls to new_test.
11761 (parse_args): Output call to single RUN_TEST_* macro instead of
11762 check_* calls and other assignments. Update calls to new_test.
11768 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11769 input to result for tgamma overflow.
11770 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11771 (gamma_coeff): New variable.
11772 (NCOEFF): New macro.
11773 (gamma_positive): New function.
11774 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11775 underflow here. Use gamma_positive instead of exp (lgamma) for
11777 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11778 (gamma_coeff): New variable.
11779 (NCOEFF): New macro.
11780 (gammaf_positive): New function.
11781 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11782 underflow here. Use gamma_positive instead of exp (lgamma) for
11784 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11785 (gamma_coeff): New variable.
11786 (NCOEFF): New macro.
11787 (gammal_positive): New function.
11788 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11789 underflow here. Use gamma_positive instead of exp (lgamma) for
11791 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11792 (gamma_coeff): New variable.
11793 (NCOEFF): New macro.
11794 (gammal_positive): New function.
11795 (__ieee754_gammal_r): Handle positive infinity, overflow and
11796 underflow here. Handle NaN the same as positive infinity. Remove
11797 check x < 0xffffffff for negative integers. Use gamma_positive
11798 instead of exp (lgamma) for other arguments.
11799 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11800 (gamma_coeff): New variable.
11801 (NCOEFF): New macro.
11802 (gammal_positive): New function.
11803 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11804 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11808 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11809 * sysdeps/generic/math_private.h (__gamma_productf): New
11811 (__gamma_product): Likewise.
11812 (__gamma_productl): Likewise.
11813 * math/Makefile (libm-calls): Add gamma_product.
11814 * math/libm-test.inc (tgamma_test): Add more tests.
11815 * sysdeps/i386/fpu/libm-test-ulps: Update.
11816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11818 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11820 * benchtests/bench-skeleton.c (main): Preheat CPU.
11822 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11824 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11826 2013-05-07 Roland McGrath <roland@hack.frob.com>
11828 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11829 and _dl_skip_args_internal.
11831 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11833 * manual/message.texi (Message Translation): Talk about users.
11834 Message to key mapping impacts design.
11836 2013-05-06 Roland McGrath <roland@hack.frob.com>
11838 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11840 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11842 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11843 * sysdeps/wordsize-64/glob64.c: ... here.
11845 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11846 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11849 * debug/getlogin_r_chk.c: Moved to ...
11850 * login/getlogin_r_chk.c: ... here.
11851 * debug/Makefile (routines): Move getlogin_r_chk to ...
11852 * login/Makefile (routines): ... here.
11853 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11854 * login/Versions (libc: GLIBC_2.4): ... here.
11856 * io/poll.c (__poll): Renamed from poll.
11857 Add libc_hidden_def.
11858 (poll): Define as weak alias.
11860 * debug/ptsname_r_chk.c: Moved to ...
11861 * login/ptsname_r_chk.c: ... here.
11862 * debug/Makefile (routines): Move ptsname_r_chk to ...
11863 * login/Makefile (routines): ... here.
11864 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11865 * login/Versions (libc: GLIBC_2.4): ... here.
11867 * posix/getlogin.c: Moved to ...
11868 * login/getlogin.c: ... here.
11869 * posix/getlogin_r.c: Moved to ...
11870 * login/getlogin_r.c: ... here.
11871 * posix/getlogin_r.c: Moved to ...
11872 * login/getlogin_r.c: ... here.
11873 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11874 * login/Makefile (routines): ... here.
11875 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11876 * login/Versions (libc: GLIBC_2.0): ... here.
11878 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11879 (setrlimit): Define as weak alias.
11881 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11882 Call __ names for open, ftruncate, and close.
11883 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11884 (truncate): Define as weak alias.
11886 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11888 * math/gen-libm-test.pl (parse_args): Initialize x before each
11889 test of frexp, modf and remquo.
11891 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11892 test signgam value.
11894 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11898 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11900 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11902 2013-05-06 Roland McGrath <roland@hack.frob.com>
11904 * elf/dl-writev.h: New file.
11905 * elf/dl-misc.c: Include it.
11906 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11907 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11909 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11911 * math/libm-test.inc (noXFails): Remove variable.
11912 (noXPasses): Likewise.
11913 (BUILD_COMPLEX_INT): Remove macro.
11914 (print_screen): Remove xfail argument.
11915 (print_screen_max_error): Likewise.
11916 (update_stats): Likewise.
11917 (print_max_error): Likewise. Update calls to other affected
11919 (print_complex_max_error): Likewise.
11920 (test_single_exception): Update calls to print_screen.
11921 (test_single_errno): Likewise.
11922 (check_float_internal): Remove xfail argument. Update calls to
11923 other affected functions.
11924 (check_float): Likewise.
11925 (check_complex): Likewise.
11926 (check_int): Likewise.
11927 (check_long): Likewise.
11928 (check_bool): Likewise.
11929 (check_longlong): Likewise.
11930 (main): Don't print noXFails and noXPasses.
11931 * math/gen-libm-test.pl (top level): Don't mention expected
11932 failure handling in comment.
11933 (new_test): Don't handle expected failures.
11934 (parse_args): Don't mention expected failure handling in comment.
11935 (generate_testfile): Don't handle expected failures.
11936 (parse_ulps): Likewise.
11937 (print_ulps_file): Likewise.
11938 (get_failure): Remove function.
11939 (output_test): Don't handle expected failures.
11940 * make/README.libm-test: Don't mention expected failure handling.
11942 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11943 (minus_zero): Likewise.
11944 (plus_infty): Likewise.
11945 (minus_infty): Likewise.
11946 (qnan_value): Likewise.
11947 (max_value): Likewise.
11948 (min_value): Likewise.
11949 (min_subnorm_value): Likewise.
11950 (initialize): Do not initialize those variables dynamically.
11952 2013-05-03 Roland McGrath <roland@hack.frob.com>
11954 * io/open.c (__open_2): Moved to ...
11955 * io/open_2.c: ... this new file.
11956 * io/open64.c (__open64_2): Moved to ...
11957 * io/open64_2.c: ... this new file.
11958 * io/openat.c (__openat_2): Moved to ...
11959 * io/openat_2.c: ... this new file.
11960 * io/openat64.c (__openat64_2): Moved to ...
11961 * io/openat64_2.c: ... this new file.
11962 * io/Makefile (routines): Add them.
11963 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11964 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11965 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11966 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11967 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11968 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11969 (__openat64): Add hidden_ver.
11970 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11971 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11973 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11974 Separately conditionalize setting of GLRO(dl_sysinfo) so
11975 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11976 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11978 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11980 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11981 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11983 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11984 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11985 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11986 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11987 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11989 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11991 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11992 test signgam value.
11994 * math/libm-test.inc (hypot_test): Do not use
11995 IGNORE_ZERO_INF_SIGN.
11997 2013-05-03 Andreas Jaeger <aj@suse.de>
11999 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12001 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12002 (PF_MAX): Adjust for VSOCK change.
12004 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12008 2013-05-02 Carlos O'Donell <carlos@redhat.com>
12011 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12012 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12013 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12015 2013-05-02 David S. Miller <davem@davemloft.net>
12017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12019 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
12021 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12023 2013-05-01 Roland McGrath <roland@hack.frob.com>
12025 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12027 2013-05-01 Richard Smith <richard@metafoo.co.uk>
12030 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12031 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12032 Use __attribute__ ((__gnu_inline__)).
12033 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12034 Don't use __attribute__ ((__gnu_inline__)).
12036 2013-05-01 Joseph Myers <joseph@codesourcery.com>
12039 * math/s_catan.c (__catan): Handle small real or imaginary part of
12040 input specially to avoid spurious underflow.
12041 * math/s_catanf.c (__catanf): Likewise.
12042 * math/s_catanh.c (__catanh): Likewise.
12043 * math/s_catanhf.c (__catanhf): Likewise.
12044 * math/s_catanhl.c (__catanhl): Likewise.
12045 * math/s_catanl.c (__catanl): Likewise.
12046 * math/libm-test.inc (catan_test): Add more tests.
12047 (catanh_test): Likewise.
12048 * sysdeps/i386/fpu/libm-test-ulps: Update.
12049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12051 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12055 2013-04-30 Joseph Myers <joseph@codesourcery.com>
12058 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12059 accurately for denominator in atan2.
12060 * math/s_catanf.c (__catanf): Likewise.
12061 * math/s_catanh.c (__catanh): Likewise.
12062 * math/s_catanhf.c (__catanhf): Likewise.
12063 * math/s_catanhl.c (__catanhl): Likewise.
12064 * math/s_catanl.c (__catanl): Likewise.
12065 * math/libm-test.inc (catan_test): Add more tests.
12066 (catanh_test): Likewise.
12067 * sysdeps/i386/fpu/libm-test-ulps: Update.
12068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12070 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12072 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12074 * benchtests/Makefile (bench): Remove slow benchmarks.
12075 * benchtests/atan-inputs: Add slow benchmark inputs.
12076 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12077 (BENCH_FUNC): Accept variant offset.
12079 * benchtests/bench-skeleton.c (main): Run benchmark for each
12081 * benchtests/cos-inputs: Add slow benchmark inputs.
12082 * benchtests/exp-inputs: Likewise.
12083 * benchtests/pow-inputs: Likewise.
12084 * benchtests/sin-inputs: Likewise.
12085 * benchtests/slowatan-inputs: Remove.
12086 * benchtests/slowatan.c: Remove.
12087 * benchtests/slowcos-inputs: Remove.
12088 * benchtests/slowcos.c: Remove.
12089 * benchtests/slowexp-inputs: Remove.
12090 * benchtests/slowexp.c: Remove.
12091 * benchtests/slowpow-inputs: Remove.
12092 * benchtests/slowpow.c: Remove.
12093 * benchtests/slowsin-inputs: Remove.
12094 * benchtests/slowsin.c: Remove.
12095 * benchtests/slowtan-inputs: Remove.
12096 * benchtests/slowtan.c: Remove.
12097 * benchtests/tan-inputs: Add slow benchmark inputs.
12098 * scripts/bench.pl: Parse comments and directives.
12100 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12102 ($(objpfx)bench-%.c): Remove *-ITER.
12103 * benchtests/bench-modf.c: Remove definition of ITER.
12104 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12105 (main): Loop for DURATION seconds instead of fixed number of
12107 * scripts/bench.pl: Don't expect iterations in parameters.
12109 2013-04-29 Roland McGrath <roland@hack.frob.com>
12111 * io/fchdir.c (__fchdir): Renamed from fchdir.
12112 (fchdir): Define as weak alias.
12114 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12116 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12117 (ERRNO_EDOM): Likewise.
12118 (ERRNO_ERANGE): Likewise.
12119 (noErrnoTests): New variable.
12120 (init_max_error): Set errno to 0.
12121 (test_single_errno): New function.
12122 (test_errno): Likewise.
12123 (check_float_internal): Call test_errno. Set errno to 0.
12124 (check_complex): Refer to errno tests in comment.
12125 (check_int): Call test_errno. Set errno to 0.
12126 (check_long): Likewise.
12127 (check_bool): Likewise.
12128 (check_longlong): Likewise.
12129 (cos_test): Use ERRNO_* flags for errno tests instead of
12131 (expm1_test): Likewise.
12132 (fmod_test): Likewise.
12133 (ilogb_test): Likewise.
12134 (lgamma_test): Likewise.
12135 (pow_test): Likewise.
12136 (remainder_test): Likewise.
12137 (sin_test): Likewise.
12138 (tan_test): Likewise.
12139 (yn_test): Likewise.
12140 (initialize): Set errno to 0.
12141 (main): Print number of errno tests.
12142 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12144 2013-04-29 Andreas Jaeger <aj@suse.de>
12147 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12151 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12152 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12156 * stdlib/random.c (__initstate): Return NULL if
12160 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12161 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12164 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12168 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12170 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12171 of individual tests.
12172 (casin_test): Likewise.
12173 (casinh_test): Likewise.
12175 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12178 * math/s_catan.c (__catan): Handle arguments with large real or
12179 imaginary part separately without squaring.
12180 * math/s_catanf.c (__catanf): Likewise.
12181 * math/s_catanh.c (__catanh): Likewise.
12182 * math/s_catanhf.c (__catanhf): Likewise.
12183 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12185 (__catanhl): Handle arguments with large real or imaginary part
12186 separately without squaring.
12187 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12189 (__catanl): Handle arguments with large real or imaginary part
12190 separately without squaring.
12191 * math/libm-test.inc (catan_test): Add more tests.
12192 (catanh_test): Likewise.
12193 * sysdeps/i386/fpu/libm-test-ulps: Update.
12194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12196 2013-04-27 Andreas Jaeger <aj@suse.de>
12199 * stdlib/stdlib.h: Update guards for qecvt.
12200 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12203 2013-04-27 Allan McRae <allan@archlinux.org>
12205 * sysdeps/i386/fpu/libm-test-ulps: Update.
12207 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12210 * math/s_catan.c: Include <float.h>.
12211 (__catan): Ensure underflow exception occurs for underflowed
12213 * math/s_catanf.c: Include <float.h>.
12214 (__catanf): Ensure underflow exception occurs for underflowed
12216 * math/s_catanh.c: Include <float.h>.
12217 (__catanh): Ensure underflow exception occurs for underflowed
12219 * math/s_catanhf.c: Include <float.h>.
12220 (__catanhf): Ensure underflow exception occurs for underflowed
12222 * math/s_catanhl.c: Include <float.h>.
12223 (__catanhl): Ensure underflow exception occurs for underflowed
12225 * math/s_catanl.c: Include <float.h>.
12226 (__catanl): Ensure underflow exception occurs for underflowed
12228 * math/libm-test.inc (catan_test): Add more tests.
12229 (catanh_test): Likewise.
12232 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12233 underflowed result.
12234 * math/s_ccoshf.c (__ccoshf): Likewise.
12235 * math/s_ccoshl.c (__ccoshl): Likewise.
12236 * math/s_csin.c (__csin): Likewise.
12237 * math/s_csinf.c (__csinf): Likewise.
12238 * math/s_csinh.c (__csinh): Likewise.
12239 * math/s_csinhf.c (__csinhf): Likewise.
12240 * math/s_csinhl.c (__csinhl): Likewise.
12241 * math/s_csinl.c (__csinl): Likewise.
12242 * math/libm-test.inc (ccos_test): Add more tests.
12243 (ccosh_test): Likewise.
12244 (csin_test): Likewise.
12245 (csinh_test): Likewise.
12247 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12249 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12250 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12251 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12252 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12253 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12254 powerpc/power5+/fpu folders.
12255 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12258 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12262 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12264 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12265 additions to variable.
12266 [$(config-machine) = x86_64] (modules-names): Likewise.
12267 ($(objpfx)tst-audit3): Remove dependency.
12268 ($(objpfx)tst-audit3.out): Likewise.
12269 ($(objpfx)tst-audit4): Likewise.
12270 ($(objpfx)tst-audit4.out): Likewise.
12271 ($(objpfx)tst-audit5): Likewise.
12272 ($(objpfx)tst-audit5.out): Likewise.
12273 ($(objpfx)tst-audit6): Likewise.
12274 ($(objpfx)tst-audit6.out): Likewise.
12275 ($(objpfx)tst-audit7): Likewise.
12276 ($(objpfx)tst-audit7.out): Likewise.
12277 (tst-audit3-ENV): Remove variable.
12278 (tst-audit4-ENV): Likewise.
12279 (tst-audit5-ENV): Likewise.
12280 (tst-audit6-ENV): Likewise.
12281 (tst-audit7-ENV): Likewise.
12282 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12283 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12284 addition to variable.
12285 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12286 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12287 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12288 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12289 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12290 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12291 tst-audit3, tst-audit4 and tst-audit5.
12292 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12293 tst-audit6 and tst-audit7.
12294 [$(subdir) = elf] (modules-names): Add audit modules for those
12296 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12297 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12298 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12299 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12300 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12301 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12302 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12303 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12304 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12305 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12306 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12307 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12308 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12309 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12310 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12311 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12313 [$(subdir) = elf && $(config-cflags-avx) = yes]
12314 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12315 [$(subdir) = elf && $(config-cflags-avx) = yes]
12316 (CFLAGS-tst-auditmod4a.c): Likewise.
12317 [$(subdir) = elf && $(config-cflags-avx) = yes]
12318 (CFLAGS-tst-auditmod4b.c): Likewise.
12319 [$(subdir) = elf && $(config-cflags-avx) = yes]
12320 (CFLAGS-tst-auditmod6b.c): Likewise.
12321 [$(subdir) = elf && $(config-cflags-avx) = yes]
12322 (CFLAGS-tst-auditmod6c.c): Likewise.
12323 [$(subdir) = elf && $(config-cflags-avx) = yes]
12324 (CFLAGS-tst-auditmod7b.c): Likewise.
12325 * elf/tst-audit3.c: Move to ...
12326 * sysdeps/x86_64/tst-audit3.c: ... here.
12327 * elf/tst-audit4.c: Move to ...
12328 * sysdeps/x86_64/tst-audit4.c: ... here.
12329 * elf/tst-audit5.c: Move to ...
12330 * sysdeps/x86_64/tst-audit5.c: ... here.
12331 * elf/tst-audit6.c: Move to ...
12332 * sysdeps/x86_64/tst-audit6.c: ... here.
12333 * elf/tst-audit7.c: Move to ...
12334 * sysdeps/x86_64/tst-audit7.c: ... here.
12335 * elf/tst-auditmod3a.c: Move to ...
12336 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12337 * elf/tst-auditmod3b.c: Move to ...
12338 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12339 * elf/tst-auditmod4a.c: Move to ...
12340 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12341 * elf/tst-auditmod4b.c: Move to ...
12342 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12343 * elf/tst-auditmod5a.c: Move to ...
12344 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12345 * elf/tst-auditmod5b.c: Move to ...
12346 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12347 * elf/tst-auditmod6a.c: Move to ...
12348 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12349 * elf/tst-auditmod6b.c: Move to ...
12350 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12351 * elf/tst-auditmod6c.c: Move to ...
12352 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12353 * elf/tst-auditmod7a.c: Move to ...
12354 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12355 * elf/tst-auditmod7b.c: Move to ...
12356 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12358 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12361 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12362 define unconditionally.
12363 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12364 define unconditionally.
12365 (INT8_C, INT16_C, etc.): Likewise.
12367 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12369 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12370 __ehdr_start with hidden visibility.
12372 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12374 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12376 * math/libm-test.inc (cos_test): Use accurate hex constants.
12377 (sincost_test): Likewise.
12379 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12381 * math/libm-test.inc (catan_test): Add more tests.
12382 (catanh_test): Likewise.
12384 * math/s_catanf.c (__catanf): Use suffixed floating-point
12386 * math/s_catanhf.c (__catanhf): Likewise.
12387 * math/s_catanhl.c (__catanhl): Likewise.
12388 * math/s_catanl.c (__catanl): Likewise.
12391 * math/s_catan.c (__catan): Calculate imaginary part of result
12392 with log1p not log unless computing log of number close to 0.
12393 * math/s_catanf.c (__catanf): Likewise.
12394 * math/s_catanl.c (__catanl): Likewise.
12395 * math/s_catanh.c (__catanh): Calculate real part of result with
12396 log1p not log unless computing log of number close to 0.
12397 * math/s_catanhf.c (__catanhf): Likewise.
12398 * math/s_catanhl.c (__catanhl): Likewise.
12399 * math/libm-test.inc (catan_test): Add more tests.
12400 (catanh_test): Likewise.
12401 * sysdeps/i386/fpu/libm-test-ulps: Update.
12402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12404 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12406 * benchtests/Makefile: Mention files in which fast and slow
12407 paths of math functions are implemented.
12409 2013-04-23 Roland McGrath <roland@hack.frob.com>
12411 * sysdeps/posix/timespec_get.c: New file.
12413 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12415 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12417 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12419 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12420 powerpc/power5/fpu folders.
12421 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12422 * benchtests/Makefile: Add modf testcase.
12423 * benchtests/bench-modf.c: New file: Benchmark test for mo
12425 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12428 * time/Makefile (tests): Add tst-strptime-whitespace.
12429 * time/strptime_l.c (get_number): Use ISSPACE.
12430 (__strptime_internal): Likewise.
12431 * time/tst-strptime-whitespace.c: New test case.
12433 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12435 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12437 (_nss_files_init): Set it here.
12439 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12441 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12442 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12445 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12447 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12449 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12451 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12454 2013-04-21 David S. Miller <davem@davemloft.net>
12456 * po/ru.po: Update Russion translation from translation project.
12458 2013-04-17 Adam Conrad <adconrad@0c3.net>
12460 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12463 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12465 * configure.in: Remove i386 configure warning. Remove i386 case.
12466 * configure: Regenerate.
12467 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12468 Add example to error message.
12469 * sysdeps/i386/configure: Regenerate.
12471 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12473 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12475 * benchtests/cos-inputs: New file.
12476 * benchtests/slowcos-inputs: New file.
12477 * benchtests/slowcos.c: New file.
12478 * benchtests/slowtan-inputs: New file.
12479 * benchtests/slowtan.c: New file.
12480 * benchtests/tan-inputs: New file.
12482 2013-04-16 Roland McGrath <roland@hack.frob.com>
12484 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12487 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12489 * benchtests/Makefile: Include cppflags-iterator.mk to add
12490 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12492 * Makefile.in (bench-clean): New target.
12493 * benchtests/Makefile (bench-clean): Likewise.
12495 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12497 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12499 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12501 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12503 2013-04-15 Andreas Schwab <schwab@suse.de>
12505 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12506 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12507 * nscd/pwdcache.c (cache_addpw): Likewise.
12508 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12511 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12513 * benchtests/Makefile (bench): Write all output to
12514 bench-out.tmp together.
12516 2013-04-15 Andreas Schwab <schwab@suse.de>
12518 * nscd/nscd.c (main): Don't fork again after closing files.
12520 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12522 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12524 * benchtests/Rules (bench-deps): Collect dependencies into a
12525 single variable. Add Makefile to dependencies.
12526 ($(objpfx)bench-%.c): Depend on bench-deps.
12528 2013-04-12 Roland McGrath <roland@hack.frob.com>
12529 Xavier Roche <roche+kml2@exalead.com>
12532 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12533 just that it's a file descriptor.
12534 * manual/llio.texi (Synchronizing AIO Operations): Update description
12535 for EBADF error from aio_fsync.
12537 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12539 * Rules (bench): Move target definition...
12540 * benchtests/Makefile: ... here.
12542 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12544 * math/libm-test.inc (cos_test): Fix PI/2 test.
12545 (sincos_test): Likewise.
12546 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12547 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12549 2013-04-11 Andreas Schwab <schwab@suse.de>
12552 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12553 accept exponent character only when digits were seen.
12554 * stdio-common/Makefile (tests): Add bug26.
12555 * stdio-common/bug26.c: New file.
12558 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12561 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12563 * Makeconfig (rtld-prefix): Define built linker prefix.
12564 * Rules (run-bench): Use it.
12565 * math/Makefile (run-regen-ulps): Likewise.
12567 * Rules (bench): Remove eval.
12569 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12570 Roland McGrath <roland@hack.frob.com>
12571 Ondrej Bilka <neleai@seznam.cz>
12574 * time/getdate.c: Include ctype.h and alloca.h.
12575 (__getdate_r): Trim leading and trailing spaces of input.
12576 * time/tst-getdate.c (tests): Add tests with leading and
12579 2013-04-08 Roland McGrath <roland@hack.frob.com>
12582 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12583 when computing value.
12585 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12587 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12588 Use testrun.sh to run libm tests.
12591 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12593 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12596 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12598 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12600 * Makefile.in (regen-ulps): New target.
12601 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12602 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12603 [ifneq (no,$(PERL)] (regen-ulps): New target.
12604 [ifeq (no,$(PERL)] (regen-ulps): New target.
12605 * math/libm-test.inc (ulps_file_name): Define.
12606 (output_dir): New variable.
12607 (options): Add "output-dir" option.
12608 (parse_opt): Handle 'o' case.
12609 (main): If output_dir is non-NULL use it as a prefix
12611 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12613 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12615 [BZ #10060, #10062]
12616 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12617 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12618 fail configure if __sync_val_compare_and_swap is not inlined.
12619 * sysdeps/i386/configure: Regenerate.
12620 * configure.in: Build for i686 when configured for i386.
12621 * configure: Regenerate.
12622 * README: Remove i386 reference.
12624 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12626 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12627 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12629 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12631 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12632 (lmsnanval): New variables.
12633 (F): Add conversion tests.
12634 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12635 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12637 * stdio-common/tstdiomisc.c (F): Properly collect individual
12640 [BZ #14686, #15336]
12641 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12642 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12643 Instead, use input NaN values or generate a qNaN by arithmetic
12644 operation. Also fix bugs to comply with the standard.
12645 * math/libm-test.inc (remainder_test): Add more tests.
12647 [BZ #15335, #15342]
12648 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12650 input NaN values or generate a qNaN by arithmetic operation.
12652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12655 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12658 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12661 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12662 underflowed result.
12663 * math/s_cexpf.c (__cexpf): Likewise.
12664 * math/s_cexpl.c (__cexpl): Likewise.
12665 * math/libm-test.inc (cexp_test): Add more tests.
12667 2013-04-03 Andreas Schwab <schwab@suse.de>
12670 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12671 order arrays from heap if bigger than alloca cutoff.
12673 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12675 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12676 (SNAN_TESTS_double): Refer to GCC PR56831.
12677 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12680 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12682 * Rules (bench): Move bench.out after the run is complete.
12684 * Rules (bench): Echo currently running benchmark.
12686 * benchtests/Makefile (bench): Add atan and slowatan.
12687 * benchtests/atan-inputs: New file.
12688 * benchtests/slowatan-inputs: New file.
12689 * benchtests/slowatan.c: New file.
12691 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12692 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12696 * sysdeps/unix/sysv/linux/kernel-features.h
12697 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12698 __ASSUME_XFS_RESTRICTED_CHOWN.
12699 * sysdeps/unix/sysv/linux/pathconf.c
12700 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12701 Save and restore errno.
12703 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12706 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12707 arguments using __kernel_casinh.
12708 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12709 arguments using __kernel_casinhf.
12710 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12711 arguments using __kernel_casinhl.
12712 * math/libm-test.inc (cacosh_test): Add more tests.
12713 * sysdeps/i386/fpu/libm-test-ulps: Update.
12714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12716 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12718 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12719 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12721 * bench/Makefile (bench): Add sin and slowsin.
12722 * benchtests/sin-inputs: New file.
12723 * benchtests/slowsin-inputs: New file.
12724 * benchtests/slowsin.c: New file.
12726 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12727 (bench): Add slowexp and slowpow.
12728 (exp-ITER): Increase iterations.
12729 (pow-ITER): Likewise.
12730 * benchtests/exp-inputs: Change input.
12731 * benchtests/pow-inputs: Likewise.
12732 * benchtests/slowexp-inputs: New file.
12733 * benchtests/slowexp.c: New file.
12734 * benchtests/slowpow-inputs: New file.
12735 * benchtests/slowpow.c: New file.
12737 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12739 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12741 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12742 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12743 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12744 * benchtests/Makefile: Add rint benchtest.
12745 * benchtests/rint-inputs: Input for rint benchtest.
12747 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12749 * Versions.def (libm): Add GLIBC_2.18.
12750 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12751 hidden libm prototypes.
12752 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12753 * math/Makefile (libm-calls): Add s_issignaling.
12754 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12755 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12756 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12758 * math/math.h [__USE_GNU] (issignaling): New macro.
12759 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12760 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12762 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12765 * manual/arith.texi (issignaling): New section.
12766 * manual/libm-err-tab.pl (@all_functions): Update comment.
12767 * math/gen-libm-test.pl (parse_args): Apply special handling for
12769 * math/libm-test.inc (print_float, issignaling_test): New
12771 (check_float_internal): Add issignaling checks.
12772 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12773 default definition.
12774 * sysdeps/powerpc/math-tests.h: New file.
12775 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12777 * math/test-snan.c (TEST_FUNC): Likewise.
12779 2013-03-30 David S. Miller <davem@davemloft.net>
12781 * po/de.po: Update from translation team.
12783 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12786 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12787 imaginary part less than 1.0 and real part less than 0.5
12789 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12790 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12791 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12792 (cacos_test): Add more tests.
12793 (casin_test): Likewise.
12794 (casinh_test): Likewise.
12795 * sysdeps/i386/fpu/libm-test-ulps: Update.
12796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12798 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12800 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12801 ONE with its value.
12803 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12804 (__pow_mp): Replace ONE and MONE with their values.
12805 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12806 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12807 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12808 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12809 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12810 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12812 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12814 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12815 (__pow_mp): Replace ZERO and MZERO with their values.
12816 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12817 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12818 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12820 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12821 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12824 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12826 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12828 2013-03-28 Roland McGrath <roland@hack.frob.com>
12830 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12831 Declare with __attribute__ ((weak)).
12832 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12833 Call __call_tls_dtors only if it's not NULL.
12835 2013-03-28 Roland McGrath <roland@hack.frob.com>
12837 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12838 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12839 magic __ehdr_start linker symbol if it's defined.
12840 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12841 them up here if it was already done.
12843 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12844 (_dl_aux_init): Use const in cast when setting it.
12845 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12846 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12847 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12849 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12851 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12852 * csu/libc-tls.c: Nor here.
12853 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12855 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12856 (__libc_message): Never call vsyslog.
12858 2013-03-28 Alan Modra <amodra@gmail.com>
12860 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12862 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12865 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12868 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12872 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12875 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12876 Don't add gid passed as argument.
12878 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12880 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12883 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12884 imaginary part between 1.0 and 1.5 and real part less than 0.5
12886 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12887 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12888 * math/libm-test.inc (cacos_test): Add more tests.
12889 (casin_test): Likewise.
12890 (casinh_test): Likewise.
12891 * sysdeps/i386/fpu/libm-test-ulps: Update.
12892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12894 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12896 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12899 (denorm): Likewise.
12900 (__dbl_mp): Likewise.
12901 (add_magnitudes): Likewise.
12902 (sub_magnitudes): Likewise.
12910 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12912 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12913 (__dubcos): Likewise.
12914 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12915 (__ieee754_acos): Likewise.
12916 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12917 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12918 (__exp1): Likewise.
12919 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12922 (my_log2): Likewise.
12923 (checkint): Likewise.
12924 * sysdeps/ieee754/dbl-64/e_remainder.c
12925 (__ieee754_remainder): Likewise.
12926 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12927 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12928 (bsloww): Likewise.
12929 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12931 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12932 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12933 MANTISSA_STORE_T to store computations on mantissa. Use
12934 macros for rounding and division.
12935 (denorm): Likewise.
12936 (__dbl_mp): Likewise.
12937 (add_magnitudes): Likewise.
12938 (sub_magnitudes): Likewise.
12941 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12942 powers of two in terms of TWOPOW macro.
12943 (mp_no): Make type of mantissa as MANTISSA_T.
12944 [!RADIXI]: Define RADIXI.
12945 [!TWO52]: Define TWO52.
12946 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12948 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12950 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12951 llroundl symbol when building for PPC32.
12953 2013-03-24 Mark H Weaver <mhw@netris.org>
12955 * manual/arith.texi (Normalization Functions): Fix prototypes for
12956 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12958 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12961 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12962 high value to check if expl overflow.
12963 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12964 to check for underflow and overflow.
12965 * math/libm-test.inc: Add exp test.
12967 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12970 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12973 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12975 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12978 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12980 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12981 wrap blocks consisting of several statements.
12983 * sysdeps/generic/math-tests.h: New file.
12984 * sysdeps/i386/fpu/math-tests.h: Likewise.
12985 * math/test-snan.c: Include it.
12986 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12988 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12991 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12992 (__ieee754_j0l): Do not improve calculations using cos of twice
12993 input for inputs above LDBL_MAX / 2.0L.
12994 (__ieee754_y0l): Likewise.
12995 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12996 (__ieee754_j1l): Do not improve calculations using cos of twice
12997 input for inputs above LDBL_MAX / 2.0L.
12998 (__ieee754_y1l): Likewise.
12999 * math/libm-test.inc (j0_test): Add another test.
13000 (j1_test): Likewise.
13001 (y0_test): Likewise.
13002 (y1_test): Likewise.
13003 * sysdeps/i386/fpu/libm-test-ulps: Update.
13005 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13007 * Rules ($(objpfx)bench-%.c): Include code from a C source
13010 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13013 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13014 imaginary part 1.0 and real part less than 0.5 specially.
13015 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13016 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13017 * math/libm-test.inc (cacos_test): Add more tests.
13018 (casin_test): Likewise.
13019 (casinh_test): Likewise.
13020 * sysdeps/i386/fpu/libm-test-ulps: Update.
13021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13023 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13025 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13026 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13028 2013-03-20 Joseph Myers <joseph@codesourcery.com>
13030 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13031 * config.make.in (config-cflags-sse4): Remove variable.
13032 (config-cflags-avx): Likewise.
13033 (config-cflags-sse2avx): Likewise.
13034 (config-cflags-novzeroupper): Likewise.
13035 (config-asflags-i686): Likewise.
13036 (have-mfma4): Likewise.
13037 (have-as-vis3): Likewise.
13039 * configure.in (MIG): Do not AC_SUBST.
13040 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13041 (libc_cv_cc_sse4): Do not AC_SUBST.
13042 (libc_cv_cc_avx): Likewise.
13043 (libc_cv_cc_sse2avx): Likewise.
13044 (libc_cv_cc_novzeroupper): Likewise.
13045 (libc_cv_cc_fma4): Likewise.
13046 (libc_cv_as_i686): Likewise.
13047 (libc_cv_sparc_as_vis3): Likewise.
13048 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13050 (config-asflags-i686): Likewise.
13051 (config-cflags-avx): Likewise.
13052 (config-cflags-sse2avx): Likewise.
13053 (have-mfma4): Likewise.
13054 (config-cflags-novzeroupper): Likewise.
13055 * sysdeps/mach/configure.in (MIG): Likewise.
13056 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13057 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13059 (config-cflags-avx): Likewise.
13060 (config-cflags-sse2avx): Likewise.
13061 (have-mfma4): Likewise.
13062 (config-cflags-novzeroupper): Likewise.
13063 * configure: Regenerated.
13064 * sysdeps/i386/configure: Likewise.
13065 * sysdeps/mach/configure: Likewise.
13066 * sysdeps/sparc/configure: Likewise.
13067 * sysdeps/x86_64/configure: Likewise.
13069 2013-03-20 Roland McGrath <roland@hack.frob.com>
13072 * locale/programs/localedef.c (options): Put N_ translation marker
13073 on argument names, not just descriptions.
13075 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13077 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13079 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
13082 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13084 2013-03-19 Roland McGrath <roland@hack.frob.com>
13086 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13087 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13088 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13089 [!BEFORE_ABORT] (before_abort): New function.
13090 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13091 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13092 (writev_for_fatal): New function.
13093 (WRITEV_FOR_FATAL): New macro; call that.
13094 (backtrace_and_maps): New function.
13095 (BEFORE_ABORT): New macro; call that.
13096 (struct str_list): Type removed.
13097 (__libc_message, __libc_fatal): Functions removed.
13098 Include <sysdeps/posix/libc_fatal.c> instead.
13100 2013-03-19 Joseph Myers <joseph@codesourcery.com>
13102 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13104 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13107 2013-03-19 Andreas Schwab <schwab@suse.de>
13109 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13110 * sysdeps/gnu/configure: Regenerate.
13112 * configure.in: Substitute libc_cv_rtlddir.
13113 * configure: Regenerate.
13114 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13115 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13116 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13117 * elf/Makefile (install-others, CFLAGS-interp.c)
13118 (ldso_install, common-ldd-rewrite): Likewise.
13119 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13120 $(inst_slibdir)/$(rtld-installed-name).
13121 * scripts/rellns-sh: Add -p option.
13122 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13125 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13127 * manual/nptl.texi: Renamed to ...
13128 * manual/threads.texi: ... this.
13129 * manual/Makefile (chapters): Update.
13131 2013-03-18 Roland McGrath <roland@hack.frob.com>
13134 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13135 on argument names, not just descriptions.
13136 * malloc/memusagestat.c (options): Likewise.
13137 * nss/getent.c (options): Likewise.
13139 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13142 * iconv/iconv_prog.c (options): Put N_ translation marker
13143 on argument names, not just descriptions.
13144 * iconv/iconvconfig.c (options): Likewise.
13146 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13148 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13149 implementation which is faster on all x86_64 architectures.
13150 Tested on AMD, Intel Nehalem, SNB, IVB.
13151 * sysdeps/x86_64/strnlen.S: Likewise.
13153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13154 Remove all multiarch strlen and strnlen versions.
13155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13156 Remove strlen and strnlen related parts.
13158 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13159 Inline strlen part.
13160 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13162 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13163 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13164 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13165 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13166 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13167 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13169 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13171 * manual/memory.texi (Malloc Tunable Parameters):
13172 Sort parameters alphabetically. Add comments for missing entries.
13174 2013-03-17 David S. Miller <davem@davemloft.net>
13176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13178 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13181 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13182 for arguments at most half maximum finite value.
13183 * math/libm-test.inc (j0_test): Add more tests.
13184 (j1_test): Likewise.
13185 (y0_test): Likewise.
13186 (y1_test): Likewise.
13187 * sysdeps/i386/fpu/libm-test-ulps: Update.
13188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13191 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13192 1 / x and functions P and Q for arguments above 0x1p256L.
13193 (__ieee754_y0l): Likewise.
13194 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13195 (__ieee754_y1l): Likewise.
13196 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13197 (j1_test): Likewise.
13198 (y0_test): Likewise.
13199 (y1_test): Likewise.
13201 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13203 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13206 2013-03-15 Roland McGrath <roland@hack.frob.com>
13208 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13209 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13210 zero since it's initialized to EXEC_PAGESIZE.
13212 * sysdeps/unix/sysv/linux/ldsodefs.h
13213 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13214 * sysdeps/generic/ldsodefs.h: ... here.
13216 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13218 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13220 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13222 * math/test-snan.c: Renamed from
13223 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13224 * math/Makefile (tests): Add test-snan.
13225 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13228 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13229 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13231 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13232 __builtin_nan family of functions.
13233 * math/libm-test.inc (initialize): Initialize qnan_value with
13234 __builtin_nan family of functions.
13235 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13237 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13239 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13240 storage class. Initialize qNaN_var and sNaN_var with
13241 __builtin_nan and __builtin_nans families of functions,
13244 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13245 (sqrt_test): Remove duplicate test with qNaN input.
13246 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13247 (round_test, signbit_test, significand_test): Note missing +/-Inf
13248 as well as qNaN tests.
13250 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13251 qNaN_var. Fix a few strings, too.
13252 * math/libm-test.inc (nan_value): Rename to qnan_value.
13253 * math/gen-libm-test.pl (%beautify): Adjust to that.
13254 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13255 * math/test-misc.c (main): Likewise.
13256 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13257 to __qnan_bytes, and __qnan_union, respectively.
13258 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13260 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13261 and lqnanval, respectively.
13262 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13263 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13264 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13265 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13267 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13268 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13271 * math/test-misc.c (main): Fix copy'n'pastos.
13272 * misc/tst-efgcvt.c (special): Likewise.
13274 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13275 Remove declarations.
13277 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13279 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13280 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13281 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13282 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13284 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13286 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13287 macro to return vdso values correctly in IFUNC implementations.
13288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13289 Optimization by using IFUNC.
13291 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13292 Richard Henderson <rth@redhat.com>
13293 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13295 * Makefile.in (bench): New target.
13296 * NEWS: Mention the benchmark framework.
13297 * Rules (bench): Likewise.
13298 (binaries-bench): Generate binaries for functions to
13300 * benchtests/Makefile: New makefile for benchmark tests.
13301 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13303 * benchtests/exp-inputs: New input file for EXP function.
13304 * benchtests/pow-inputs: New input file for POW function.
13305 * scripts/bench.pl: New script to generate source files for
13306 benchmark programs.
13308 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13310 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13311 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13312 computations on mantissa. Use macros for rounding and
13314 (denorm): Likewise.
13315 (__dbl_mp): Likewise.
13316 (add_magnitudes): Likewise.
13317 (sub_magnitudes): Likewise.
13320 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13321 powers of two in terms of TWOPOW macro.
13322 (mp_no): Make type of mantissa as MANTISSA_T.
13323 [!RADIXI]: Define RADIXI.
13324 [!TWO52]: Define TWO52.
13325 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13327 * manual/nptl.texi (cindex): Modify threads to pthreads.
13329 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13331 * sysdeps/x86_64/preconfigure: Regenerated.
13333 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13336 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13338 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13339 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13341 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13342 * math/libm-test.inc (j0_test): Do not allow one spurious
13343 underflow exception.
13344 (y1_test): Likewise.
13346 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13348 * manual/Makefile (chapters): Add nptl.
13349 * manual/debug.texi (Debugging Support): Add link to Threads
13351 * manual/nptl.texi: New file.
13353 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13355 2013-03-14 Petr Baudis <pasky@ucw.cz>
13357 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13358 for non-NULL pointer before the memory validity test. Pointed
13359 out by Holger Brunck <holger.brunck@keymile.com>.
13361 2013-03-13 Andreas Schwab <schwab@suse.de>
13363 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13366 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13368 * timezone/zic.c: Update from tzcode 2013b.
13370 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13372 * manual/install.texi (Configuring and compiling):
13373 Mention i686 and i586.
13374 * INSTALL: Regenerate.
13376 2013-03-12 Roland McGrath <roland@hack.frob.com>
13378 * sysdeps/init_array/elf-init.c: New file.
13380 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13381 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13383 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13384 __gmon_start__ as global, but as static with a .preinit_array pointer.
13385 * sysdeps/init_array/gmon-start.c: New file. Use that.
13386 * sysdeps/init_array/crti.S: New file, empty except for comments.
13387 * sysdeps/init_array/crtn.S: Likewise.
13389 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13391 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13394 Remove Prefer_SSE_for_memop.
13395 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13396 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13397 HAS_PREFER_SSE_FOR_MEMOP.
13398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13401 Remove bzero, memset ifunc support.
13402 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13403 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13404 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13405 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13407 2013-03-11 Andreas Schwab <schwab@suse.de>
13410 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13413 (GLIBC_2.16): Remove pthread_atfork.
13415 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13417 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13418 (ptestcases.h): Likewise.
13420 2013-03-08 Roland McGrath <roland@hack.frob.com>
13422 * Makeconfig ($(common-objpfx)config.status): Depend on
13423 sysdeps/*/preconfigure{,.in} too.
13425 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13427 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13428 (__free_hook): Use void * instead of __malloc_ptr_t.
13429 (__malloc_hook): Likewise.
13430 (__realloc_hook): Likewise.
13431 (__memalign_hook): Likewise.
13432 (__after_morecore_hook): Likewise.
13433 * malloc/arena.c (save_malloc_hook): Likewise.
13434 (save_free_hook): Likewise.
13435 * malloc/hooks.c (malloc_hook_ini): Likewise.
13436 (realloc_hook_ini): Likewise.
13437 (memalign_hook_ini): Likewise.
13438 * malloc/malloc.c (malloc_hook_ini): Likewise.
13439 (realloc_hook_ini): Likewise.
13440 (memalign_hook_ini): Likewise.
13441 (__free_hook): Likewise.
13442 (__malloc_hook): Likewise.
13443 (__realloc_hook): Likewise.
13444 (__memalign_hook): Likewise.
13445 (__libc_malloc): Likewise.
13446 (__libc_free): Likewise.
13447 (__libc_realloc): Likewise.
13448 (__libc_memalign): Likewise.
13449 (__libc_valloc): Likewise.
13450 (__libc_pvalloc): Likewise.
13451 (__libc_calloc): Likewise.
13452 (__posix_memalign): Likewise.
13453 * malloc/morecore.c (__sbrk): Likewise.
13454 (__default_morecore): Likewise.
13456 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13458 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13459 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13460 __malloc_ptrdiff_t.
13462 * malloc/malloc.h (__malloc_size_t): Remove macro.
13463 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13465 (old_memalign_hook): Likewise.
13466 (old_realloc_hook): Likewise.
13467 (struct hdr): Likewise.
13469 (mallochook): Likewise.
13470 (memalignhook): Likewise.
13471 (reallochook): Likewise.
13472 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13473 (tr_old_realloc_hook): Likewise.
13474 (tr_old_memalign_hook): Likewise.
13475 (tr_mallochook): Likewise.
13476 (tr_reallochook): Likewise.
13477 (tr_memalignhook): Likewise.
13479 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13481 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13482 default_ldbl_pack and using as default implementation.
13483 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13485 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13486 redundant definition.
13487 (ldbl_insert_mantissa): Likewise.
13488 (ldbl_canonicalize): Likewise.
13489 (ldbl_nearbyint): Likewise.
13490 (ldbl_pack): Rename to ldbl_pack_ppc.
13491 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13492 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13493 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13495 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13498 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13499 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13500 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13502 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13503 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13504 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13506 2013-03-07 Andreas Jaeger <aj@suse.de>
13508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13511 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13513 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13514 Include mpa.h and declare __MPEXP.
13515 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13516 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13517 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13518 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13519 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13520 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13521 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13523 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13524 (__slowpow): Use long double EXPL and LOGL functions to
13526 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13527 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13528 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13529 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13530 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13531 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13534 intermediate variable to calculate exponent.
13536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13540 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13541 [!NO__SQR]: Define __sqr.
13542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13543 and NO__SQR. Remove all code except __mul and __sqr. Include
13544 sysdeps/ieee754/dbl-64/mpa.c.
13545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13548 * posix/Makefile (tests): Add tst-pathconf.
13549 * posix/tst-pathconf.c: New test case.
13550 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13552 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13554 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13556 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13558 2013-03-06 Andreas Jaeger <aj@suse.de>
13560 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13561 definition via __MAP_ANONYMOUS.
13563 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13564 it's not part of Linux headers.
13566 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13567 (MAP_HUGE_MASK): Define.
13569 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13571 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13572 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13574 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13575 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13577 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13580 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13582 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13583 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13584 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13585 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13586 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13587 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13589 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13592 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13593 Handle f2fs and efivarfs.
13595 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13598 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13599 (EFIVARFS_MAGIC): Add.
13600 (F2FS_LINK_MAX): Add.
13602 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13604 * stdio-common/vfprintf.c: Replace __builtin_expect with
13607 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13610 * sysdeps/generic/bp-sym.h: Remove file.
13611 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13612 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13613 <bp-sym.h> and <bp-asm.h>.
13614 (__longjmp): Don't use BP_SYM.
13615 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13617 (memcpy): Don't use BP_SYM.
13618 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13619 <bp-sym.h> and <bp-asm.h>.
13620 (memcpy): Don't use BP_SYM.
13621 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13623 (memcpy): Don't use BP_SYM.
13624 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13626 (memset): Don't use BP_SYM.
13627 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13628 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13629 (__bzero): Don't use BP_SYM.
13630 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13631 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13632 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13633 <bp-sym.h> and <bp-asm.h>.
13634 (memcmp): Don't use BP_SYM. Remove comment about bounded
13636 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13637 <bp-sym.h> and <bp-asm.h>.
13638 (memcpy): Don't use BP_SYM.
13639 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13640 <bp-sym.h> and <bp-asm.h>.
13641 (memset): Don't use BP_SYM.
13642 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13643 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13644 (__bzero): Don't use BP_SYM.
13645 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13646 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13647 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13648 <bp-sym.h> and <bp-asm.h>.
13649 (strncmp): Don't use BP_SYM. Remove comment about bounded
13651 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13652 <bp-sym.h> and <bp-asm.h>.
13653 (memcpy): Don't use BP_SYM.
13654 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13655 <bp-sym.h> and <bp-asm.h>.
13656 (memset): Don't use BP_SYM.
13657 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13658 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13659 (__bzero): Don't use BP_SYM.
13660 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13661 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13662 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13663 <bp-sym.h> and <bp-asm.h>.
13664 (__memchr): Don't use BP_SYM.
13665 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13666 <bp-sym.h> and <bp-asm.h>.
13667 (memcmp): Don't use BP_SYM. Remove comment about bounded
13669 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13670 <bp-sym.h> and <bp-asm.h>.
13671 (memcpy): Don't use BP_SYM.
13672 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13673 <bp-sym.h> and <bp-asm.h>.
13674 (__mempcpy): Don't use BP_SYM.
13675 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13676 <bp-sym.h> and <bp-asm.h>.
13677 (__memrchr): Don't use BP_SYM.
13678 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13679 <bp-sym.h> and <bp-asm.h>.
13680 (memset): Don't use BP_SYM.
13681 (__bzero): Likewise.
13682 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13683 <bp-sym.h> and <bp-asm.h>.
13684 (__rawmemchr): Don't use BP_SYM.
13685 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13686 <bp-sym.h> and <bp-asm.h>.
13687 (__STRCMP): Don't use BP_SYM.
13688 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13689 <bp-sym.h> and <bp-asm.h>.
13690 (strchr): Don't use BP_SYM.
13691 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13692 <bp-sym.h> and <bp-asm.h>.
13693 (__strchrnul): Don't use BP_SYM.
13694 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13695 <bp-sym.h> and <bp-asm.h>.
13696 (strlen): Don't use BP_SYM.
13697 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13698 <bp-sym.h> and <bp-asm.h>.
13699 (strncmp): Don't use BP_SYM. Remove comment about bounded
13701 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13702 <bp-sym.h> and <bp-asm.h>.
13703 (__strnlen): Don't use BP_SYM.
13704 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13705 <bp-sym.h> and <bp-asm.h>.
13706 (__GI__setjmp): Don't use BP_SYM.
13707 (_setjmp): Likewise.
13708 (__sigsetjmp): Likewise.
13709 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13710 (L(start_addresses)): Don't use BP_SYM.
13711 (_start): Likewise.
13712 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13714 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13715 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13716 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13717 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13718 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13720 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13721 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13722 about bounded pointers.
13723 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13724 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13725 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13727 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13728 about bounded pointers. Remove GKM FIXME comments.
13729 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13730 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13732 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13733 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13734 Remove GKM FIXME comments.
13735 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13736 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13737 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13739 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13740 about bounded pointers. Remove GKM FIXME comment.
13741 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13743 (strncmp): Don't use BP_SYM. Remove comment about bounded
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13746 <bp-sym.h> and <bp-asm.h>.
13747 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13749 <bp-sym.h> and <bp-asm.h>.
13750 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13753 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13755 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13758 2013-03-05 David S. Miller <davem@davemloft.net>
13760 * po/es.po: Update from translation team.
13762 2013-03-05 Andreas Jaeger <aj@suse.de>
13764 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13765 <bits/mman-linux.h>.
13766 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13768 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13769 <bits/mman-linux.h> to end of file.
13770 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13772 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13773 <bits/mman-linux.h> to end of file.
13774 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13776 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13777 <bits/mman-linux.h> to end of file.
13779 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13780 (MCL_CURRENT, MCL_FUTURE): Define here.
13782 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13785 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13787 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13789 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13791 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13792 fourth parameter needed for rt_sigprocmask syscall.
13793 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13794 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13795 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13796 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13797 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13798 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13800 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13803 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13804 comment about bounded pointers.
13805 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13806 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13808 2013-03-04 Andreas Jaeger <aj@suse.de>
13810 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13811 common definitions.
13813 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13814 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13815 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13816 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13817 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13818 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13820 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13823 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13824 __ieee754_sqrl instead of __sqrl.
13826 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13828 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13829 * sysdeps/powerpc/fpu_control.h: ... here.
13830 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13831 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13832 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13833 * sysdeps/powerpc/bits/mathinline.h: ... here.
13835 2013-03-01 Roland McGrath <roland@hack.frob.com>
13837 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13838 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13839 to just [NEED_DL_SYSINFO_DSO].
13840 * elf/dl-support.c: Likewise.
13841 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13842 * elf/rtld.c (dl_main): Likewise.
13843 * elf/setup-vdso.h (setup_vdso): Likewise.
13844 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13845 * sysdeps/unix/sysv/linux/dl-sysdep.c
13846 (_dl_discover_osversion): Likewise.
13848 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13850 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13851 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13853 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13855 * NEWS: Mention libm performance improvements and non-x86 PI
13858 * csu/libc-start.c (__pthread_initialize_minimal): Change
13859 function arguments.
13860 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13862 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13865 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13866 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13867 <bp-sym.h> and <bp-asm.h>.
13868 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13869 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13871 (memcpy): Don't use BP_SYM.
13872 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13874 (__mpn_add_n): Don't use BP_SYM.
13875 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13876 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13878 (__mpn_addmul_1): Don't use BP_SYM.
13879 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13880 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13882 (_setjmp): Don't use BP_SYM.
13883 (__novmx_setjmp): Likewise.
13884 (__GI__setjmp): Likewise.
13885 (__vmx_setjmp): Likewise.
13886 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13888 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13889 (__bzero): Don't use BP_SYM.
13890 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13891 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13892 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13893 <bp-sym.h> and <bp-asm.h>.
13894 (memcpy): Don't use BP_SYM.
13895 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13896 <bp-sym.h> and <bp-asm.h>.
13897 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13898 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13899 <bp-sym.h> and <bp-asm.h>.
13900 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13901 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13903 (__mpn_lshift): Don't use BP_SYM.
13904 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13905 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13907 (memset): Don't use BP_SYM.
13908 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13909 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13910 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13912 (__mpn_mul_1): Don't use BP_SYM.
13913 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13914 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13915 <bp-sym.h> and <bp-asm.h>.
13916 (memcmp): Don't use BP_SYM.
13917 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13918 <bp-sym.h> and <bp-asm.h>.
13919 (memcpy): Don't use BP_SYM.
13920 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13921 <bp-sym.h> and <bp-asm.h>.
13922 (memset): Don't use BP_SYM.
13923 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13924 <bp-sym.h> and <bp-asm.h>.
13925 (strncmp): Don't use BP_SYM.
13926 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13927 <bp-sym.h> and <bp-asm.h>.
13928 (memcpy): Don't use BP_SYM.
13929 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13930 <bp-sym.h> and <bp-asm.h>.
13931 (memset): Don't use BP_SYM.
13932 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13933 <bp-sym.h> and <bp-asm.h>.
13934 (__memchr): Don't use BP_SYM.
13935 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13936 <bp-sym.h> and <bp-asm.h>.
13937 (memcmp): Don't use BP_SYM.
13938 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13939 <bp-sym.h> and <bp-asm.h>.
13940 (memcpy): Don't use BP_SYM.
13941 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13942 <bp-sym.h> and <bp-asm.h>.
13943 (__mempcpy): Don't use BP_SYM.
13944 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13945 <bp-sym.h> and <bp-asm.h>.
13946 (__memrchr): Don't use BP_SYM.
13947 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13948 <bp-sym.h> and <bp-asm.h>.
13949 (memset): Don't use BP_SYM.
13950 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13951 <bp-sym.h> and <bp-asm.h>.
13952 (__rawmemchr): Don't use BP_SYM.
13953 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13954 <bp-sym.h> and <bp-asm.h>.
13955 (__STRCMP): Don't use BP_SYM.
13956 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13957 <bp-sym.h> and <bp-asm.h>.
13958 (strchr): Don't use BP_SYM.
13959 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13960 <bp-sym.h> and <bp-asm.h>.
13961 (__strchrnul): Don't use BP_SYM.
13962 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13963 <bp-sym.h> and <bp-asm.h>.
13964 (strlen): Don't use BP_SYM.
13965 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13966 <bp-sym.h> and <bp-asm.h>.
13967 (strncmp): Don't use BP_SYM.
13968 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13969 <bp-sym.h> and <bp-asm.h>.
13970 (__strnlen): Don't use BP_SYM.
13971 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13973 (__mpn_rshift): Don't use BP_SYM.
13974 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13975 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13976 <bp-sym.h> and <bp-asm.h>.
13977 (__sigsetjmp): Don't use BP_SYM.
13978 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13979 (L(start_addresses)): Don't use BP_SYM.
13980 (_start): Likewise.
13981 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13983 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13984 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13985 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13986 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13988 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13989 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13990 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13991 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13993 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13995 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13996 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13998 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14000 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14001 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14002 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14004 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14006 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14008 (strncmp): Don't use BP_SYM,
14009 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14011 (__mpn_sub_n): Don't use BP_SYM.
14012 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14013 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14015 (__mpn_submul_1): Don't use BP_SYM.
14016 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14018 <bp-sym.h> and <bp-asm.h>.
14019 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14021 <bp-sym.h> and <bp-asm.h>.
14022 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14025 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14028 Use ZK to minimize writes to Z.
14029 (sub_magnitudes): Simplify code a bit.
14030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14031 Use ZK to minimize writes to Z.
14032 (sub_magnitudes): Simplify code a bit.
14034 2013-02-27 Roland McGrath <roland@hack.frob.com>
14036 * csu/gmon-start.c: Add special exception to license text.
14038 2013-02-27 Richard Henderson <rth@redhat.com>
14040 * scripts/config.guess: Update from config.git.
14041 * scripts/config.sub: Likewise.
14043 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14045 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14047 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14049 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14051 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14053 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14055 2013-02-26 Roland McGrath <roland@hack.frob.com>
14057 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14058 [$(build-shared = yes].
14060 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14062 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14063 (__mul): Reduce iterations for calculating mantissa.
14065 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14067 (__mpranred): Likewise.
14070 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14071 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14073 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14075 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14076 Define __attribute__.
14078 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14080 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14082 * posix/regex_internal.h (__attribute): Remove.
14083 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14084 (re_string_context_at): Likewise.
14085 (bitset_not): Use __attribute__ and mark function as possibly
14087 (bitset_merge): Likewise.
14088 (bitset_mask): Likewise.
14089 (re_string_char_size_at): Likewise.
14090 (re_string_wchar_at): Likewise.
14091 (re_string_elem_size_at): Likewise.
14093 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14095 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14099 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14103 (denorm): Likewise.
14104 (__dbl_mp): Likewise.
14105 (add_magnitudes): Likewise.
14106 (sub_magnitudes): Likewise.
14110 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14113 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14116 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14120 up changes with default code.
14121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14124 2013-02-24 Allan McRae <allan@archlinux.org>
14126 * manual/socket.texi (The Internet Namespace): Order menu items
14127 to match that in the file.
14129 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14130 node listing of the info page menu.
14132 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14135 * sysdeps/i386/bp-asm.h: Remove file.
14136 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14137 (PARMS): Do not use macros from bp-asm.h.
14141 (__mpn_add_n): Do not use BP_SYM
14142 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14144 (PARMS): Do not use macros from bp-asm.h.
14147 (__mpn_addmul_1): Do not use BP_SYM
14148 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14150 (PARMS): Do not use macros from bp-asm.h.
14151 (SIGMSK): Likewise.
14152 (_setjmp): Likewise. Do not use BP_SYM.
14153 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14155 (PARMS): Do not use macros from bp-asm.h.
14156 (SIGMSK): Likewise.
14157 (setjmp): Likewise. Do not use BP_SYM.
14158 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14160 (PARMS): Do not use macros from bp-asm.h.
14161 (__frexp): Do not use BP_SYM.
14163 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14165 (PARMS): Do not use macros from bp-asm.h.
14166 (__frexpf): Do not use BP_SYM.
14167 (frexpf): Likewise.
14168 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14170 (PARMS): Do not use macros from bp-asm.h.
14171 (__frexpl): Do not use BP_SYM.
14172 (frexpl): Likewise.
14173 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14175 (PARMS): Do not use macros from bp-asm.h.
14176 (__remquo): Do not use BP_SYM.
14177 (remquo): Likewise.
14178 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14180 (PARMS): Do not use macros from bp-asm.h.
14181 (__remquof): Do not use BP_SYM.
14182 (remquof): Likewise.
14183 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14185 (PARMS): Do not use macros from bp-asm.h.
14186 (__remquol): Do not use BP_SYM.
14187 (remquol): Likewise.
14188 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14190 (PARMS): Do not use macros from bp-asm.h.
14193 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14194 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14196 (PARMS): Do not use macros from bp-asm.h.
14197 (strlen): Do not use BP_SYM.
14198 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14200 (PARMS): Do not use macros from bp-asm.h.
14204 (__mpn_add_n): Do not use BP_SYM.
14205 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14207 (PARMS): Do not use macros from bp-asm.h.
14210 (__mpn_addmul_1): Do not use BP_SYM.
14211 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14214 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14216 (PARMS): Do not use macros from bp-asm.h.
14219 (__mpn_lshift): Do not use BP_SYM.
14220 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14222 (PARMS): Do not use macros from bp-asm.h.
14226 (memcpy): Likewise. Do not use BP_SYM.
14227 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14228 libc_hidden_def and weak_alias.
14229 (mempcpy): Do not use BP_SYM in weak_alias.
14230 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14232 (PARMS): Do not use macros from bp-asm.h.
14235 [!BZERO_P] (CHR): Likewise.
14236 (memset): Likewise. Do not use BP_SYM.
14237 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14239 (PARMS): Do not use macros from bp-asm.h.
14242 (__mpn_mul_1): Do not use BP_SYM.
14243 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14245 (PARMS): Do not use macros from bp-asm.h.
14248 (__mpn_rshift): Do not use BP_SYM.
14249 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14251 (PARMS): Do not use macros from bp-asm.h.
14254 (strchr): Likewise. Do not use BP_SYM.
14255 (index): Do not use BP_SYM in weak_alias.
14256 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14258 (PARMS): Do not use macros from bp-asm.h.
14261 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14262 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14264 (PARMS): Do not use macros from bp-asm.h.
14265 (strlen): Do not use BP_SYM.
14266 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14268 (PARMS): Do not use macros from bp-asm.h.
14272 (__mpn_sub_n): Do not use BP_SYM.
14273 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14275 (PARMS): Do not use macros from bp-asm.h.
14278 (__mpn_submul_1): Do not use BP_SYM.
14279 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14281 (PARMS): Do not use macros from bp-asm.h.
14285 (__mpn_add_n): Do not use BP_SYM.
14286 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14289 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14291 (PARMS): Do not use macros from bp-asm.h.
14294 (memcmp): Do not use BP_SYM.
14295 (bcmp): Do not use BP_SYM in weak_alias.
14296 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14298 (PARMS): Do not use macros from bp-asm.h.
14302 (memcpy): Likewise. Do not use BP_SYM.
14303 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14305 (PARMS): Do not use macros from bp-asm.h.
14309 (memmove): Likewise. Do not use BP_SYM.
14310 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14312 (PARMS): Do not use macros from bp-asm.h.
14316 (__mempcpy): Likewise. Do not use BP_SYM.
14317 (mempcpy): Do not use BP_SYM in weak_alias.
14318 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14320 (PARMS): Do not use macros from bp-asm.h.
14323 [!BZERO_P] (CHR): Likewise.
14324 (memset): Likewise. Do not use BP_SYM.
14325 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14327 (PARMS): Do not use macros from bp-asm.h.
14329 (strcmp): Do not use BP_SYM.
14330 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14332 (PARMS): Do not use macros from bp-asm.h.
14335 [USE_AS_STRTOK_R] (SAVE): Likewise.
14336 (FUNCTION): Likewise. Do not use BP_SYM.
14337 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14339 (strtok_r): Likewise.
14340 (__GI___strtok_r): Likewise.
14341 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14342 (PARMS): Do not use macros from bp-asm.h.
14345 (__mpn_lshift): Do not use BP_SYM.
14346 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14347 (PARMS): Do not use macros from bp-asm.h.
14350 (__memchr): Do not use BP_SYM.
14351 (memchr): Do not use BP_SYM in weak_alias.
14352 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14353 (PARMS): Do not use macros from bp-asm.h.
14356 (memcmp): Do not use BP_SYM.
14357 (bcmp): Do not use BP_SYM in weak_alias.
14358 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14359 (PARMS): Do not use macros from bp-asm.h.
14362 (__mpn_mul_1): Do not use BP_SYM.
14363 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14365 (PARMS): Do not use macros from bp-asm.h.
14368 (__rawmemchr): Do not use BP_SYM.
14369 (rawmemchr): Do not use BP_SYM in weak_alias.
14370 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14371 (PARMS): Do not use macros from bp-asm.h.
14374 (__mpn_rshift): Do not use BP_SYM.
14375 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14376 (PARMS): Do not use macros from bp-asm.h.
14377 (SIGMSK): Likewise.
14378 (__sigsetjmp): Likewise. Do not use BP_SYM.
14379 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14380 (_start): Do not use BP_SYM.
14381 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14382 (PARMS): Do not use macros from bp-asm.h.
14385 (__stpcpy): Likewise. Do not use BP_SYM.
14386 (stpcpy): Do not use BP_SYM in weak_alias.
14387 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14389 (PARMS): Do not use macros from bp-asm.h.
14393 (__stpncpy): Likewise. Do not use BP_SYM.
14394 (stpncpy): Do not use BP_SYM in weak_alias.
14395 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14396 (PARMS): Do not use macros from bp-asm.h.
14399 (strchr): Likewise. Do not use BP_SYM.
14400 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14402 (PARMS): Do not use macros from bp-asm.h.
14405 (__strchrnul): Likewise. Do not use BP_SYM.
14406 (strchrnul): Do not use BP_SYM in weak_alias.
14407 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14409 (PARMS): Do not use macros from bp-asm.h.
14411 (strcspn): Do not use BP_SYM.
14412 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14414 (PARMS): Do not use macros from bp-asm.h.
14417 (strpbrk): Likewise. Do not use BP_SYM.
14418 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14420 (PARMS): Do not use macros from bp-asm.h.
14423 (strrchr): Likewise. Do not use BP_SYM.
14424 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14425 (PARMS): Do not use macros from bp-asm.h.
14427 (strspn): Do not use BP_SYM.
14428 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14429 (PARMS): Do not use macros from bp-asm.h.
14433 (FUNCTION): Likewise. Do not use BP_SYM.
14434 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14436 (strtok_r): Likewise.
14437 (__GI___strtok_r): Likewise.
14438 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14439 (PARMS): Do not use macros from bp-asm.h.
14443 (__mpn_sub_n): Do not use BP_SYM.
14444 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14446 (PARMS): Do not use macros from bp-asm.h.
14449 (__mpn_submul_1): Do not use BP_SYM.
14450 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14452 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14454 (PARMS): Do not use macros from bp-asm.h.
14459 (__clone): Do not use BP_SYM.
14460 (clone): Do not use BP_SYM in weak_alias.
14461 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14463 (PARMS): Do not use macros from bp-asm.h.
14465 (__mmap64): Do not use BP_SYM.
14466 (mmap64): Do not use BP_SYM in weak_alias.
14467 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14468 <bp-sym.h> and <bp-asm.h>.
14469 (PARMS): Do not use macros from bp-asm.h.
14470 (__posix_fadvise64_l64): Do not use BP_SYM.
14471 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14472 (PARMS): Do not use macros from bp-asm.h.
14474 (semtimedop): Do not use BP_SYM.
14475 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14478 2013-02-21 Allan McRae <allan@archlinux.org>
14480 * manual/message.texi (Charset conversion in gettext):
14481 Move @end statement to beginning of line.
14483 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14490 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14491 (denorm): Likewise.
14492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14495 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14497 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14498 tail-call to the resolved function if pltexit isn't needed.
14500 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14503 or Y being zero as being unlikely.
14504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14507 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14509 * manual/nss.texi (System Databases and Name Service Switch):
14510 Remove frobnicate @pxref.
14512 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14514 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14515 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14517 2013-02-20 Petr Machata <pmachata@redhat.com>
14519 * elf/elf.h (R_ARM_TARGET1): New macro.
14520 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14521 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14522 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14523 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14524 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14525 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14526 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14527 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14528 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14529 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14530 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14531 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14532 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14533 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14534 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14535 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14536 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14537 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14538 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14539 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14540 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14541 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14542 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14543 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14544 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14545 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14546 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14547 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14548 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14549 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14550 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14551 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14552 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14553 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14554 (R_ARM_THM_GOT_BREL12): Likewise.
14555 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14556 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14557 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14558 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14559 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14560 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14561 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14562 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14563 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14565 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14567 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14568 __attribute_used__ to __attribute__ ((unused)).
14570 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14572 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14575 comment formatting.
14576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14578 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14581 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14583 (ENTER): Remove both macro definitions.
14585 (CHECK_BOUNDS_LOW): Likewise.
14586 (CHECK_BOUNDS_HIGH): Likewise.
14587 (CHECK_BOUNDS_BOTH): Likewise.
14588 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14589 (RETURN_BOUNDED_POINTER): Likewise.
14590 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14591 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14592 (POP_ERRNO_LOCATION_RETURN): Likewise.
14593 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14594 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14595 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14597 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14598 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14599 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14600 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14601 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14602 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14603 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14604 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14605 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14606 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14607 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14608 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14609 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14610 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14612 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14613 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14615 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14616 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14617 * sysdeps/i386/i586/memset.S (memset): Likewise.
14618 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14619 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14620 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14622 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14623 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14624 Change uses of L(2) to L(out).
14625 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14626 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14627 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14628 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14629 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14631 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14632 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14634 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14635 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14636 (RETURN): Do not use macro LEAVE.
14637 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14638 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14639 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14640 * sysdeps/i386/i686/memset.S (memset): Likewise.
14641 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14642 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14643 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14644 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14646 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14647 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14648 L(1_2) and L(1_3) into L(1).
14649 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14650 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14651 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14652 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14653 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14654 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14655 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14656 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14657 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14659 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14660 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14661 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14662 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14663 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14664 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14665 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14666 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14667 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14668 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14669 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14670 * sysdeps/i386/strspn.S (strspn): Likewise.
14671 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14673 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14674 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14675 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14676 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14677 L(1_3) into L(1_1).
14678 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14679 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14680 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14682 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14684 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14686 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14689 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14691 * math/atest-exp.c (exp_mpn): Remove ROUND.
14692 * math/atest-exp2.c (exp_mpn): Likewise.
14693 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14695 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14696 * stdlib/tst-tls-atexit-lib.c: Likewise.
14697 * stdlib/tst-tls-atexit.c: Likewise.
14699 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14701 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14702 and __attribute_alloc_size__.
14704 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14706 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14707 __attribute_alloc_size__.
14708 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14709 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14711 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14713 * include/programs/xmalloc.h: New file.
14714 * catgets/gencat.c: Include it.
14715 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14716 * elf/pldd.c: Likewise.
14717 * iconv/iconv_charmap.c: Likewise.
14718 * iconv/iconvconfig.c: Likewise.
14719 * iconv/strtab.c: Likewise.
14720 * locale/programs/locale.c: Likewise.
14721 * locale/programs/localedef.h: Likewise.
14722 * locale/programs/simple-hash.c: Likewise.
14723 * nscd/nscd.h: Likewise.
14724 * nss/makedb.c: Likewise.
14725 * sysdeps/generic/ldconfig.h: Likewise.
14727 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14729 * Versions.def: Add GLIBC_2.18.
14730 * include/link.h (struct link_map): New member l_tls_dtor_count.
14731 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14732 (__call_tls_dtors): Likewise.
14733 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14734 __cxa_thread_atexit_impl.
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14743 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14751 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14752 (tests): Add test case tst-tls-atexit.
14753 (modules-names): Add shared library for tst-tls-atexit.
14754 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14755 (GLIBC_PRIVATE): Add __call_tls_dtors.
14756 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14758 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14759 * stdlib/tst-tls-atexit.c: New test case.
14760 * stdlib/tst-tls-atexit-lib.c: New test case.
14762 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14764 * elf/Versions (ld): Add _dl_find_dso_for_object.
14765 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14766 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14767 (dl_open_worker): Use _dl_find_dso_for_object.
14768 * elf/dl-sym.c (do_sym): Likewise.
14769 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14771 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14773 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14774 Syntactic changes only.
14775 (_dl_runtime_profile): Do a tail-call to the resolved function.
14777 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14780 * sysdeps/x86_64/bp-asm.h: Remove file.
14781 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14782 <bp-sym.h> and <bp-asm.h>.
14783 (__clone): Do not use BP_SYM.
14784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14785 <bp-sym.h> and <bp-asm.h>.
14786 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14787 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14789 (_setjmp): Do not use BP_SYM.
14790 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14792 (setjmp): Do not use BP_SYM.
14793 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14795 (mempcpy): Do not use BP_SYM in weak_alias.
14796 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14798 (strchr): Do not use BP_SYM.
14799 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14801 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14802 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14803 (_start): Do not use BP_SYM.
14804 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14806 (strcat): Do not use BP_SYM.
14807 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14809 (STRCMP): Do not use BP_SYM.
14810 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14812 (STRCPY): Do not use BP_SYM.
14813 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14815 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14817 (FUNCTION): Do not use BP_SYM.
14818 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14820 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14822 2013-02-17 Andreas Jaeger <aj@suse.de>
14824 * time/Versions: Sort entries.
14825 * string/Versions: Likewise.
14826 * resolv/Versions: Likewise.
14827 * posix/Versions: Likewise.
14828 * iconv/Versions: Likewise.
14829 * elf/Versions: Likewise.
14830 * wcsmbs/Versions: Likewise.
14832 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14834 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14835 loop termination condition.
14837 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14838 variable to calculate EZ.
14841 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14842 the lower precision input.
14844 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14847 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14848 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14849 (run-via-rtld-prefix): Do not handle %-bp tests.
14850 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14851 (all-object-suffixes): Remove .ob.
14852 (bppfx): Remove variable.
14853 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14854 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14855 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14856 [$(build-bounded) = yes] (libtype.ob): Likewise.
14857 * Makerules (elide-routines.ob): Remove variable.
14858 (do-tests-clean): Do not handle *-bp.out.
14859 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14860 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14861 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14862 (tests): Do not include $(tests-bp.out).
14863 (xtests): Do not include $(xtests-bp.out).
14864 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14865 [$(build-bounded) = yes] ($(addprefix
14866 $(objpfx),$(binaries-bounded))): Remove rule.
14867 ($(objpfx)%-bp.out): Remove rule.
14868 * config.make.in (build-bounded): Remove variable.
14869 * crypt/Makefile [$(build-bounded) = yes]
14870 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14871 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14872 append to variable.
14873 [$(build-bounded) = yes] (install-lib): Likewise.
14874 [$(build-bounded) = yes] (generated): Likewise.
14875 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14877 * intl/Makefile [$(build-bounded) = yes]
14878 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14879 * math/Makefile [$(build-bounded) = yes]
14880 ($(tests:%=$(objpfx)%-bp): Likewise.
14881 * misc/Makefile [$(build-bounded) = yes]
14882 ($(objpfx)tst-tsearch-bp): Likewise.
14883 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14884 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14886 * string/Makefile (o-objects.ob): Remove variable.
14887 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14888 (CFLAGS-.ob): Remove variable.
14889 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14890 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14891 both definitions of variable.
14892 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14893 (ASFLAGS-.ob): Remove variable.
14895 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14898 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14899 Remove __BOUNDED_POINTERS__ from condition.
14900 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14901 * string/bits/string2.h [!__NO_STRING_INLINES &&
14902 !__BOUNDED_POINTERS__]: Likewise.
14903 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14905 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14906 Remove conditional code.
14907 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14908 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14909 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14913 * csu/libc-start.c: Do not include <bp-sym.h>.
14914 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14915 * elf/dl-open.c: Do not include <bp-sym.h>.
14916 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14917 * math/fegetenv.c: Do not include <bp-sym.h>.
14918 (fegetenv): Do not use BP_SYM in versioned symbols.
14919 * nptl/sysdeps/pthread/bits/libc-lockP.h
14920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14923 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14925 (__pthread_mutex_destroy): Likewise.
14926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14927 (__pthread_mutex_lock): Likewise.
14928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14929 (__pthread_mutex_trylock): Likewise.
14930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14931 (__pthread_mutex_unlock): Likewise.
14932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14933 (__pthread_mutexattr_init): Likewise.
14934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14935 (__pthread_mutexattr_destroy): Likewise.
14936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14937 (__pthread_mutexattr_settype): Likewise.
14938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14939 (__pthread_rwlock_init): Likewise.
14940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14941 (__pthread_rwlock_destroy): Likewise.
14942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14943 (__pthread_rwlock_rdlock): Likewise.
14944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14945 (__pthread_rwlock_tryrdlock): Likewise.
14946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14947 (__pthread_rwlock_wrlock): Likewise.
14948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14949 (__pthread_rwlock_trywrlock): Likewise.
14950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14951 (__pthread_rwlock_unlock): Likewise.
14952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14953 (__pthread_key_create): Likewise.
14954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14955 (__pthread_setspecific): Likewise.
14956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14957 (__pthread_getspecific): Likewise.
14958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14961 (_pthread_cleanup_push_defer): Likewise.
14962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14963 (_pthread_cleanup_pop_restore): Likewise.
14964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14965 (pthread_setcancelstate): Likewise.
14966 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14968 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14969 (memchr): Do not use BP_SYM in weak_alias.
14970 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14971 (fegetenv): Do not use BP_SYM in versioned symbols.
14972 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14973 (fesetenv): Do not use BP_SYM in versioned symbols.
14974 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14975 (feupdateenv): Do not use BP_SYM in versioned symbols.
14976 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14977 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14978 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14979 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14980 (open64): Do not use BP_SYM in weak_alias.
14981 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14982 (fegetenv): Do not use BP_SYM in versioned symbols.
14983 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14984 (fesetenv): Do not use BP_SYM in versioned symbols.
14985 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14986 (feupdateenv): Do not use BP_SYM in versioned symbols.
14987 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14988 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14989 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14990 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14991 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14992 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14993 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14995 (__libc_start_main): Do not use BP_SYM.
14997 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15000 redundant return line.
15002 (denorm): Likewise.
15003 (dbl_mp): Likewise.
15004 (sub_magnitudes): Likewise.
15010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15012 (denorm): Likewise.
15013 (dbl_mp): Likewise.
15014 (sub_magnitudes): Likewise.
15021 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15023 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15024 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15027 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15028 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15030 of __mul for squares.
15031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15035 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15036 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15038 2013-02-13 Joseph Myers <joseph@codesourcery.com>
15041 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15043 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15044 prototype or function definition. Rename ubp_* variables and
15045 parameters. Remove argv definitions conditional on
15046 [__BOUNDED_POINTERS__].
15047 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15048 * elf/dl-runtime.c (_dl_fixup): Likewise.
15049 * include/set-hooks.h (RUN_HOOK): Likewise.
15050 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15052 * string/strcpy.c (strcpy): Do not use __unbounded.
15053 * sysdeps/generic/frame.h (struct layout): Likewise.
15054 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15055 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15056 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15057 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15058 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15059 (__backtrace): Likewise.
15060 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15062 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15063 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15064 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15066 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15067 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15068 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15069 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15070 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15071 Do not use __unbounded.
15072 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15073 Rename __unboundedrlimits parameter to rlimits in prototype.
15074 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15075 Do not use __unbounded.
15076 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15077 not use __ptrvalue.
15078 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15079 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15080 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15081 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15082 __ptrvalue or __unbounded.
15083 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15084 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15086 (__new_msgctl): Do not use __ptrvalue.
15087 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15089 (__libc_msgrcv): Do not use __ptrvalue.
15090 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15091 startup_info): Do not use __unbounded.
15092 (__libc_start_main): Likewise. Rename ubp_* variables and
15093 parameters. Remove argv definitions conditional on
15094 [__BOUNDED_POINTERS__].
15095 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15097 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15099 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15101 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15103 (__new_shmctl): Do not use __ptrvalue.
15104 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15105 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15107 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15108 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15109 (__libc_sigaction): Likewise.
15110 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15111 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15113 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15115 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15117 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15119 * string/mempcpy.c: Implement by calling memcpy.
15121 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15128 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15129 values in the mantissa.
15131 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15132 minimize writes to Z.
15133 (sub_magnitudes): Simplify code a bit.
15135 2013-02-12 Roland McGrath <roland@hack.frob.com>
15137 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15138 from the message. The linker prefixes all warnings with that already.
15140 2013-02-12 Andreas Schwab <schwab@suse.de>
15143 * posix/regexec.c (extend_buffers): Add parameter min_len.
15144 (check_matching): Pass minimum needed length.
15145 (clean_state_log_if_needed): Likewise.
15146 (get_subexp): Likewise.
15147 * posix/Makefile (tests): Add bug-regex34.
15148 (bug-regex34-ENV): Define.
15149 * posix/bug-regex34.c: New file.
15152 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15153 elements compare against the byte sequence of it, not its name.
15154 * posix/Makefile (tests): Add bug-regex35.
15155 (bug-regex35-ENV): Define.
15156 * posix/bug-regex35.c: New file.
15158 2013-02-11 Tom de Vries <tom@codesourcery.com>
15160 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15162 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15163 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15164 (CHECK_EOL): Add undef.
15166 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15168 * bits/stdlib-bsearch.h: New file.
15169 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15170 * stdlib/stdlib.h: Likewise.
15172 2013-02-11 Roland McGrath <roland@hack.frob.com>
15174 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15175 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15177 * manual/search.texi (Array Search Function): Add missing const in
15179 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15180 declaration to use rlim_t.
15181 (Basic Scheduling Functions): Remove erroneous const from
15182 sched_getparam prototype. Remove erroneous * from
15183 sched_get_priority_max and sched_get_priority_min prototypes.
15184 (Resource Usage): Fix summary @comment on vtimes to refer to
15185 sys/vtimes.h rather than vtimes.h.
15186 Add missing *s in vtimes prototype.
15187 (Limits on Resources): Fix ulimit prototype to return long int.
15188 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15189 prototypes to use long int rather than double.
15190 (BSD Random): Fix initstate and setstate to use char *, not void *.
15191 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15192 prototype to make second argument 'struct aiocb64 *const[]'.
15193 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15194 (Status of AIO Operations): Remove erroneous const in aio_return and
15195 aio_return64 prototypes.
15196 (Synchronizing I/O): Fix sync prototype to return void.
15197 * manual/startup.texi (Suboptions): Remove an erroneous const in
15198 getsubopt prototype.
15199 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15200 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15201 use size_t rather than int.
15202 (Scanning All Users): Likewise for getpwent_r.
15203 (Setting Groups): Add missing const to setgroups prototype.
15204 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15205 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15206 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15207 'const void *' rather than 'const char *'.
15208 (Host Address Functions): Likewise for inet_ntop.
15209 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15210 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15211 ssize_t for return value.
15212 (Sending Data): Likewise for send, sendto, sendmsg.
15213 (Socket Option Functions): Add a missing const in setsockopt prototype.
15214 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15215 use wchar_t for the argument.
15216 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15217 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15219 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15220 double/float/long double for second argument.
15221 Fix return types of significand, significandf, significandl.
15222 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15223 argument in fchmod prototype.
15224 (File Owner): Use uid_t and gid_t in fchown prototype.
15225 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15226 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15227 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15228 use 'const struct dirent **' as argument types to CMP function pointer
15230 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15231 (File Times): Fix summary magic @comment for struct utimbuf and utime
15232 to refer to utime.h, not time.h.
15233 * manual/string.texi (Argz Functions): Add missing const in
15234 argz_extract and argz_next prototypes.
15235 (Finding Tokens in a String): Likewise for basename.
15236 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15237 (Copying and Concatenation): Fix typo in wmemmove prototype.
15238 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15239 (Signal Stack): Remove erroneous const in sigstack prototype.
15240 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15242 (Simple Calendar Time): Likewise for stime.
15243 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15245 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15246 say sys/sysctl.h instead.
15247 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15248 and vsyslog prototypes.
15250 2013-02-11 Tom de Vries <tom@codesourcery.com>
15252 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15255 2013-02-11 Roland McGrath <roland@hack.frob.com>
15257 * misc/sys/mman.h: Fix typo in mremap comment.
15259 2013-02-08 Roland McGrath <roland@hack.frob.com>
15261 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15262 the '\0' terminator.
15264 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15267 * debug/segfault.c: Don't include <bp-checks.h>.
15268 * sysdeps/generic/bp-checks.h: Remove file.
15269 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15270 (__GETDENTS): Don't use CHECK_N.
15271 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15272 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15273 (__getgroups): Don't use CHECK_N.
15274 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15275 (setgroups): Don't use CHECK_N.
15276 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15277 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15278 (__libc_msgrcv): Don't use CHECK_N.
15279 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15280 (__libc_msgsnd): Don't use CHECK_N.
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15283 (__libc_pread): Don't use CHECK_N.
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15285 include <bp-checks.h>.
15286 (__libc_pread64): Don't use CHECK_N.
15287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15288 include <bp-checks.h>.
15289 (__libc_pwrite): Don't use CHECK_N.
15290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15291 include <bp-checks.h>.
15292 (__libc_pwrite64): Don't use CHECK_N.
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15295 (__libc_pread): Don't use CHECK_N.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15297 include <bp-checks.h>.
15298 (__libc_pread64): Don't use CHECK_N.
15299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15300 include <bp-checks.h>.
15301 (__libc_pwrite): Don't use CHECK_N.
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15303 include <bp-checks.h>.
15304 (__libc_pwrite64): Don't use CHECK_N.
15305 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15306 (do_pread): Don't use CHECK_N.
15307 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15308 (do_pread64): Don't use CHECK_N.
15309 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15310 (do_pwrite): Don't use CHECK_N.
15311 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15312 (do_pwrite64): Don't use CHECK_N.
15313 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15314 (__libc_readv): Don't use CHECK_N.
15315 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15316 (semop): Don't use CHECK_N.
15317 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15319 (semtimedop): Don't use CHECK_N.
15320 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15321 (__libc_pread): Don't use CHECK_N.
15322 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15324 (__libc_pread64): Don't use CHECK_N.
15325 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15327 (__libc_pwrite): Don't use CHECK_N.
15328 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15330 (__libc_pwrite64): Don't use CHECK_N.
15331 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15333 (__libc_msgrcv): Don't use CHECK_N.
15334 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15335 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15336 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15337 (__libc_writev): Don't use CHECK_N.
15339 2013-02-08 Roland McGrath <roland@hack.frob.com>
15341 * string/strcpy.c: Removed unused variable.
15343 * Makeconfig (+sysdep-includes): Define with := rather than =.
15344 Use an existing include/ subdir of each sysdeps dir before it.
15346 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15348 * nscd/connection.c (register_traced_file): Comment function.
15349 [HAVE_INOTIFY] (union __inev): Define.
15350 [HAVE_INOTIFY] (inotify_check_files): New function.
15351 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15352 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15354 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15356 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15358 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15359 loaded if not already and that a failure is permanent.
15361 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15364 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15365 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15367 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15370 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15371 (CHECK_1_NULL_OK): Likewise.
15372 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15373 (__fxstat): Do not use CHECK_1.
15374 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15376 (___fxstat64): Do not use CHECK_1.
15377 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15379 (__fxstatat): Do not use CHECK_1.
15380 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15382 (__fxstatat64): Do not use CHECK_1.
15383 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15385 (__fxstat): Do not use CHECK_1.
15386 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15388 (__fxstatat): Do not use CHECK_1.
15389 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15391 (__getresgid): Do not use CHECK_1.
15392 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15394 (__getresuid): Do not use CHECK_1.
15395 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15397 (__lxstat): Do not use CHECK_1.
15398 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15400 (__old_msgctl): Do not use CHECK_1.
15401 (__new_msgctl): Likewise.
15402 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15404 (__new_setrlimit): Do not use CHECK_1.
15405 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15407 (__old_shmctl): Do not use CHECK_1.
15408 (__new_shmctl): Likewise.
15409 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15411 (__xstat): Do not use CHECK_1.
15412 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15413 (__lxstat): Do not use CHECK_1.
15414 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15416 (___lxstat64): Do not use CHECK_1.
15417 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15418 (__old_msgctl): Do not use CHECK_1.
15419 (__new_msgctl): Likewise.
15420 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15422 (__gettimeofday): Do not use CHECK_1.
15423 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15424 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15425 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15427 (__gettimeofday): Do not use CHECK_1.
15428 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15429 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15430 (__new_shmctl): Do not use CHECK_1.
15431 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15433 (do_sigtimedwait): Do not use CHECK_1.
15434 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15436 (do_sigwaitinfo): Do not use CHECK_1.
15437 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15439 (msgctl): Do not use CHECK_1.
15440 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15442 (shmctl): Do not use CHECK_1.
15443 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15444 (ustat): Do not use CHECK_1.
15445 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15447 (__fxstat): Do not use CHECK_1.
15448 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15450 (__fxstatat): Do not use CHECK_1.
15451 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15453 (__lxstat): Do not use CHECK_1.
15454 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15456 (__xstat): Do not use CHECK_1.
15457 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15458 (__xstat): Do not use CHECK_1.
15459 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15460 (___xstat64): Do not use CHECK_1.
15463 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15465 (CHECK_BOUNDS_HIGH): Likewise.
15466 * string/strcpy.c: Do not include <bp-checks.h>.
15467 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15469 2013-02-07 Roland McGrath <roland@hack.frob.com>
15471 * nscd/nscd-client.h (__nscd_drop_map_ref):
15472 Add __attribute__ ((unused)).
15473 * nis/nss-nisplus.h (niserr2nss): Likewise.
15475 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15476 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15478 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15479 Remove inline keyword.
15480 * include/rounding-mode.h (round_away): Likewise.
15481 * libio/wfileops.c (adjust_wide_data): Likewise.
15482 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15483 (__m128i_strloadu_tolower): Likewise.
15484 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15485 (__m128i_strloadu_tolower): Likewise.
15486 * time/mktime.c (ydhms_diff): Likewise.
15487 * locale/elem-hash.h (elem_hash): Likewise.
15488 * locale/setlocale.c (setdata): Likewise.
15489 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15490 (re_string_wchar_at): Likewise.
15491 (bitset_not, bitset_merge, bitset_mask): Likewise.
15492 [!(__GNUC__ > 3)] (inline): Remove macro.
15493 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15494 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15495 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15496 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15497 * string/memcmp.c (memcmp_bytes): Likewise.
15498 * locale/programs/locarchive.c (compute_hashval): Likewise.
15499 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15500 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15501 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15502 * nss/getent.c (print_rpc, print_protocols): Likewise.
15503 (print_passwd, print_group, print_aliases): Likewise.
15504 * nis/nss-nisplus.h (niserr2nss): Likewise.
15505 * nscd/connections.c (restart_p): Likewise.
15506 Change return type to bool.
15508 2013-02-05 Roland McGrath <roland@hack.frob.com>
15510 * Makeconfig (all-Depend-files): Add existing
15511 $(sorted-subdirs:=/Depend) files.
15512 (all-subdirs): Remove nss.
15513 * sysdeps/unix/inet/Subdirs: Add it here instead.
15514 * hesiod/Depend: New file.
15516 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15517 instead of calling alloca.
15519 * io/lseek.c (__lseek): Rename to __libc_lseek.
15520 Define __lseek as an alias.
15522 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15524 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15526 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15527 else clause and remove check for non-standard endianness.
15529 2013-02-04 David S. Miller <davem@davemloft.net>
15531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15533 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15536 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15537 (__ubp_memchr): Remove prototype.
15538 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15539 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15540 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15541 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15542 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15544 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15545 (__ubp_memchr): Likewise.
15546 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15547 (__ubp_memchr): Likewise.
15548 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15549 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15550 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15551 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15553 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15554 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15555 (__getcwd): Do not use CHECK_STRING.
15556 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15558 (__real_chown): Do not use CHECK_STRING.
15559 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15561 (fchownat): Do not use CHECK_STRING.
15562 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15564 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15566 (__lchown): Do not use CHECK_STRING.
15567 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15568 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15569 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15570 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15572 include <bp-checks.h>.
15573 (truncate64): Do not use CHECK_STRING.
15574 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15576 (__real_chown): Do not use CHECK_STRING.
15577 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15579 (__lchown): Do not use CHECK_STRING.
15580 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15582 (__chown): Do not use CHECK_STRING.
15583 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15585 (truncate64): Do not use CHECK_STRING.
15586 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15588 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15589 (__xmknod): Do not use CHECK_STRING.
15590 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15592 (__xmknodat): Do not use CHECK_STRING.
15593 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15594 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15596 2013-02-04 Andreas Schwab <schwab@suse.de>
15599 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15600 * include/netdb.h: Likewise for h_errno.
15601 * elf/tst-stackguard1.c: Include <tls.h>.
15603 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15605 * elf/link.h (struct link_map): Extend the l_addr comment.
15606 * include/link.h (struct link_map): Likewise.
15608 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15611 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15612 (BOUNDED_1): Remove macro.
15613 * debug/backtrace.c: Don't include <bp-checks.h>.
15614 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15615 (__backtrace): Likewise.
15616 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15618 (__backtrace): Don't use BOUNDED_1.
15619 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15621 (__backtrace): Don't use BOUNDED_1.
15622 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15623 (__backtrace): Don't use BOUNDED_1.
15624 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15625 (shmat): Don't use BOUNDED_N.
15627 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15630 * sysdeps/generic/bp-start.h: Remove file.
15631 * csu/libc-start.c: Don't include <bp-start.h>.
15632 (LIBC_START_MAIN): Set up __environ directly instead of using
15633 INIT_ARGV_and_ENVIRON.
15634 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15638 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15640 (CHECK_FCNTL): Likewise.
15641 (CHECK_N_PAGES): Likewise.
15644 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15646 (CHECK_SIGSET_NULL_OK): Likewise.
15647 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15649 (sigpending): Don't use CHECK_SIGSET.
15650 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15652 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15653 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15655 (do_sigsuspend): Don't use CHECK_SIGSET.
15656 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15658 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15659 (do_sigwait): Don't use CHECK_SIGSET.
15660 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15662 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15663 include <bp-checks.h>.
15664 (sigpending): Don't use CHECK_SIGSET.
15665 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15666 include <bp-checks.h>.
15667 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15668 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15670 (sigpending): Don't use CHECK_SIGSET.
15671 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15673 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15676 * sysdeps/generic/bp-semctl.h: Remove file.
15677 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15678 <bp-checks.h> and <bp-semctl.h>.
15679 (__old_semctl): Don't use CHECK_SEMCTL.
15680 (__new_semctl): Likewise.
15681 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15683 (__old_semctl): Don't use CHECK_SEMCTL.
15684 (__new_semctl): Likewise.
15685 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15686 <bp-checks.h> and <bp-semctl.h>.
15687 (__old_semctl): Don't use CHECK_SEMCTL.
15688 (__new_semctl): Likewise.
15689 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15690 <bp-checks.h> and <bp-semctl.h>.
15691 (semctl): Don't use CHECK_SEMCTL.
15694 * Makerules (elide-bp-thunks): Remove variable.
15695 (elide-routines.oS): Don't use $(elide-bp-thunks).
15696 (elide-routines.os): Likewise.
15697 (elide-routines.o): Likewise.
15698 (elide-routines.op): Likewise.
15699 (elide-routines.og): Likewise.
15700 (objects): Don't use $(bp-thunks).
15701 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15703 (common-generated): Do not add s-proto-bp.d.
15704 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15707 Do not generate makefile rules for bounded-pointer thunks.
15708 * sysdeps/generic/bp-thunks.h: Remove file.
15709 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15710 * sysdeps/unix/s-proto-bp.S: Likewise.
15713 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15714 parts of result separately when argument is not close to line from
15715 -i to i and one part of argument is small.
15716 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15717 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15718 * math/libm-test.inc (cacos_test): Add more tests.
15719 (casin_test): Likewise.
15720 (casinh_test): Likewise.
15721 * sysdeps/i386/fpu/libm-test-ulps: Update.
15722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15724 2013-01-31 David S. Miller <davem@davemloft.net>
15726 * po/de.po: Update from translation team.
15728 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15730 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15732 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15734 * configure.in (_AC_PROG_CC_C89): New definition.
15735 * configure: Regenerate.
15737 * configure.in (AC_PROG_CPP): New definition.
15738 * configure: Regenerate.
15740 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15742 * debug/tst-backtrace.h: New file.
15743 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15744 (ret): Remove variable.
15746 (FAIL): Remove macro.
15747 (NO_INLINE): Likewise.
15748 (fn1): Use match function instead of strstr.
15749 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15750 (ret): Remove variable.
15752 (FAIL): Remove macro.
15753 (NO_INLINE): Likewise.
15754 (fn): Use match function instead of strstr.
15755 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15756 (ret): Remove variable.
15758 (FAIL): Remove macro.
15759 (NO_INLINE): Likewise.
15760 (handle_signal): Use match function instead of strstr.
15761 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15762 (ret): Remove variable.
15764 (FAIL): Remove macro.
15765 (NO_INLINE): Likewise.
15766 (handle_signal): Use match function instead of strstr.
15768 2013-01-23 Roland McGrath <roland@hack.frob.com>
15770 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15772 2013-01-23 David S. Miller <davem@davemloft.net>
15774 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15775 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15776 argument of CAS if possible.
15777 * sysdeps/sparc/sparc64/bits/atomic.h
15778 (__arch_compare_and_exchange_val_32_acq): Likewise.
15779 (__arch_compare_and_exchange_val_64_acq): Likewise.
15781 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15783 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15784 * sysdeps/posix/ulimit.c: ... this.
15785 Include <limits.h>.
15786 * sysdeps/unix/bsd/ulimit.c: Remove file.
15788 2013-01-23 Adam Conrad <adconrad@0c3.net>
15790 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15791 (LDFLAGS-tst-array5): Likewise.
15793 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15796 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15797 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15798 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15799 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15801 2013-01-21 David S. Miller <davem@davemloft.net>
15803 * sysdeps/sparc/backtrace.c: New file.
15804 * sysdeps/sparc/sparc32/backtrace.h: New file.
15805 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15806 * sysdeps/sparc/sparc64/backtrace.h: New file.
15807 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15808 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15811 2013-01-21 Andreas Schwab <schwab@suse.de>
15814 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15817 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15823 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15824 Mark Mitchell <mark@codesourcery.com>
15825 Tom de Vries <tom@codesourcery.com>
15826 Paul Pluzhnikov <ppluzhnikov@google.com>
15828 * debug/tst-backtrace2.c: New file.
15829 * debug/tst-backtrace3.c: Likewise.
15830 * debug/tst-backtrace4.c: Likewise.
15831 * debug/tst-backtrace5.c: Likewise.
15832 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15833 (CFLAGS-tst-backtrace3.c): Likewise.
15834 (CFLAGS-tst-backtrace4.c): Likewise.
15835 (CFLAGS-tst-backtrace5.c): Likewise.
15836 (LDFLAGS-tst-backtrace2): Likewise.
15837 (LDFLAGS-tst-backtrace3): Likewise.
15838 (LDFLAGS-tst-backtrace4): Likewise.
15839 (LDFLAGS-tst-backtrace5): Likewise.
15840 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15841 tst-backtrace4 and tst-backtrace5.
15843 2013-01-18 Anton Blanchard <anton@samba.org>
15844 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15846 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15847 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15848 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15849 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15851 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15852 "+r" and remove output regs list as redundant. Add explicit inline
15853 asm to specify register of return val to work around compiler codegen
15854 bug. Remove (int) cast on return value. Add return type parameter to
15855 use in macro so that this macro does not truncate return value for
15857 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15858 pass to INTERNAL_VSYSCALL_NCS.
15859 (INLINE_VSYSCALL): Add 'long int' as return type to
15860 INTERNAL_VSYSCALL_NCS macro invocation.
15861 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15862 INTERNAL_VSYSCALL_NCS macro invocation.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15865 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15868 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15869 Fix application of SIMD FP exception mask.
15871 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15872 mp_no from a power of two.
15873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15874 __mpexp_twomm1. Use __pow_mp.
15876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15879 2013-01-17 David S. Miller <davem@davemloft.net>
15881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15883 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15886 * include/complex.h: Condition contents on [!_COMPLEX_H].
15887 (__kernel_casinhf): New prototype.
15888 (__kernel_casinh): Likewise.
15889 (__kernel_casinhl): Likewise.
15890 * math/Makefile (libm_calls): Add k_casinh.
15891 * math/k_casinh.c: New file.
15892 * math/k_casinhf.c: Likewise.
15893 * math/k_casinhl.c: Likewise.
15894 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15895 finite nonzero arguments.
15896 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15897 finite nonzero arguments.
15898 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15899 finite nonzero arguments.
15900 * math/s_casinh.c: Do not include <float.h>.
15901 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15902 * math/s_casinhf.c: Do not include <float.h>.
15903 (__casinhf): Move code for finite nonzero arguments to
15905 * math/s_casinhl.c: Do not include <float.h>.
15906 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15908 (__casinhl): Move code for finite nonzero arguments to
15910 * math/libm-test.inc (cacos_test): Add more tests.
15911 * sysdeps/i386/fpu/libm-test-ulps: Update.
15912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15914 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15916 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15917 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15918 [!HAVE_MREMAP]: Remove [defined linux] case.
15919 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15921 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15923 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15925 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15927 * elf/elf.h (R_386_SIZE32): New relocation.
15928 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15930 (elf_machine_rela): Likewise.
15931 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15932 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15934 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15936 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15937 (FP_FAST_FMA): Do not define.
15938 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15939 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15940 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15941 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15942 !_SOFT_FLOAT]: Likewise.
15943 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15944 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15946 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15947 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15948 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15949 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15950 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15951 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15954 2013-01-16 Andreas Schwab <schwab@suse.de>
15957 * include/stdlib.h (__mktemp): Add declaration.
15958 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15959 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15961 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15963 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15965 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15966 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15967 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15969 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15970 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15972 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15974 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15975 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15976 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15978 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15979 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15981 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15983 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15985 2013-01-15 David S. Miller <davem@davemloft.net>
15987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15988 trunc{,f} to libm-sysdep_routes.
15989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15999 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16000 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16001 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16002 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16003 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16004 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16007 nearbyint{,f} to libm-sysdep_routes.
16008 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16019 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16021 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16022 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16024 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16025 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16026 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16028 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16029 libc_feholdexcept and libc_fesetenv.
16031 2013-01-15 Mike Frysinger <vapier@gentoo.org>
16033 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16035 2013-01-14 David S. Miller <davem@davemloft.net>
16037 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16038 (SPARC_ASM_VIS2_IFUNC): Likewise.
16039 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16041 use of 'siam' instruction.
16042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16075 routines to libm-sysdep_routines.
16076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16079 fdim/fdimf to libm-sysdep_routines.
16080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16088 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16089 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16090 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16091 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16093 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16095 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16096 to optimize copies.
16098 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16103 local variable MPTWO.
16104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16107 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16109 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16112 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16114 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16116 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16118 * manual/pattern.texi (glob_t): Document gl_flags.
16119 (glob64_t): Likewise.
16121 2013-01-11 David S. Miller <davem@davemloft.net>
16123 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16124 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16125 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16126 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16127 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16128 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16129 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16130 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16131 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16132 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16133 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16134 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16135 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16137 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16138 sparc V9 rather than using V8 code.
16139 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16140 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16142 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16144 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16147 2013-01-11 Roland McGrath <roland@hack.frob.com>
16149 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16150 not in the main loop.
16151 * configure: Regenerated.
16153 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16155 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16156 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16158 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16159 [!__GLIBC_HAVE_LONG_LONG] case.
16160 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16161 condition to just #else.
16162 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16163 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16164 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16165 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16167 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16168 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16169 #elif condition to just #else.
16170 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16171 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16172 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16173 #elif condition to just #else.
16175 2013-01-11 Steve Ellcey <sellcey@mips.com>
16177 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16178 (EF_MIPS_ARCH_64): Fix value.
16179 (EF_MIPS_ARCH_32R2): New.
16180 (EF_MIPS_ARCH_64R2): New.
16182 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16184 * Makeconfig (+link-pie-before-libc): New.
16185 (+link-pie-after-libc): Likewise.
16186 (+link-pie-tests): Likewise.
16187 (+link-pie): Rewritten.
16188 (link-before-libc): Remove $(config-LDFLAGS).
16189 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16190 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16191 (config-LDFLAGS): Renamed to ...
16192 (rtld-LDFLAGS): This.
16193 (rtld-tests-LDFLAGS): New macro.
16194 (link-libc-rpath-link): Likewise.
16195 (link-libc-tests-rpath-link): Likewise.
16196 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16197 (link-libc): Prepand $(link-libc-rpath-link).
16198 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16199 (test-program-prefix): New macro.
16200 (test-via-rtld-prefix): Likewise.
16201 (test-program-cmd): Likewise.
16202 (host-test-program-cmd): Likewise.
16203 * Makefile ($(common-objpfx)testrun.sh): Replace
16204 $(run-program-prefix) with $(test-program-prefix).
16205 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16207 ($(common-objpfx)shlib.lds): Likewise.
16208 (build-module-helper): Likewise.
16209 ($(common-objpfx)format.lds): Likewise.
16210 * Rules (binaries-pie-tests): New.
16211 (binaries-pie-notests): Likewise.
16212 (binaries-pie): Rewritten.
16213 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16214 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16215 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16216 (make-test-out): Replace $(host-built-program-cmd) with
16217 $(host-test-program-cmd).
16218 * config.make.in (build-hardcoded-path-in-tests): New variable.
16219 * configure.in (--enable-hardcoded-path-in-tests): New configure
16221 (hardcoded_path_in_tests): New AC_SUBST.
16222 * configure: Regenerated.
16223 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16224 $(built-program-cmd) with $(test-program-cmd).
16225 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16226 (test_program_cmd): This.
16227 * elf/Makefile ($(objpfx)order.out): Run test with
16228 $(test-program-prefix).
16229 ($(objpfx)order2.out): Likewise.
16230 ($(objpfx)tst-initorder.out): Likewise.
16231 ($(objpfx)tst-initorder2.out): Likewise.
16232 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16233 $(test-program-cmd).
16234 ($(objpfx)tst-array1-static.out): Likewise.
16235 ($(objpfx)tst-array2.out): Likewise.
16236 ($(objpfx)tst-array3.out): Likewise.
16237 ($(objpfx)tst-array4.out): Likewise.
16238 ($(objpfx)tst-array5.out): Likewise.
16239 ($(objpfx)tst-array5-static.out): Likewise.
16240 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16241 $(test-program-cmd).
16242 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16243 $(run-program-prefix) with $(test-program-prefix).
16244 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16245 (test_program_prefix): This.
16246 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16247 $(run-program-prefix) with $(test-program-prefix).
16248 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16249 (test_program_prefix): This.
16250 * iconvdata/tst-tables.sh: Likewise.
16251 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16252 $(run-program-prefix) with $(test-program-prefix).
16253 ($(objpfx)tst-translit.out): Likewise.
16254 ($(objpfx)tst-gettext2.out): Likewise.
16255 ($(objpfx)tst-gettext4.out): Likewise.
16256 ($(objpfx)tst-gettext6.out): Likewise.
16257 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16258 (test_program_prefix): This.
16259 * intl/tst-gettext2.sh: Likewise.
16260 * intl/tst-gettext4.sh Likewise.
16261 * intl/tst-gettext6.sh: Likewise.
16262 * intl/tst-translit.sh: Likewise.
16263 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16264 with $(test-program-cmd).
16265 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16266 $(run-program-prefix) with $(test-program-prefix).
16267 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16268 (test_program_prefix): This.
16269 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16270 $(run-program-prefix) with $(test-program-prefix).
16271 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16272 (test_program_prefix): This.
16273 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16274 * posix/Makefile ($(objpfx)globtest.out): Replace
16275 $(run-via-rtld-prefix) and $(test-wrapper) with
16276 $(test-program-prefix) and $(test-via-rtld-prefix).
16277 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16278 $(test-program-prefix).
16279 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16280 $(host-test-program-cmd).
16281 (tst-spawn-ARGS): Likewise.
16282 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16283 $(test-program-prefix).
16284 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16285 (test_via_rtld_prefix): This.
16286 (test_wrapper): Renamed to ...
16287 (test_program_prefix): This.
16288 (run_program_prefix): Replaced by test_program_prefix.
16289 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16290 (test_program_prefix): This.
16291 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16292 with $(host-test-program-cmd).
16293 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16294 $(run-program-prefix) with $(test-program-prefix).
16295 ($(objpfx)tst-printf.out): Likewise.
16296 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16297 $(test-program-cmd).
16298 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16299 (test_program_prefix): This.
16300 * stdio-common/tst-unbputc.sh: Likewise.
16301 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16302 $(run-program-prefix) with $(test-program-prefix).
16303 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16304 (test_program_prefix): This.
16305 * string/Makefile ($(objpfx)tst-svc.out): Replace
16306 $(built-program-cmd) with $(test-program-cmd).
16308 2013-01-11 Andreas Jaeger <aj@suse.de>
16311 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16312 value. Sync with Linux 3.7.
16314 2013-01-10 David S. Miller <davem@davemloft.net>
16316 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16317 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16318 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16320 2013-01-10 Roland McGrath <roland@hack.frob.com>
16322 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16324 * configure: Regenerated.
16326 2013-01-10 David S. Miller <davem@davemloft.net>
16328 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16329 sparc V9 rather than using V8 code.
16330 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16331 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16333 2013-01-10 Roland McGrath <roland@hack.frob.com>
16335 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16336 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16337 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16338 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16339 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16340 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16341 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16342 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16343 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16344 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16345 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16346 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16347 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16348 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16349 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16350 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16351 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16352 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16353 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16354 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16355 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16356 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16357 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16358 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16359 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16360 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16361 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16363 2013-01-10 David S. Miller <davem@davemloft.net>
16365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16367 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16369 * posix/Makefile (tests-static): New variable.
16370 (tests): Add $(tests-static).
16371 (tst-exec-static-ARGS): New variable.
16372 (tst-spawn-static-ARGS): Likewise.
16373 * posix/tst-exec-static.c: New file.
16374 * posix/tst-spawn-static.c: Likewise.
16375 * posix/tst-exec.c: Support run directly.
16376 * posix/tst-spawn.c: Likewise.
16378 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16380 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16382 * math/bits/mathcalls.h (llrint): Likewise.
16383 (llround): Likewise.
16384 * stdlib/stdlib.h (struct drand48_data): Likewise.
16385 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16386 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16387 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16389 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16391 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16392 (elf_greg_t): Likewise.
16393 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16394 (__jmp_buf): Likewise.
16395 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16397 (llrint): Likewise, for all definitions.
16398 (llrintl): Likewise.
16400 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16401 Remove [__GNUC__] condition.
16402 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16403 condition to just [__USE_ISOC99].
16404 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16406 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16409 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16410 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16412 (_POSIX_V6_ILP32_OFF32): Likewise.
16413 (_XBS5_ILP32_OFF32): Likewise.
16414 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16415 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16417 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16419 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16421 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16422 doubles __mpexp_twomm1. Adjust usage.
16423 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16426 2013-01-10 Andreas Schwab <schwab@suse.de>
16429 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16430 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16432 2013-01-09 David S. Miller <davem@davemloft.net>
16435 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16436 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16437 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16438 TCP_FASTOPEN): Define.
16439 (tcp_repair_opt): New structure.
16440 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16442 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16443 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16444 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16445 (tcp_cookie_transactions): New structure.
16447 2013-01-09 Anton Blanchard <anton@samba.org>
16449 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16450 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16451 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16452 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16454 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16456 * include/features.h (__USE_ANSI): Remove.
16458 2013-01-09 Roland McGrath <roland@hack.frob.com>
16460 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16462 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16464 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16466 * sysdeps/s390/fpu/libm-test-ulps: Update.
16468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16470 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16474 (denorm): Likewise.
16475 (__mp_dbl): Likewise.
16476 (__dbl_mp): Likewise.
16477 (add_magnitudes): Likewise.
16478 (sub_magnitudes): Likewise.
16484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16488 (denorm): Likewise.
16489 (__mp_dbl): Likewise.
16490 (__dbl_mp): Likewise.
16491 (add_magnitudes): Likewise.
16492 (sub_magnitudes): Likewise.
16498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16502 (denorm): Likewise.
16503 (__mp_dbl): Likewise.
16504 (__dbl_mp): Likewise.
16505 (add_magnitudes): Likewise.
16506 (sub_magnitudes): Likewise.
16513 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16515 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16516 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16517 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16518 2 && __USE_EXTERN_INLINES]: Likewise.
16520 2013-01-08 Andreas Jaeger <aj@suse.de>
16523 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16525 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16526 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16528 2013-01-07 Anton Blanchard <anton@samba.org>
16530 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16531 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16532 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16533 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16534 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16535 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16536 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16537 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16539 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16540 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16541 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16542 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16543 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16544 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16545 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16546 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16547 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16548 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16549 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16550 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16551 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16553 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16554 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16555 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16556 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16557 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16558 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16559 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16560 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16562 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16563 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16564 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16565 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16566 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16567 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16568 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16569 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16570 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16572 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16574 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16576 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16577 (__MALLOC_PMT): Likewise.
16578 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16579 [__GNUC__], only on [_LIBC].
16580 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16581 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16582 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16583 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16584 forward declaration.
16585 (realloc_hook_ini): Likewise.
16586 (memalign_hook_ini): Likewise.
16587 (__libc_memalign): Do not use __MALLOC_PMT in variable
16589 (__libc_valloc): Likewise.
16590 (__libc_pvalloc): Likewise.
16591 (__libc_calloc): Likewise.
16592 (__posix_memalign): Likewise.
16595 * math/s_casinh.c: Include <float.h>.
16596 (__casinh): Do not do computation with squaring and square root
16597 for large arguments.
16598 * math/s_casinhf.c: Include <float.h>.
16599 (__casinhf): Do not do computation with squaring and square root
16600 for large arguments.
16601 * math/s_casinhl.c: Include <float.h>.
16602 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16603 (__casinhl): Do not do computation with squaring and square root
16604 for large arguments.
16605 * math/libm-test.inc (casin_test): Add more tests.
16606 (casinh_test): Likewise.
16607 * sysdeps/i386/fpu/libm-test-ulps: Update.
16608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16610 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16612 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16613 (__x86_64_raw_data_cache_size): Likewise.
16614 (__x86_64_data_cache_size_half): Likewise.
16615 (__x86_64_raw_data_cache_size_half): Likewise.
16616 (__x86_64_shared_cache_size): Likewise.
16617 (__x86_64_raw_shared_cache_size): Likewise.
16618 (__x86_64_shared_cache_size_half): Likewise.
16619 (__x86_64_raw_shared_cache_size_half): Likewise.
16620 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16622 (__x86_data_cache_size): This.
16623 (__x86_64_raw_data_cache_size): Renamed to ...
16624 (__x86_raw_data_cache_size): This.
16625 (__x86_64_data_cache_size_half): Renamed to ...
16626 (__x86_data_cache_size_half): This.
16627 (__x86_64_raw_data_cache_size_half): Renamed to ...
16628 (__x86_raw_data_cache_size_half): This.
16629 (__x86_64_shared_cache_size): Renamed to ...
16630 (__x86_shared_cache_size): This.
16631 (__x86_64_raw_shared_cache_size): Renamed to ...
16632 (__x86_raw_shared_cache_size): This.
16633 (__x86_64_shared_cache_size_half): Renamed to ...
16634 (__x86_shared_cache_size_half): This.
16635 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16636 (__x86_raw_shared_cache_size_half): This.
16637 * sysdeps/x86_64/memcpy.S: Updated.
16638 * sysdeps/x86_64/memset.S: Likewise.
16639 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16640 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16641 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16643 2013-01-04 David S. Miller <davem@davemloft.net>
16645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16647 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16649 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16650 1 to avoid redefinition warning.
16651 (__USE_GNU): Don't define.
16652 (init_signaling_nan): Protoize.
16654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16656 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16658 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16660 (__cpymn): Likewise.
16661 (norm): Remove commented code.
16662 (denorm): Likewise.
16663 (__mp_dbl): Likewise.
16665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16666 (__cpymn): Likewise.
16667 (norm): Remove commented code.
16668 (denorm): Likewise.
16669 (__mp_dbl): Likewise.
16672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16673 mp_no value for 1.0 and 2.0.
16674 (norm): Use RADIXI instead of radixi.d.
16675 (denorm): Likewise.
16676 (__mul): Use 0.0 instead of zero.d.
16677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16678 mp_no value for 1.0 and 2.0.
16679 (norm): Use RADIXI instead of radixi.d.
16680 (denorm): Likewise.
16681 (__mul): Use 0.0 instead of zero.d.
16683 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16686 * math/s_casinh.c (__casinh): Reduce finite argument to first
16687 quadrant then set signs of results at the end.
16688 * math/s_casinhf.c (__casinhf): Likewise.
16689 * math/s_casinhl.c (__casinhl): Likewise.
16690 * math/libm-test.inc (casin_test): Add more tests.
16691 (casinh_test): Likewise.
16692 * sysdeps/i386/fpu/libm-test-ulps: Update.
16693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16695 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16697 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16699 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16701 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16703 (denorm): Likewise.
16704 (__mp_dbl): Likewise.
16707 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16708 and adjust the header comment.
16710 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16711 variable name from declaration.
16713 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16716 Initialize COMMON_CPUID_INDEX_7 element.
16717 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16718 (CPUID_RTM): Likewise.
16719 (HAS_RTM): Likewise.
16720 (COMMON_CPUID_INDEX_7): New enum.
16722 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16725 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16726 size is zero, record memory as freed.
16728 2013-01-03 Andreas Jaeger <aj@suse.de>
16730 * po/ia.po: Add new Interlingua translation.
16732 2012-01-03 Allan McRae <allan@archlinux.org>
16734 * locale/programs/localedef.c: Fix description of '--posix' flag.
16736 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16738 * NEWS: Update dates in second copyright notice.
16739 * README: Update copyright dates in example.
16740 * manual/libc.texinfo: Update copyright dates.
16741 * scripts/test-installation.pl: Update copyright date in --version
16744 * hurd/ctty-input.c: Fix copyright notice formatting.
16745 * hurd/ctty-output.c: Likewise.
16746 * hurd/dtable.c: Likewise.
16747 * hurd/hurd-raise.c: Likewise.
16748 * hurd/hurdprio.c: Likewise.
16749 * hurd/msgportdemux.c: Likewise.
16750 * misc/sys/file.h: Likewise.
16751 * misc/sys/ioctl.h: Likewise.
16752 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16753 * sysdeps/mach/hurd/chdir.c: Likewise.
16754 * sysdeps/mach/hurd/fchdir.c: Likewise.
16755 * sysdeps/mach/hurd/rename.c: Likewise.
16756 * sysdeps/mach/hurd/rmdir.c: Likewise.
16757 * sysdeps/mach/hurd/seekdir.c: Likewise.
16758 * sysdeps/mach/hurd/setsid.c: Likewise.
16759 * sysdeps/posix/wait3.c: Likewise.
16761 * All files with FSF copyright notices: Update copyright dates
16762 using scripts/update-copyrights.
16763 * intl/plural.c: Regenerated.
16764 * locale/programs/charmap-kw.h: Likewise.
16765 * locale/programs/locfile-kw.h: Likewise.
16767 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16769 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16772 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16773 calculation loop and add branch prediction.
16775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16776 check access beyond bounds of m1np.
16778 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16780 (__inv): Remove local variable MPTWO to use the global
16782 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16783 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16785 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16786 MP3HALFS static const.
16788 2013-01-01 David S. Miller <davem@davemloft.net>
16790 * po/ca.po: Update from translation team.
16792 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16794 * scripts/update-copyrights: New file.
16795 * Makeconfig: Reformat copyright notice.
16796 * ctype/ctype.h: Likewise.
16797 * debug/swprintf_chk.c: Likewise.
16798 * elf/dl-cache.c: Likewise.
16799 * elf/dl-debug.c: Likewise.
16800 * elf/dl-object.c: Likewise.
16801 * grp/initgroups.c: Likewise.
16802 * hurd/Makefile: Likewise.
16803 * hurd/hurd/signal.h: Likewise.
16804 * hurd/hurdfault.c: Likewise.
16805 * hurd/hurdioctl.c: Likewise.
16806 * hurd/hurdlookup.c: Likewise.
16807 * hurd/intr-msg.c: Likewise.
16808 * iconv/gconv_open.c: Likewise.
16809 * libio/swprintf.c: Likewise.
16810 * locale/lc-ctype.c: Likewise.
16811 * locale/nl_langinfo.c: Likewise.
16812 * mach/Machrules: Likewise.
16813 * mach/Makefile: Likewise.
16814 * malloc/obstack.h: Likewise.
16815 * manual/Makefile: Likewise.
16816 * manual/tsort.awk: Likewise.
16817 * misc/bits/stab.def: Likewise.
16818 * nis/nis_print_group_entry.c: Likewise.
16819 * nis/nis_table.c: Likewise.
16820 * nis/nss_compat/compat-pwd.c: Likewise.
16821 * nis/nss_compat/compat-spwd.c: Likewise.
16822 * po/Makefile: Likewise.
16823 * posix/fnmatch.c: Likewise.
16824 * posix/regex.h: Likewise.
16825 * resolv/Makefile: Likewise.
16826 * resolv/nss_dns/dns-network.c: Likewise.
16827 * resolv/res_hconf.c: Likewise.
16828 * scripts/gen-sorted.awk: Likewise.
16829 * soft-fp/soft-fp.h: Likewise.
16830 * stdio-common/printf.h: Likewise.
16831 * stdlib/monetary.h: Likewise.
16832 * stdlib/random.c: Likewise.
16833 * stdlib/random_r.c: Likewise.
16834 * sysdeps/generic/Makefile: Likewise.
16835 * sysdeps/gnu/Makefile: Likewise.
16836 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16838 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16843 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16844 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16845 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16846 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16847 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16848 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16849 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16850 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16852 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16853 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16854 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16856 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16857 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16858 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16859 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16860 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16864 * sysdeps/mach/hurd/errnos.awk: Likewise.
16865 * sysdeps/mach/hurd/fork.c: Likewise.
16866 * sysdeps/mach/hurd/getcwd.c: Likewise.
16867 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16868 * sysdeps/mach/hurd/mmap.c: Likewise.
16869 * sysdeps/mach/hurd/utimes.c: Likewise.
16870 * sysdeps/mach/hurd/xmknod.c: Likewise.
16871 * sysdeps/posix/profil.c: Likewise.
16872 * sysdeps/posix/readdir_r.c: Likewise.
16873 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16874 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16875 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16876 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16878 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16879 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16880 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16882 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16883 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16884 * sysdeps/pthread/lio_listio.c: Likewise.
16885 * sysdeps/sparc/dl-procinfo.h: Likewise.
16886 * sysdeps/unix/i386/sysdep.S: Likewise.
16887 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16888 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16889 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16890 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16892 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16893 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16894 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16895 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16896 * sysdeps/wordsize-32/divdi3.c: Likewise.
16897 * time/sys/time.h: Likewise.
16898 * wcsmbs/Makefile: Likewise.
16900 2013-01-01 David S. Miller <davem@davemloft.net>
16902 * po/fr.po: Update from translation team.
16904 * catgets/gencat.c: Update copyright year.
16905 * csu/version.c: Likewise.
16906 * debug/catchsegv.sh: Likewise.
16907 * debug/pcprofiledump.c: Likewise.
16908 * debug/xtrace.sh: Likewise.
16909 * elf/ldconfig.c: Likewise.
16910 * elf/ldd.bash.in: Likewise.
16911 * elf/pldd.c: Likewise.
16912 * elf/sotruss.ksh: Likewise.
16913 * elf/sprof.c: Likewise.
16914 * iconv/iconv_prog.c: Likewise.
16915 * iconv/iconvconfig.c: Likewise.
16916 * locale/programs/locale.c: Likewise.
16917 * locale/programs/localedef.c: Likewise.
16918 * login/programs/pt_chown.c: Likewise.
16919 * malloc/memusage.sh: Likewise.
16920 * malloc/memusagestat.c: Likewise.
16921 * malloc/mtrace.pl: Likewise.
16922 * nscd/nscd.c: Likewise.
16923 * nss/getent.c: Likewise.
16924 * nss/makedb.c: Likewise.
16925 * posix/getconf.c: Likewise.
16927 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16929 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16932 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16934 * math/bits/mathcalls.h (modf): Use __nonnull.
16936 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16938 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16939 (split): Use macro CN instead of the bare value.
16940 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16943 instead of the bare value.
16944 (power1): Likewise.
16946 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16948 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16950 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16952 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16954 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16955 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16956 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16957 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16959 2012-12-28 Andreas Jaeger <aj@suse.de>
16961 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16962 values are from Linux 3.7.
16964 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16965 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16967 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16969 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16972 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16974 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16975 variables with preprocessor constants.
16976 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16977 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16978 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16980 2012-12-27 Bruno Haible <bruno@clisp.org>
16983 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16986 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16989 and use variable directly.
16990 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16992 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16994 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16995 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16997 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16999 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17000 include directive. Remove local variable MPONE.
17001 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17002 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17003 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17005 2012-12-25 David S. Miller <davem@davemloft.net>
17007 * version.h (RELEASE): Set to "development".
17008 (VERSION): Set to "2.17.90".
17009 * NEWS: Add 2.18 section.
17011 2012-12-21 David S. Miller <davem@davemloft.net>
17013 * po/hr.po: Update from translation team.
17015 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17017 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17019 2012-12-19 Steve Ellcey <sellcey@mips.com>
17021 * NEWS: Mention new memcpy for MIPS.
17023 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17025 * manual/contrib.texi (Contributors): Spelling correction.
17027 2012-12-15 David S. Miller <davem@davemloft.net>
17029 * po/ru.po: Update from translation team.
17031 2012-12-13 David S. Miller <davem@davemloft.net>
17033 * NEWS: Mention IFUNC testsuite enhancements.
17035 * po/pl.po: Update from translation team.
17036 * po/bg.po: Likewise.
17038 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17039 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17041 2012-12-11 David S. Miller <davem@davemloft.net>
17043 * po/sv.po: Update from translation team.
17045 * po/vi.po: Update from translation team.
17047 * po/cs.po: Update from translation team.
17049 * po/de.po: Update from translation team.
17050 * po/eo.po: Likewise.
17051 * po/nl.po: Likewise.
17053 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17056 * manual/argp.texi (Argp Helper Functions): Move node to follow
17057 Argp Parsing State.
17060 * manual/conf.texi (Limits on File System Capacity): Mention if
17061 terminating null is included in the max size.
17063 2012-12-10 Andreas Jaeger <aj@suse.de>
17065 * po/cs.po: Update from translation team.
17067 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17069 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17070 void pointer and cast to uintptr_t.
17071 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17073 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17074 * sysdeps/s390/s390-64/memset.S: Likewise.
17076 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
17079 * menual/message.texi (Message Translation): Fix typos.
17080 (Helper programs for gettext): Likewise.
17082 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17085 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17088 2012-12-07 David S. Miller <davem@davemloft.net>
17090 * po/libc.pot: Update.
17092 2012-12-07 Richard Henderson <rth@redhat.com>
17095 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17096 normal/normal case to before the switch.
17097 (_FP_DIV): Likewise.
17099 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17100 Mike Frysinger <vapier@gentoo.org>
17102 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17103 check for __NR_fadvise64_64.
17105 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17107 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17108 0, not just to plain "0" as a statement.
17109 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17112 2012-12-06 Joseph Myers <joseph@codesourcery.com>
17114 * NEWS: Use sourceware.org in Bugzilla URL.
17116 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17119 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17121 * stdio-common/tst-put-error.c (do_test): Add newline to the
17122 padded test to ensure flush.
17124 2012-12-05 Jeff Law <law@redhat.com>
17126 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17128 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17130 * README: Don't refer to ports add-on as distributed separately.
17131 Mention AArch64 in list of systems supported in the ports add-on.
17133 * LICENSES: Add more non-FSF copyright and license notices.
17135 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17138 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17140 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17141 10000 as width of padded output.
17143 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17145 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17147 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17148 variable LX with __attribute__ ((unused)).
17149 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17151 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17152 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17153 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17154 with __attribute__ ((unused)).
17156 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17158 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17160 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17162 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17163 (CFLAGS-nldbl-acos.c): New variable.
17164 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17165 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17166 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17167 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17168 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17169 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17170 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17171 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17172 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17173 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17174 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17175 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17176 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17177 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17178 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17179 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17180 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17181 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17182 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17183 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17184 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17185 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17186 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17187 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17188 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17189 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17190 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17191 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17192 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17193 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17194 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17195 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17196 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17197 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17198 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17199 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17200 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17201 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17202 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17203 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17204 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17205 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17206 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17207 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17208 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17209 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17210 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17211 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17212 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17213 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17214 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17215 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17216 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17217 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17218 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17219 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17220 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17221 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17222 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17223 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17224 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17225 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17226 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17227 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17228 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17229 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17230 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17231 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17232 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17233 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17234 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17235 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17236 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17237 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17238 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17239 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17240 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17241 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17242 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17243 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17244 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17245 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17246 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17247 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17248 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17249 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17250 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17251 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17252 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17253 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17254 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17255 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17256 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17257 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17258 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17259 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17260 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17263 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17267 whole low double instead of just low 47 bits when splitting values
17270 2012-12-03 Allan McRae <allan@archlinux.org>
17272 * manual/stdio.texi (Predefined Printf Handlers): Remove
17273 @hsep and @vsep usage.
17275 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17277 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17278 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17280 2012-12-03 Jeff Law <law@redhat.com>
17282 * time/sys/time.h (settimeofday): Do not mark TV argument
17285 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17287 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17288 when currently writing and seek to current position when not.
17289 * libio/Makefile (tests): Remove bug-fclose1.
17290 * libio/bug-fclose1.c: Delete.
17292 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17294 * manual/arith.texi (feenableexcept): Fix typo.
17295 (fedisableexcept): Likewise.
17297 2012-11-30 Roland McGrath <roland@hack.frob.com>
17299 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17300 second, differently-typed declaration, rather than a cast.
17302 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17304 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17305 * include/rpc/svc.h: ... here.
17307 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17310 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17311 depending n and resplen2 to catch cases where answer
17314 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17316 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17317 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17319 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17321 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17323 2012-11-29 Roland McGrath <roland@hack.frob.com>
17325 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17327 2012-11-28 Jeff Law <law@redhat.com>
17330 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17331 dataset_temporary. Track alloca usage into alloca_used.
17332 If dataset is large allocate and release it via malloc/free.
17334 2012-06-04 Florian Weimer <fweimer@redhat.com>
17337 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17339 2012-11-28 David S. Miller <davem@davemloft.net>
17341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17343 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17346 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17347 of pi/2 rounded to nearest to 64 bits.
17348 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17349 nearest to 64 bits.
17350 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17353 2012-11-28 Jeff Law <law@redhat.com>
17354 Martin Osvald <mosvald@redhat.com>
17357 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17358 * sunrpc/svc.c: Include time.h.
17359 (__svc_accept_failed): New function.
17360 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17361 any reason other than EINTR, call __svc_accept_failed.
17362 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17363 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17365 2012-11-28 Andreas Schwab <schwab@suse.de>
17367 * scripts/abilist.awk: Also handle indirect functions in .opd
17370 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17373 * sysdeps/x86/fpu/powl_helper.c: New file.
17374 * sysdeps/x86/fpu/Makefile: Likewise.
17375 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17377 (__ieee754_powl): Use __powl_helper for finite arguments except
17378 integer exponents below 8.
17379 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17381 (__ieee754_powl): Use __powl_helper for finite arguments except
17382 integer exponents below 8.
17383 * math/libm-test.inc (pow_test): Add more tests and enable some
17384 previously disabled tests.
17385 * sysdeps/i386/fpu/libm-test-ulps: Update.
17386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17388 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17389 Carlos O'Donell <carlos_odonell@mentor.com>
17391 * nss/makedb.c (is_prime): Assert that input is odd and greater
17392 than 4. Note that fact in a comment too.
17393 (next_prime): Add 4 to input.
17395 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17398 * libio/Makefile (tests): Add test case tst-fwrite-error.
17399 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17400 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17401 * libio/tst-fwrite-error.c: New test case.
17403 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17405 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17406 before casting to void *.
17407 * include/libc-internal.h (__pointer_type): New macro.
17408 (__integer_if_pointer_type_sub): Likewise.
17409 (__integer_if_pointer_type): Likewise.
17410 (cast_to_integer): Likewise.
17411 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17412 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17413 before casting to atomic64_t.
17414 (atomic_exchange_acq): Likewise.
17415 (__arch_exchange_and_add_body): Likewise.
17416 (__arch_add_body): Likewise.
17417 (atomic_add_negative): Likewise.
17418 (atomic_add_zero): Likewise.
17420 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17422 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17423 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17424 (add_fdes): Likewise.
17425 (linear_search_fdes): Likewise.
17426 (binary_search_unencoded_fdes): Likewise.
17428 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17430 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17432 2012-11-24 Adam Conrad <adconrad@0c3.net>
17434 * configure.in: Autodetect C++ header directories.
17435 * configure: Regenerated.
17437 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17439 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17441 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17445 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17447 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17448 LDBL_MANT_DIG == 106]: Disable some tests.
17449 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17451 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17455 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17456 input for small inputs. Return +/- pi/2 for large inputs.
17457 * math/libm-test.inc (atan_test): Add more tests.
17459 * sysdeps/generic/unwind-dw2-fde-glibc.c
17460 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17461 __attribute__ ((unused)).
17464 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17465 x * y if x and y are nonzero and z is zero.
17468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17469 nonzero exponents with absolute value below 0x1p-117 to +/-
17473 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17474 up arguments below 2**-450, not just those below 2**-500.
17475 * math/libm-test.inc (hypot_test): Add another test.
17478 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17479 Return a+b for ratio over 2**120, not 2**60.
17480 * math/libm-test.inc (hypot_test): Add another test.
17482 * math/libm-test.inc (clog_test): Use
17483 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17484 (clog10_test): Likewise.
17487 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17489 2012-11-22 Andreas Schwab <schwab@suse.de>
17491 * sysdeps/i386/fpu/libm-test-ulps: Update.
17493 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17495 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17496 printf output with newline.
17498 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17501 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17502 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17503 -z nodlopen, -z initfirst and -z execstack support.
17504 * configure: Regenerated.
17506 * elf/elf.h (DF_1_NODIRECT): New macro.
17507 (DF_1_IGNMULDEF): Likewise.
17508 (DF_1_NOKSYMS): Likewise.
17509 (DF_1_NOHDR): Likewise.
17510 (DF_1_EDITED): Likewise.
17511 (DF_1_NORELOC): Likewise.
17512 (DF_1_SYMINTPOSE): Likewise.
17513 (DF_1_GLOBAUDIT): Likewise.
17514 (DF_1_SINGLETON): Likewise.
17515 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17516 DT_1_SUPPORTED_MASK bits.
17517 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17519 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17521 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17523 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17525 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17528 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17529 (sendmmsg): Move declarations...
17530 * socket/sys/socket.h: ... here.
17531 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17532 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17534 * socket/recvmmsg.c: ... this new file.
17535 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17536 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17537 definition of __sendmmsg hidden.
17538 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17539 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17540 Move ENOSYS stub into and include it from...
17541 * socket/sendmmsg.c: ... this new file.
17542 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17543 (sysdep_routines): Move recvmmsg and sendmmsg...
17544 * socket/Makefile (routines): ... here.
17545 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17546 (GLIBC_PRIVATE): Add __sendmmsg.
17547 * include/sys/socket.h (__sendmmsg): Add declarations.
17548 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17551 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17554 variable I1 with __attribute__ ((unused)).
17555 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17557 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17559 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17560 DUMMY variables with __attribute__ ((unused)).
17562 * bits/byteswap.h: Include <bits/types.h>.
17563 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17565 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17567 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17568 string_t. Do not manually set errno.
17569 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17570 length with __strnlen. Make sure to both set errno and return it on
17573 2012-11-19 David S. Miller <davem@davemloft.net>
17575 With help from Joseph Myers.
17576 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17577 very large arguments properly.
17578 * math/libm-test.inc (atan_test): New tests.
17579 (atan2_test): New tests.
17580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17583 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17586 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17589 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17590 [POSIX] (EADDRNOTAVAIL): Likewise.
17591 [POSIX] (EAFNOSUPPORT): Likewise.
17592 [POSIX] (EALREADY): Likewise.
17593 [POSIX] (ECONNABORTED): Likewise.
17594 [POSIX] (ECONNREFUSED): Likewise.
17595 [POSIX] (ECONNRESET): Likewise.
17596 [POSIX] (EDESTADDRREQ): Likewise.
17597 [POSIX] (EDQUOT): Likewise.
17598 [POSIX] (EHOSTUNREACH): Likewise.
17599 [POSIX] (EIDRM): Likewise.
17600 [POSIX] (EISCONN): Likewise.
17601 [POSIX] (ELOOP): Likewise.
17602 [POSIX] (EMULTIHOP): Likewise.
17603 [POSIX] (ENETDOWN): Likewise.
17604 [POSIX] (ENETUNREACH): Likewise.
17605 [POSIX] (ENOBUFS): Likewise.
17606 [POSIX] (ENODATA): Likewise.
17607 [POSIX] (ENOLINK): Likewise.
17608 [POSIX] (ENOMSG): Likewise.
17609 [POSIX] (ENOPROTOOPT): Likewise.
17610 [POSIX] (ENOSR): Likewise.
17611 [POSIX] (ENOSTR): Likewise.
17612 [POSIX] (ENOTCONN): Likewise.
17613 [POSIX] (ENOTSOCK): Likewise.
17614 [POSIX] (EOPNOTSUPP): Likewise.
17615 [POSIX] (EOVERFLOW): Likewise.
17616 [POSIX] (EPROTO): Likewise.
17617 [POSIX] (EPROTONOSUPPORT): Likewise.
17618 [POSIX] (EPROTOTYPE): Likewise.
17619 [POSIX] (ESTALE): Likewise.
17620 [POSIX] (ETIME): Likewise.
17621 [POSIX] (ETXTBSY): Likewise.
17622 [POSIX] (EWOULDBLOCK): Likewise.
17623 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17624 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17625 [POSIX] (SEEK_CUR): Likewise.
17626 [POSIX] (SEEK_END): Likewise.
17627 [POSIX || UNIX98] (mode_t): Do not require.
17628 [POSIX] (off_t): Likewise.
17629 [POSIX] (pid_t): Likewise.
17630 [POSIX] (sys/stat.h): Do not allow header.
17631 [POSIX] (unistd.h): Likewise.
17632 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17633 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17634 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17635 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17637 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17638 sigevent): Specify elements.
17639 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17641 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17642 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17644 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17645 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17646 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17647 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17648 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17649 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17650 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17651 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17652 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17653 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17654 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17655 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17656 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17657 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17659 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17661 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17663 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17665 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17666 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17667 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17668 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17669 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17670 Specify lower bound on value.
17671 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17672 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17673 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17674 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17675 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17676 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17677 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17678 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17680 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17682 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17683 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17684 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17685 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17686 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17687 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17688 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17689 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17690 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17691 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17692 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17693 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17694 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17695 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17696 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17697 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17699 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17701 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17702 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17703 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17704 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17705 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17706 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17708 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17709 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17710 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17711 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17712 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17713 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17714 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17716 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17717 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17718 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17719 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17720 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17721 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17722 specify as optional.
17723 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17724 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17725 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17726 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17727 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17728 [XPG3] (NL_LANGMAX): Likewise.
17729 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17730 [POSIX || XPG3] (NL_NMAX): Likewise.
17731 [POSIX || XPG3] (NL_SETMAX): Likewise.
17732 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17733 [XPG3] (NZERO): Likewise.
17734 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17735 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17736 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17737 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17738 (REG_ERANGE): Expect.
17739 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17741 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17742 Use (void) in prototype.
17743 [POSIX] (*_t): Allow.
17744 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17745 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17746 (WRDE_BADVAL): Expect.
17748 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17750 [XPG3 || XPG4] (O_RSYNC): Likewise.
17751 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17753 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17754 [XPG3 || XPG4] (sigqueue): Likewise.
17755 [XPG3 || XPG4] (sigtimedwait): Likewise.
17756 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17757 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17758 [XPG3 || XPG4] (vsnprintf): Likewise.
17759 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17761 [XPG3 || XPG4] (blksize_t): Likewise.
17762 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17764 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17765 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17766 [XPG3 || XPG4] (struct itimerspec): Likewise.
17767 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17768 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17769 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17770 [XPG3 || XPG4] (clockid_t): Likewise.
17771 [XPG3 || XPG4] (timer_t): Likewise.
17772 [XPG3 || XPG4] (clock_getres): Likewise.
17773 [XPG3 || XPG4] (clock_gettime): Likewise.
17774 [XPG3 || XPG4] (clock_settime): Likewise.
17775 [XPG3 || XPG4] (nanosleep): Likewise.
17776 [XPG3 || XPG4] (timer_create): Likewise.
17777 [XPG3 || XPG4] (timer_delete): Likewise.
17778 [XPG3 || XPG4] (timer_gettime): Likewise.
17779 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17780 [XPG3 || XPG4] (timer_settime): Likewise.
17781 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17782 [XPG3 || XPG4] (getlogin_r): Likewise.
17783 [XPG3 || XPG4] (pread): Likewise.
17784 [XPG3 || XPG4] (pthread_atfork): Likewise.
17785 [XPG3 || XPG4] (pwrite): Likewise.
17788 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17791 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17793 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17794 finalizing MALLSTREAM.
17796 * sysdeps/mach/hurd/syncfs.c: New file.
17798 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17801 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17802 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17803 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17804 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17805 (_nss_dns_gethostbyname4_r): Likewise.
17806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17807 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17809 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17812 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17814 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17816 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17817 * elf/cache.c (print_entry): Print ",AArch64" for
17820 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17821 * elf/cache.c (print_entry): Print ",hard-float" for
17824 2012-11-18 David S. Miller <davem@davemloft.net>
17826 With help from Joseph Myers.
17827 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17829 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17831 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17832 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17834 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17835 * math/libm-test.inc (y0_test): New tests.
17836 (y1_test): New tests.
17837 * sysdeps/i386/fpu/libm-test-ulps: Update.
17838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17841 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17843 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17845 * configure: Regenerated.
17847 2012-11-17 David S. Miller <davem@davemloft.net>
17850 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17851 nonzero exponents with absolute value below 0x1p-128 to +/-
17854 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17856 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17858 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17860 * posix/getconf-speclist.c: New file.
17861 * posix/posix-envs.def: Likewise.
17862 * posix/confstr.c (START_ENV_GROUP): New macro.
17863 (END_ENV_GROUP): Likewise.
17864 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17865 (KNOWN_PRESENT_ENV_STRING): Likewise.
17866 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17867 (UNKNOWN_ENVIRONMENT): Likewise.
17868 (confstr): Include posix-envs.def instead of handling
17869 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17870 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17871 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17872 (END_ENV_GROUP): Likewise.
17873 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17874 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17875 (UNKNOWN_ENVIRONMENT): Likewise.
17876 (__sysconf): Include posix-envs.def instead of handling associated
17877 cases directly here.
17878 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17879 preprocessing getconf-speclist.c rather than running getconf or
17880 generating empty file.
17882 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17884 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17886 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17889 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17891 2012-11-16 David S. Miller <davem@davemloft.net>
17893 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17894 smaller than LDBL_EPSILON/2.0L, just return xm1.
17896 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17898 * elf/tst-array1.c (init): Set constructor priority to 1000.
17899 (fini): Set destructor priority to 1000.
17900 * elf/tst-array2dep.c: Likewise.
17902 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17905 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17906 (_IO_new_file_xsputn): Also return EOF if none of the input
17907 data was written when overflow failed.
17908 * libio/iopadn.c (_IO_padn): Likewise.
17909 * libio/iowpadn.c (_IO_wpadn): Likewise.
17910 * stdio-common/tst-put-error.c: Add copyright notice.
17911 (do_test): Add case for printing padded string.
17912 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17913 _IO_padn returned error.
17914 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17915 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17918 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17920 * libio/libioP.h: Add comment note that the references to C++
17921 bits are now obsolete.
17923 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17925 * math/libm-test.inc (check_complex): Use asprintf.
17927 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17929 * debug/pcprofiledump.c (print_version): Update copyright year.
17930 * malloc/memusagestat.c (print_version): Likewise.
17932 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17935 * elf/Makefile (tests): Add tst-audit8.
17936 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17937 ($(objpfx)tst-audit8.out): New target.
17938 (tst-audit8-ENV): New variable.
17939 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17940 audit if l_reloc_result is NULL.
17941 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17942 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17943 * elf/tst-audit8.c: New file.
17945 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17947 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17948 * misc/Makefile (CFLAGS-select.c): Define.
17949 * posix/Makefile (CFLAGS-pause.c): Define.
17951 2012-11-13 David S. Miller <davem@davemloft.net>
17953 * crypt/Makefile: Move test targets after toplevel Rules
17954 inclusion. Grab any necessary sysdep routines when linking.
17955 * crypt/md5.c (md5_process_block): Remove define, we will always
17956 name it __md5_process_block.
17957 (md5_finish_ctx): Update md5_process_block call.
17958 (md5_stream): Likewise.
17959 (md5_process_bytes): Likewise.
17960 (md5_process_block): Rename to __md5_process_block and move to ...
17961 * crypt/md5-block.c: ... here.
17962 * crypt/sha256.c (sha256_process_block): Move to ...
17963 * crypt/sha256-block.c: ... here.
17964 * crypt/sha512.c (sha512_process_block): Move to ...
17965 * crypt/sha512-block.c: ... here.
17966 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17968 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17969 * sysdeps/sparc/sparc64/multiarch/Makefile
17970 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17972 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17973 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17975 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17976 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17977 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17978 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17979 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17980 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17981 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17982 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17983 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17985 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17986 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17988 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17990 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17992 * timezone/tzselect.ksh: Update from tzcode git revision
17993 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17994 * timezone/zdump.c: Likewise.
17995 * timezone/zic.c: Likewise.
17996 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17997 in TZVERSION setting, not $(PKGVERSION).
17998 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17999 REPORT_BUGS_TO settings.
18002 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18005 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18007 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18008 detection to immediately after _FP_ROUND().
18009 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18012 2012-11-11 David S. Miller <davem@davemloft.net>
18014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18016 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18017 __close rather than their public counterparts.
18019 2012-11-10 Joseph Myers <joseph@codesourcery.com>
18021 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18023 [UNIX98] (sem_timedwait): Do not expect.
18024 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18025 [XPG4 || UNIX98] (sockatmark): Do not expect.
18026 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18027 (clock_getcpuclockid): Do not expect.
18028 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18029 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18031 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18032 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18033 [UNIX98] (vwscanf): Likewise.
18034 [UNIX98] (vswscanf): Likewise.
18036 2012-11-09 Joseph Myers <joseph@codesourcery.com>
18038 * timezone/version.h: Remove file.
18039 * timezone/README: Do not refer to version.h.
18040 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18041 $(objpfx)version.h.
18042 ($(objpfx)zdump.o): Likewise.
18043 ($(objpfx)version.h): New target.
18045 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18047 * timezone/README: Don't mention modification to tzselect.ksh.
18048 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18049 work on unmodified tzselect.ksh. Substitute version numbers in
18052 * Makefile (format-me): Remove.
18053 (INSTALL): Adjust indentation. Use commands directly instead of
18054 using $(format-me).
18056 * aclocal.m4 (ACX_PKGVERSION): New macro.
18057 (ACX_BUGURL): Likewise.
18058 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18059 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18060 (REPORT_BUGS_TO): Likewise.
18061 * configure: Regenerated.
18062 * config.h.in (PKGVERSION): New macro.
18063 (REPORT_BUGS_TO): Likewise.
18064 * config.make.in (PKGVERSION): New variable.
18065 (PKGVERSION_TEXI): Likewise.
18066 (REPORT_BUGS_TO): Likewise.
18067 (REPORT_BUGS_TEXI): Likewise.
18068 * Makefile (format-me): Use -I$(common-objpfx)manual.
18069 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18070 ($(common-objpfx)manual/%): New target.
18071 (manual/%): Remove target.
18072 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18073 (print_version): Use PKGVERSION.
18074 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18075 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18076 and REPORT_BUGS_TO.
18077 ($(objpfx)xtrace): Likewise.
18078 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18079 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18080 (print_version): Use PKGVERSION.
18081 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18082 (do_version): Use PKGVERSION.
18083 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18085 (common-ldd-rewrite): Likewise.
18086 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18087 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18088 (print_version): Use PKGVERSION.
18089 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18090 * elf/pldd.c (argp_program_bug_address): Remove variable.
18091 (more_help): New function.
18092 (argp): Use more_help.
18093 (print_version): Use PKGVERSION.
18094 * elf/sln.c (main): Use PKGVERSION.
18095 (usage): Use REPORT_BUGS_TO.
18096 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18097 (top level): Use PKGVERSION.
18098 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18099 (print_version): Use PKGVERSION.
18100 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18101 (print_version): Use PKGVERSION.
18102 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18103 (print_version): Use PKGVERSION.
18104 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18105 (print_version): Use PKGVERSION.
18106 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18107 (print_version): Use PKGVERSION.
18108 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18109 (print_version): Use PKGVERSION.
18110 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18112 ($(objpfx)memusage): Likewise.
18113 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18114 (do_version): Use PKGVERSION.
18115 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18116 (print_version): Use PKGVERSION.
18117 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18118 ($PKGVERSION): New variable.
18119 ($REPORT_BUGS_TO): Likewise.
18120 (usage): Use $REPORT_BUGS_TO.
18121 (top level): Use $PKGVERSION.
18122 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18123 ($(objpfx)pkgvers.texi): New rule.
18124 ($(objpfx)stamp-pkgvers): Likewise.
18125 * manual/install.texi: Include pkgvers.texi.
18126 (--with-pkgversion): Document new configure option.
18127 (--with-bugurl): Likewise.
18128 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18129 than necessarily for this particular distribution. Use
18130 REPORT_BUGS_TO for where to report bugs.
18131 * INSTALL: Regenerated.
18132 * manual/libc.texinfo: Include pkgvers.texi.
18133 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18134 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18135 (print_version): Use PKGVERSION.
18136 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18137 (print_version): Use PKGVERSION.
18138 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18139 (print_version): Use PKGVERSION.
18140 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18141 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18143 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18144 (print_version): Use PKGVERSION.
18145 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18146 (print_version): Use PKGVERSION.
18147 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18150 * timezone/checktab.awk: Update from tzcode 2012i.
18151 * timezone/ialloc.c: Likewise.
18152 * timezone/private.h: Likewise.
18153 * timezone/scheck.c: Likewise.
18154 * timezone/tzfile.h: Likewise.
18155 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18156 (TZVERSION): Hardcode tzcode version number.
18157 * timezone/zdump.c: Update from tzcode 2012i.
18158 * timezone/zic.c: Likewise.
18159 * timezone/version.h: New file.
18160 * timezone/README: Describe version.h. Update upstream location.
18163 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18164 (mktemp): Enable declaration.
18165 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18167 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18182 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18183 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18184 for copies of such integer values.
18185 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18186 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18188 2012-11-09 Andreas Jaeger <aj@suse.de>
18190 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18191 definitions and declarations that are provided by
18192 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18194 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18196 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18197 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18198 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18201 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18203 * elf/elf.h: Update comment before AArch64 relocations.
18205 2012-11-07 David S. Miller <davem@davemloft.net>
18207 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18208 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18209 (__start_context): Declare.
18210 (__makecontext_ret): Delete.
18211 (__makecontext): Hook up __start_context instead of
18213 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18214 (sysdep_routines): Add __start_context when in stdlib.
18216 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18218 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18219 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18220 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18222 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18223 (READELF): New variable. Use it instead of hardcoded "readelf".
18225 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18227 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18228 * sysdeps/x86/Makefile: Here.
18229 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18230 * sysdeps/x86/tst-xmmymm.sh: This.
18232 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18234 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18236 [UNIX98] (pthread_barrier_t): Do not expect.
18237 [UNIX98] (pthread_barrierattr_t): Likewise.
18238 [UNIX98] (pthread_spinlock_t): Likewise.
18239 [UNIX98] (pthread_barrier_destroy): Likewise.
18240 [UNIX98] (pthread_barrier_init): Likewise.
18241 [UNIX98] (pthread_barrier_wait): Likewise.
18242 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18243 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18244 [UNIX98] (pthread_barrierattr_init): Likewise.
18245 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18246 [UNIX98] (pthread_getcpuclockid): Likewise.
18247 [UNIX98] (pthread_mutex_timedlock): Likewise.
18248 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18249 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18250 [UNIX98] (pthread_sigmask): Likewise.
18251 [UNIX98] (pthread_spin_destroy): Likewise.
18252 [UNIX98] (pthread_spin_init): Likewise.
18253 [UNIX98] (pthread_spin_lock): Likewise.
18254 [UNIX98] (pthread_spin_trylock): Likewise.
18255 [UNIX98] (pthread_spin_unlock): Likewise.
18256 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18258 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18259 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18260 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18261 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18262 [XPG3 || XPG4] (pthread_key_t): Likewise.
18263 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18264 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18265 [XPG3 || XPG4] (pthread_once_t): Likewise.
18266 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18267 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18268 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18269 [XPG3 || XPG4] (pthread_t): Likewise.
18271 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18273 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18275 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18276 Change function return type to int.
18278 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18279 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18280 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18281 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18282 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18283 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18284 [!POSIX] (posix_madvise): Likewise.
18285 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18287 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18288 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18289 (mode_t): Likewise.
18290 (posix_mem_offset): Likewise.
18291 (posix_typed_mem_get_info): Likewise.
18292 (posix_typed_mem_open): Likewise.
18294 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18295 Change condition to [XOPEN2K8].
18297 * conform/conformtest.pl: Preprocess allow-header data with -x c
18298 instead of from stdin.
18299 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18300 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18301 [C99-based standards] (cerfc): Likewise.
18302 [C99-based standards] (cexp2): Likewise.
18303 [C99-based standards] (cexpm1): Likewise.
18304 [C99-based standards] (clog10): Likewise.
18305 [C99-based standards] (clog1p): Likewise.
18306 [C99-based standards] (clog2): Likewise.
18307 [C99-based standards] (clgamma): Likewise.
18308 [C99-based standards] (ctgamma): Likewise.
18309 [C99-based standards] (cerff): Likewise.
18310 [C99-based standards] (cerfcf): Likewise.
18311 [C99-based standards] (cexp2f): Likewise.
18312 [C99-based standards] (cexpm1f): Likewise.
18313 [C99-based standards] (clog10f): Likewise.
18314 [C99-based standards] (clog1pf): Likewise.
18315 [C99-based standards] (clog2f): Likewise.
18316 [C99-based standards] (clgammaf): Likewise.
18317 [C99-based standards] (ctgammaf): Likewise.
18318 [C99-based standards] (cerfl): Likewise.
18319 [C99-based standards] (cerfcl): Likewise.
18320 [C99-based standards] (cexp2l): Likewise.
18321 [C99-based standards] (cexpm1l): Likewise.
18322 [C99-based standards] (clog10l): Likewise.
18323 [C99-based standards] (clog1pl): Likewise.
18324 [C99-based standards] (clog2l): Likewise.
18325 [C99-based standards] (clgammal): Likewise.
18326 [C99-based standards] (ctgammal): Likewise.
18327 * conform/data/inttypes.h-data [C99-based standards]: Include
18328 stdint.h-data. Remove all expectations for stdint.h contents.
18329 [C99-based standards] (PRI*): Do not allow.
18330 [C99-based standards] (SCN*): Likewise.
18331 [C99-based standards] (*_t): Likewise.
18332 [C99-based-standards] (PRId8): Expect macro.
18333 [C99-based-standards] (PRIi8): Likewise.
18334 [C99-based-standards] (PRIo8): Likewise.
18335 [C99-based-standards] (PRIu8): Likewise.
18336 [C99-based-standards] (PRIx8): Likewise.
18337 [C99-based-standards] (PRIX8): Likewise.
18338 [C99-based-standards] (SCNd8): Likewise.
18339 [C99-based-standards] (SCNi8): Likewise.
18340 [C99-based-standards] (SCNo8): Likewise.
18341 [C99-based-standards] (SCNu8): Likewise.
18342 [C99-based-standards] (SCNx8): Likewise.
18343 [C99-based-standards] (PRIdLEAST8): Likewise.
18344 [C99-based-standards] (PRIiLEAST8): Likewise.
18345 [C99-based-standards] (PRIoLEAST8): Likewise.
18346 [C99-based-standards] (PRIuLEAST8): Likewise.
18347 [C99-based-standards] (PRIxLEAST8): Likewise.
18348 [C99-based-standards] (PRIXLEAST8): Likewise.
18349 [C99-based-standards] (SCNdLEAST8): Likewise.
18350 [C99-based-standards] (SCNiLEAST8): Likewise.
18351 [C99-based-standards] (SCNoLEAST8): Likewise.
18352 [C99-based-standards] (SCNuLEAST8): Likewise.
18353 [C99-based-standards] (SCNxLEAST8): Likewise.
18354 [C99-based-standards] (PRIdFAST8): Likewise.
18355 [C99-based-standards] (PRIiFAST8): Likewise.
18356 [C99-based-standards] (PRIoFAST8): Likewise.
18357 [C99-based-standards] (PRIuFAST8): Likewise.
18358 [C99-based-standards] (PRIxFAST8): Likewise.
18359 [C99-based-standards] (PRIXFAST8): Likewise.
18360 [C99-based-standards] (SCNdFAST8): Likewise.
18361 [C99-based-standards] (SCNiFAST8): Likewise.
18362 [C99-based-standards] (SCNoFAST8): Likewise.
18363 [C99-based-standards] (SCNuFAST8): Likewise.
18364 [C99-based-standards] (SCNxFAST8): Likewise.
18365 [C99-based-standards] (PRId16): Likewise.
18366 [C99-based-standards] (PRIi16): Likewise.
18367 [C99-based-standards] (PRIo16): Likewise.
18368 [C99-based-standards] (PRIu16): Likewise.
18369 [C99-based-standards] (PRIx16): Likewise.
18370 [C99-based-standards] (PRIX16): Likewise.
18371 [C99-based-standards] (SCNd16): Likewise.
18372 [C99-based-standards] (SCNi16): Likewise.
18373 [C99-based-standards] (SCNo16): Likewise.
18374 [C99-based-standards] (SCNu16): Likewise.
18375 [C99-based-standards] (SCNx16): Likewise.
18376 [C99-based-standards] (PRIdLEAST16): Likewise.
18377 [C99-based-standards] (PRIiLEAST16): Likewise.
18378 [C99-based-standards] (PRIoLEAST16): Likewise.
18379 [C99-based-standards] (PRIuLEAST16): Likewise.
18380 [C99-based-standards] (PRIxLEAST16): Likewise.
18381 [C99-based-standards] (PRIXLEAST16): Likewise.
18382 [C99-based-standards] (SCNdLEAST16): Likewise.
18383 [C99-based-standards] (SCNiLEAST16): Likewise.
18384 [C99-based-standards] (SCNoLEAST16): Likewise.
18385 [C99-based-standards] (SCNuLEAST16): Likewise.
18386 [C99-based-standards] (SCNxLEAST16): Likewise.
18387 [C99-based-standards] (PRIdFAST16): Likewise.
18388 [C99-based-standards] (PRIiFAST16): Likewise.
18389 [C99-based-standards] (PRIoFAST16): Likewise.
18390 [C99-based-standards] (PRIuFAST16): Likewise.
18391 [C99-based-standards] (PRIxFAST16): Likewise.
18392 [C99-based-standards] (PRIXFAST16): Likewise.
18393 [C99-based-standards] (SCNdFAST16): Likewise.
18394 [C99-based-standards] (SCNiFAST16): Likewise.
18395 [C99-based-standards] (SCNoFAST16): Likewise.
18396 [C99-based-standards] (SCNuFAST16): Likewise.
18397 [C99-based-standards] (SCNxFAST16): Likewise.
18398 [C99-based-standards] (PRId32): Likewise.
18399 [C99-based-standards] (PRIi32): Likewise.
18400 [C99-based-standards] (PRIo32): Likewise.
18401 [C99-based-standards] (PRIu32): Likewise.
18402 [C99-based-standards] (PRIx32): Likewise.
18403 [C99-based-standards] (PRIX32): Likewise.
18404 [C99-based-standards] (SCNd32): Likewise.
18405 [C99-based-standards] (SCNi32): Likewise.
18406 [C99-based-standards] (SCNo32): Likewise.
18407 [C99-based-standards] (SCNu32): Likewise.
18408 [C99-based-standards] (SCNx32): Likewise.
18409 [C99-based-standards] (PRIdLEAST32): Likewise.
18410 [C99-based-standards] (PRIiLEAST32): Likewise.
18411 [C99-based-standards] (PRIoLEAST32): Likewise.
18412 [C99-based-standards] (PRIuLEAST32): Likewise.
18413 [C99-based-standards] (PRIxLEAST32): Likewise.
18414 [C99-based-standards] (PRIXLEAST32): Likewise.
18415 [C99-based-standards] (SCNdLEAST32): Likewise.
18416 [C99-based-standards] (SCNiLEAST32): Likewise.
18417 [C99-based-standards] (SCNoLEAST32): Likewise.
18418 [C99-based-standards] (SCNuLEAST32): Likewise.
18419 [C99-based-standards] (SCNxLEAST32): Likewise.
18420 [C99-based-standards] (PRIdFAST32): Likewise.
18421 [C99-based-standards] (PRIiFAST32): Likewise.
18422 [C99-based-standards] (PRIoFAST32): Likewise.
18423 [C99-based-standards] (PRIuFAST32): Likewise.
18424 [C99-based-standards] (PRIxFAST32): Likewise.
18425 [C99-based-standards] (PRIXFAST32): Likewise.
18426 [C99-based-standards] (SCNdFAST32): Likewise.
18427 [C99-based-standards] (SCNiFAST32): Likewise.
18428 [C99-based-standards] (SCNoFAST32): Likewise.
18429 [C99-based-standards] (SCNuFAST32): Likewise.
18430 [C99-based-standards] (SCNxFAST32): Likewise.
18431 [C99-based-standards] (PRId64): Likewise.
18432 [C99-based-standards] (PRIi64): Likewise.
18433 [C99-based-standards] (PRIo64): Likewise.
18434 [C99-based-standards] (PRIu64): Likewise.
18435 [C99-based-standards] (PRIx64): Likewise.
18436 [C99-based-standards] (PRIX64): Likewise.
18437 [C99-based-standards] (SCNd64): Likewise.
18438 [C99-based-standards] (SCNi64): Likewise.
18439 [C99-based-standards] (SCNo64): Likewise.
18440 [C99-based-standards] (SCNu64): Likewise.
18441 [C99-based-standards] (SCNx64): Likewise.
18442 [C99-based-standards] (PRIdLEAST64): Likewise.
18443 [C99-based-standards] (PRIiLEAST64): Likewise.
18444 [C99-based-standards] (PRIoLEAST64): Likewise.
18445 [C99-based-standards] (PRIuLEAST64): Likewise.
18446 [C99-based-standards] (PRIxLEAST64): Likewise.
18447 [C99-based-standards] (PRIXLEAST64): Likewise.
18448 [C99-based-standards] (SCNdLEAST64): Likewise.
18449 [C99-based-standards] (SCNiLEAST64): Likewise.
18450 [C99-based-standards] (SCNoLEAST64): Likewise.
18451 [C99-based-standards] (SCNuLEAST64): Likewise.
18452 [C99-based-standards] (SCNxLEAST64): Likewise.
18453 [C99-based-standards] (PRIdFAST64): Likewise.
18454 [C99-based-standards] (PRIiFAST64): Likewise.
18455 [C99-based-standards] (PRIoFAST64): Likewise.
18456 [C99-based-standards] (PRIuFAST64): Likewise.
18457 [C99-based-standards] (PRIxFAST64): Likewise.
18458 [C99-based-standards] (PRIXFAST64): Likewise.
18459 [C99-based-standards] (SCNdFAST64): Likewise.
18460 [C99-based-standards] (SCNiFAST64): Likewise.
18461 [C99-based-standards] (SCNoFAST64): Likewise.
18462 [C99-based-standards] (SCNuFAST64): Likewise.
18463 [C99-based-standards] (SCNxFAST64): Likewise.
18464 [C99-based-standards] (PRIdMAX): Likewise.
18465 [C99-based-standards] (PRIiMAX): Likewise.
18466 [C99-based-standards] (PRIoMAX): Likewise.
18467 [C99-based-standards] (PRIuMAX): Likewise.
18468 [C99-based-standards] (PRIxMAX): Likewise.
18469 [C99-based-standards] (PRIXMAX): Likewise.
18470 [C99-based-standards] (SCNdMAX): Likewise.
18471 [C99-based-standards] (SCNiMAX): Likewise.
18472 [C99-based-standards] (SCNoMAX): Likewise.
18473 [C99-based-standards] (SCNuMAX): Likewise.
18474 [C99-based-standards] (SCNxMAX): Likewise.
18475 [C99-based-standards] (PRIdPTR): Likewise.
18476 [C99-based-standards] (PRIiPTR): Likewise.
18477 [C99-based-standards] (PRIoPTR): Likewise.
18478 [C99-based-standards] (PRIuPTR): Likewise.
18479 [C99-based-standards] (PRIxPTR): Likewise.
18480 [C99-based-standards] (PRIXPTR): Likewise.
18481 [C99-based-standards] (SCNdPTR): Likewise.
18482 [C99-based-standards] (SCNiPTR): Likewise.
18483 [C99-based-standards] (SCNoPTR): Likewise.
18484 [C99-based-standards] (SCNuPTR): Likewise.
18485 [C99-based-standards] (SCNxPTR): Likewise.
18486 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18488 * conform/data/stdint.h-data: Update comments to clarify
18490 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18492 [C99-based standards] (INT8_MAX): Likewise.
18493 [C99-based standards] (INT16_MIN): Likewise.
18494 [C99-based standards] (INT16_MAX): Likewise.
18495 [C99-based standards] (INT32_MIN): Likewise.
18496 [C99-based standards] (INT32_MAX): Likewise.
18497 [C99-based standards] (INT64_MIN): Likewise.
18498 [C99-based standards] (INT64_MAX): Likewise.
18499 [C99-based standards] (UINT8_MAX): Likewise.
18500 [C99-based standards] (UINT16_MAX): Likewise.
18501 [C99-based standards] (UINT32_MAX): Likewise.
18502 [C99-based standards] (UINT64_MAX): Likewise.
18503 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18504 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18505 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18506 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18507 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18508 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18509 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18510 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18511 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18512 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18513 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18514 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18515 [C99-based standards] (INT_FAST8_MIN): Likewise.
18516 [C99-based standards] (INT_FAST8_MAX): Likewise.
18517 [C99-based standards] (INT_FAST16_MIN): Likewise.
18518 [C99-based standards] (INT_FAST16_MAX): Likewise.
18519 [C99-based standards] (INT_FAST32_MIN): Likewise.
18520 [C99-based standards] (INT_FAST32_MAX): Likewise.
18521 [C99-based standards] (INT_FAST64_MIN): Likewise.
18522 [C99-based standards] (INT_FAST64_MAX): Likewise.
18523 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18524 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18525 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18526 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18527 [C99-based standards] (INTPTR_MIN): Likewise.
18528 [C99-based standards] (INTPTR_MAX): Likewise.
18529 [C99-based standards] (UINTPTR_MAX): Likewise.
18530 [C99-based standards] (INTMAX_MIN): Likewise.
18531 [C99-based standards] (INTMAX_MAX): Likewise.
18532 [C99-based standards] (UINTMAX_MAX): Likewise.
18533 [C99-based standards] (PTRDIFF_MIN): Likewise.
18534 [C99-based standards] (PTRDIFF_MAX): Likewise.
18535 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18536 [C99-based standards] (SIZE_MAX): Likewise.
18537 [C99-based standards] (WCHAR_MAX): Likewise.
18538 [C99-based standards] (WINT_MAX): Likewise.
18539 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18540 constraint on value.
18541 [C99-based standards] (WCHAR_MIN): Likewise.
18542 [C99-based standards] (WINT_MIN): Likewise.
18543 [C99-based standards] (*_t): Allow.
18544 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18545 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18546 Include math.h-data and complex.h-data. Remove all expectations
18547 of math.h and complex.h contents.
18548 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18550 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18551 (struct tm): Expect tag.
18552 [C99-based-standards] (wcstof): Expect function.
18553 [C99-based-standards] (wcstold): Likewise.
18554 [C99-based-standards] (wcstoll): Likewise.
18555 [C99-based-standards] (wcstoull): Likewise.
18556 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18557 macro-int-constant. Specify type.
18558 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18559 constraint on value.
18560 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18562 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18564 [ISO C standards]: Do not allow headers.
18565 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18566 wcs[abcdefghijklmnopqrstuvwxyz]*.
18567 [ISO C standards] (*_t): Do not allow.
18568 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18570 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18571 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18573 [ISO C standards]: Do not allow headers.
18574 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18575 is[abcdefghijklmnopqrstuvwxyz]*.
18576 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18577 to[abcdefghijklmnopqrstuvwxyz]*.
18578 [ISO C standards] (*_t): Do not allow.
18579 * conform/data/stdalign.h-data: New file.
18580 * conform/data/stdbool.h-data: Likewise.
18581 * conform/data/stdnoreturn.h-data: Likewise.
18583 2012-11-07 Roland McGrath <roland@hack.frob.com>
18586 * manual/filesys.texi (Directory Entries): Typo fix.
18587 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18589 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18591 * elf/elf.h (EM_AARCH64): New macro.
18592 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18593 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18594 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18595 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18596 (R_AARCH64_TLSDESC): Likewise.
18597 (NT_ARM_TLS): Likewise.
18598 (NT_ARM_HW_BREAK): Likewise.
18599 (NT_ARM_HW_WATCH): Likewise.
18601 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18604 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18605 (__ieee754_powl): Saturate nonzero exponents with absolute value
18606 below 0x1p-79 to +/- 0x1p-79.
18607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18608 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18609 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18610 nonzero exponents with absolute value below 0x1p-32 to +/-
18612 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18613 (__ieee754_powl): Saturate nonzero exponents with absolute value
18614 below 0x1p-79 to +/- 0x1p-79.
18615 * math/libm-test.inc (pow_test): Add more tests.
18617 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18619 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18620 _dl_s390_cap_flags with kernel. Increase string length.
18621 (_dl_s390_platforms): Add z196 and zEC12.
18623 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18625 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18626 Change XOPEN21K to XOPEN2K.
18628 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18630 * string/memmove.c: Use memcpy when possible.
18632 2012-11-06 Andreas Jaeger <aj@suse.de>
18634 * po/eo.po: Update from translation team.
18636 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18640 exponent and small x and y exponents, scale x or y up. Increase
18641 by 2 the exponent used in scaling up.
18642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18643 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18644 * math/libm-test.inc (fma_test): Add more tests.
18645 (fma_test_towardzero): Likewise.
18646 (fma_test_downward): Likewise.
18647 (fma_test_upward): Likewise.
18649 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18652 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18656 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18657 namespace for names of struct fields.
18658 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18660 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18661 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18663 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18666 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18668 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18670 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18674 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18677 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18681 definitely overflow as x * y not x * y + z.
18682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18684 * math/libm-test.inc (fma_test): Add more tests.
18685 (fma_test_towardzero): Likewise.
18686 (fma_test_downward): Likewise.
18687 (fma_test_upward): Likewise.
18689 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18693 * include/stub-tag.h: Remove file.
18694 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18696 * manual/maint.texi (Porting): Don't reference it.
18697 * Makerules ($(objpfx)stubs): Likewise.
18698 * dirent/closedir.c: Don't include <stub-tag.h>.
18699 * dirent/dirfd.c: Likewise.
18700 * dirent/fdopendir.c: Likewise.
18701 * dirent/getdents.c: Likewise.
18702 * dirent/getdents64.c: Likewise.
18703 * dirent/opendir.c: Likewise.
18704 * dirent/readdir.c: Likewise.
18705 * dirent/readdir64.c: Likewise.
18706 * dirent/readdir64_r.c: Likewise.
18707 * dirent/readdir_r.c: Likewise.
18708 * dirent/rewinddir.c: Likewise.
18709 * dirent/seekdir.c: Likewise.
18710 * dirent/telldir.c: Likewise.
18711 * gmon/profil.c: Likewise.
18712 * grp/setgroups.c: Likewise.
18713 * inet/if_index.c: Likewise.
18714 * io/access.c: Likewise.
18715 * io/chdir.c: Likewise.
18716 * io/chmod.c: Likewise.
18717 * io/chown.c: Likewise.
18718 * io/close.c: Likewise.
18719 * io/dup.c: Likewise.
18720 * io/dup2.c: Likewise.
18721 * io/dup3.c: Likewise.
18722 * io/euidaccess.c: Likewise.
18723 * io/faccessat.c: Likewise.
18724 * io/fchdir.c: Likewise.
18725 * io/fchmod.c: Likewise.
18726 * io/fchmodat.c: Likewise.
18727 * io/fchown.c: Likewise.
18728 * io/fchownat.c: Likewise.
18729 * io/fcntl.c: Likewise.
18730 * io/flock.c: Likewise.
18731 * io/fstatfs.c: Likewise.
18732 * io/fstatfs64.c: Likewise.
18733 * io/fstatvfs.c: Likewise.
18734 * io/fstatvfs64.c: Likewise.
18735 * io/futimens.c: Likewise.
18736 * io/fxstat.c: Likewise.
18737 * io/fxstat64.c: Likewise.
18738 * io/fxstatat.c: Likewise.
18739 * io/fxstatat64.c: Likewise.
18740 * io/getcwd.c: Likewise.
18741 * io/isatty.c: Likewise.
18742 * io/lchmod.c: Likewise.
18743 * io/lchown.c: Likewise.
18744 * io/link.c: Likewise.
18745 * io/linkat.c: Likewise.
18746 * io/lseek.c: Likewise.
18747 * io/lseek64.c: Likewise.
18748 * io/lxstat64.c: Likewise.
18749 * io/mkdir.c: Likewise.
18750 * io/mkdirat.c: Likewise.
18751 * io/mkfifo.c: Likewise.
18752 * io/mkfifoat.c: Likewise.
18753 * io/open.c: Likewise.
18754 * io/open64.c: Likewise.
18755 * io/openat.c: Likewise.
18756 * io/openat64.c: Likewise.
18757 * io/pipe.c: Likewise.
18758 * io/pipe2.c: Likewise.
18759 * io/poll.c: Likewise.
18760 * io/posix_fadvise.c: Likewise.
18761 * io/posix_fadvise64.c: Likewise.
18762 * io/posix_fallocate.c: Likewise.
18763 * io/posix_fallocate64.c: Likewise.
18764 * io/read.c: Likewise.
18765 * io/readlink.c: Likewise.
18766 * io/readlinkat.c: Likewise.
18767 * io/rmdir.c: Likewise.
18768 * io/sendfile.c: Likewise.
18769 * io/sendfile64.c: Likewise.
18770 * io/statfs.c: Likewise.
18771 * io/statfs64.c: Likewise.
18772 * io/statvfs.c: Likewise.
18773 * io/statvfs64.c: Likewise.
18774 * io/symlink.c: Likewise.
18775 * io/symlinkat.c: Likewise.
18776 * io/ttyname.c: Likewise.
18777 * io/ttyname_r.c: Likewise.
18778 * io/umask.c: Likewise.
18779 * io/unlink.c: Likewise.
18780 * io/unlinkat.c: Likewise.
18781 * io/utime.c: Likewise.
18782 * io/utimensat.c: Likewise.
18783 * io/write.c: Likewise.
18784 * io/xmknod.c: Likewise.
18785 * io/xmknodat.c: Likewise.
18786 * io/xstat.c: Likewise.
18787 * io/xstat64.c: Likewise.
18788 * login/getpt.c: Likewise.
18789 * login/grantpt.c: Likewise.
18790 * login/unlockpt.c: Likewise.
18791 * math/e_acoshl.c: Likewise.
18792 * math/e_acosl.c: Likewise.
18793 * math/e_asinl.c: Likewise.
18794 * math/e_atan2l.c: Likewise.
18795 * math/e_atanhl.c: Likewise.
18796 * math/e_coshl.c: Likewise.
18797 * math/e_expl.c: Likewise.
18798 * math/e_fmodl.c: Likewise.
18799 * math/e_gammal_r.c: Likewise.
18800 * math/e_hypotl.c: Likewise.
18801 * math/e_j0l.c: Likewise.
18802 * math/e_j1l.c: Likewise.
18803 * math/e_jnl.c: Likewise.
18804 * math/e_lgammal_r.c: Likewise.
18805 * math/e_log10l.c: Likewise.
18806 * math/e_log2l.c: Likewise.
18807 * math/e_logl.c: Likewise.
18808 * math/e_powl.c: Likewise.
18809 * math/e_rem_pio2l.c: Likewise.
18810 * math/e_sinhl.c: Likewise.
18811 * math/e_sqrtl.c: Likewise.
18812 * math/fclrexcpt.c: Likewise.
18813 * math/fedisblxcpt.c: Likewise.
18814 * math/feenablxcpt.c: Likewise.
18815 * math/fegetenv.c: Likewise.
18816 * math/fegetexcept.c: Likewise.
18817 * math/fegetround.c: Likewise.
18818 * math/feholdexcpt.c: Likewise.
18819 * math/fesetenv.c: Likewise.
18820 * math/fesetround.c: Likewise.
18821 * math/feupdateenv.c: Likewise.
18822 * math/fgetexcptflg.c: Likewise.
18823 * math/fraiseexcpt.c: Likewise.
18824 * math/fsetexcptflg.c: Likewise.
18825 * math/ftestexcept.c: Likewise.
18826 * math/k_cosl.c: Likewise.
18827 * math/k_rem_pio2l.c: Likewise.
18828 * math/k_sinl.c: Likewise.
18829 * math/k_tanl.c: Likewise.
18830 * math/s_asinhl.c: Likewise.
18831 * math/s_atanl.c: Likewise.
18832 * math/s_cbrtl.c: Likewise.
18833 * math/s_erfl.c: Likewise.
18834 * math/s_expm1l.c: Likewise.
18835 * math/s_log1pl.c: Likewise.
18836 * math/s_tanhl.c: Likewise.
18837 * misc/acct.c: Likewise.
18838 * misc/brk.c: Likewise.
18839 * misc/chflags.c: Likewise.
18840 * misc/chroot.c: Likewise.
18841 * misc/fchflags.c: Likewise.
18842 * misc/fgetxattr.c: Likewise.
18843 * misc/flistxattr.c: Likewise.
18844 * misc/fremovexattr.c: Likewise.
18845 * misc/fsetxattr.c: Likewise.
18846 * misc/fsync.c: Likewise.
18847 * misc/ftruncate.c: Likewise.
18848 * misc/futimes.c: Likewise.
18849 * misc/futimesat.c: Likewise.
18850 * misc/getdomain.c: Likewise.
18851 * misc/getdtsz.c: Likewise.
18852 * misc/gethostid.c: Likewise.
18853 * misc/gethostname.c: Likewise.
18854 * misc/getloadavg.c: Likewise.
18855 * misc/getpagesize.c: Likewise.
18856 * misc/getsysstats.c: Likewise.
18857 * misc/getxattr.c: Likewise.
18858 * misc/gtty.c: Likewise.
18859 * misc/ioctl.c: Likewise.
18860 * misc/lgetxattr.c: Likewise.
18861 * misc/listxattr.c: Likewise.
18862 * misc/llistxattr.c: Likewise.
18863 * misc/lremovexattr.c: Likewise.
18864 * misc/lsetxattr.c: Likewise.
18865 * misc/lutimes.c: Likewise.
18866 * misc/madvise.c: Likewise.
18867 * misc/mincore.c: Likewise.
18868 * misc/mlock.c: Likewise.
18869 * misc/mlockall.c: Likewise.
18870 * misc/mmap.c: Likewise.
18871 * misc/mprotect.c: Likewise.
18872 * misc/msync.c: Likewise.
18873 * misc/munlock.c: Likewise.
18874 * misc/munlockall.c: Likewise.
18875 * misc/munmap.c: Likewise.
18876 * misc/preadv.c: Likewise.
18877 * misc/preadv64.c: Likewise.
18878 * misc/ptrace.c: Likewise.
18879 * misc/pwritev.c: Likewise.
18880 * misc/pwritev64.c: Likewise.
18881 * misc/readv.c: Likewise.
18882 * misc/reboot.c: Likewise.
18883 * misc/remap_file_pages.c: Likewise.
18884 * misc/removexattr.c: Likewise.
18885 * misc/revoke.c: Likewise.
18886 * misc/select.c: Likewise.
18887 * misc/setdomain.c: Likewise.
18888 * misc/setegid.c: Likewise.
18889 * misc/seteuid.c: Likewise.
18890 * misc/sethostid.c: Likewise.
18891 * misc/sethostname.c: Likewise.
18892 * misc/setregid.c: Likewise.
18893 * misc/setreuid.c: Likewise.
18894 * misc/setxattr.c: Likewise.
18895 * misc/sstk.c: Likewise.
18896 * misc/stty.c: Likewise.
18897 * misc/swapoff.c: Likewise.
18898 * misc/swapon.c: Likewise.
18899 * misc/sync.c: Likewise.
18900 * misc/syncfs.c: Likewise.
18901 * misc/syscall.c: Likewise.
18902 * misc/truncate.c: Likewise.
18903 * misc/ualarm.c: Likewise.
18904 * misc/usleep.c: Likewise.
18905 * misc/ustat.c: Likewise.
18906 * misc/utimes.c: Likewise.
18907 * misc/vhangup.c: Likewise.
18908 * misc/writev.c: Likewise.
18909 * posix/_exit.c: Likewise.
18910 * posix/alarm.c: Likewise.
18911 * posix/execve.c: Likewise.
18912 * posix/fexecve.c: Likewise.
18913 * posix/fork.c: Likewise.
18914 * posix/fpathconf.c: Likewise.
18915 * posix/getaddrinfo.c: Likewise.
18916 * posix/getegid.c: Likewise.
18917 * posix/geteuid.c: Likewise.
18918 * posix/getgid.c: Likewise.
18919 * posix/getgroups.c: Likewise.
18920 * posix/getlogin.c: Likewise.
18921 * posix/getlogin_r.c: Likewise.
18922 * posix/getpgid.c: Likewise.
18923 * posix/getpid.c: Likewise.
18924 * posix/getppid.c: Likewise.
18925 * posix/getresgid.c: Likewise.
18926 * posix/getresuid.c: Likewise.
18927 * posix/getsid.c: Likewise.
18928 * posix/getuid.c: Likewise.
18929 * posix/glob64.c: Likewise.
18930 * posix/nanosleep.c: Likewise.
18931 * posix/pathconf.c: Likewise.
18932 * posix/pause.c: Likewise.
18933 * posix/posix_madvise.c: Likewise.
18934 * posix/pread.c: Likewise.
18935 * posix/pread64.c: Likewise.
18936 * posix/pwrite.c: Likewise.
18937 * posix/pwrite64.c: Likewise.
18938 * posix/sched_getaffinity.c: Likewise.
18939 * posix/sched_getp.c: Likewise.
18940 * posix/sched_gets.c: Likewise.
18941 * posix/sched_primax.c: Likewise.
18942 * posix/sched_primin.c: Likewise.
18943 * posix/sched_rr_gi.c: Likewise.
18944 * posix/sched_setaffinity.c: Likewise.
18945 * posix/sched_setp.c: Likewise.
18946 * posix/sched_sets.c: Likewise.
18947 * posix/sched_yield.c: Likewise.
18948 * posix/setgid.c: Likewise.
18949 * posix/setlogin.c: Likewise.
18950 * posix/setpgid.c: Likewise.
18951 * posix/setresgid.c: Likewise.
18952 * posix/setresuid.c: Likewise.
18953 * posix/setsid.c: Likewise.
18954 * posix/setuid.c: Likewise.
18955 * posix/sleep.c: Likewise.
18956 * posix/spawni.c: Likewise.
18957 * posix/sysconf.c: Likewise.
18958 * posix/times.c: Likewise.
18959 * posix/wait.c: Likewise.
18960 * posix/wait3.c: Likewise.
18961 * posix/wait4.c: Likewise.
18962 * posix/waitpid.c: Likewise.
18963 * resolv/gai_sigqueue.c: Likewise.
18964 * resource/getpriority.c: Likewise.
18965 * resource/getrlimit.c: Likewise.
18966 * resource/getrusage.c: Likewise.
18967 * resource/nice.c: Likewise.
18968 * resource/setpriority.c: Likewise.
18969 * resource/setrlimit.c: Likewise.
18970 * resource/ulimit.c: Likewise.
18971 * rt/aio_cancel.c: Likewise.
18972 * rt/aio_fsync.c: Likewise.
18973 * rt/aio_read.c: Likewise.
18974 * rt/aio_sigqueue.c: Likewise.
18975 * rt/aio_suspend.c: Likewise.
18976 * rt/aio_write.c: Likewise.
18977 * rt/clock_getres.c: Likewise.
18978 * rt/clock_gettime.c: Likewise.
18979 * rt/clock_nanosleep.c: Likewise.
18980 * rt/clock_settime.c: Likewise.
18981 * rt/lio_listio.c: Likewise.
18982 * rt/mq_close.c: Likewise.
18983 * rt/mq_getattr.c: Likewise.
18984 * rt/mq_notify.c: Likewise.
18985 * rt/mq_open.c: Likewise.
18986 * rt/mq_receive.c: Likewise.
18987 * rt/mq_send.c: Likewise.
18988 * rt/mq_setattr.c: Likewise.
18989 * rt/mq_timedreceive.c: Likewise.
18990 * rt/mq_timedsend.c: Likewise.
18991 * rt/mq_unlink.c: Likewise.
18992 * rt/shm_open.c: Likewise.
18993 * rt/shm_unlink.c: Likewise.
18994 * rt/timer_create.c: Likewise.
18995 * rt/timer_delete.c: Likewise.
18996 * rt/timer_getoverr.c: Likewise.
18997 * rt/timer_gettime.c: Likewise.
18998 * rt/timer_settime.c: Likewise.
18999 * setjmp/__longjmp.c: Likewise.
19000 * setjmp/setjmp.c: Likewise.
19001 * signal/kill.c: Likewise.
19002 * signal/killpg.c: Likewise.
19003 * signal/raise.c: Likewise.
19004 * signal/sigaction.c: Likewise.
19005 * signal/sigaltstack.c: Likewise.
19006 * signal/sigblock.c: Likewise.
19007 * signal/sigignore.c: Likewise.
19008 * signal/sigintr.c: Likewise.
19009 * signal/signal.c: Likewise.
19010 * signal/sigpause.c: Likewise.
19011 * signal/sigpending.c: Likewise.
19012 * signal/sigqueue.c: Likewise.
19013 * signal/sigreturn.c: Likewise.
19014 * signal/sigset.c: Likewise.
19015 * signal/sigsetmask.c: Likewise.
19016 * signal/sigstack.c: Likewise.
19017 * signal/sigsuspend.c: Likewise.
19018 * signal/sigtimedwait.c: Likewise.
19019 * signal/sigvec.c: Likewise.
19020 * signal/sigwait.c: Likewise.
19021 * signal/sigwaitinfo.c: Likewise.
19022 * signal/sysv_signal.c: Likewise.
19023 * socket/accept.c: Likewise.
19024 * socket/accept4.c: Likewise.
19025 * socket/bind.c: Likewise.
19026 * socket/connect.c: Likewise.
19027 * socket/getpeername.c: Likewise.
19028 * socket/getsockname.c: Likewise.
19029 * socket/getsockopt.c: Likewise.
19030 * socket/isfdtype.c: Likewise.
19031 * socket/listen.c: Likewise.
19032 * socket/recv.c: Likewise.
19033 * socket/recvfrom.c: Likewise.
19034 * socket/recvmsg.c: Likewise.
19035 * socket/send.c: Likewise.
19036 * socket/sendmsg.c: Likewise.
19037 * socket/sendto.c: Likewise.
19038 * socket/setsockopt.c: Likewise.
19039 * socket/shutdown.c: Likewise.
19040 * socket/sockatmark.c: Likewise.
19041 * socket/socket.c: Likewise.
19042 * socket/socketpair.c: Likewise.
19043 * stdio-common/ctermid.c: Likewise.
19044 * stdio-common/cuserid.c: Likewise.
19045 * stdio-common/remove.c: Likewise.
19046 * stdio-common/rename.c: Likewise.
19047 * stdio-common/renameat.c: Likewise.
19048 * stdio-common/tempname.c: Likewise.
19049 * stdlib/getcontext.c: Likewise.
19050 * stdlib/makecontext.c: Likewise.
19051 * stdlib/setcontext.c: Likewise.
19052 * stdlib/swapcontext.c: Likewise.
19053 * stdlib/system.c: Likewise.
19054 * streams/fattach.c: Likewise.
19055 * streams/fdetach.c: Likewise.
19056 * streams/getmsg.c: Likewise.
19057 * streams/getpmsg.c: Likewise.
19058 * streams/putmsg.c: Likewise.
19059 * streams/putpmsg.c: Likewise.
19060 * sysdeps/unix/bsd/getpt.c: Likewise.
19061 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19062 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19063 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19066 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19067 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19068 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19069 * sysvipc/msgctl.c: Likewise.
19070 * sysvipc/msgget.c: Likewise.
19071 * sysvipc/msgrcv.c: Likewise.
19072 * sysvipc/msgsnd.c: Likewise.
19073 * sysvipc/semctl.c: Likewise.
19074 * sysvipc/semget.c: Likewise.
19075 * sysvipc/semop.c: Likewise.
19076 * sysvipc/semtimedop.c: Likewise.
19077 * sysvipc/shmat.c: Likewise.
19078 * sysvipc/shmctl.c: Likewise.
19079 * sysvipc/shmdt.c: Likewise.
19080 * sysvipc/shmget.c: Likewise.
19081 * termios/tcdrain.c: Likewise.
19082 * termios/tcflow.c: Likewise.
19083 * termios/tcflush.c: Likewise.
19084 * termios/tcgetattr.c: Likewise.
19085 * termios/tcgetpgrp.c: Likewise.
19086 * termios/tcsendbrk.c: Likewise.
19087 * termios/tcsetattr.c: Likewise.
19088 * termios/tcsetpgrp.c: Likewise.
19089 * time/adjtime.c: Likewise.
19090 * time/clock.c: Likewise.
19091 * time/getitimer.c: Likewise.
19092 * time/gettimeofday.c: Likewise.
19093 * time/setitimer.c: Likewise.
19094 * time/settimeofday.c: Likewise.
19095 * time/stime.c: Likewise.
19096 * time/time.c: Likewise.
19098 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
19100 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19103 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19105 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19107 2012-11-03 Joseph Myers <joseph@codesourcery.com>
19110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19111 FE_TONEAREST before applying Dekker multiplication and Knuth
19112 addition. Clear inexact exceptions and check for exact zero
19113 results afterwards.
19114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19115 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19116 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19117 * math/libm-test.inc (fma_test): Add more tests.
19118 (fma_test_towardzero): Likewise.
19119 (fma_test_downward): Likewise.
19120 (fma_test_upward): Likewise.
19121 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19123 (libc_fesetround): New macro.
19124 (libc_fesetroundf): Likewise.
19125 (libc_fesetroundl): Likewise.
19126 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19128 (libc_fesetround_387): Likewise.
19129 (libc_fesetroundf): New macro.
19130 (libc_fesetround): Likewise.
19131 (libc_fesetroundl): Likewise.
19132 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19134 (libc_fesetroundf): New macro.
19135 (libc_fesetround): Likewise.
19136 (libc_fesetroundl): Likewise.
19137 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19138 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19139 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19141 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19142 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19144 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19145 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19147 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19151 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19152 integer constant usable in #if and use that to give value to enum
19154 (FE_DIVBYZERO): Likewise.
19155 (FE_UNDERFLOW): Likewise.
19156 (FE_OVERFLOW): Likewise.
19157 (FE_INVALID): Likewise.
19158 (FE_INVALID_SNAN): Likewise.
19159 (FE_INVALID_ISI): Likewise.
19160 (FE_INVALID_IDI): Likewise.
19161 (FE_INVALID_ZDZ): Likewise.
19162 (FE_INVALID_IMZ): Likewise.
19163 (FE_INVALID_COMPARE): Likewise.
19164 (FE_INVALID_SOFTWARE): Likewise.
19165 (FE_INVALID_SQRT): Likewise.
19166 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19167 (FE_TONEAREST): Likewise.
19168 (FE_TOWARDZERO): Likewise.
19169 (FE_UPWARD): Likewise.
19170 (FE_DOWNWARD): Likewise.
19171 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19172 (FE_DIVBYZERO): Likewise.
19173 (FE_OVERFLOW): Likewise.
19174 (FE_UNDERFLOW): Likewise.
19175 (FE_INEXACT): Likewise.
19176 (FE_TONEAREST): Likewise.
19177 (FE_DOWNWARD): Likewise.
19178 (FE_UPWARD): Likewise.
19179 (FE_TOWARDZERO): Likewise.
19180 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19181 (FE_UNDERFLOW): Likewise.
19182 (FE_OVERFLOW): Likewise.
19183 (FE_DIVBYZERO): Likewise.
19184 (FE_INVALID): Likewise.
19185 (FE_TONEAREST): Likewise.
19186 (FE_TOWARDZERO): Likewise.
19187 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19188 (FE_OVERFLOW): Likewise.
19189 (FE_UNDERFLOW): Likewise.
19190 (FE_DIVBYZERO): Likewise.
19191 (FE_INEXACT): Likewise.
19192 (FE_TONEAREST): Likewise.
19193 (FE_TOWARDZERO): Likewise.
19194 (FE_UPWARD): Likewise.
19195 (FE_DOWNWARD): Likewise.
19196 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19197 (FE_DIVBYZERO): Likewise.
19198 (FE_OVERFLOW): Likewise.
19199 (FE_UNDERFLOW): Likewise.
19200 (FE_INEXACT): Likewise.
19201 (FE_TONEAREST): Likewise.
19202 (FE_DOWNWARD): Likewise.
19203 (FE_UPWARD): Likewise.
19204 (FE_TOWARDZERO): Likewise.
19206 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19208 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19210 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19212 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19213 commands. Quote $PWD.
19214 (blacklist_exports): Don't use remove_newlines. Replace "declare
19216 (remove_newlines): Remove.
19218 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19220 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19221 * stdlib/stdlib.h (atof): Moved to ...
19222 * include/bits/stdlib-float.h: Here. New file.
19223 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19224 * stdlib/bits/stdlib-float.h: New file.
19225 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19227 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19230 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19232 * conform/conformtest.pl (@headers): Add fenv.h.
19233 * conform/data/fenv.h-data: New file.
19234 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19235 include of <math/fenv.h>.
19237 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19238 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19239 && !UNIX98]. Enables tests for XOPEN2K8.
19240 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19241 POSIX2008]: Likewise.
19243 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19244 (struct rusage): Do not expect type or its members.
19247 * math/math.h (FP_NAN): Define macro to integer constant usable in
19248 #if and use that to give value to enum constant.
19249 (FP_INFINITE): Likewise.
19250 (FP_ZERO): Likewise.
19251 (FP_SUBNORMAL): Likewise.
19252 (FP_NORMAL): Likewise.
19254 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19256 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19257 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19260 2012-11-02 Roland McGrath <roland@hack.frob.com>
19262 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19263 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19264 autoconf-time if not.
19265 * configure.in: Remove AC_PREREQ.
19267 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19269 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19270 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19271 of the internal implementation.
19273 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19275 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19276 except include of <misc/sys/syslog.h>.
19278 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19281 function returns with a NULL context exit with zero.
19283 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19285 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19287 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19289 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19290 (run_program_cmd): This.
19291 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19292 (tst_langinfo): New variable. Use it.
19294 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19296 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19297 floating point opcodes.
19299 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19301 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19304 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19306 * sysdeps/mach/hurd/powerpc: Remove directory.
19307 * sysdeps/mach/powerpc: Likewise.
19309 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19311 * scripts/check-local-headers.sh: Ignore c++ headers.
19313 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19315 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19316 __libc_cleanup_region_start argument.
19318 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19323 x * y using scaling, not as x * y + z.
19324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19326 * math/libm-test.inc (fma_test): Add more tests.
19327 (fma_test_towardzero): Likewise.
19328 (fma_test_downward): Likewise.
19329 (fma_test_upward): Likewise.
19331 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19333 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19335 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19337 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19340 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19342 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19344 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19351 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19354 Fix the order of the list for glibc 2.17.
19355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19358 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19362 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19365 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19366 for low part of x being zero before using __atanl (y).
19367 * math/libm-test.inc (atan2_test): Add another test.
19369 * manual/install.texi (Configuring and compiling): Document
19370 general use of test-wrapper and test-wrapper-env.
19371 * INSTALL: Regenerated.
19373 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19374 (__fma): Do not extract and scale down low bits on after-rounding
19375 systems when result rounded to normal precision would have normal
19377 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19378 (__fmal): Do not extract and scale down low bits on after-rounding
19379 systems when result rounded to normal precision would have normal
19381 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19382 (__fmal): Do not extract and scale down low bits on after-rounding
19383 systems when result rounded to normal precision would have normal
19385 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19387 (fma_test): Add more tests.
19388 (fma_test_towardzero): Likewise.
19389 (fma_test_downward): Likewise.
19390 (fma_test_upward): Likewise.
19392 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19394 * sysdeps/i386/tininess.h: Renamed to ...
19395 * sysdeps/x86/tininess.h: This.
19396 * sysdeps/x86_64/tininess.h: Removed.
19398 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19400 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19401 input. Use $(build-program-cmd).
19402 ($(objpfx)tst-array1-static.out): Likewise.
19403 ($(objpfx)tst-array2.out): Likewise.
19404 ($(objpfx)tst-array3.out): Likewise.
19405 ($(objpfx)tst-array4.out): Likewise.
19406 ($(objpfx)tst-array5.out): Likewise.
19407 ($(objpfx)tst-array5-static.out): Likewise.
19409 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19411 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19414 * nss/nsswitch.h (nss_interface_function): Provide new
19415 macro for use with NSS functions.
19416 * grp/initgroups.c: Use new macro.
19417 * nss/getXXbyYY.c: Likewise.
19418 * nss/getXXbyYY_r.c: Likewise.
19419 * nss/getXXent.c: Likewise.
19420 * nss/getXXent_r.c: Likewise.
19421 * sysdeps/posix/getaddrinfo.c: Likewise.
19423 2012-10-30 Andreas Jaeger <aj@suse.de>
19425 * po/ru.po: Update Russion translation from translation project.
19427 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19432 result and shift together with sticky bit instead of replicating
19433 round-to-nearest rounding.
19434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19435 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19436 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19437 missing underflow exceptions.
19438 (fma_test_towardzero): Add more tests.
19439 (fma_test_downward): Likewise.
19440 (fma_test_upward): Likewise.
19443 * sysdeps/generic/tininess.h: New file.
19444 * sysdeps/i386/tininess.h: Likewise.
19445 * sysdeps/sh/tininess.h: Likewise.
19446 * sysdeps/x86_64/tininess.h: Likewise.
19447 * stdlib/tst-strtod-underflow.c: Likewise.
19448 * stdlib/tst-tininess.c: Likewise.
19449 * stdlib/strtod_l.c: Include <tininess.h>.
19450 (round_and_return): Do not set errno for exact underflow cases.
19451 Force an underflow exception when setting errno for underflow.
19452 Determine underflow based on rounding to normal precision if
19453 TININESS_AFTER_ROUNDING.
19454 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19455 ERANGE for exact underflow cases.
19456 * stdlib/Makefile (tests): Add tst-tininess and
19457 tst-strtod-underflow.
19458 ($(objpfx)tst-tininess): Use $(link-libm).
19459 ($(objpfx)tst-strtod-underflow): Likewise.
19461 2012-10-30 Andreas Jaeger <aj@suse.de>
19464 * elf/Makefile (tests): Remove conditional for have-initfini-array
19465 since this is now always required and the variable does not exist
19467 (tests-static): Likewise.
19468 (modules-names): Likewise.
19470 * po/eo.po: Add Esperanto translation from translation project.
19472 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19473 merged with constructor/destructor.
19474 (init_array): Likewise.
19475 * elf/tst-array2dep.c (fini_array): Likewise.
19476 (init_array): Likewise.
19478 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19480 * manual/message.texi: Delete @cartouche tags.
19482 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19484 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19486 * sysdeps/mach/hurd/fsync.c: Likewise.
19488 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19489 [_POSIX_REALTIME_SIGNALS]: Change condition to
19490 [_POSIX_REALTIME_SIGNALS > 0].
19492 2012-10-27 Andreas Jaeger <aj@suse.de>
19494 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19495 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19497 [__WORDSIZE != 64]: Likewise.
19499 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19501 * iconvdata/tst-table.sh: Remove ${SHELL}.
19502 * iconvdata/tst-tables.sh: Likewise.
19504 2012-10-25 David S. Miller <davem@davemloft.net>
19506 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19507 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19513 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19514 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19517 2012-10-25 Roland McGrath <roland@hack.frob.com>
19519 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19520 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19523 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19524 Jim Blandy <jimb@codesourcery.com>
19526 * scripts/cross-test-ssh.sh: New file.
19527 * manual/install.texi (Configuring and compiling): Document use of
19529 * INSTALL: Regenerated.
19531 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19533 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19536 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19538 * Makeconfig (run-program-prefix): Fix comment.
19540 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19541 Jim Blandy <jimb@codesourcery.com>
19543 * Makeconfig (test-wrapper): New variable,
19544 (test-wrapper-env): Likewise.
19545 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19546 (run-built-tests): Define to yes.
19547 (run-program-prefix): Use $(test-wrapper).
19548 (built-program-cmd): Likewise.
19549 * Rules (make-test-out): Use $(test-wrapper-env) and
19550 $(host-built-program-cmd).
19551 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19552 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19554 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19555 $(test-wrapper-env) to tst-rtld-load-self.sh.
19556 ($(objpfx)order2.out): Use $(test-wrapper).
19557 ($(objpfx)tst-initorder.out): Likewise.
19558 ($(objpfx)tst-initorder2.out): Likewise.
19559 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19560 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19561 (test_wrapper_env): New variable. Use it to run ld.so.
19562 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19563 Use it to run ld.so.
19564 (test_wrapper_env): Likewise.
19565 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19566 $(test-wrapper) to run-iconv-test.sh.
19567 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19568 (ICONV): Use $test_wrapper.
19569 * posix/Makefile ($(objpfx)globtest.out): Pass
19570 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19571 globtest.sh, not $(run-program-prefix).
19572 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19573 (test_wrapper): Likewise.
19574 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19575 set together with run_via_rtld_prefix.
19576 (run_program_prefix): Define in terms of test_wrapper and
19577 run_via_rtld_prefix.
19579 2012-10-24 Roland McGrath <roland@hack.frob.com>
19581 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19582 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19586 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19587 Declare __clock_getres, __clock_gettime, __clock_settime,
19588 __clock_nanosleep, and __clock_getcpuclockid.
19589 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19590 Remove librt_hidden_def (clock_gettime).
19591 * sysdeps/unix/clock_gettime.c: Likewise.
19592 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19593 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19594 * rt/clock_getres.c: Define __clock_getres as an alias.
19595 * sysdeps/posix/clock_getres.c: Likewise.
19596 * rt/clock_settime.c: Define __clock_settime as an alias.
19597 * sysdeps/unix/clock_settime.c: Likewise.
19598 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19599 * sysdeps/unix/clock_nanosleep.c: Likewise.
19600 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19601 * rt/clock-compat.c: New file.
19602 * rt/Makefile (librt-routines): Add clock-compat and move
19603 $(clock-routines) to ...
19604 (routines): ... here, new variable.
19605 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19606 Don't add get_clockfreq here.
19607 * rt/Versions (libc: GLIBC_2.17): New version set.
19608 Add clock_* symbols here.
19609 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19610 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19611 (GLIBC_2.17): Add clock_* symbols.
19612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19623 * NEWS: Mention the move.
19625 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19626 Use __open, __read, __close rather than their public counterparts.
19627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19628 (__get_clockfreq_via_cpuinfo): Likewise.
19629 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19630 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19632 * config.h.in (HAVE_IFUNC): New #undef.
19633 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19635 * configure: Regenerated.
19637 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19639 * configure.in: Move READELF check to start of file.
19640 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19641 libc_cv_asm_gnu_indirect_function in the process.
19642 * configure: Regenerated.
19644 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19646 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19647 send the output to /dev/null.
19648 (libc_cv_cc_with_libunwind): Likewise.
19649 (libc_cv_as_noexecstack): Likewise.
19650 * configure: Regenerate.
19652 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19654 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19656 * posix/globtest.sh (TMPDIR): Do not set.
19657 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19658 (testout): Likewise.
19660 2012-10-24 Andreas Jaeger <aj@suse.de>
19662 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19663 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19664 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19665 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19666 posix_fadvise64, posix_fallocate64.
19668 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19669 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19670 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19672 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19674 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19677 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19678 <bits/fcntl-linux.h>.
19679 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19682 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19683 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19684 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19685 [__WORDSIZE != 64]: Likewise.
19687 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19689 * Makeconfig (run-built-tests): New variable.
19690 * Rules [$(cross-compiling) = yes]: Change condition to
19691 [$(run-built-tests) = no].
19692 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19693 to [$(run-built-tests) = yes].
19694 * elf/Makefile [$(cross-compiling) = no]: Likewise
19695 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19696 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19697 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19698 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19699 * io/Makefile [$(cross-compiling) = no]: Likewise.
19700 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19701 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19702 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19703 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19704 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19705 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19706 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19707 * string/Makefile [$(cross-compiling) = no]: Likewise.
19709 * posix/Makefile ($(objpfx)globtest.out): Pass
19710 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19711 $(rtld-installed-name).
19712 * posix/globtest.sh (elf_objpfx): Remove variable.
19713 (rtld_installed_name): Likewise.
19714 (library_path): Likewise.
19715 (run_program_prefix): New variable. Use for running globtest
19718 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19719 Joseph Myers <joseph@codesourcery.com>
19721 * Makeconfig (host-built-program-cmd): New variable.
19722 * elf/Makefile (tst-stackguard1-ARGS): Use
19723 $(host-built-program-cmd).
19724 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19725 (tst-spawn-ARGS): Likewise.
19726 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19728 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19729 Jim Blandy <jimb@codesourcery.com>
19731 * Makeconfig (run-via-rtld-prefix): New variable.
19732 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19733 (built-program-cmd): Likewise.
19735 2012-10-22 Andreas Jaeger <aj@suse.de>
19737 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19738 __O_RSYNC if it exists, otherwise to O_SYNC.
19740 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19741 Joseph Myers <joseph@codesourcery.com>
19743 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19745 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19747 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19750 2012-10-22 Andreas Jaeger <aj@suse.de>
19752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19754 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19757 bits/fcntl-linux.h.
19759 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19760 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19767 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19768 Joseph Myers <joseph@codesourcery.com>
19770 * config.make.in (NM): New variable.
19772 2012-10-21 Andreas Jaeger <aj@suse.de>
19774 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19775 definitions and declarations that are provided by
19776 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19778 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19781 * elf/Makefile (tests-static): Add tst-leaks1-static.
19782 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19783 ($(objpfx)tst-leaks1-static): New rule.
19784 ($(objpfx)tst-leaks1-static-mem): Likewise.
19785 (tst-leaks1-static-ENV): New macro.
19786 * elf/dl-open.c (dl_open_worker): Check the main application
19787 only if SHARED is defined.
19788 * elf/tst-leaks1-static.c: New file.
19790 2012-10-20 Andreas Jaeger <aj@suse.de>
19792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19793 generic values for Linux.
19794 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19795 and declarations that are provided by <bits/fcntl-linux.h> and
19796 include <bits/fcntl-linux.h>.
19797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19798 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19800 2012-10-20 Roland McGrath <roland@hack.frob.com>
19802 * io/fcntl.h: Move include of <bits/types.h> to the top and
19803 include it unconditionally.
19805 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19807 * wcsmbs/Makefile (tests-ifunc): New variable.
19808 (tests): Add $(tests-ifunc).
19809 * wcsmbs/test-wcschr-ifunc.c: New file.
19810 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19811 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19812 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19813 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19814 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19816 * string/Makefile (tests-ifunc): New variable.
19817 (tests): Add $(tests-ifunc).
19818 * string/test-memccpy.c (TEST_NAME): New macro.
19819 * string/test-memchr.c (TEST_NAME): Likewise.
19820 * string/test-memcmp.c (TEST_NAME): Likewise.
19821 * string/test-memcpy.c (TEST_NAME): Likewise.
19822 * string/test-memmem.c (TEST_NAME): Likewise.
19823 * string/test-memmove.c (TEST_NAME): Likewise.
19824 * string/test-memset.c (TEST_NAME): Likewise.
19825 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19826 * string/test-stpcpy.c (TEST_NAME): Likewise.
19827 * string/test-stpncpy.c (TEST_NAME): Likewise.
19828 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19829 * string/test-strcasestr.c (TEST_NAME): Likewise.
19830 * string/test-strcat.c (TEST_NAME): Likewise.
19831 * string/test-strchr.c (TEST_NAME): Likewise.
19832 * string/test-strcmp.c(TEST_NAME): Likewise.
19833 * string/test-strcpy.c (TEST_NAME): Likewise.
19834 * string/test-strcspn.c (TEST_NAME): Likewise.
19835 * string/test-strlen.c (TEST_NAME): Likewise.
19836 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19837 * string/test-strncmp.c (TEST_NAME): Likewise.
19838 * string/test-strncpy.c (TEST_NAME): Likewise.
19839 * string/test-strnlen.c (TEST_NAME): Likewise.
19840 * string/test-strpbrk.c (TEST_NAME): Likewise.
19841 * string/test-strrchr.c (TEST_NAME): Likewise.
19842 * string/test-strspn.c (TEST_NAME): Likewise.
19843 * string/test-strstr.c (TEST_NAME): Likewise.
19844 * string/test-bcopy-ifunc.c: New file.
19845 * string/test-bzero-ifunc.c: Likewise.
19846 * string/test-memccpy-ifunc.c: Likewise.
19847 * string/test-memchr-ifunc.c: Likewise.
19848 * string/test-memcmp-ifunc.c: Likewise.
19849 * string/test-memcpy-ifunc.c: Likewise.
19850 * string/test-memmem-ifunc.c: Likewise.
19851 * string/test-memmove-ifunc.c: Likewise.
19852 * string/test-mempcpy-ifunc.c: Likewise.
19853 * string/test-memset-ifunc.c: Likewise.
19854 * string/test-rawmemchr-ifunc.c: Likewise.
19855 * string/test-stpcpy-ifunc.c: Likewise.
19856 * string/test-stpncpy-ifunc.c: Likewise.
19857 * string/test-strcasecmp-ifunc.c: Likewise.
19858 * string/test-strcasestr-ifunc.c: Likewise.
19859 * string/test-strcat-ifunc.c: Likewise.
19860 * string/test-strchr-ifunc.c: Likewise.
19861 * string/test-strchrnul-ifunc.c: Likewise.
19862 * string/test-strcmp-ifunc.c: Likewise.
19863 * string/test-strcpy-ifunc.c: Likewise.
19864 * string/test-strcspn-ifunc.c: Likewise.
19865 * string/test-strlen-ifunc.c: Likewise.
19866 * string/test-strncasecmp-ifunc.c: Likewise.
19867 * string/test-strncat-ifunc.c: Likewise.
19868 * string/test-strncmp-ifunc.c: Likewise.
19869 * string/test-strncpy-ifunc.c: Likewise.
19870 * string/test-strnlen-ifunc.c: Likewise.
19871 * string/test-strpbrk-ifunc.c: Likewise.
19872 * string/test-strrchr-ifunc.c: Likewise.
19873 * string/test-strspn-ifunc.c: Likewise.
19874 * string/test-strstr-ifunc.c: Likewise.
19876 * debug/Makefile (tests-ifunc): New variable.
19877 (tests): Add $(tests-ifunc).
19878 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19879 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19880 * debug/test-stpcpy_chk-ifunc.c: New file.
19881 * debug/test-strcpy_chk-ifunc.c: Likewise.
19883 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19886 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19887 header is not read in.
19889 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19891 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19892 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19893 directly. Pass built executable to script as
19894 $(built-program-cmd).
19895 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19896 $testprogram without using LD_LIBRARY_PATH and $ldso.
19898 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19899 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19900 $(rtld-installed-name).
19901 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19902 (rtld_installed_name): Likewise.
19903 (library_path): Likewise.
19904 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19905 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19906 $(run-program-prefix) to tst-tables.sh.
19907 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19908 it to run tst-table-from and tst-table-to.
19909 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19910 Pass it to tst-table.sh.
19911 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19912 $(run-program-prefix) to tst-gettext.sh.
19913 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19915 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19917 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19918 to run tst-gettext.
19919 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19920 to run tst-gettext2.
19921 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19922 to run tst-translit.
19923 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19924 $(run-program-prefix) to tst-mtrace.sh.
19925 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19927 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19928 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19929 $(rtld-installed-name).
19930 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19931 (rtld_installed_name): Likewise.
19932 (run_program_prefix): New variable. Use it to run wordexp-test.
19934 * Makeconfig (ARCH): Remove all definitions.
19935 (machine): Likewise.
19936 [ARCH]: Remove conditional code.
19937 [!objdir]: Give error.
19938 [!objdir] (objpfx): Remove.
19939 [!objdir] (common-objpfx): Likewise.
19940 [!objdir] (common-objdir): Likewise.
19941 * configure.in (config_makefile): Remove. Hardcode Makefile in
19942 AC_CONFIG_FILES call.
19943 * configure: Regenerated.
19946 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19948 (testout): Likewise.
19950 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19951 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19952 $(rtld-installed-name).
19953 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19954 (rtld_installed_name): Likwise.
19955 (runit): Remove function.
19956 (run_getconf): New variable, Use it for running getconf binary.
19958 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19961 * string/test-memmem.c (check_result): New function.
19962 (do_one_test): Use it.
19963 (check1): New function.
19964 (test_main): Use it.
19966 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19968 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19970 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19972 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19973 (_G_LSEEK64): Likewise.
19974 (_G_MMAP64): Likewise.
19975 (_G_FSTAT64): Likewise.
19976 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19977 (_G_LSEEK64): Likewise.
19978 (_G_MMAP64): Likewise.
19979 (_G_FSTAT64): Likewise.
19980 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19981 unconditional. Call __mmap64 directly.
19982 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19983 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19984 __lseek64 directly.
19985 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19986 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19988 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19989 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19990 __lseek64 directly.
19991 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19992 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19993 __lseek64 directly.
19994 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19995 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19996 __lseek64 directly.
19997 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19998 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19999 __fxstat64 directly.
20000 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20001 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20003 (freopen64) [!_G_OPEN64]: Remove conditional code.
20004 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20006 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20007 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20009 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20010 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20012 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20013 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20015 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20016 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20018 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20019 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20021 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20022 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20024 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20026 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20029 * manual/memory.texi (Malloc Tunable Parameters): Add note
20030 about free list pointers overwriting some perturb bytes.
20031 Wording suggested by Roland McGrath.
20033 2012-10-17 Joseph Myers <joseph@codesourcery.com>
20035 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20036 (lgamma_test): Likewise.
20037 (tgamma_test): Likewise.
20039 2012-10-16 Florian Weimer <fweimer@redhat.com>
20042 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20043 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20045 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20047 * NEWS: Mention BZ #14716.
20048 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20049 when removing AVAILABLE1_USES_J macro.
20051 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20053 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20054 (__bswap_64): __uint64_t for unsigned 64-bit int.
20056 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20058 * include/string.h (memmem): Declare libc hidden alias.
20059 * string/memmem.c (memmem): Define libc hidden alias.
20060 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20061 __read, __close instead of open, read, close.
20063 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20065 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20066 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20068 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20069 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20070 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20072 (__rawmemchr_sse2): Likewise.
20073 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20074 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20075 (__strchr_sse2): Likewise.
20076 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20077 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20078 (__strcasecmp_sse2): Likewise.
20079 (__strncasecmp_sse2): Likewise.
20080 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20081 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20082 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20083 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20084 (__strrchr_sse2): Likewise.
20085 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20087 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20088 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20089 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20090 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20091 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20092 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20093 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20094 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20095 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20096 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20097 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20098 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20099 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20100 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20101 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20102 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20103 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20104 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20105 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20106 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20107 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20108 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20109 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20110 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20111 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20112 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20113 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20114 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20115 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20116 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20118 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20120 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20121 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20122 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20123 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20125 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20127 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20128 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20129 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20130 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20132 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20133 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20134 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20135 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20136 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20137 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20138 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20139 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20140 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20141 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20142 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20143 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20144 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20145 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20146 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20147 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20148 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20149 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20150 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20151 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20152 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20153 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20154 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20155 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20156 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20157 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20158 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20159 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20160 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20161 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20162 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20163 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20164 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20165 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20166 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20167 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20168 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20169 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20170 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20171 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20172 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20174 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20175 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20176 * include/ifunc-impl-list.h: New file.
20177 * misc/ifunc-impl-list.c: Likewise.
20178 * misc/Makefile (routines): Add ifunc-impl-list.
20179 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20180 * string/test-string.h: Include <ifunc-impl-list.h>.
20181 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20182 impl_array): New variables.
20183 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20185 (test_init): Call __libc_ifunc_impl_list to initialize
20186 func_list if TEST_IFUNC and TEST_NAME are defined.
20188 * string/Makefile (strop-tests): Add bcopy and bzero.
20189 * string/test-bcopy.c: New file.
20190 * string/test-bzero.c: Likewise.
20191 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20193 * string/test-memset.c: Support bzero test if TEST_BZERO is
20195 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20197 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20199 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20202 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20204 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20205 * configure: Regenerated.
20207 * Makeconfig (+link-static-before-libc): Don't include
20208 $(link-static-libc).
20210 * libio/libio.h (_IO_pos_t): Remove.
20212 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20214 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20217 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20219 * crypt/crypt-entry.c: Include fips-private.h.
20220 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20221 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20222 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20223 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20225 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20227 * crypt/crypt-private.h: Include stdbool.h.
20228 (_ufc_setup_salt_r): Return bool.
20229 * crypt/crypt-entry.c: Include errno.h.
20230 (__crypt_r): Return NULL with EINVAL for bad salt.
20231 * crypt/crypt_util.c (bad_for_salt): New.
20232 (_ufc_setup_salt_r): Check that salt is long enough and within
20233 the specified alphabet.
20234 * crypt/badsalttest.c: New file.
20235 * crypt/Makefile (tests): Add it.
20236 ($(objpfx)badsalttest): New.
20238 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20240 * NEWS: Add entry for BZ #14602.
20242 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20244 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20246 * math/libm-test.inc: Update comment listing what functions and
20248 (isgreater_test): New function.
20249 (isgreaterequal_test): Likewise.
20250 (isless_test): Likewise.
20251 (islessequal_test): Likewise.
20252 (islessgreater_test): Likewise.
20253 (isunordered_test): Likewise.
20254 (main): Call the new functions.
20256 2012-10-09 Roland McGrath <roland@hack.frob.com>
20258 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20259 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20260 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20261 * sysdeps/i386/configure: Regenerated.
20262 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20263 * sysdeps/mach/configure: Regenerated.
20264 * sysdeps/mach/hurd/configure: Regenerated.
20265 * sysdeps/powerpc/configure: Regenerated.
20266 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20267 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20268 * sysdeps/s390/s390-32/configure: Regenerated.
20269 * sysdeps/s390/s390-64/configure: Regenerated.
20270 * sysdeps/sh/configure: Regenerated.
20271 * sysdeps/sparc/configure: Regenerated.
20272 * sysdeps/unix/sysv/linux/configure: Regenerated.
20273 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20274 * sysdeps/x86_64/configure: Regenerated.
20276 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20277 defined. Don't check if MAP is NULL.
20279 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20281 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20282 (_G_stat64): Likewise.
20283 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20284 (_G_stat64): Likewise.
20285 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20286 instead of struct _G_stat64.
20287 * libio/fileops.c (mmap_remap_check): Likewise.
20288 (decide_maybe_mmap): Likewise.
20289 (_IO_new_file_seekoff): Likewise.
20290 (_IO_file_stat): Likewise.
20291 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20293 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20294 instead of struct _G_stat64.
20295 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20297 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20300 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20302 (CHECK_EOL): New macro.
20303 (two_way_short_needle): Check beginning of haystack for EOL. Use
20305 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20306 Replace with CHECK_EOL.
20307 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20308 Replace with CHECK_EOL.
20310 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20312 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20314 * math/libm-test.inc: Update comment listing what functions and
20316 (finite_test): New function.
20317 (isinf_test): Likewise.
20318 (isnan_test): Likewise.
20319 (fpclassify_test): Test subnormal input.
20320 (isfinite_test): Likewise.
20321 (isnormal_test): Likewise.
20322 (main): Call the new functions.
20324 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20327 * Makerules (%.dynsym): Force C locale when running
20328 $(OBJDUMP) --dynamic-syms.
20330 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20332 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20335 2012-10-06 David S. Miller <davem@davemloft.net>
20337 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20338 upper 32-bits of the length value in %o2 since we use branch-on-register
20339 tests which consider the entire 64-bit register.
20341 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20343 * string/test-strstr.c (check2): Add a test for page boundary.
20345 2012-10-05 David S. Miller <davem@davemloft.net>
20347 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20348 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20350 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20352 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20353 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20354 and bzero when HWCAP_SPARC_CRYPTO is present.
20356 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20359 * string/test-strstr.c (check2): New function.
20360 (test_main): Call check2.
20362 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20364 * string/bug-strcasestr1.c (do_test): Moved to ...
20365 * string/test-strcasestr.c (check1): Here. New function.
20366 (do_one_test): Break out result checking code into ...
20367 (check_result): This. New function.
20368 (do_one_test): Call check_result.
20369 (test_main): Call check1.
20370 * string/bug-strchr1.c (do_test): Moved to ...
20371 * string/test-strchr.c (check1): Here. New function.
20372 (do_one_test): Break out result checking code into ...
20373 (check_result): This. New function.
20374 (do_one_test): Call check_result.
20375 (test_main): Call check1.
20376 * string/bug-strstr1.c (main): Moved to ...
20377 * string/test-strstr.c (check1): Here. New function.
20378 (do_one_test): Break out result checking code into ...
20379 (check_result): This. New function.
20380 (do_one_test): Call check_result.
20381 (test_main): Call check1.
20382 * string/bug-strcasestr1.c: Removed.
20383 * string/bug-strchr1.c: Likewise.
20384 * string/bug-strstr1.c: Likewise.
20386 * elf/Makefile (dl-routines): Add hwcaps.
20387 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20388 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20389 (_dl_important_hwcaps): Moved to ...
20390 * elf/dl-hwcaps.c: Here. New file.
20391 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20394 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20395 if IS_IN_rtld isn't defined.
20397 * elf/dl-support.c (_dl_sysinfo_map): New.
20398 Include "get-dynamic-info.h" and "setup-vdso.h".
20399 (_dl_non_dynamic_init): Call setup_vdso.
20400 * elf/dynamic-link.h: Don't include <assert.h>.
20401 (elf_get_dynamic_info): Moved to ...
20402 * elf/get-dynamic-info.h: Here. New file.
20403 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20404 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20405 * elf/setup-vdso.h: Here. New file.
20406 * elf/rtld.c: Include "setup-vdso.h".
20407 (dl_main): Call setup_vdso.
20409 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20411 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20412 creal in comment listing functions tested. List finite, isinf,
20413 isnan, isless, islessequal, isgreater, isgreaterequal,
20414 islessgreater, isunordered, lgamma_r and pow10 as functions and
20415 macros not tested. Mention which functions not tested are aliases
20416 for other functions. Fix typo. Note that signs of NaNs are not
20419 * scripts/config.guess: Update from config.git.
20420 * scripts/config.sub: Likewise.
20422 2012-10-04 Roland McGrath <roland@hack.frob.com>
20424 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20425 * misc/madvise.c (madvise): Renamed to __madvise.
20426 Make madvise a weak alias.
20427 * include/sys/mman.h: Declare __madvise.
20428 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20429 * sysdeps/unix/syscalls.list
20430 (madvise): Make __madvise the strong name, and madvise a weak alias.
20431 * sysdeps/unix/sysv/linux/syscalls.list
20432 (madvise, mmap): Remove redundant entries.
20433 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20434 * malloc/malloc.c (mtrim): Likewise.
20435 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20437 2012-10-03 Roland McGrath <roland@hack.frob.com>
20439 * sysdeps/mach/hurd/dl-cache.c: File removed.
20440 * config.h.in (USE_LDCONFIG): New #undef.
20441 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20442 * configure: Regenerated.
20443 * elf/Makefile (dl-routines): Add dl-cache only under
20444 [$(use-ldconfig) = yes].
20445 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20446 cache on [USE_LDCONFIG].
20447 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20449 * elf/rtld.c (dl_main): Likewise.
20451 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20453 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20454 _SC_LEVEL4_CACHE_LINESIZE.
20456 2012-10-03 Roland McGrath <roland@hack.frob.com>
20458 * sysdeps/unix/bsd/confstr.h: File removed.
20460 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20462 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20465 2012-10-02 Roland McGrath <roland@hack.frob.com>
20467 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20468 Make 'mapoff' field ElfW(Off) rather than off_t.
20470 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20472 * nscd/Makefile: Remove nscd-cflags and all its users.
20473 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20474 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20477 * malloc.c (malloc_printerr): Clarify error message.
20479 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20483 Set bit_FMA_Usable if FMA is supported.
20484 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20486 (bit_FMA4_Usable): Updated.
20487 (index_FMA_Usable): New macro.
20488 (CPUID_FMA): Likewise
20489 (HAS_FMA): Defined with bit_FMA_Usable.
20491 2012-10-01 Roland McGrath <roland@hack.frob.com>
20493 * bits/types.h (__swblk_t): Type removed.
20494 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20495 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20496 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20497 (__SWBLK_T_TYPE): Likewise.
20498 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20499 (__SWBLK_T_TYPE): Likewise.
20500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20501 (__SWBLK_T_TYPE): Likewise.
20502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20503 (__SWBLK_T_TYPE): Likewise.
20505 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20506 Honza Horak <hhorak@redhat.com>
20508 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20509 (xdr_mapname): Use YPMAXMAP as maxsize.
20510 (xdr_peername): Use YPMAXPEER as maxsize.
20511 (xdr_keydat): Use YPAXRECORD as maxsize.
20512 (xdr_valdat): Use YPMAXRECORD as maxsize.
20514 2012-10-01 Roland McGrath <roland@hack.frob.com>
20516 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20518 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20519 * csu/init-first.c: ... here.
20520 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20521 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20522 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20523 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20524 * sysdeps/i386/init-first.c: File removed.
20525 * sysdeps/sh/init-first.c: File removed.
20527 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20531 if x * y might underflow to zero and z is zero.
20532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20534 * math/libm-test.inc (min_subnorm_value): New variable.
20535 (fma_test): Add more tests.
20536 (fma_test_towardzero): Likewise.
20537 (fma_test_downward): Likewise
20538 (fma_test_upward): Likewise.
20539 (initialize): Set min_subnorm_value.
20541 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20544 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20546 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20547 mode for addition resulting in exact zero.
20548 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20551 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20552 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20553 * math/libm-test.inc (fma_test): Add more tests.
20554 (fma_test_towardzero): New function.
20555 (fma_test_downward): Likewise.
20556 (fma_test_upward): Likewise.
20557 (main): Call the new functions.
20559 2012-09-28 David S. Miller <davem@davemloft.net>
20561 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20563 2012-09-28 Roland McGrath <roland@hack.frob.com>
20565 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20566 instead of SIGALRM.
20568 * sysdeps/gnu/_G_config.h: Moved to ...
20569 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20570 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20571 * sysdeps/generic/_G_config.h: ... here.
20573 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20575 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20577 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20578 Conditionalize target on [libnss_test1.so-version].
20580 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20582 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20583 (elfobjdir): Move out of conditionals.
20585 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20586 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20587 (__nss_lookup_function): Conditionalize label remove_from_tree on
20588 [!DO_STATIC_NSS || SHARED], matching its only use.
20590 2012-09-28 David S. Miller <davem@davemloft.net>
20592 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20593 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20595 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20597 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20599 when HWCAP_SPARC_CRYPTO is present.
20601 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20603 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20605 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20608 * stdio-common/vfprintf.c (process_string_arg): Revert
20611 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20613 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20615 * stdio-common/tst-sprintf.c: Include <locale.h>
20616 (main): Test sprintf's handling of incomplete multibyte
20619 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20621 * elf/dl-runtime.c (VERSYMIDX): Removed.
20622 * elf/dl-version.c (VERSYMIDX): Likewise.
20623 * elf/do-rel.h (VERSYMIDX): Likewise.
20624 (VALIDX): Likewise.
20625 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20626 * elf/rtld.c (VALIDX): Likewise.
20627 (ADDRIDX): Likewise.
20628 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20629 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20630 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20631 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20632 (VALIDX): Likewise.
20633 (ADDRIDX): Likewise.
20635 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20637 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20639 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20642 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20644 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20645 addresses are in the same scope as 192.0.2/24.
20646 * posix/gai.conf: Document new scope table defaults.
20648 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20651 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20652 for ftell. Compute offsets from write pointers instead.
20653 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20655 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20658 * libio/Makefile (tests): New test case tst-fseek.
20659 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20660 combination works in wide mode.
20661 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20662 state when the external buffer state changes.
20664 2012-09-27 David S. Miller <davem@davemloft.net>
20667 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20668 pass reloc->r_addend in as the 'high' argument to
20669 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20673 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20675 * rt/tst-aio2.c: Include <pthread.h>.
20676 * rt/tst-aio3.c: Likewise.
20678 2012-09-27 Steve Ellcey <sellcey@mips.com>
20680 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20682 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20684 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20685 contents on [SHARED].
20687 2012-09-26 Marek Polacek <polacek@redhat.com>
20691 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20692 for C++ and GCC <4.3 as well as for non GCC compilers.
20694 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20698 2012-09-25 Roland McGrath <roland@hack.frob.com>
20700 * Makefile.in (all, install): Declare with .PHONY.
20701 Reported by Michael Hope <michael.hope@linaro.org>.
20703 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20705 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20706 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20708 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20710 (sydep_routines): Add the new and the internal functions.
20711 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20712 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20714 (GLIBC_2.17): Add the new function.
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20716 (GLIBC_2.17): Likewise.
20717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20718 (GLIBC_2.17): Likewise.
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20720 (GLIBC_2.17): Likewise.
20721 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20723 2012-09-25 Alan Modra <amodra@gmail.com>
20725 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20726 Add release barrier before setting once_control to say
20727 initialisation is done. Add hints on lwarx. Use macro in
20729 (clear_once_control): Add release barrier.
20731 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20734 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20736 * math/s_clog10.c (__clog10): Likewise.
20737 * math/s_clog10f.c (__clog10f): Likewise.
20738 * math/s_clog10l.c (__clog10l): Likewise.
20739 * math/s_clogf.c (__clogf): Likewise.
20740 * math/s_clogl.c (__clogl): Likewise.
20741 * math/Makefile (libm-calls): Add x2y2m1.
20742 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20743 (__x2y2m1): Likewise.
20744 (__x2y2m1l): Likewise.
20745 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20746 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20747 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20748 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20749 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20750 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20751 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20752 * sysdeps/i386/fpu/libm-test-ulps: Update.
20753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20756 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20757 int as type of variable DEPTH.
20758 (glob): Use size_t instead of int as type of variables NEWCOUNT
20761 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20763 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20764 Add s_sincosf-sse2.
20765 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20766 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20767 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20768 macros for using routine as __sincosf_ia32.
20769 Use macro for function declaration and weak_alias.
20770 * sysdeps/i386/fpu/libm-test-ulps: Update.
20772 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20775 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20776 subnormal argument.
20777 * math/s_cexpf.c (__cexpf): Likewise.
20778 * math/s_csinf.c (__csinf): Likewise.
20779 * math/s_csinhf.c (__csinhf): Likewise.
20780 * math/s_ctanf.c (__ctanf): Likewise.
20781 * math/s_ctanhf.c (__ctanhf): Likewise.
20782 * math/s_ccosh.c (__ccoshf): Likewise.
20783 * math/s_cexp.c (__cexpl): Likewise.
20784 * math/s_csin.c (__csin): Likewise.
20785 * math/s_csinh.c (__csinh): Likewise.
20786 * math/s_ctan.c (__ctan): Likewise.
20787 * math/s_ctanh.c (ctanh): Likewise.
20788 * math/s_ccoshl.c (__ccoshl): Likewise.
20789 * math/s_cexpl.c (__cexpl): Likewise.
20790 * math/s_csinl.c (__csinl): Likewise.
20791 * math/s_csinhl.c (__csinhl): Likewise.
20792 * math/s_ctanl.c (__ctanl): Likewise.
20793 * math/s_ctanhl.c (__ctanhl): Likewise.
20795 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20797 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20798 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20799 (_IO_off_t): Define to __off_t, not _G_off_t.
20800 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20801 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20802 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20803 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20804 type of __dummy and __dummy2 fields.
20805 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20806 (_G_ssize_t): Likewise.
20807 (_G_off_t): Likewise.
20808 (_G_pid_t): Likewise.
20809 (_G_uid_t): Likewise.
20810 (_G_wchar_t): Likewise.
20811 (_G_wint_t): Likewise.
20812 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20813 (_G_ssize_t): Likewise.
20814 (_G_off_t): Likewise.
20815 (_G_pid_t): Likewise.
20816 (_G_uid_t): Likewise.
20817 (_G_wchar_t): Likewise.
20818 (_G_wint_t): Likewise.
20819 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20820 (_G_ssize_t): Likewise.
20821 (_G_off_t): Likewise.
20822 (_G_pid_t): Likewise.
20823 (_G_uid_t): Likewise.
20824 (_G_wchar_t): Likewise.
20825 (_G_wint_t): Likewise.
20827 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20829 * malloc/arena.c: Include malloc-sysdep.h.
20830 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20831 is sufficient to shrink the heap or an unmap is needed.
20832 * sysdeps/generic/malloc-sysdep.h: New file. Define
20833 new function check_may_shrink_heap.
20834 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20835 new function check_may_shrink_heap.
20837 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20839 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20842 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20844 * catgets/test-gencat.sh: Add "set -e".
20845 * elf/tst-pathopt.sh: Likewise.
20846 * grp/tst_fgetgrent.sh: Likewise.
20847 * iconvdata/run-iconv-test.sh: Likewise.
20848 * intl/tst-gettext.sh: Likewise.
20849 * intl/tst-gettext2.sh: Likewise.
20850 * intl/tst-gettext4.sh: Likewise.
20851 * intl/tst-gettext6.sh: Likewise.
20852 * intl/tst-translit.sh: Likewise.
20853 * io/ftwtest-sh: Likewise.
20854 * libio/test-freopen.sh: Likewise.
20855 * malloc/tst-mtrace.sh: Likewise.
20856 * posix/globtest.sh: Likewise.
20857 * posix/tst-getconf.sh: Likewise.
20858 * posix/wordexp-tst.sh: Likewise.
20859 * stdio-common/tst-printf.sh: Likewise.
20860 * stdio-common/tst-unbputc.sh: Likewise.
20861 * stdlib/tst-fmtmsg.sh: Likewise.
20862 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20863 * catgets/Makefile: Do not specify -e option when running
20864 testsuite shell scripts.
20865 * elf/Makefile: Likewise.
20866 * grp/Makefile: Likewise.
20867 * iconvdata/Makefile: Likewise.
20868 * intl/Makefile: Likewise.
20869 * io/Makefile: Likewise.
20870 * libio/Makefile: Likewise.
20871 * malloc/Makefile: Likewise.
20872 * posix/Makefile: Likewise.
20873 * stdio-common/Makefile: Likewise.
20874 * stdlib/Makefile: Likewise.
20875 * sysdeps/x86_64/Makefile: Likewise.
20877 * io/ftwtest-sh: Add copyright header.
20878 * posix/globtest.sh: Likewise.
20879 * posix/tst-getconf.sh: Likewise.
20880 * posix/wordexp-tst.sh: Likewise.
20881 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20883 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20886 * Makeconfig (+link): Defined as $(+link-static) if
20887 $(build-shared) isn't yes.
20888 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20890 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20892 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20895 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20896 new chunk size with MALLOC_ALIGN_MASK.
20898 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20901 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20903 (__printf_fphex): Determine rounding using get_rounding_mode and
20905 * stdio-common/tst-printf-round.c (struct hex_test): New
20907 (hex_tests): New variable.
20908 (test_hex_in_one_mode): New function.
20909 (do_test): Also run tests for hex float output.
20911 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20913 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20914 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20915 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20916 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20917 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20918 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20919 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20920 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20922 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20924 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20925 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20926 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20927 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20929 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20932 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20934 * elf/tst-rtld-load-self.sh: New test.
20935 * elf/Makefile: Run it.
20937 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20939 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20940 (tst-writev-ENV): Remove.
20941 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20943 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20945 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20947 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20949 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20951 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20953 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20954 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20955 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20958 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20961 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20962 * config.make.in (have-cpp-asm-debuginfo): Removed.
20963 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20964 * configure: Regenerated.
20966 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20969 * stdio-common/printf_fp.c: Include <stdbool.h> and
20971 (___printf_fp): Determine rounding using get_rounding_mode and
20973 * stdio-common/tst-printf-round.c: New file.
20974 * stdio-common/Makefile (tests): Add tst-printf-round.
20975 (link-libm): New variable.
20976 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20978 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20981 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20982 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20984 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20987 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20989 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20990 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20991 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20992 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20994 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20997 * include/rounding-mode.h: New file.
20998 * sysdeps/generic/get-rounding-mode.h: Likewise.
20999 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21000 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21001 (MAX_VALUE): New macro.
21002 (MIN_VALUE): Likewise.
21003 (overflow_value): New function.
21004 (underflow_value): Likewise.
21005 (round_and_return): Use overflow_value and underflow_value to
21006 determine return values in overflow and underflow cases. Use
21007 round_away to determine rounding depending on rounding mode.
21008 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21009 determine return values in overflow and underflow cases.
21010 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21011 (struct test_results): New structure.
21012 (struct test): Use struct test_results to store expected results
21013 for all rounding modes.
21014 (TEST): Include expected results for all rounding modes.
21015 (test_in_one_mode): New function.
21016 (do_test): Use test_in_one_mode to compute and check results.
21017 Check results for all rounding modes.
21018 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21021 2012-12-09 Allan McRae <allan@archlinux.org>
21023 * sysdeps/i386/fpu/libm-test-ulps: Update
21025 2012-09-11 Joseph Myers <joseph@codesourcery.com>
21027 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21028 (_G_int32_t): Likewise.
21029 (_G_uint16_t): Likewise.
21030 (_G_uint32_t): Likewise.
21031 (_G_HAVE_BOOL): Likewise.
21032 (_G_HAVE_ATEXIT): Likewise.
21033 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21034 (_G_HAVE_IO_FILE_OPEN): Likewise.
21035 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21036 (_G_int32_t): Likewise.
21037 (_G_uint16_t): Likewise.
21038 (_G_uint32_t): Likewise.
21039 (_G_HAVE_BOOL): Likewise.
21040 (_G_HAVE_ATEXIT): Likewise.
21041 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21042 (_G_HAVE_IO_FILE_OPEN): Likewise.
21043 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21044 (_G_int32_t): Likewise.
21045 (_G_uint16_t): Likewise.
21046 (_G_uint32_t): Likewise.
21047 (_G_HAVE_BOOL): Likewise.
21048 (_G_HAVE_ATEXIT): Likewise.
21049 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21050 (_G_HAVE_IO_FILE_OPEN): Likewise.
21052 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21054 * csu/libc-tls.c: Update copyright years.
21056 2012-09-10 Joseph Myers <joseph@codesourcery.com>
21058 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21059 [!_G_USING_THUNKS]: Remove conditional code.
21060 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21061 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21063 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21064 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21065 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21066 (_G_VTABLE_LABEL_PREFIX): Likewise.
21067 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21068 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21069 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21070 (_G_VTABLE_LABEL_PREFIX): Likewise.
21071 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21072 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21073 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21074 (_G_VTABLE_LABEL_PREFIX): Likewise.
21075 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21077 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21079 * libio/Makefile: Include ../Makeconfig before tests.
21080 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21081 only if $(build-shared) is yes.
21083 * iconv/gconv_db.c: Update copyright years.
21085 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21087 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21088 unwind info if defined PIC. Fix special cases description.
21089 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21091 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21093 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21095 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21097 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21099 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21102 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21103 (LDLIBS-tst-chk4): This.
21104 (LDFLAGS-tst-chk5): Renamed to ...
21105 (LDLIBS-tst-chk5): This.
21106 (LDFLAGS-tst-chk6): Renamed to ...
21107 (LDLIBS-tst-chk6): This.
21108 (LDFLAGS-tst-lfschk4): Renamed to ...
21109 (LDLIBS-tst-lfschk4): This.
21110 (LDFLAGS-tst-lfschk5): Renamed to ...
21111 (LDLIBS-tst-lfschk5): This.
21112 (LDFLAGS-tst-lfschk6): Renamed to ...
21113 (LDLIBS-tst-lfschk6): This.
21115 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21116 on $(common-objpfx)soversions.mk.
21118 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21121 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21124 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21126 * malloc/arena.c (arena_get_retry): New function that gets
21127 another arena for the caller to try its request on.
21128 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21129 current arena cannot fulfill the request.
21130 (__libc_memalign): Likewise.
21131 (__libc_memalign): Likewise.
21132 (__libc_pvalloc): Likewise.
21133 (__libc_calloc): Likewise.
21135 2012-09-05 John Tobey <john.tobey@gmail.com>
21138 * manual/arith.texi (Operations on Complex): Fix description
21139 of carg branch cut.
21141 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21144 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21148 * manual/memory.texi (Memory): Make order of menu items match
21151 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21153 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21154 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21155 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21157 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21159 * csu/libc-tls.c (static_dtv): Renamed to ...
21160 (_dl_static_dtv): This. Make it global.
21161 (_dl_initial_dtv): Removed.
21162 (__libc_setup_tls): Updated.
21163 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21164 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21167 2012-09-06 Petr Machata <pmachata@redhat.com>
21169 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21170 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21171 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21172 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21174 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21177 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21178 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21181 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21184 * Makeconfig (link-static-before-libc): Replace $(+prector)
21186 (link-static-after-libc): Replace $(+postctor) with
21188 (link-bounded): Replace $(+prector)/$(+postctor) with
21189 $(+prectorT)/$(+postctorT).
21190 (+prectorT): New macro.
21191 (+postctorT): Likewise.
21193 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21195 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21196 (round_str): Handle values above the maximum for IBM long double
21198 * stdlib/tst-strtod-round.c (tests): Regenerated.
21200 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21202 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21204 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21205 zarch_nohighgprs around the zarch optimized routines.
21206 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21207 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21208 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21211 2012-09-05 David S. Miller <davem@davemloft.net>
21213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21215 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21216 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21217 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21218 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21221 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21223 * malloc/arena.c: Fold copyright years.
21224 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21226 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21228 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21230 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21232 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21234 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21236 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21237 change internal state upon failure.
21239 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21241 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21242 * malloc/memusage.c (mmap): Likewise.
21243 (mmap64, mremap): Likewise. Adjust name in comment.
21245 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21247 * libio/fileops.c: Fix typos in comments.
21248 * libio/oldfileops.c: Likewise.
21249 * libio/wfileops.c: Likewise.
21251 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21254 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21255 (tst-malloc-usable-ENV): Set environment for test case.
21256 * malloc/hooks.c (malloc_check_get_size): New function to get
21258 * malloc/malloc.c (musable): Use malloc_check_get_size.
21259 * malloc/tst-malloc-usable.c: New test case.
21261 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21263 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21265 2012-09-05 Allan McRae <allan@archlinux.org>
21268 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21269 determine header location.
21270 * configure: Regenerated.
21272 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21274 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21276 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21277 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21279 (test): Regenerate.
21281 2012-09-04 David S. Miller <davem@davemloft.net>
21283 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21284 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21285 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21287 2012-09-04 Florian Weimer <fweimer@redhat.com>
21289 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21292 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21294 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21297 * libio/iogetdelim.c: Include <limits.h>.
21298 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21299 + len + 1 would overflow.
21301 2012-09-03 Andreas Jaeger <aj@suse.de>
21303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21304 * sysdeps/i386/fpu/libm-test-ulps: Update.
21306 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21308 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21309 Add s_sinf-sse2, s_conf-sse2.
21311 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21312 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21313 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21314 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21316 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21317 for using routine as __sinf_ia32.
21318 Use macro for function declaration and weak_alias.
21319 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21320 for using routine as __cosf_ia32.
21321 Use macro for function declaration and weak_alias.
21323 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21324 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21326 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21327 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21330 * math/libm-test.inc (cos_test): Add more test cases.
21331 (sin_test): Likewise.
21332 (sincos_test): Likewise.
21334 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21336 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21337 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21339 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21341 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21344 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21345 first element of the GOT.
21346 (elf_machine_load_address): Return the difference between
21347 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21349 2012-09-01 Allan McRae <allan@archlinux.org>
21352 * configure.in (AWK): Require gawk version 3.0 or later.
21353 * configure: Regenerated.
21355 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21357 * sysdeps/unix/sysv/linux/kernel-features.h
21358 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21359 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21360 [__NR_clock_getres]: Make code unconditional.
21361 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21362 (clock_getcpuclockid): Remove code left unreachable by removal of
21364 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21365 code unconditional.
21366 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21367 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21368 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21369 Make code unconditional.
21370 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21371 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21372 * sysdeps/unix/sysv/linux/clock_settime.c
21373 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21375 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21376 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21378 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21381 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21382 scripts/test-installation.pl.
21384 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21385 and $ld_so_version if it is set.
21387 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21390 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21391 failure if reading from procfs failed.
21392 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21394 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21396 * sysdeps/unix/sysv/linux/kernel-features.h
21397 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21398 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21399 Remove conditional code.
21400 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21401 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21402 Remove conditional code.
21403 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21404 * sysdeps/unix/sysv/linux/i386/fxstat.c
21405 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21407 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21408 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21409 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21410 * sysdeps/unix/sysv/linux/i386/lxstat.c
21411 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21412 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21413 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21414 Remove conditional code.
21415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21416 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21417 Remove conditional code.
21418 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21419 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21420 <kernel-features.h>.
21421 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21423 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21424 Remove conditional code.
21425 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21426 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21427 Remove conditional.
21429 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21432 * NEWS: Add fixed bug number.
21434 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21437 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21438 underflowing exponent in case of negative sign.
21439 * stdlib/tst-strtod-round-data: Add more tests.
21440 * stdlib/tst-strtod-round.c (tests): Regenerated.
21443 * stdlib/strtod_l.c (NDIG): Remove.
21444 (HEXNDIG): Likewise.
21445 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21446 smallest representable value.
21447 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21448 lie within an exact representation of 1/2 ulp of the result.
21449 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21451 (TENS_P9_IDX): Define unconditionally.
21452 (TENS_P9_SIZE): Likewise.
21453 (TENS_P10_IDX): Likewise.
21454 (TENS_P10_SIZE): Likewise.
21455 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21456 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21457 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21458 entries for 10^2^13 and 10^2^14.
21459 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21460 (TENS_P13_IDX): Define.
21461 (TENS_P13_SIZE): Likewise.
21462 (TENS_P14_IDX): Likewise.
21463 (TENS_P14_SIZE): Likewise.
21464 (_fpioconst_pow10): Change array size to
21465 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21467 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21468 1024]: Add entries for 10^2^13 and 10^2^14.
21469 [LAST_POW10 > _LAST_POW10]: Remove #error.
21470 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21471 (_fpioconst_pow10): Change array size to
21472 FPIOCONST_POW10_ARRAY_SIZE.
21473 * stdlib/gen-fpioconst.c: New file.
21474 * stdlib/gen-tst-strtod-round.c: Likewise.
21475 * stdlib/tst-strtod-round-data: Likewise.
21476 * stdlib/tst-strtod-round.c: Likewise.
21477 * stdlib/Makefile (tests): Add tst-strtod-round.
21480 * stdlib/strtod_l.c: Include <stdint.h>.
21481 (NDEBUG): Do not define.
21482 (round_and_return): Change EXPONENT parameter to type intmax_t.
21483 Rearrange calculations to avoid internal overflow possibilities.
21484 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21485 Rearrange calculations to avoid internal overflow possibilities.
21486 Assert that number fits inside MPNSIZE limbs.
21487 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21488 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21489 calculations and add assertions to avoid internal overflow
21490 possibilities. Add casts to avoid signed/unsigned operations.
21491 * stdlib/tst-strtod-overflow.c: New file.
21492 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21494 2012-08-25 Marek Polacek <polacek@redhat.com>
21496 * time/time.h: Fix some typos in comments.
21498 2012-08-23 Roland McGrath <roland@hack.frob.com>
21500 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21501 * posix/tst-rfc3484-2.c: Likewise.
21502 * posix/tst-rfc3484-3.c: Likewise.
21504 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21506 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21507 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21509 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21511 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21512 #include of fxstatat64.c.
21514 2012-08-22 Roland McGrath <roland@hack.frob.com>
21516 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21517 * shadow/getspent_r.c: Likewise.
21518 * shadow/getspnam.c: Likewise.
21519 * shadow/getspnam_r.c: Likewise.
21520 * gshadow/getsgent.c: Likewise.
21521 * gshadow/getsgent_r.c: Likewise.
21522 * gshadow/getsgnam.c: Likewise.
21523 * gshadow/getsgnam_r.c: Likewise.
21524 * inet/getnetbyad.c: Likewise.
21525 * inet/getnetbyad_r.c: Likewise.
21526 * inet/getnetbynm.c: Likewise.
21527 * inet/getnetbynm_r.c: Likewise.
21528 * inet/getnetent.c: Likewise.
21529 * inet/getnetent_r.c: Likewise.
21530 * inet/getproto.c: Likewise.
21531 * inet/getproto_r.c: Likewise.
21532 * inet/getprtent.c: Likewise.
21533 * inet/getprtent_r.c: Likewise.
21534 * inet/getprtname.c: Likewise.
21535 * inet/getprtname_r.c: Likewise.
21536 * inet/getrpcbyname.c: Likewise.
21537 * inet/getrpcbyname_r.c: Likewise.
21538 * inet/getrpcbynumber.c: Likewise.
21539 * inet/getrpcbynumber_r.c: Likewise.
21540 * inet/getrpcent.c: Likewise.
21541 * inet/getrpcent_r.c: Likewise.
21542 * inet/getaliasent.c: Likewise.
21543 * inet/getaliasent_r.c: Likewise.
21544 * inet/getaliasname.c: Likewise.
21545 * inet/getaliasname_r.c: Likewise.
21546 * nscd/getgrgid_r.c: Likewise.
21547 * nscd/getgrnam_r.c: Likewise.
21548 * nscd/gethstbyad_r.c: Likewise.
21549 * nscd/gethstbynm3_r.c: Likewise.
21550 * nscd/getpwnam_r.c: Likewise.
21551 * nscd/getpwuid_r.c: Likewise.
21552 * nscd/getsrvbynm_r.c: Likewise.
21553 * nscd/getsrvbypt_r.c: Likewise.
21554 * nscd/gai.c: Likewise.
21556 * configure.in (build_nscd): New substituted variable, set
21557 by --disable-build-nscd and defaults to $use_nscd.
21558 * configure: Regenerated.
21559 * config.make.in (build-nscd): New substituted variable.
21560 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21561 Change conditional to require [$(build-nscd) = yes] as well.
21562 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21565 * configure.in (use_nscd): New substituted variable, set by
21566 --disable-nscd. If enabled, define USE_NSCD.
21567 * configure: Regenerated.
21568 * config.h.in: Add USE_NSCD.
21569 * config.make.in (use-nscd): New substituted variable.
21570 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21571 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21572 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21573 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21574 (CFLAGS-getgrnam_r.c): Likewise.
21575 (CFLAGS-initgroups.c): Likewise.
21576 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21577 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21579 * inet/getnetgrent_r.c
21580 (nscd_setnetgrent): New function, broken out of ...
21581 (setnetgrent): ... here. Call it.
21582 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21583 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21584 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21585 * nscd/Makefile (routines, aux): Move definitions after include of
21586 Makeconfig. Conditionalize on [$(use-nscd) != no].
21587 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21588 Conditionalize on [USE_NSCD].
21589 (is_nscd, nscd_init_cb): Likewise.
21590 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21591 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21592 * nss/nss_db/db-init.c: Likewise.
21593 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21595 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21596 (make_request): Use it.
21597 (cache_valid_p): New function.
21598 (__check_pf): Use it.
21599 * NEWS: Add item for --disable-nscd.
21601 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21603 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21604 to support sed >= 4.2.1-20-ga9bf076.
21605 * configure: Regenerated.
21607 2012-08-22 Roland McGrath <roland@hack.frob.com>
21609 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21610 Conditionalize whole body on [IREL].
21612 2012-08-22 Jeff Law <law@redhat.com>
21615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21616 if the family is PF_UNSPEC.
21618 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21620 * Makerules (lib-version): Rename from V.
21621 (install-lib-nosubdir): Change V to lib-version.
21623 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21626 * powerpc32/power6/wcschr.c: New file.
21627 * powerpc32/power6/wcscpy.c: New file.
21628 * powerpc32/power6/wcsrchr.c: New file.
21629 * powerpc64/power6/wcschr.c: New file.
21630 * powerpc64/power6/wcscpy.c: New file.
21631 * powerpc64/power6/wcsrchr.c: New file.
21633 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21635 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21636 (two_way_short_needle): Use it.
21637 * string/strstr.c (AVAILABLE1_USES_J): Define.
21638 * string/strcasestr.c: Likewise.
21640 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21642 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21645 * NEWS: Add an entry.
21646 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21647 define their defaults.
21648 (two_way_short_needle): Detect end-of-string on-the-fly.
21649 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21650 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21651 * string/bug-strcasestr1.c: New test.
21652 * string/Makefile: Run it.
21654 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21657 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21658 the first character.
21660 2012-08-21 Roland McGrath <roland@hack.frob.com>
21662 * csu/elf-init.c (__libc_csu_irel): Function removed.
21663 * csu/libc-start.c (apply_irel): New function.
21664 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21666 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21668 * sysdeps/unix/sysv/linux/kernel-features.h
21669 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21670 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21671 <kernel-features.h>.
21672 [__NR_fadvise64_64]: Make code unconditional.
21673 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21674 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21675 !__NR_fadvise64_64)]: Likewise.
21676 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21677 !__NR_fadvise64_64))]: Likewise.
21678 [__NR_fadvise64]: Make code unconditional.
21679 [!__NR_fadvise64]: Remove conditional code.
21680 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21681 <kernel-features.h>.
21682 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21684 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21687 not include <kernel-features.h>.
21688 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21690 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21692 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21693 include <kernel-features.h>.
21694 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21696 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21699 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21701 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21702 slight instruction rearrangements per scrollpipe analysis.
21703 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21705 2012-08-20 Roland McGrath <roland@hack.frob.com>
21707 * manual/syslog.texi (syslog; vsyslog, closelog):
21708 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21709 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21711 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21712 DSOCAPS to match condition on defining it.
21714 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21716 * sysdeps/unix/sysv/linux/kernel-features.h
21717 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21719 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21720 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21722 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21723 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21725 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21726 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21728 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21729 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21731 * sysdeps/unix/sysv/linux/kernel-features.h
21732 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21733 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21735 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21736 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21737 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21738 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21739 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21740 Make code unconditional.
21741 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21742 (__mmap64) [!__NR_mmap2]: Likewise.
21743 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21744 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21745 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21746 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21747 [__NR_mmap2]: Make code unconditional.
21748 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21749 (__mmap64) [!__NR_mmap2]: Likewise.
21751 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21753 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21755 2012-08-18 Andreas Jaeger <aj@suse.de>
21757 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21759 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21761 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21762 * include/unistd.h (__have_sock_cloexec): Likewise.
21763 (__have_pipe2): Likewise.
21764 (__have_dup3): Likewise.
21766 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21769 * include/unistd.h (__have_pipe2): Change define into an extern int.
21770 (__have_dup3): Likewise.
21771 * socket/have_sock_cloexec.c: Include fcntl.h.
21772 (__have_pipe2): New variable.
21773 (__have_dup3): Likewise.
21775 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21777 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21779 2012-08-17 Marek Polacek <polacek@redhat.com>
21781 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21782 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21784 2012-08-17 Roland McGrath <roland@hack.frob.com>
21786 * configure.in: Add AC_SUBST for sysheaders.
21787 * configure: Regenerated.
21788 * config.make.in (sysheaders): New substituted variable.
21790 * sysdeps/unix/mkfifo.c: Moved ...
21791 * sysdeps/posix/mkfifo.c: ... here.
21792 * sysdeps/unix/mkfifoat.c: Moved ...
21793 * sysdeps/posix/mkfifoat.c: ... here.
21795 * sysdeps/unix/utime.c: Moved ...
21796 * sysdeps/posix/utime.c: ... here.
21798 * sysdeps/unix/time.c: Moved ...
21799 * sysdeps/posix/time.c: ... here.
21800 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21801 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21803 * sysdeps/unix/nice.c: Moved ...
21804 * sysdeps/posix/nice.c: ... here.
21806 * sysdeps/unix/alarm.c: Moved ...
21807 * sysdeps/posix/alarm.c: ... here.
21809 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21811 2012-08-17 Jeff Law <law@redhat.com>
21813 * intl/Makefile (codeset_mo): New variable.
21814 ($(codeset_mo)): New target.
21815 (tst-codeset.out): Depend on that. Remove explicit rule.
21816 (tst-gettext3.out, tst-gettext5.out): Likewise.
21817 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21818 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21819 * intl/tst-codeset.sh: Remove.
21820 * intl/tst-gettext3.sh: Likewise.
21821 * intl/tst-gettext5.sh: Likewise.
21823 2012-08-17 Roland McGrath <roland@hack.frob.com>
21825 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21826 * sysdeps/unix/syscalls.list: ... here.
21828 * sysdeps/posix/getaddrinfo.c
21829 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21830 (gaiconf_init, gaiconf_reload): Use them.
21831 [!_STATBUF_ST_NSEC]
21832 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21833 Define using time_t rather than struct timespec.
21835 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21836 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21838 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21840 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21841 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21844 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21845 __libc_cleanup_push argument.
21847 * bits/param.h: New file.
21848 * misc/sys/param.h: New file.
21849 * include/sys/param.h: New file.
21850 * misc/Makefile (headers): Add bits/param.h.
21851 * sysdeps/generic/sys/param.h: File removed.
21852 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21853 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21854 * sysdeps/mach/hurd/bits/param.h: New file.
21855 * sysdeps/mach/hurd/sys/param.h: File removed.
21857 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21860 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21862 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21863 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21866 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21867 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21868 rather than -D_IO_MTSAFE_IO conditionally.
21869 * stdio-common/Makefile (CPPFLAGS): Likewise.
21870 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21871 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21872 Use $(libio-mtsafe).
21873 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21874 of -D_IO_MTSAFE_IO.
21875 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21876 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21877 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21878 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21879 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21880 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21881 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21882 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21883 (CFLAGS-fread_u_chk.c): Likewise.
21884 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21885 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21886 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21887 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21888 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21889 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21890 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21891 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21892 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21894 * libio/Makefile: Test [$(libc-reentrant) = yes]
21895 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21898 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21899 * sysdeps/pthread/configure: File removed.
21900 * sysdeps/pthread/Makeconfig: New file.
21901 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21902 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21904 2012-08-16 Gary Benson <gbenson@redhat.com>
21906 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21907 unmapping the first object in a namespace.
21909 2012-08-16 Roland McGrath <roland@hack.frob.com>
21911 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21912 (__internal_setnetgrent): ... this. Add internal_function to
21913 definition. Add libc_hidden_def.
21914 (setnetgrent): Update caller.
21915 (internal_endnetgrent): Renamed to ...
21916 (__internal_endnetgrent): ... this. Add internal_function to
21917 definition. Add libc_hidden_def.
21918 (endnetgrent): Update caller.
21919 (internal_getnetgrent_r): Renamed to ...
21920 (__internal_getnetgrent_r): ... this. Add internal_function to
21921 definition. Add libc_hidden_def.
21922 (__getnetgrent_r): Update caller.
21923 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21925 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21927 * stdlib/longlong.h: Update from GCC.
21929 2012-08-16 Roland McGrath <roland@hack.frob.com>
21931 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21932 on _QL, which is set by umul_ppmm but never used.
21933 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21934 variables, which are set by GMP macros but never used.
21935 * stdio-common/_itowa.c (_itowa): Likewise.
21936 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21937 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21939 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21941 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21942 struct La_sh_regs is not constant.
21943 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21944 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21945 and struct La_sparc64_regs are not constant.
21947 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21949 * sysdeps/unix/sysv/linux/kernel-features.h
21950 (__ASSUME_POSIX_TIMERS): Remove.
21951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21952 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21953 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21954 Make code unconditional.
21955 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21956 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21957 Make code unconditional.
21958 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21959 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21960 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21961 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21962 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21963 Make code unconditional.
21964 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21965 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21966 (__libc_missing_posix_timers): Remove.
21968 2012-08-15 Roland McGrath <roland@hack.frob.com>
21970 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21971 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21973 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21975 * elf/dl-sym.c: Include <stdlib.h>.
21977 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21978 constants, which avoids warnings in 32-bit builds.
21980 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21981 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21983 * misc/lseek.c: File moved to ...
21984 * io/lseek.c: ... here.
21986 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21988 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21989 shifting LEN more than 31 bits at once.
21991 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21994 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21995 segmentation fault for a case of two empty input strings.
21996 * string/test-strncasecmp.c (check1): Renamed to...
21997 (bz12205): ...this.
21998 (bz14195): Add new testcase for two empty input strings and N > 0.
21999 (test_main): Call new testcase, adapt for renamed function.
22001 2012-08-15 Andreas Jaeger <aj@suse.de>
22004 * crypt/md5test2.c: New test, based on test supplied by Serge
22005 Belyshev <belyshev@depni.sinp.msu.ru>.
22006 * crypt/Makefile (xtests): Add md5test-giant..
22007 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22009 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22012 * crypt/md5.c (md5_process_block): Don't assume the buffer
22013 length is less than 2**32.
22014 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22015 length is less than 2**64.
22017 2012-08-15 Roland McGrath <roland@hack.frob.com>
22019 * string/str-two-way.h: Include <sys/param.h>.
22020 (MAX): Macro removed.
22022 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22023 Move #define and #undef of memmove to just before and after
22024 including <string.h>.
22026 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22027 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22028 and after including <string.h>. Move declarations of
22029 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22030 to before #include "string/memmove.c".
22032 * include/dirent.h: Declare __getdirentries.
22034 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22035 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22037 2012-08-14 Mike Frysinger <vapier@gentoo.org>
22039 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22040 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22041 * sysdeps/i386/configure: Regenerated.
22042 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22043 STABS_CURRENT_FILE, and STABS_FUN.
22044 (END): Remove call to STABS_FUN_END.
22045 (STABS_CURRENT_FILE1): Delete.
22046 (STABS_CURRENT_FILE): Likewise.
22047 (STABS_FUN): Likewise.
22048 (STABS_FUN_END): Likewise.
22049 (STABS_FUN2): Likewise.
22050 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22051 * sysdeps/x86_64/configure: Regenerated.
22053 2012-08-14 Roland McGrath <roland@hack.frob.com>
22055 * elf/dl-open.c: Include <atomic.h>.
22056 * elf/dl-lookup.c: Likewise.
22058 2012-08-14 Joseph Myers <joseph@codesourcery.com>
22060 * sysdeps/unix/sysv/linux/kernel-features.h
22061 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22062 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22064 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22066 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22067 condition on __ASSUME_CLONE_THREAD_FLAGS.
22069 2012-08-14 Andreas Jaeger <aj@suse.de>
22071 * sysdeps/i386/fpu/libm-test-ulps: Update.
22073 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22075 * include/atomic.h (atomic_exchange_and_add): Split into ...
22076 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22079 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22083 2012-08-13 Jeff Law <law@redhat.com>
22085 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22086 null byte in the output string.
22088 2012-08-10 Joseph Myers <joseph@codesourcery.com>
22090 * sysdeps/unix/sysv/linux/kernel-features.h
22091 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22092 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22093 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22094 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22095 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22096 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22097 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22099 2012-08-09 Jeff Law <law@redhat.com>
22102 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22103 When avoid_arena is set, don't retry in the that arena. Pick the
22104 next one, whatever it might be.
22105 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22106 (arena_lock): Pass in new parameter to arena_get2.
22107 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22109 (__libc_malloc): Unify retrying after main arena failure with
22110 __libc_memalign version.
22111 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22113 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22116 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22117 to __redirect_strstr.
22118 (__strstr_sse42): Use typeof __redirect_strstr.
22119 (__strstr_ia32): Likewise.
22120 (__libc_strstr): New prototype.
22121 (strstr): Renamed to ...
22122 (__libc_strstr): This.
22123 (strstr): New strong alias of __libc_strstr.
22124 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22125 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22128 (__libc_time): New prototype.
22129 (time_ifunc): Replace time with __libc_time.
22130 (time): New strong alias and hidden definition of __libc_time.
22131 (__GI_time): Remove strong alias.
22132 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22133 Include <stddef.h>.
22134 (memmove): Redefined to __redirect_memmove.
22135 (__memmove_sse2): Use typeof __redirect_memmove.
22136 (__memmove_ssse3): Likewise.
22137 (__memmove_ssse3_back): Likewise.
22138 (__libc_memmove): New prototype.
22139 (memmove): Renamed to ...
22140 (__libc_memmove): This.
22141 (memmove): New strong alias of __libc_memmove.
22143 2012-08-08 Mark Salter <msalter@redhat.com>
22146 (R_MN10300_TLS_GD): Define.
22147 (R_MN10300_TLS_LD): Likewise.
22148 (R_MN10300_TLS_LDO): Likewise.
22149 (R_MN10300_TLS_GOTIE): Likewise.
22150 (R_MN10300_TLS_IE): Likewise.
22151 (R_MN10300_TLS_LE): Likewise.
22152 (R_MN10300_TLS_DTPMOD): Likewise.
22153 (R_MN10300_TLS_DTPOFF): Likewise.
22154 (R_MN10300_TLS_TPOFF): Likewise.
22155 (R_MN10300_SYM_DIFF): Likewise.
22156 (R_MN10300_ALIGN): Likewise.
22157 (R_MN10300_NUM): Update.
22159 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22161 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22164 2012-08-08 Roland McGrath <roland@hack.frob.com>
22166 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22168 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22169 sysdeps/unix -> sysdeps/posix move.
22170 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22172 2012-08-07 Allan McRae <allan@archlinux.org>
22175 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22176 (SUNOS_CPP): Likewise.
22177 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22179 (open_input): Call CPP using execvp.
22181 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22183 * sysdeps/unix/sysv/linux/kernel-features.h
22184 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22185 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22186 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22187 (__ASSUME_WAITID_SYSCALL): Likewise.
22188 * sysdeps/unix/sysv/linux/dl-execstack.c
22189 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22190 code unconditional.
22191 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22193 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22194 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22195 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22197 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22199 [__ASSUME_WAITID_SYSCALL]: Likewise.
22200 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22202 2012-08-07 Roland McGrath <roland@hack.frob.com>
22204 * sysdeps/unix/closedir.c: Renamed to ...
22205 * sysdeps/posix/closedir.c: ... here.
22206 * sysdeps/unix/dirfd.c: Renamed to ...
22207 * sysdeps/posix/dirfd.c: ... here.
22208 * sysdeps/unix/dirstream.h: Renamed to ...
22209 * sysdeps/posix/dirstream.h: ... here.
22210 * sysdeps/unix/fdopendir.c: Renamed to ...
22211 * sysdeps/posix/fdopendir.c: ... here.
22212 * sysdeps/unix/opendir.c: Renamed to ...
22213 * sysdeps/posix/opendir.c: ... here.
22214 * sysdeps/unix/readdir.c: Renamed to ...
22215 * sysdeps/posix/readdir.c: ... here.
22216 * sysdeps/unix/readdir_r.c: Renamed to ...
22217 * sysdeps/posix/readdir_r.c: ... here.
22218 * sysdeps/unix/rewinddir.c: Renamed to ...
22219 * sysdeps/posix/rewinddir.c: ... here.
22220 * sysdeps/unix/seekdir.c: Renamed to ...
22221 * sysdeps/posix/seekdir.c: ... here.
22222 * sysdeps/unix/telldir.c: Renamed to ...
22223 * sysdeps/posix/telldir.c: ... here.
22224 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22225 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22226 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22227 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22229 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22230 * bits/fcntl.h: ... here.
22232 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22234 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22235 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22236 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22237 (struct flock): Move l_start, l_len to the beginning.
22238 Use __pid_t for l_pid.
22239 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22240 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22241 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22242 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22243 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22244 [__USE_LARGEFILE64] (struct flock64): New type.
22245 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22247 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22248 * bits/dirent.h: ... here.
22250 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22251 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22253 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22255 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22256 Change from 2.6.0 to 2.6.16.
22257 * sysdeps/unix/sysv/linux/configure: Regenerated.
22258 * sysdeps/unix/sysv/linux/kernel-features.h
22259 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22260 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22262 (__ASSUME_UTIMES): Likewise.
22263 (__ASSUME_CLONE_STOPPED): Remove.
22264 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22265 architectures, not kernel version.
22266 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22267 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22268 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22269 (__ASSUME_WAITID_SYSCALL): Likewise.
22270 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22271 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22272 * README: State 2.6.16 as minimum Linux kernel version. Do not
22273 refer to older versions.
22275 2012-08-06 Roland McGrath <roland@hack.frob.com>
22277 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22278 Define alphasort64 as an alias.
22279 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22280 Define versionsort64 as an alias.
22281 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22282 Define scandir64 as an alias.
22283 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22284 Define scandirat64 as an alias.
22285 * dirent/alphasort64.c (alphasort64):
22286 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22287 * dirent/versionsort64.c: Likewise.
22288 * dirent/scandir64.c: Likewise.
22289 * dirent/scandirat64.c: Likewise.
22290 * sysdeps/wordsize-64/alphasort.c: File removed.
22291 * sysdeps/wordsize-64/alphasort64.c: File removed.
22292 * sysdeps/wordsize-64/scandir.c: File removed.
22293 * sysdeps/wordsize-64/scandir64.c: File removed.
22294 * sysdeps/wordsize-64/scandirat.c: File removed.
22295 * sysdeps/wordsize-64/scandirat64.c: File removed.
22296 * sysdeps/wordsize-64/versionsort.c: File removed.
22297 * sysdeps/wordsize-64/versionsort64.c: File removed.
22298 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22299 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22300 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22301 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22302 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22303 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22304 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22305 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22307 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22309 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22311 [defined __arch64__ || defined __sparcv9]
22312 (__INO_T_MATCHES_INO64_T): New macro.
22313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22314 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22315 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22316 * sysdeps/unix/sysv/linux/bits/dirent.h
22317 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22318 (_DIRENT_MATCHES_DIRENT64): New macro.
22320 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22321 Define lockf64 as an alias.
22322 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22323 Define fseeko64 as an alias.
22324 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22325 Define ftello64 as an alias.
22326 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22327 Define _IO_fgetpos64 and fgetpos64 as aliases.
22328 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22329 Define _IO_fsetpos64 and fsetpos64 as aliases.
22330 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22331 Conditionalize body on this.
22332 * libio/fseeko64.c: Likewise.
22333 * libio/ftello64.c: Likewise.
22334 * libio/iofgetpos64.c: Likewise.
22335 * libio/iofsetpos64.c: Likewise.
22336 * sysdeps/wordsize-64/lockf.c: File removed.
22337 * sysdeps/wordsize-64/lockf64.c: File removed.
22338 * sysdeps/wordsize-64/fseeko.c: File removed.
22339 * sysdeps/wordsize-64/fseeko64.c: File removed.
22340 * sysdeps/wordsize-64/ftello.c: File removed.
22341 * sysdeps/wordsize-64/ftello64.c: File removed.
22342 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22343 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22344 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22345 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22346 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22347 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22348 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22349 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22350 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22351 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22352 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22353 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22354 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22355 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22357 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22359 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22361 [defined __arch64__ || defined __sparcv9]
22362 (__OFF_T_MATCHES_OFF64_T): New macro.
22363 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22364 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22366 (__OFF_T_MATCHES_OFF64_T): New macro.
22368 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22370 * stdlib/secure-getenv.c (__secure_getenv): Replace
22371 GLIBC_2_16 with GLIBC_2_17.
22373 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22375 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22376 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22378 2012-08-03 David S. Miller <davem@davemloft.net>
22380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22382 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22384 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22386 (__ASSUME_CORRECT_SI_PID): Likewise.
22387 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22388 (__ASSUME_TMPFS_NAME): Likewise.
22389 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22390 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22391 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22392 (HAVE_AUX_SECURE): Make definition unconditional.
22393 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22394 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22396 2012-08-03 Roland McGrath <roland@hack.frob.com>
22398 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22399 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22400 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22402 __eloop_threshold instead of SYMLOOP_MAX.
22404 * sysdeps/generic/eloop-threshold.h: New file.
22405 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22407 * elf/chroot_canon.c (chroot_canon): Likewise.
22409 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22412 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22413 Change to 2.6.0 everywhere.
22414 * sysdeps/unix/sysv/linux/configure: Regenerated.
22415 * sysdeps/unix/sysv/linux/kernel-features.h
22416 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22417 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22419 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22420 (__ASSUME_FUTEX_REQUEUE): Remove.
22421 (__ASSUME_STATFS64): Define unconditionally.
22422 (__ASSUME_AT_SECURE): Likewise.
22423 (__ASSUME_CORRECT_SI_PID): Likewise.
22424 (__ASSUME_TGKILL): Define without depending on kernel version for
22426 (__ASSUME_UTIMES): Likewise.
22427 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22429 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22430 (__ASSUME_TMPFS_NAME): Likewise.
22431 * README: Update reference to Linux kernel versions.
22433 2012-08-02 Marek Polacek <polacek@redhat.com>
22436 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22437 libc_cv_asm_type_prefix with %.
22438 * configure: Regenerated.
22439 * include/libc-symbols.h: Remove comment about
22440 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22441 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22442 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22443 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22444 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22445 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22446 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22447 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22448 * elf/tst-unique2mod1.c: Likewise.
22449 * elf/tst-unique1mod2.c: Likewise.
22450 * elf/tst-unique1mod1.c: Likewise.
22451 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22452 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22453 Replace ASM_TYPE_DIRECTIVE with .type.
22454 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22455 * sysdeps/i386/sysdep.h: Likewise.
22456 * sysdeps/x86_64/sysdep.h: Likewise.
22457 * sysdeps/sh/sysdep.h: Likewise.
22458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22459 Do not define ASM_TYPE_DIRECTIVE.
22460 * sysdeps/powerpc/sysdep.h: Likewise.
22461 * sysdeps/powerpc/powerpc32/sysdep.h:
22462 Replace ASM_TYPE_DIRECTIVE with .type.
22463 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22464 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22465 * sysdeps/i386/fpu/e_powf.S: Likewise.
22466 * sysdeps/i386/fpu/e_expl.S: Likewise.
22467 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22468 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22469 * sysdeps/i386/fpu/e_pow.S: Likewise.
22470 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22471 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22472 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22473 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22474 * sysdeps/i386/fpu/e_log2.S: Likewise.
22475 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22476 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22477 * sysdeps/i386/fpu/e_powl.S: Likewise.
22478 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22479 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22480 * sysdeps/i386/fpu/e_logl.S: Likewise.
22481 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22482 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22483 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22484 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22485 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22486 * sysdeps/i386/fpu/e_log.S: Likewise.
22487 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22488 * sysdeps/i386/fpu/e_logf.S: Likewise.
22489 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22490 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22491 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22492 * sysdeps/i386/fpu/e_log10.S: Likewise.
22493 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22494 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22495 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22496 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22497 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22498 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22499 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22500 * sysdeps/i386/i686/strtok.S: Likewise.
22501 * sysdeps/i386/i386-mcount.S: Likewise.
22502 * sysdeps/i386/strtok.S: Likewise.
22503 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22504 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22505 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22506 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22507 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22508 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22509 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22510 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22511 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22512 * sysdeps/x86_64/_mcount.S: Likewise.
22513 * sysdeps/x86_64/strtok.S: Likewise.
22514 * sysdeps/sh/_mcount.S: Likewise.
22516 2012-08-01 Roland McGrath <roland@hack.frob.com>
22518 * libio/iofopen.c: Include <fcntl.h>.
22519 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22520 (_IO_fopen64, fopen64): Define as aliases.
22521 * libio/iofopen64.c: Include <fcntl.h>.
22522 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22523 Conditionalize body on this.
22524 * sysdeps/wordsize-64/iofopen.c: File removed.
22525 * sysdeps/wordsize-64/iofopen64.c: File removed.
22527 2012-08-01 Marek Polacek <polacek@redhat.com>
22529 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22530 Use dlfcn directly instead of a variable.
22531 (binfmt-subdir): Do not define.
22534 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22536 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22537 Remove all definitions.
22538 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22539 <kernel-features.h>.
22540 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22541 (miss_F_GETOWN_EX): Remove all definitions.
22542 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22544 [!__ASSUME_FCNTL64]: Remove conditional code.
22545 [__ASSUME_FCNTL64]: Make code unconditional.
22546 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22547 <kernel-features.h>.
22548 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22549 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22550 (lockf64) [__NR_fcntl64]: Make code unconditional.
22551 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22553 * sysdeps/unix/sysv/linux/kernel-features.h
22554 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22555 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22556 Make code unconditional.
22557 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22558 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22560 [__NR_vfork]: Make code unconditional.
22561 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22562 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22564 [__NR_vfork]: Make code unconditional.
22565 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22566 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22568 2012-08-01 Roland McGrath <roland@hack.frob.com>
22570 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22571 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22573 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22574 Define mkstemp64 as an alias.
22575 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22576 Define mkstemps64 as an alias.
22577 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22578 Define mkostemp64 as an alias.
22579 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22580 Define mkostemps64 as an alias.
22581 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22582 Conditionalize body on this.
22583 * misc/mkostemp64.c: Likewise.
22584 * misc/mkostemps64.c: Likewise.
22585 * misc/mkstemps64.c: Likewise.
22586 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22587 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22588 * sysdeps/wordsize-64/mkostemp.c: File removed.
22589 * sysdeps/wordsize-64/mkstemp.c: File removed.
22590 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22591 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22592 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22593 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22596 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22597 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22598 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22599 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22601 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22602 compat_symbol macros from <shlib-compat.h> rather than the underlying
22603 default_symbol_version and symbol_version macros, so that DEFAULT
22604 lines in shlib-versions are respected.
22605 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22607 2012-08-01 Florian Weimer <fweimer@redhat.com>
22609 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22610 Declare with warn_unused_result.
22611 (setgid, setregid, setegid, setresgid): Likewise.
22612 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22614 * WUR-REPORT: Remove set*id functions.
22616 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22618 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22620 2012-07-31 Roland McGrath <roland@hack.frob.com>
22623 * include/sys/socket.h (__libc_accept, __libc_accept4):
22624 Add attribute_hidden.
22625 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22627 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22629 * inet/getnetgrent_r.c (setup): Likewise.
22631 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22633 2012-07-31 David S. Miller <davem@davemloft.net>
22635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22637 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22640 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22641 value between 1.0 and 2.0 and smaller part has absolute value less
22643 * math/s_clog10.c (__clog10): Likewise.
22644 * math/s_clog10f.c (__clog10f): Likewise.
22645 * math/s_clog10l.c (__clog10l): Likewise.
22646 * math/s_clogf.c (__clogf): Likewise.
22647 * math/s_clogl.c (__clogl): Likewise.
22648 * math/libm-test.inc (clog_test): Add more tests.
22649 (clog10_test): Likewise.
22650 * sysdeps/i386/fpu/libm-test-ulps: Update.
22651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22653 2012-07-31 Florian Weimer <fweimer@redhat.com>
22655 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22656 Exit with zero in case no suitable GID is found, and write a
22657 message to standard error.
22659 2012-07-30 Roland McGrath <roland@hack.frob.com>
22661 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22663 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22664 (MAXPATHLEN): Removed.
22665 (NOGROUP, NODEV): New macros.
22666 (setbit, clrbit, isset, isclr): New macros.
22667 (howmany, roundup, powerof2): New macros.
22668 (DEV_BSIZE): New macro.
22670 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22671 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22673 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22674 definition on [!__NO_LONG_DOUBLE_MATH].
22676 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22677 PTR_MANGLE and PTR_DEMANGLE.
22679 * socket/accept4.c (accept4): Rename to __libc_accept4.
22680 Define accept4 as a weak alias.
22682 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22683 on [_DIRENT_HAVE_D_TYPE].
22684 * io/ftw.c (ftw_dir): Likewise.
22686 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22688 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22690 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22691 Use the BSD numbers rather than the arbitrary ones we had.
22692 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22693 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22694 (SIGXCPU, SIGXFSZ): New macros.
22697 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22698 initializer on [_LIBC_REENTRANT].
22700 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22701 definitions inside [_POSIX_MAPPED_FILES].
22703 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22705 * dirent/opendir.c: Include <fcntl.h>.
22707 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22708 (__libc_getspecific): Likewise.
22709 (__libc_key_create): Likewise.
22711 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22712 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22713 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22714 (tmpfile64): Define as alias.
22715 * sysdeps/wordsize-64/tmpfile.c: File removed.
22716 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22717 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22718 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22720 * stdio-common/vfscanf.c: Include <stdbool.h>.
22721 * nss/makedb.c: Likewise.
22722 * stdio-common/_i18n_number.h: Likewise.
22723 * argp/argp-help.c: Likewise.
22724 * posix/wordexp.c: Likewise.
22725 * sysdeps/posix/spawni.c: Likewise.
22726 * nss/nss_files/files-initgroups.c: Likewise.
22727 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22728 * nss/nss_files/files-initgroups.c: Likewise.
22729 * nss/nss_db/db-netgrp.c: Likewise.
22730 * nss/nss_db/db-initgroups.c: Likewise.
22731 * io/fchmodat.c: Include <sys/stat.h>.
22733 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22734 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22736 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22739 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22740 Add multiple inclusion protection.
22742 2012-07-27 David S. Miller <davem@davemloft.net>
22744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22746 2012-07-27 Gary Benson <gbenson@redhat.com>
22749 * elf/rtld.c: Include <stap-probe.h>.
22750 (dl_main): Added static probes "init_start" and "init_complete".
22751 * elf/dl-load.c: Include <stap-probe.h>.
22752 (lose): Take new parameter "nsid".
22753 Added static probe "map_failed".
22754 (_dl_map_object_from_fd): Pass namespace id to lose.
22755 Added static probe "map_start".
22756 (open_verify): Pass namespace id to lose.
22757 * elf/dl-open.c: Include <stap-probe.h>.
22758 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22759 and "reloc_complete".
22760 * elf/dl-close.c: Include <stap-probe.h>.
22761 (_dl_close_worker): Added static probes "unmap_start" and
22763 * elf/rtld-debugger-interface.txt: New file documenting the above.
22765 2012-07-26 Roland McGrath <roland@hack.frob.com>
22767 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22768 rather than a string variable.
22769 * sunrpc/rpc_main.c (h_output): Likewise.
22770 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22772 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22774 * inet/check_native.c: New file.
22776 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22779 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22780 if larger part has absolute value 1.0.
22781 * math/s_clog10.c (__clog10): Likewise.
22782 * math/s_clog10f.c (__clog10f): Likewise.
22783 * math/s_clog10l.c (__clog10l): Likewise.
22784 * math/s_clogf.c (__clogf): Likewise.
22785 * math/s_clogl.c (__clogl): Likewise.
22786 * math/libm-test.inc (clog_test): Add more tests.
22787 (clog10_test): Likewise.
22788 * sysdeps/i386/fpu/libm-test-ulps: Update.
22789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22791 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22792 (pltexit): Likewise.
22793 (La_regs): Likewise.
22794 (La_retval): Likewise.
22795 (int_retval): Likewise.
22796 Update #error for removed macros to refer only to definitions in
22798 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22800 (pltexit): Likewise.
22801 (La_regs): Likewise.
22802 (La_retval): Likewise.
22803 (int_retval): Likewise.
22804 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22806 (pltexit): Likewise.
22807 (La_regs): Likewise.
22808 (La_retval): Likewise.
22809 (int_retval): Likewise.
22810 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22812 (pltexit): Likewise.
22813 (La_regs): Likewise.
22814 (La_retval): Likewise.
22815 (int_retval): Likewise.
22816 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22818 (pltexit): Likewise.
22819 (La_regs): Likewise.
22820 (La_retval): Likewise.
22821 (int_retval): Likewise.
22822 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22824 (pltexit): Likewise.
22825 (La_regs): Likewise.
22826 (La_retval): Likewise.
22827 (int_retval): Likewise.
22828 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22830 (pltexit): Likewise.
22831 (La_regs): Likewise.
22832 (La_retval): Likewise.
22833 (int_retval): Likewise.
22834 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22835 macro definitions in tst-audit.h.
22836 * sysdeps/i386/tst-audit.h: New file.
22837 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22838 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22839 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22840 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22841 * sysdeps/sh/tst-audit.h: Likewise.
22842 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22843 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22844 * sysdeps/x86_64/tst-audit.h: Likewise.
22846 2012-07-26 Andreas Jaeger <aj@suse.de>
22848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22851 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22852 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22853 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22855 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22856 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22857 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22859 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22862 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22864 (si_call_addr, si_syscall, si_arch): Define new macro.
22865 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22867 (si_call_addr, si_syscall, si_arch): Define new marcro.
22868 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22870 (si_call_addr, si_syscall, si_arch): Define new macro.
22871 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22873 (si_call_addr, si_syscall, si_arch): Define new macro.
22875 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22878 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22879 Change to 2.4.21 where previously 2.4.1.
22880 * sysdeps/unix/sysv/linux/configure: Regenerated.
22881 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22882 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22883 Linux kernel version.
22884 (__ASSUME_STD_AUXV): Remove.
22885 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22887 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22888 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22889 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22890 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22891 (__ASSUME_NETLINK_SUPPORT): Likewise.
22892 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22893 (__no_netlink_support): Remove conditional definition.
22894 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22896 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22897 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22898 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22899 (if_nameindex_ioctl): Remove.
22900 (if_nameindex_netlink): Do not handle __no_netlink_support.
22901 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22903 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22904 Remove conditional code.
22905 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22907 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22909 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22910 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22911 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22913 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22914 [!__ASSUME_STD_AUXV]: Remove conditional code.
22915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22916 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22917 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22919 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22920 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22922 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22924 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22925 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22927 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22929 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22932 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22935 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22936 code unconditional.
22937 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22939 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22941 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22944 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22946 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22949 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22950 code unconditional.
22951 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22953 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22955 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22958 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22959 code unconditional.
22960 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22962 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22964 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22967 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22969 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22970 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22971 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22972 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22973 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22974 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22975 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22976 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22977 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22978 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22979 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22980 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22981 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22982 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22983 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22984 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22985 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22986 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22987 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22989 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22990 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22993 2012-07-25 Florian Weimer <fweimer@redhat.com>
22995 * Versions.def: Add GLIBC_2.17.
22996 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22997 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22998 Introduce __libc_secure_getenv.
22999 * stdlib/Versions (2.17): Add secure_getenv
23000 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23001 * stdlib/secure-getenv.c: Rename __secure_getenv to
23002 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23003 symbol __secure_getenv for GLIBC_2.0.
23004 * stdlib/tst-secure-getenv.c: New.
23005 * stdlib/Makefile (tests): Add testcase.
23006 * manual/startup.texi (Environment Access): Document
23008 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23009 __libc_secure_getenv.
23010 * inet/ruserpass.c (ruserpass): Likewise.
23011 * malloc/mtrace.c (mtrace): Likewise.
23012 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23013 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23014 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23015 * sysdeps/posix/tempname.c: Likewise. Evaluate
23016 HAVE_SECURE_GETENV.
23017 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23018 __secure_getenv to __libc_secure_getenv.
23019 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23026 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23032 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23034 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23035 (struct La_i86_retval): Likewise.
23036 (struct La_x86_64_regs): Likewise.
23037 (struct La_x86_64_retval): Likewise.
23038 (struct La_x32_regs): Likewise.
23039 (struct La_x32_retval): Likewise.
23040 (struct La_ppc32_regs): Likewise.
23041 (struct La_ppc32_retval): Likewise.
23042 (struct La_ppc64_regs): Likewise.
23043 (struct La_ppc64_retval): Likewise.
23044 (struct La_sh_regs): Likewise.
23045 (struct La_sh_retval): Likewise.
23046 (struct La_s390_32_regs): Likewise.
23047 (struct La_s390_32_retval): Likewise.
23048 (struct La_s390_64_regs): Likewise.
23049 (struct La_s390_64_retval): Likewise.
23050 (struct La_sparc32_regs): Likewise.
23051 (struct La_sparc32_retval): Likewise.
23052 (struct La_sparc64_regs): Likewise.
23053 (struct La_sparc64_retval): Likewise.
23054 (struct audit_ifaces): Remove architecture-specific pltenter and
23056 * sysdeps/i386/ldsodefs.h: New file.
23057 * sysdeps/powerpc/ldsodefs.h: Likewise.
23058 * sysdeps/s390/ldsodefs.h: Likewise.
23059 * sysdeps/sh/ldsodefs.h: Likewise.
23060 * sysdeps/sparc/ldsodefs.h: Likewise.
23061 * sysdeps/x86_64/ldsodefs.h: Likewise.
23063 2012-07-25 Marek Polacek <polacek@redhat.com>
23066 * math/libm-test.inc (yn_test): Add another test.
23067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23068 to ERANGE when the result is +-Inf.
23069 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23070 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23071 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23072 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23074 2012-07-24 Joseph Myers <joseph@codesourcery.com>
23076 * conform/data/time.h-data (NULL): Use macro-constant. Require
23078 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23080 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23082 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23084 * configure.in <sysdeps resolving>: Correct printing
23086 * configure: Regenerate.
23088 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23090 * math/w_ilogb.c: Include <limits.h>.
23091 * math/w_ilogbl.c: Likewise.
23093 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23095 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23096 va_copy. Document allowing for unavailable va_copy only as
23097 pre-C99 compatibility.
23098 * manual/string.texi (Copying and Concatenation): Use va_copy
23099 instead of __va_copy in concat example.
23101 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23103 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23104 (__sendto): Use create_address_port. Initialize APORT and deallocate
23107 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23108 with O_NOLINK passed to __file_name_lookup.
23110 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23111 with O_NOLINK passed to __file_name_lookup.
23113 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23114 negative N or less than NGIDS.
23116 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23117 type to string_t. Set ERANGE as errno and return it if NAME is not big
23118 enough. Use memcpy instead of strncpy.
23120 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23122 * elf/Makefile (check-data): Remove.
23123 (localplt.data): New vpath directive.
23124 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23125 instead of $(check-data).
23126 * scripts/data/localplt-generic.data: Move to ...
23127 * sysdeps/generic/localplt.data: ... here.
23128 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23129 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23130 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23133 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23136 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23139 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23142 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23145 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23149 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23151 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23152 PPC32 and PPC64 files.
23153 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23154 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23156 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23158 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23159 __makecontext_ret to ...
23160 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23161 ... here and call exit if uc_link is NULL. New file.
23162 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23163 __makecontext_ret.S.
23164 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23165 __makecontext_ret to ...
23166 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23167 ... here and call exit if uc_link is NULL. New file.
23168 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23169 __makecontext_ret.S.
23171 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23173 * elf/elf.h (R_390_IRELATIVE): New definition.
23174 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23175 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23176 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23177 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23178 (elf_machine_lazy_rel): Likewise.
23179 * sysdeps/s390/dl-irel.h: New file.
23180 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23181 * sysdeps/s390/s390-64/memset.S: New asm code.
23182 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23183 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23184 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23185 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23186 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23187 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23188 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23189 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23190 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23191 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23192 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23193 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23194 * sysdeps/s390/s390-32/memset.S: New asm code.
23195 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23197 2012-07-17 Marek Polacek <polacek@redhat.com>
23200 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23201 * sysdeps/s390/s390-64/configure.in: Likewise.
23202 * sysdeps/sparc/configure.in: Likewise.
23203 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23204 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23205 * sysdeps/i386/configure.in: Likewise.
23206 * sysdeps/x86_64/configure.in: Likewise.
23207 * sysdeps/sh/configure.in: Likewise.
23208 * sysdeps/s390/s390-32/configure: Regenerated.
23209 * sysdeps/s390/s390-64/configure: Likewise.
23210 * sysdeps/x86_64/configure: Likewise.
23211 * sysdeps/sh/configure: Likewise.
23212 * sysdeps/powerpc/powerpc64/configure: Likewise.
23213 * sysdeps/powerpc/powerpc32/configure: Likewise.
23214 * sysdeps/sparc/configure: Likwise.
23215 * sysdeps/i386/configure: Likewise.
23217 * elf/dl-open.c: Comment fixes.
23219 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23221 * Makefile [CXX] (check-data): Remove.
23222 [CXX] (c++-types.data): New vpath directive.
23223 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23224 vpath. Do not allow for C++ type data being missing.
23225 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23226 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23227 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23228 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23229 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23230 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23231 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23234 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23237 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23240 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23243 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23246 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23249 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23252 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23255 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23256 definitions to architecture-specific files.
23257 (TLS_IE): Likewise.
23258 (TLS_LD): Likewise.
23259 (TLS_GD): Likewise.
23260 * sysdeps/i386/tls-macros.h: New file.
23261 * sysdeps/powerpc/tls-macros.h: Likewise.
23262 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23263 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23264 * sysdeps/sh/tls-macros.h: Likewise.
23265 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23266 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23267 * sysdeps/x86_64/tls-macros.h: Likewise.
23269 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23271 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23272 zero value for regular exit case.
23274 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23275 (__start_context): Preserve zero value for regular exit case.
23277 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23278 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23280 * manual/setjmp.texi (setcontext): Clarify normal process
23281 termination when uc_link is the null pointer.
23282 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23285 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23287 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23288 preprocessor. Test for each exception mask separately.
23290 2012-07-16 Andreas Jaeger <aj@suse.de>
23292 * po/ru.po: Update from translation team.
23294 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23296 * conform/data/string.h-data (NULL): Use macro-constant. Require
23298 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23299 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23300 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23301 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23302 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23304 2012-07-13 Andreas Jaeger <aj@suse.de>
23306 * po/fr.po: Update from translation team.
23308 2012-07-12 Marek Polacek <polacek@redhat.com>
23311 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23312 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23315 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23318 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23319 Change to 2.4.1 where previously 2.4.0.
23320 * sysdeps/unix/sysv/linux/configure: Regenerated.
23321 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23322 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23324 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23325 (__ASSUME_AT_CLKTCK): Remove.
23326 (__ASSUME_AT_PAGESIZE): Likewise.
23327 (__ASSUME_AT_XID): Likewise.
23328 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23329 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23330 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23332 (HAVE_AUX_PAGESIZE): Likewise.
23333 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23334 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23335 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23337 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23341 the temporary buffer used to invoke __gethostbyname2_r,
23342 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23343 host_data / struct gaih_addrtuple.
23344 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23345 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23346 header file nss/nsswitch.h.
23347 * nss/nsswitch.h (global scope): Add definition of implementation
23348 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23349 resolv/nss_dns/dns-host.c).
23351 2012-07-11 Andreas Jaeger <aj@suse.de>
23353 * po/fr.po: Update from translation team.
23355 * po/sv.po: Update from translation team
23356 * po/fr.po: Another update from translation team.
23358 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23360 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23361 for subnormals or multiply small sinh result by itself.
23362 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23365 2012-07-11 David S. Miller <davem@davemloft.net>
23367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23369 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23372 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23373 (INTERNAL_MARK): Shift it here.
23375 2012-07-10 Marek Polacek <polacek@redhat.com>
23378 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23379 libc_cv_asm_global_directive with .globl.
23380 * configure: Regenerated.
23381 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23383 * sysdeps/i386/configure: Regenerated.
23384 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23386 * sysdeps/x86_64/configure: Regenerated.
23387 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23388 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23389 * elf/tst-unique2mod2.c: Likewise.
23390 * elf/tst-unique2mod1.c: Likewise.
23391 * elf/tst-unique1mod2.c: Likewise.
23392 * elf/tst-unique1mod1.c: Likewise.
23393 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23394 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23395 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23396 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23397 * sysdeps/mach/sysdep.h: Likewise.
23398 * sysdeps/i386/sysdep.h: Likewise.
23399 * sysdeps/i386/i386-mcount.S: Likewise.
23400 * sysdeps/x86_64/_mcount.S: Likewise.
23401 * sysdeps/x86_64/sysdep.h: Likewise.
23402 * sysdeps/sh/_mcount.S: Likewise.
23403 * sysdeps/sh/sysdep.h: Likewise.
23404 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23405 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23406 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23407 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23408 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23409 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23410 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23411 * locale/localeinfo.h: Likewise.
23412 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23413 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23415 2012-07-09 Roland McGrath <roland@hack.frob.com>
23418 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23420 * manual/message.texi (The Uniforum approach): Likewise.
23421 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23422 (glibc iconv Implementation): Likewise.
23424 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23427 * math/s_clog.c (__clog): Avoid scaling a value down where that
23428 could result in underflow.
23429 * math/s_clog10.c (__clog10): Likewise.
23430 * math/s_clog10f.c (__clog10f): Likewise.
23431 * math/s_clog10l.c (__clog10l): Likewise.
23432 * math/s_clogf.c (__clogf): Likewise.
23433 * math/s_clogl.c (__clogl): Likewise.
23434 * math/libm-test.inc (clog_test): Add more tests.
23435 (clog10_test): Likewise.
23436 * sysdeps/i386/fpu/libm-test-ulps: Update.
23437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23439 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23442 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23443 by 7 not 8 to examine high bit of fractional part.
23446 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23447 for call to __mcount_internal.
23448 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23449 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23450 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23452 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23455 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23456 approximation for values within 0x1p-13f of an odd multiple of
23458 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23459 exception. Add more tests.
23460 * sysdeps/i386/fpu/libm-test-ulps: Update.
23463 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23464 inputs and return -1 for them. Do not check for +Inf in case not
23465 reachable for +Inf.
23466 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23467 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23468 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23469 and return -1 for them. Do not check for +Inf in case not
23470 reachable for +Inf.
23471 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23473 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23474 and return -1 for them. Do not check for +Inf in case not
23475 reachable for +Inf.
23476 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23477 spurious underflow.
23478 * sysdeps/i386/fpu/libm-test-ulps: Update.
23479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23481 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23483 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23485 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23489 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23490 could result in spurious underflow. Scale down values above
23491 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23492 * math/s_csqrtf.c (__csqrtf): Likewise.
23493 * math/s_csqrtl.c (__csqrtl): Likewise.
23494 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23495 spurious underflow.
23496 * sysdeps/i386/fpu/libm-test-ulps: Update.
23497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23499 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23501 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23503 * catgets/xopen-msg.awk: New file.
23504 * catgets/xopen-msg.sed: Removed.
23506 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23508 * intl/po2test.awk: New file.
23509 * intl/po2test.sed: Removed.
23511 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23514 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23515 or multiply small sinh result by itself.
23516 * math/s_ctanf.c (__ctanf): Likewise.
23517 * math/s_ctanh.c (__ctanh): Likewise.
23518 * math/s_ctanhf.c (__ctanhf): Likewise.
23519 * math/s_ctanhl.c (__ctanhl): Likewise.
23520 * math/s_ctanl.c (__ctanl): Likewise.
23521 * math/libm-test.inc (ctan_test_tonearest): New function.
23522 (ctan_test_towardzero): Likewise.
23523 (ctan_test_downward): Likewise.
23524 (ctan_test_upward): Likewise.
23525 (ctanh_test_tonearest): Likewise.
23526 (ctanh_test_towardzero): Likewise.
23527 (ctanh_test_downward): Likewise.
23528 (ctanh_test_upward): Likewise.
23529 (main): Call these new functions.
23530 * sysdeps/i386/fpu/libm-test-ulps: Update.
23531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23533 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23535 * .gitignore: Delete /ports entry.
23537 2012-07-03 Andreas Jaeger <aj@suse.de>
23539 * po/bg.po: Update from translation team.
23540 * po/cs.po: Likewise.
23541 * po/de.po: Likewise.
23542 * po/hr.po: Likewise.
23543 * po/nl.pl: Likewise.
23544 * po/pl.po: Likewise.
23545 * po/vi.po: Likewise.
23547 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23549 * Makeconfig [!+link] (+link-before-libc): New variable.
23550 [!+link] (+link-after-libc): Likewise.
23551 [!+link] (+link-tests): Likewise.
23552 [!+link] (+link): Define in terms of $(+link-before-libc) and
23553 $(+link-after-libc).
23554 [!+link-static] (+link-static-before-libc): New variable.
23555 [!+link-static] (+link-static-after-libc): Likewise.
23556 [!+link-static] (+link-static-tests): Likewise.
23557 [!+link-static] (+link-static): Define in terms of
23558 $(+link-static-before-libc) and $(+link-static-after-libc).
23559 [build-shared] (link-libc-before-gnulib): New variable.
23560 [build-shared] (link-libc-tests): Likewise.
23561 [build-shared] (link-libc): Define in terms of
23562 $(link-libc-before-gnulib).
23563 [!build-shared] (link-libc-tests): New variable.
23564 (link-libc-static-tests): New variable.
23565 [!gnulib] (gnulib-arch): New variable.
23566 [!gnulib] (gnulib-tests): Likewise.
23567 [!gnulib] (static-gnulib-arch): Likewise.
23568 [!gnulib] (static-gnulib-tests): Likewise.
23569 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23570 Define with "=" instead of ":=".
23571 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23572 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23573 * Rules (binaries-all-notests): New variable.
23574 (binaries-all-tests): Likewise.
23575 (binaries-static-notests): Likewise.
23576 (binaries-static-tests): Likewise.
23577 (binaries-all): Define using $(binaries-all-notests) and
23578 $(binaries-all-tests).
23579 (binaries-static): Define using $(binaries-static-notests) and
23580 $(binaries-static-tests).
23581 (binaries-shared-tests): New variable.
23582 (binaries-shared-notests): Likewise.
23583 (binaries-shared): Remove variable.
23584 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23585 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23586 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23587 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23588 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23589 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23590 * elf/Makefile (sln-modules): New variable.
23591 (extra-objs): Add $(sln-modules:=.o).
23592 (ldconfig-modules): Add static-stubs.
23593 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23594 * elf/static-stubs.c: New file.
23597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23598 by 7 not 8 to examine high bit of fractional part. Use volatile
23599 variables when splitting into final array of floats if
23600 __FLT_EVAL_METHOD__ != 0.
23601 * math/libm-test.inc (cos_test): Add another test.
23602 (sin_test): Likewise.
23603 * sysdeps/i386/fpu/libm-test-ulps: Update.
23606 * math/libm-test.inc (cosh_test): Add more tests.
23608 * version.h (RELEASE): Set to "development".
23609 (VERSION): Set to "2.16.90".
23611 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23613 * NEWS: Update copyright. Remove last-updated date.
23614 Mention math library bug fixes and timezone data changes.
23615 * README: Mention GNU/Hurd, x32, and HPPA support status.
23617 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23619 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23621 2012-06-27 Andreas Jaeger <aj@suse.de>
23623 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23625 2012-06-25 Andreas Jaeger <aj@suse.de>
23627 * sysdeps/s390/fpu/libm-test-ulps: Update.
23629 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23630 Thomas Schwinge <thomas@codesourcery.com>
23632 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23633 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23637 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23639 * sysdeps/mach/start.c: Remove file.
23640 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23641 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23642 * sysdeps/sh/init-first.c: Likewise.
23644 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23645 registers for frame unwinding purposes, add CFI directives.
23646 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23647 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23648 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23651 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23652 __fortify_fail returning.
23653 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23655 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23656 sysdeps/sh/____longjmp_chk.S.
23657 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23658 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23659 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23660 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23662 * sysdeps/sh/abort-instr.h: New file.
23663 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23664 process in case exit returns.
23666 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23667 initialize the GOT register before use.
23669 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23670 calculation of ARGC > 4.
23672 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23673 meaningful names to some local labels.
23675 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23676 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23678 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23679 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23680 (__arch_compare_and_exchange_val_16_acq): Likewise.
23681 (__arch_compare_and_exchange_val_32_acq): Likewise.
23682 (atomic_exchange_and_add): Fix gUSA sequence.
23683 (atomic_add): Likewise.
23684 (atomic_add_negative): Likewise.
23685 (atomic_add_zero): Likewise.
23686 (atomic_bit_test_set): Likewise.
23688 2012-06-22 Andreas Schwab <schwab@redhat.com>
23691 * include/link.h (struct link_map): Add l_free_initfini.
23692 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23694 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23695 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23696 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23699 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23701 * configure.in: Use AC_LANG_SOURCE.
23702 * configure: Regenerate.
23704 2012-06-22 Roland McGrath <roland@hack.frob.com>
23706 * configure.in (libc_cv_localstatedir): New substituted variable.
23707 * configure: Regenerated.
23708 * config.make.in (localstatedir): New variable, substituted from
23709 libc_cv_localstatedir.
23710 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23711 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23712 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23713 * sysdeps/gnu/configure: Regenerated.
23715 2012-06-21 Jeff Law <law@redhat.com>
23718 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23719 free. Simplify list management for _LIBC case.
23721 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23724 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23725 Clear sign bit of 64-bit integer value before comparing against
23728 * sysdeps/mach/configure: Regenerated.
23730 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23733 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23735 2012-06-21 Jeff Law <law@redhat.com>
23738 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23739 uint16_t for elements in the "seen" array to avoid char overflows.
23740 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23741 * elf/dl-open.c (dl_open_worker): Likewise.
23743 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23745 * scripts/list-sources.sh: Scan PORTS for translations.
23746 * po/libc.pot: Regenerated.
23748 2012-06-21 Andreas Jaeger <aj@suse.de>
23751 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23753 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23754 * bits/byteswap-16.h (__bswap_16): Likewise.
23755 * bits/byteswap.h (__bswap_constant_16): Likewise.
23757 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23760 * sysdeps/i386/fpu_control.h: Removed.
23761 * sysdeps/x86_64/fpu_control.h: Moved to ...
23762 * sysdeps/x86/fpu_control.h: Here.
23764 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23765 (_FPU_SETCW): Likewise.
23767 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23770 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23771 * sysdeps/x86/fpu/bits/mathinline.h: This.
23772 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23776 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23777 functions if __x86_64__ is defined.
23779 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23781 * string/endian.h: Add !__ASSEMBLER__ condition for including
23782 conversion interfaces.
23784 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23787 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23788 of ABS(x) in calculating zero to negative powers other than odd
23790 * math/libm-test.inc (pow_test): Add more tests.
23792 2012-06-15 Andreas Jaeger <aj@suse.de>
23794 * manual/contrib.texi (Contributors): Update entry of Liubov
23795 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23798 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23800 * string/string.h: Add __wur to GNU version of strerror_r.
23802 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23805 * string/Makefile (tests): Add tst-strtok_r.
23806 * string/tst-strtok_r.c: New file.
23807 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23808 RAX_LP/RDX_LP on SAVE_PTR.
23810 2012-06-14 Roland McGrath <roland@hack.frob.com>
23812 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23814 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23816 * libm_test.inc (csqrt_test): Allow more spurious underflow
23818 (j0_test): Likewise.
23819 (j1_test): Likewise.
23820 (y0_test): Likewise.
23821 (y1_test): Likewise.
23823 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23825 * po/Makefile (libc.pot): Use UTF-8 charset.
23827 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23830 Suppress sign-conversion warning from FD_SET.
23831 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23832 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23833 not unsigned long int.
23834 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23836 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23840 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23841 __extern_always_inline instead of __extern_inline.
23842 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23843 (__signbit): Likewise.
23844 (__signbitl): Support C++ namespace.
23845 (lrintf): New inline function.
23847 (llrintf): Likewise.
23848 (llrint): Likewise.
23858 (floorf): Likewise.
23859 (nearbyint): Likewise.
23860 (nearbyintf): Likewise.
23862 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23864 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23865 non-default versions.
23867 2012-06-11 Roland McGrath <roland@hack.frob.com>
23870 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23872 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23874 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23875 (FE_UPWARD, FE_DOWNWARD): Don't define.
23876 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23877 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23879 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23881 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23882 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23884 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23886 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23887 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23888 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23889 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23891 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23894 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23895 * sysdeps/i386/fpu/Implies: New file.
23896 * sysdeps/x86_64/fpu/Implies: Likewise.
23897 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23898 * sysdeps/x86/fpu/bits/fenv.h: This.
23900 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23903 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23906 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23907 character 0xffff that matches the last element of the
23910 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23912 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23915 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23917 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23918 values higher than 25.6283.
23920 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23923 subnormal exponent extraction and add some __builtin_expect.
23924 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23925 Fix for subnormal mantissa calculation.
23927 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23929 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23930 cpu2 is -1 and errno is not ENOSYS.
23932 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23935 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23936 * sysdeps/x86/bits/string.h: This.
23937 * sysdeps/x86_64/bits/string.h: Removed.
23939 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23940 if not compiling for x86-64, but compiling for >= i486.
23942 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23943 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23945 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23946 New macro from Linux kernel 3.4.0.
23947 (FP_XSTATE_MAGIC2): Likewise.
23948 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23949 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23950 (struct _fpx_sw_bytes): New struct.
23951 (struct _xsave_hdr): Likewise.
23952 (struct _ymmh_state): Likewise.
23953 (struct _xstate): Likewise.
23955 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23956 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23957 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23958 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23959 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23960 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23962 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23963 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23964 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23965 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23966 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23967 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23969 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23972 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23973 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23974 (sysdep_headers): Include sys/platform/ppc.h.
23975 * sysdeps/powerpc/test-gettimebase.c: Test for
23976 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23977 * manual/Makefile (appendices): Include platform.texi.
23978 * manual/contrib.texi (Contributors): Update @node pointers.
23979 * manual/maint.texi (Maintenance): Likewise.
23980 (Platform): New node.
23981 * manual/platform.texi: New file. Document the new features.
23983 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23984 Jakub Jelinek <jakub@redhat.com>
23987 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23988 where __builtin_expect is unavailable.
23990 2012-06-03 David S. Miller <davem@davemloft.net>
23992 * stdlib/longlong.h: Updated from GCC.
23994 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23997 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23998 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24001 (GLIBC_2.16): Likewise.
24003 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24005 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24007 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24010 (default-abi): New variable.
24011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24012 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24014 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24016 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24018 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24021 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24022 definition. Document in comment.
24024 2012-06-01 David S. Miller <davem@davemloft.net>
24026 * stdlib/longlong.h: Updated from GCC.
24028 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24031 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24032 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24033 sys/debugreg.h sys/io.h here.
24034 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24035 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24037 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24038 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24039 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24040 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24041 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24042 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24044 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24045 Define only if __x86_64__ is defined.
24047 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24050 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24051 Use int64_t for variable i.
24052 * math/libm-test.inc (fmod_test): Add more tests.
24054 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24055 z computation is not scheduled after fetestexcept.
24056 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24057 Use math_force_eval instead of asm to ensure calculation scheduled
24058 before exception test.
24059 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24060 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24062 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24065 computation is not scheduled after fetestexcept.
24067 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24070 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24071 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24073 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24075 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24076 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24078 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24081 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24083 (__WCHAR_MIN): Support __WORDSIZE == 64.
24084 (__WCHAR_MAX): Likewise.
24086 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24087 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24090 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24091 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24094 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24095 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24097 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24098 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24100 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24101 Defined to 1 if __x86_64__ isn't defined.
24102 (_STAT_VER_LINUX_OLD): New.
24103 (st_atime): Remove duplicate.
24104 (st_mtime): Likewise.
24105 (st_ctime): Likewise.
24107 2012-05-31 David S. Miller <davem@davemloft.net>
24109 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24112 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24114 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24118 * elf/dl-reloc.c: Include <_itoa.h>.
24119 (_dl_reloc_bad_type): Remove use of INTUSE.
24120 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24121 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24122 * stdio-common/psiginfo.c (psiginfo): Likewise.
24123 * stdio-common/psignal.c (psignal): Likewise.
24124 * string/strsignal.c (strsignal): Likewise.
24125 * include/signal.h (_sys_siglist): Declare hidden proto.
24126 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24127 INTVARDEF with libc_hidden_data_def.
24128 * stdio-common/itoa-udigits.c: Likewise.
24129 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24130 (_itoa_lower_digits_internal): Remove declaration.
24131 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24132 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24133 (_sys_sigabbrev_internal): Remove aliases.
24134 (_sys_siglist): Define hidden alias.
24136 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24141 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24144 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24145 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24147 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24148 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24149 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24150 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24151 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24152 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24154 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24155 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24156 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24158 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24166 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24167 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24168 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24170 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24171 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24172 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24173 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24174 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24175 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24177 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24178 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24180 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24181 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24183 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24184 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24185 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24187 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24188 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24190 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24192 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24193 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24194 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24196 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24198 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24200 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24202 * math/math.h (M_El): Use two more decimal places.
24203 (M_LOG2El): Likewise.
24204 (M_LOG10El): Likewise.
24205 (M_LN2l): Likewise.
24206 (M_LN10l): Likewise.
24208 (M_PI_2l): Likewise.
24209 (M_PI_4l): Likewise.
24210 (M_1_PIl): Likewise.
24211 (M_2_PIl): Likewise.
24212 (M_2_SQRTPIl): Likewise.
24213 (M_SQRT2l): Likewise.
24214 (M_SQRT1_2l): Likewise.
24216 2012-05-31 David S. Miller <davem@davemloft.net>
24218 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24219 values between float registers.
24220 * sysdeps/sparc/sparc64/memset.S: Likewise.
24221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24223 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24225 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24226 -D_FORTIFY_SOURCE=1.
24227 (CPPFLAGS-tst-longjmp_chk.c): Define.
24228 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24229 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24230 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24231 CFLAGS-tst-wchar-h.c.
24233 2012-05-31 Marek Polacek <polacek@redhat.com>
24236 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24237 __endmntent_internal): Remove declaration.
24238 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24239 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24240 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24242 2012-05-30 David S. Miller <davem@davemloft.net>
24244 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24245 (___Q_simulate_exceptions): Use real FP ops rather than writing
24247 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24250 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24253 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24254 * sysdeps/x86/bits/xtitypes.h: This.
24256 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24257 * sysdeps/x86/bits/wordsize.h: This.
24259 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24260 * sysdeps/x86/bits/huge_vall.h: This.
24262 * sysdeps/i386/bits/select.h: Removed.
24263 * sysdeps/x86_64/bits/select.h: Renamed to ...
24264 * sysdeps/x86/bits/select.h: This.
24266 * sysdeps/i386/bits/setjmp.h: Removed.
24267 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24268 * sysdeps/x86/bits/setjmp.h: This.
24270 * sysdeps/i386/bits/mathdef.h: Removed.
24271 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24272 * sysdeps/x86/bits/mathdef.h: This.
24274 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24277 * include/sys/socket.h (__connect_internal)
24278 (__libc_sa_len_internal): Remove declaration.
24279 (__connect, __libc_sa_len): Declare hidden_proto.
24280 (SA_LEN): Remove use of INTUSE.
24281 * socket/connect.c: Add libc_hidden_def.
24282 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24283 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24284 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24286 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24287 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24288 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24289 of adding _internal alias.
24291 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24294 * sysdeps/i386/bits/link.h: Removed.
24295 * sysdeps/i386/bits/linkmap.h: Likewise.
24296 * sysdeps/x86_64/bits/link.h: Renamed to ...
24297 * sysdeps/x86/bits/link.h: This.
24298 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24299 * sysdeps/x86/bits/linkmap.h: This.
24301 * sysdeps/i386/bits/endian.h: Removed.
24302 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24303 * sysdeps/x86/bits/endian.h: This.
24305 * sysdeps/i386/bits/byteswap.h: Removed.
24306 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24307 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24308 * sysdeps/x86/bits/byteswap.h: This.
24309 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24310 * sysdeps/x86/bits/byteswap-16.h: This.
24311 * sysdeps/i386/Implies: Add x86.
24312 * sysdeps/x86_64/Implies: Likewise.
24314 2012-05-30 David S. Miller <davem@davemloft.net>
24316 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24317 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24318 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24319 (FP_TRAPPING_EXCEPTIONS): Define.
24320 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24321 (FP_TRAPPING_EXCEPTIONS): Define.
24322 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24323 subnormals only when inexact has been signalled or underflow
24324 exceptions are enabled.
24325 (_FP_PACK_CANONICAL): Likewise.
24327 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24331 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24333 2012-05-30 Richard Henderson <rth@twiddle.net>
24335 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24336 with #ifndef NOT_IN_libc.
24338 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24339 marked to avoid plt entry.
24341 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24344 * Makeconfig (default-abi): New macro.
24345 (abi-includes): Likewise.
24346 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24347 $(abi-$(default-abi)-lib-soname) for soname if defined.
24348 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24350 * Makefile (installed-stubs): Likewise.
24351 * include/stubs-biarch.h: Removed.
24352 * scripts/lib-names.awk: Only handle one library at a time.
24353 * scripts/soversions.awk: Remove WORDSIZE support.
24354 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24356 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24358 (syscall-list-default-condition): Likewise.
24359 (syscall-list-default-condition): Likewise.
24360 (syscall-list-includes): Likewise.
24361 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24362 syscall-list-* with abi-*. Handle undefined abi-variants.
24363 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24364 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24365 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24366 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24367 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24368 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24370 (syscall-list-32-options): Likewise.
24371 (syscall-list-32-condition): Likewise.
24372 (syscall-list-64-options): Likewise.
24373 (syscall-list-64-condition): Likewise.
24374 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24376 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24379 (abi-64-ld-soname): New macro.
24380 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24381 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24384 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24385 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24387 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24389 * sysdeps/unix/sysv/linux/kernel-features.h
24390 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24391 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24392 include <kernel-features.h>.
24393 [!__NR_ftruncate64]: Remove conditional code.
24394 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24395 [__NR_ftruncate64]: Make code unconditional.
24396 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24397 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24398 include <kernel-features.h>.
24399 [!__NR_ftruncate64]: Remove conditional code.
24400 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24401 [__NR_ftruncate64]: Make code unconditional.
24402 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24404 include <kernel-features.h>.
24405 [!__NR_ftruncate64]: Remove conditional code.
24406 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24407 [__NR_ftruncate64]: Make code unconditional.
24408 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24410 include <kernel-features.h>.
24411 [!__NR_ftruncate64]: Remove conditional code.
24412 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24413 [__NR_ftruncate64]: Make code unconditional.
24414 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24416 * configure.in (libc_cv_fpie): Weaken to a compile test using
24417 LIBC_TRY_CC_OPTION.
24418 * configure: Regenerated.
24420 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24435 2012-05-27 David S. Miller <davem@davemloft.net>
24437 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24439 (__Q_simulate_exceptions): Return void. Change to simulate
24440 exceptions by writing into the %fsr.
24441 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24442 (__Qp_handle_exceptions): Likewise.
24444 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24445 __Qp_handle_exceptions.
24446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24447 __Qp_handle_exceptions.
24448 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24449 as unused and give dummy FP_RND_NEAREST initializer.
24450 (FP_INHIBIT_RESULTS): Define.
24451 (___Q_simulate_exceptions): Update declaration.
24452 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24454 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24455 as unused and give dummy FP_RND_NEAREST initializer.
24456 (__Qp_handle_exceptions): Update declaration.
24457 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24460 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24462 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24463 the temporary FPU control word.
24464 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24465 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24466 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24467 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24468 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24469 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24470 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24471 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24472 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24473 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24474 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24476 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24478 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24481 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24483 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24484 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24485 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24486 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24488 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24489 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24492 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24494 * po/h.po: Update from translation team.
24496 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24498 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24500 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24501 handling of denormals.
24502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24503 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24504 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24505 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24506 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24511 2012-05-26 Marek Polacek <polacek@redhat.com>
24514 * math/libm-test.inc (fma_test): Don't always expect underflow
24517 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24520 * elf/tst-execstack.c: Include stackinfo.h.
24521 (do_test): Adjust test case to ensure that pthread_getattr_np
24522 behaviour remains the same after marking stack executable.
24524 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24526 * sysdeps/unix/sysv/linux/kernel-features.h
24527 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24528 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24530 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24531 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24532 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24534 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24535 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24537 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24539 * configure.in: Define the default includes to being none.
24540 * configure: Regenerated.
24542 2012-05-25 Roland McGrath <roland@hack.frob.com>
24544 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24545 * sysdeps/x86_64/setjmp.S: Likewise.
24546 * sysdeps/i386/bsd-setjmp.S: Likewise.
24547 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24548 * sysdeps/i386/setjmp.S: Likewise.
24549 * sysdeps/i386/__longjmp.S: Likewise.
24550 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24551 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24553 * include/stap-probe.h: New file.
24554 * configure.in: Handle --enable-systemtap.
24555 * configure: Regenerated.
24556 * config.h.in (USE_STAP_PROBE): New #undef.
24557 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24558 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24559 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24561 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24565 to 2.4.0 where earlier.
24566 * sysdeps/unix/sysv/linux/configure: Regenerated.
24567 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24568 <kernel-features.h>.
24569 [__ASSUME_32BITUIDS]: Make code unconditional.
24570 [!__ASSUME_32BITUIDS]: Remove conditional code.
24571 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24572 <kernel-features.h>.
24573 [__ASSUME_32BITUIDS]: Make code unconditional.
24574 [!__ASSUME_32BITUIDS]: Remove conditional code.
24575 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24576 [__ASSUME_32BITUIDS]: Make code unconditional.
24577 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24578 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/i386/semctl.c: Do not include
24615 <kernel-features.h>.
24616 [__ASSUME_32BITUIDS]: Make code unconditional.
24617 [!__ASSUME_32BITUIDS]: Remove conditional code.
24618 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24619 <kernel-features.h>.
24620 [__NR_setresgid] (__setresgid): Do not declare.
24621 [__ASSUME_32BITUIDS]: Make code unconditional.
24622 [!__ASSUME_32BITUIDS]: Remove conditional code.
24623 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24624 <kernel-features.h>.
24625 [__NR_setresuid] (__setresuid): Do not declare.
24626 [__ASSUME_32BITUIDS]: Make code unconditional.
24627 [!__ASSUME_32BITUIDS]: Remove conditional code.
24628 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24629 <kernel-features.h>.
24630 [__ASSUME_32BITUIDS]: Make code unconditional.
24631 [!__ASSUME_32BITUIDS]: Remove conditional code.
24632 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24633 <kernel-features.h>.
24634 [__ASSUME_32BITUIDS]: Make code unconditional.
24635 [!__ASSUME_32BITUIDS]: Remove conditional code.
24636 * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.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/i386/setregid.c: Do not include
24645 <kernel-features.h>.
24646 [__ASSUME_32BITUIDS]: Make code unconditional.
24647 [!__ASSUME_32BITUIDS]: Remove conditional code.
24648 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24649 <kernel-features.h>.
24650 [__ASSUME_32BITUIDS]: Make code unconditional.
24651 [!__ASSUME_32BITUIDS]: Remove conditional code.
24652 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24653 <kernel-features.h>.
24654 [__ASSUME_32BITUIDS]: Make code unconditional.
24655 [!__ASSUME_32BITUIDS]: Remove conditional code.
24656 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24657 <kernel-features.h>.
24658 [__ASSUME_32BITUIDS]: Make code unconditional.
24659 [!__ASSUME_32BITUIDS]: Remove conditional code.
24660 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24661 <kernel-features.h>.
24662 [__ASSUME_32BITUIDS]: Make code unconditional.
24663 [!__ASSUME_32BITUIDS]: Remove conditional code.
24664 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24665 <kernel-features.h>.
24666 [__ASSUME_32BITUIDS]: Make code unconditional.
24667 [!__ASSUME_32BITUIDS]: Remove conditional code.
24668 * sysdeps/unix/sysv/linux/kernel-features.h
24669 (__ASSUME_SETRESUID_SYSCALL): Remove.
24670 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24671 (__ASSUME_32BITUIDS): Likewise.
24672 (__ASSUME_LDT_WORKS): Likewise.
24673 (__ASSUME_O_DIRECTORY): Likewise.
24674 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24675 architecture but not kernel version.
24676 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24677 (__ASSUME_MMAP2_SYSCALL): Likewise.
24678 (__ASSUME_STAT64_SYSCALL): Likewise.
24679 (__ASSUME_IPC64): Likewise.
24680 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24681 <kernel-features.h>.
24682 [__ASSUME_32BITUIDS]: Make code unconditional.
24683 [!__ASSUME_32BITUIDS]: Remove conditional code.
24684 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24685 <kernel-features.h>.
24686 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24687 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24688 132096]: Remove conditional code.
24689 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24690 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24691 <kernel-features.h>.
24692 [__ASSUME_32BITUIDS]: Make code unconditional.
24693 [!__ASSUME_32BITUIDS]: Remove conditional code.
24694 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24695 <kernel-features.h>.
24696 [__ASSUME_32BITUIDS]: Make code unconditional.
24697 [!__ASSUME_32BITUIDS]: Remove conditional code.
24698 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24699 <kernel-features.h>.
24700 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24702 (__setresgid): Do not declare.
24703 [__ASSUME_32BITUIDS]: Make code unconditional.
24704 [!__ASSUME_32BITUIDS]: Remove conditional code.
24705 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24706 <kernel-features.h>.
24707 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24709 (__setresuid): Do not declare.
24710 [__ASSUME_32BITUIDS]: Make code unconditional.
24711 [!__ASSUME_32BITUIDS]: Remove conditional code.
24712 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24713 <kernel-features.h>.
24714 [__ASSUME_32BITUIDS]: Make code unconditional.
24715 [!__ASSUME_32BITUIDS]: Remove conditional code.
24716 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24717 <kernel-features.h>.
24718 [__ASSUME_32BITUIDS]: Make code unconditional.
24719 [!__ASSUME_32BITUIDS]: Remove conditional code.
24721 2012-05-25 Richard Henderson <rth@twiddle.net>
24723 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24724 dl_hwcap to ifunc resolver.
24725 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24727 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24728 dl_hwcap to ifunc resolver.
24729 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24731 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24734 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24735 for |x| <= 2**-26, not 2**-57.
24736 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24739 2012-05-24 Jeff Law <law@redhat.com>
24741 * stdio-common/Makefile (tests): Add bug25.
24742 * stdio-common/bug25.c: New test.
24744 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24747 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24748 multiple of MALLOC_ALIGNMENT in size.
24749 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24751 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24753 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24755 (FILENAME_MAX): Use macro-int-constant.
24756 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24757 (_IOFBF): Use macro-int-constant.
24758 (_IOLBF): Likewise.
24759 (_IONBF): Likewise.
24760 (SEEK_CUR): Likewise.
24761 (SEEK_END): Likewise.
24762 (SEEK_SET): Likewise.
24763 (TMP_MAX): Likewise.
24764 (EOF): Use macro-int-constant. Require < 0.
24765 (NULL): Use macro-constant. Require == 0.
24766 (stdin): Require type to be FILE *.
24767 (stdout): Likewise.
24768 (stderr): Likewise.
24769 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24770 macro-int-constant.
24771 (EXIT_SUCCESS): Likewise.
24772 (NULL): Use macro-constant. Require == 0.
24773 (RAND_MAX): Use macro-int-constant.
24774 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24775 [C99-based standards] (strtof): Require function.
24776 [C99-based standards] (strtold): Likewise.
24777 [C99-based standards] (strtoll): Likewise.
24778 [C99-based standards] (strtoull): Likewise.
24779 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24780 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24781 [ISO || ISO99 || ISO11] (math.h): Likewise.
24782 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24783 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24784 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24786 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24789 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24790 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24791 * intl/dgettext.c (DCGETTEXT): Likewise.
24792 * intl/gettext.c (DCGETTEXT): Likewise.
24793 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24794 * posix/regex_internal.h (gettext): Likewise.
24795 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24796 Remove declaration.
24797 * include/argz.h (__argz_count_internal)
24798 (__argz_stringify_internal): Remove declaration.
24799 (__argz_count, __argz_stringify): Declare hidden proto.
24800 * intl/dcgettext.c: Remove use of INTDEF.
24801 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24802 * string/argz-stringify.c: Likewise.
24803 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24804 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24805 Declare hidden proto.
24806 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24807 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24808 Declare hidden proto.
24809 * include/stdio.h (__asprintf_internal): Don't declare.
24810 (__asprintf): Don't define as macro. Declare hidden proto.
24811 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24812 (__fsetlocking): Declare hidden proto.
24813 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24814 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24816 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24817 (_IO_setlinebuf): Remove use of INTUSE.
24818 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24819 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24820 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24821 Remove declaration.
24822 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24823 (_IO_do_flush): Remove use of INTUSE.
24824 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24825 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24826 (_IO_adjust_column, _IO_least_wmarker)
24827 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24828 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24829 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24830 (_IO_default_doallocate, _IO_wdefault_doallocate)
24831 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24832 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24833 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24834 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24835 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24836 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24837 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24838 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24839 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24840 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24841 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24842 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24843 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24845 (_IO_flush_all_internal, _IO_adjust_column_internal)
24846 (_IO_default_uflow_internal, _IO_default_finish_internal)
24847 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24848 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24849 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24850 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24851 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24852 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24853 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24854 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24855 (_IO_file_close_internal, _IO_file_close_it_internal)
24856 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24857 (_IO_file_init_internal, _IO_file_attach_internal)
24858 (_IO_file_fopen_internal, _IO_file_read_internal)
24859 (_IO_file_sync_internal, _IO_file_seek_internal)
24860 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24861 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24862 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24863 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24864 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24865 (_IO_list_all_internal, _IO_link_in_internal)
24866 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24867 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24868 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24869 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24870 (_IO_do_write_internal, _IO_padn_internal)
24871 (_IO_getline_info_internal, _IO_getline_internal)
24872 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24873 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24874 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24875 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24876 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24877 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24878 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24879 with libc_hidden_ver, remove use of INTUSE.
24880 * libio/genops.c: Likewise.
24881 * libio/freopen.c: Likewise.
24882 * libio/freopen64.c: Likewise.
24883 * libio/iofclose.c: Likewise.
24884 * libio/iofdopen.c: Likewise.
24885 * libio/iofflush.c: Likewise.
24886 * libio/iofflush_u.c: Likewise.
24887 * libio/iofgets.c: Likewise.
24888 * libio/iofgets_u.c: Likewise.
24889 * libio/iofopen.c: Likewise.
24890 * libio/iofopncook.c: Likewise.
24891 * libio/iofread.c: Likewise.
24892 * libio/iofread_u.c: Likewise.
24893 * libio/ioftell.c: Likewise.
24894 * libio/iofwrite.c: Likewise.
24895 * libio/iogetline.c: Likewise.
24896 * libio/iogets.c: Likewise.
24897 * libio/iogetwline.c: Likewise.
24898 * libio/iopadn.c: Likewise.
24899 * libio/iopopen.c: Likewise.
24900 * libio/ioseekoff.c: Likewise.
24901 * libio/ioseekpos.c: Likewise.
24902 * libio/iosetbuffer.c: Likewise.
24903 * libio/iosetvbuf.c: Likewise.
24904 * libio/ioungetc.c: Likewise.
24905 * libio/ioungetwc.c: Likewise.
24906 * libio/iovdprintf.c: Likewise.
24907 * libio/iovsprintf.c: Likewise.
24908 * libio/iovsscanf.c: Likewise.
24909 * libio/memstream.c: Likewise.
24910 * libio/obprintf.c: Likewise.
24911 * libio/oldfileops.c: Likewise.
24912 * libio/oldiofclose.c: Likewise.
24913 * libio/oldiofdopen.c: Likewise.
24914 * libio/oldiofopen.c: Likewise.
24915 * libio/oldiopopen.c: Likewise.
24916 * libio/oldstdfiles.c: Likewise.
24917 * libio/putc.c: Likewise.
24918 * libio/setbuf.c: Likewise.
24919 * libio/setlinebuf.c: Likewise.
24920 * libio/stdfiles.c: Likewise.
24921 * libio/strops.c: Likewise.
24922 * libio/vasprintf.c: Likewise.
24923 * libio/vscanf.c: Likewise.
24924 * libio/vsnprintf.c: Likewise.
24925 * libio/vswprintf.c: Likewise.
24926 * libio/wfiledoalloc.c: Likewise.
24927 * libio/wfileops.c: Likewise.
24928 * libio/wgenops.c: Likewise.
24929 * libio/wmemstream.c: Likewise.
24930 * libio/wstrops.c: Likewise.
24931 * libio/__fpurge.c: Likewise.
24932 * libio/__fsetlocking.c: Likewise.
24933 * assert/assert.c: Likewise.
24934 * debug/fgets_chk.c: Likewise.
24935 * debug/fgets_u_chk.c: Likewise.
24936 * debug/fread_chk.c: Likewise.
24937 * debug/fread_u_chk.c: Likewise.
24938 * debug/gets_chk.c: Likewise.
24939 * debug/obprintf_chk.c: Likewise.
24940 * debug/vasprintf_chk.c: Likewise.
24941 * debug/vdprintf_chk.c: Likewise.
24942 * debug/vsnprintf_chk.c: Likewise.
24943 * debug/vsprintf_chk.c: Likewise.
24944 * malloc/mtrace.c: Likewise.
24945 * misc/error.c: Likewise.
24946 * misc/syslog.c: Likewise.
24947 * stdio-common/asprintf.c: Likewise.
24948 * stdio-common/fxprintf.c: Likewise.
24949 * stdio-common/getw.c: Likewise.
24950 * stdio-common/isoc99_fscanf.c: Likewise.
24951 * stdio-common/isoc99_scanf.c: Likewise.
24952 * stdio-common/isoc99_vfscanf.c: Likewise.
24953 * stdio-common/isoc99_vscanf.c: Likewise.
24954 * stdio-common/isoc99_vsscanf.c: Likewise.
24955 * stdio-common/printf-prs.c: Likewise.
24956 * stdio-common/printf_fp.c: Likewise.
24957 * stdio-common/printf_fphex.c: Likewise.
24958 * stdio-common/printf_size.c: Likewise.
24959 * stdio-common/putw.c: Likewise.
24960 * stdio-common/scanf.c: Likewise.
24961 * stdio-common/sprintf.c: Likewise.
24962 * stdio-common/tmpfile.c: Likewise.
24963 * stdio-common/vfprintf.c: Likewise.
24964 * stdio-common/vfscanf.c: Likewise.
24965 * stdlib/strfmon_l.c: Likewise.
24966 * sunrpc/openchild.c: Likewise.
24967 * sunrpc/xdr_stdio.c: Likewise.
24968 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24969 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24971 2012-05-24 Roland McGrath <roland@hack.frob.com>
24973 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24975 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24976 in the third column, to generate for the shared library an IFUNC
24977 that uses _dl_vdso_vsym.
24978 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24979 * Makeconfig (object-suffixes-noshared): New variable.
24981 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24982 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24983 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24984 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24987 * include/sys/time.h (__gettimeofday): Remove macro.
24988 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24989 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24991 (__gettimeofday): Add libc_hidden_def.
24992 (gettimeofday): Add libc_hidden_weak.
24993 * sysdeps/mach/gettimeofday.c: Likewise.
24994 * sysdeps/posix/gettimeofday.c: Likewise.
24995 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24996 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24998 (__gettimeofday_internal): Remove strong_alias.
24999 (__gettimeofday): Add libc_hidden_def.
25000 (gettimeofday): Add libc_hidden_weak.
25001 * sysdeps/unix/syscalls.list (gettimeofday):
25002 Remove __gettimeofday_internal alias.
25004 2012-05-24 Daniel Jacobowitz <drow@false.org>
25005 H.J. Lu <hongjiu.lu@intel.com>
25008 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25009 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25010 (largebin_index_32_big): New.
25011 (largebin_index): Use it for 16-byte alignment.
25012 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25013 correction with front_misalign.
25015 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25043 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25044 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25046 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25050 * math/libm-test.inc (exp_test): Add test from bug 14036.
25051 (pow_test): Add test from bug 10846.
25053 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25055 (special_function): Do not include flags in test name.
25056 (parse_args): Likewise.
25057 * sysdeps/i386/fpu/libm-test-ulps: Update.
25058 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25059 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25060 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25063 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25065 * math/libm-test.inc ("Philosophy"): Update comment about
25067 (UNDERFLOW_EXCEPTION): New macro.
25068 (UNDERFLOW_EXCEPTION_OK): Likewise.
25069 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25070 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25071 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25072 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25073 (INVALID_EXCEPTION_OK): Update value.
25074 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25075 (OVERFLOW_EXCEPTION_OK): Likewise.
25076 (IGNORE_ZERO_INF_SIGN): Likewise.
25077 (test_exceptions): Handle underflow exceptions.
25078 (acos_test): Update for underflow exception expectations.
25079 (cexp_test): Likewise.
25080 (clog_test): Likewise.
25081 (clog10_test): Likewise.
25082 (csqrt_test): Likewise.
25083 (ctan_test): Likewise.
25084 (ctanh_test): Likewise.
25085 (exp_test): Likewise.
25086 (exp10_test): Likewise.
25087 (exp2_test): Likewise.
25088 (expm1_test): Likewise.
25089 (fma_test): Likewise.
25090 (j0_test): Likewise.
25091 (jn_test): Likewise.
25092 (nexttoward_test): Likewise.
25093 (pow_test): Likewise.
25094 (scalbn_test): Likewise.
25095 (scalbln_test): Likewise.
25096 (tan_test): Likewise.
25097 (y1_test): Likewise.
25098 * sysdeps/i386/fpu/libm-test-ulps: Update.
25099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25101 2012-05-23 David S. Miller <davem@davemloft.net>
25103 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25104 (__libc_sigaction): Remove unused local variables.
25106 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25108 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25110 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25112 mktime: avoid signed integer overflow
25113 * time/mktime.c (__mktime_internal): Do not mishandle the case
25114 where diff == INT_MIN.
25116 mktime: simplify computation of average
25117 * time/mktime.c (ranged_convert): Use new time_t_avg function
25118 instead of rolling our own (probably-slower) code.
25120 mktime: do not assume signed right shift propagates sign bit
25121 * time/mktime.c (isdst_differ): New static function.
25122 (__mktime_internal): No need to normalize tm_isdst now.
25123 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25126 mktime: merge another wrapv change from gnulib
25127 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25128 from some compilers.
25130 mktime: remove incorrect attempt at unusual arithmetics
25131 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25132 The code didn't really work on such machines anyway.
25133 (TYPE_MINIMUM): Assume two's complement.
25134 (twos_complement_arithmetic): Verify that long_int and time_t
25135 are two's complement (or unsigned, in the latter case).
25137 mktime: check signed shifts on long_int and time_t, too
25138 * time/mktime.c (SHR): Check that shifts work as desired
25139 on the types long_int and time_t too, as SHR is used on
25142 mktime: do not assume 'long' is wide enough
25143 * time/mktime.c (verify): Move decl up.
25144 (long_int): New type.
25145 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25146 to remove assumption in the code that 'long' is wide enough to
25147 store year values. This assumption is not true on x32 and on
25148 some non-glibc platforms.
25150 mktime: merge wrapv change from gnulib
25151 * time/mktime.c (WRAPV): New macro.
25152 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25153 (guess_time_tm, __mktime_internal): Do not assume that signed
25154 integer overflow wraps around; modern compilers generate code
25155 where this assumption is no longer valid.
25157 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25159 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25160 Replace "jmp L(pseudo_end)" with "ret".
25161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25164 2012-05-23 Andreas Jaeger <aj@suse.de>
25166 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25167 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25169 2012-05-23 Andreas Jaeger <aj@suse.de>
25170 Maximilian Attems <max@stro.at>
25172 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25175 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25177 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25178 code so that pseudo_end is just ret and the stack pointer is
25179 correct also for static library in error case.
25181 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25183 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25184 move to syscalls.list.
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25190 * manual/install.texi (Running make install): Do not mention Linux
25191 kernel version for which pt_chown is not needed.
25192 (Linux): Do not mention problems with nscd with 2.0 kernels.
25193 * INSTALL: Regenerated.
25195 2012-05-23 Andreas Jaeger <aj@suse.de>
25197 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25198 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25200 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25201 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25202 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25203 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25204 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25205 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25206 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25207 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25208 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25209 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25210 * sysdeps/unix/sysv/linux/bits/in.h
25211 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25213 2012-05-22 Roland McGrath <roland@hack.frob.com>
25215 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25216 (PREPARE_VERSION): Just use assert instead, it will be elided
25217 under [NDEBUG] anyway.
25219 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25221 * sysdeps/unix/sysv/linux/Makefile: Include
25222 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25223 (sysdep_routines): Remove sysctl.
25224 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25225 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25226 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25227 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25228 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25230 2012-05-22 Andreas Jaeger <aj@suse.de>
25232 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25233 that pseudo_end is just ret and the stack pointer is correct also
25234 for static library in error case.
25236 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25239 * nss/nsswitch.c (defconfig_entries): New variable.
25240 (__nss_database_lookup): Don't leak defconfig entries.
25241 (nss_parse_service_list): Don't leak on error paths.
25242 (free_database_entries): New function.
25243 (free_defconfig): New function.
25244 (free_mem): Move common code to free_database_entries.
25246 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25248 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25250 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25252 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25253 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25256 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25257 (INTERNAL_SYSCALL_TYPES): Likewise.
25258 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25259 (LOAD_REGS_TYPES_[1-6]): Likewise.
25260 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25261 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25263 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25265 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25266 copysignl for GLIBC_2_0.
25267 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25268 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25270 logbl for GLIBC_2_0.
25271 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25272 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25274 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25277 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25279 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25282 * time/mktime.c: Update copyright years.
25284 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25286 mktime: merge comment-quoting-style change from gnulib
25287 * time/mktime.c: Quote 'like this' in comments.
25288 The GNU coding standards suggest that we no longer quote `like this',
25289 as "`" and "'" are typically rendered asymmetrically nowadays.
25290 The typical gnulib style is to quote 'like this' when quoting
25291 code, and "like this" when quoting English.
25293 * time/mktime.c (compile-command): Add "-I.".
25295 mktime: merge mktime-internal.h change from gnulib
25296 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25298 mktime: merge time_r change from gnulib
25299 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25301 mktime: merge DEBUG change from gnulib
25302 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25303 case system <time.h> has a #define.
25305 mktime: merge <sys/types.h> change from gnulib
25306 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25307 since <time.t> is now guaranteed to define time_t.
25309 mktime: merge HAVE_CONFIG_H change from gnulib
25310 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25312 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25317 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25319 (struct rusage): Use anonymous union to pad each field to
25322 2012-05-21 David S. Miller <davem@davemloft.net>
25324 * Makefules (o-iterator): Remove .s cases.
25325 (compile-command.s): Delete.
25326 (COMPILE.s): Delete.
25327 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25329 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25331 * configure.in (libc_cv_predef_stack_protector): Only consider
25332 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25333 * configure: Regenerated.
25335 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25338 New macro. Use R*LP on int and pointer.
25339 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25340 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25341 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25342 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25344 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25345 [__WORDSIZE_TIME64_COMPAT32] instead of
25346 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25347 (struct utmp): Likewise.
25348 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25349 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25351 (__WORDSIZE_TIME64_COMPAT32): This.
25352 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25353 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25354 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25355 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25356 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25357 (__WORDSIZE_TIME64_COMPAT32): New macro.
25359 2012-05-21 Andreas Jaeger <aj@suse.de>
25361 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25362 only if [SHARED]. Add prototype for __wcschr_ia32.
25364 2012-05-21 Roland McGrath <roland@hack.frob.com>
25366 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25367 of %rbp unmolested in the jmp_buf while mangling the low bits.
25368 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25369 unmolested high bits of %rbp while demangling the low bits.
25370 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25372 2012-05-21 Andreas Jaeger <aj@suse.de>
25374 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25375 * sunrpc/svc_simple.c: Use it for registerrpc.
25376 * sunrpc/xcrypt.c: Use it for passwd2des.
25378 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25380 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25382 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25383 Don't define if [__SYSCALL_WORDSIZE != 32].
25384 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25387 2012-05-21 Bruno Haible <bruno@clisp.org>
25388 Andreas Jaeger <aj@suse.de>
25390 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25391 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25392 inptr and inend for must_buffer_ch.
25393 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25394 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25395 * stdio-common/Makefile (tests): Remove bug15.
25396 (bug15-ENV): Remove macro.
25397 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25400 2012-05-19 Andreas Jaeger <aj@suse.de>
25401 Roland McGrath <roland@hack.frob.com>
25403 * manual/contrib.texi: Completely rewritten. It contains now an
25404 alphabetical list of contributors and their contributions.
25406 2012-05-21 Richard Henderson <rth@twiddle.net>
25408 * misc/getauxval.c (__getauxval): Use unsigned long int.
25409 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25410 (getauxval): Use unsigned long int.
25412 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25414 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25416 2012-05-21 Roland McGrath <roland@hack.frob.com>
25418 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25419 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25420 __alignof__ (long double).
25422 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25426 2012-05-20 Richard Henderson <rth@twiddle.net>
25428 * misc/getauxval.c: New file.
25429 * misc/sys/auxv.h: New file.
25430 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25431 (routines): Add getauxval.
25432 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25433 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25434 * elf/dl-sysdep.c (_dl_auxv): Remove.
25435 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25436 * elf/dl-support.c (_dl_auxv): New variable.
25437 (_dl_aux_init): Initialize it.
25438 * manual/startup.texi (Auxiliary Vector): New node.
25439 * sysdeps/generic/bits/hwcap.h: New file.
25440 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25441 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25442 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25443 * sysdeps/sparc/sysdep.h: ... here. Include it.
25444 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25445 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25451 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25457 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25461 2012-05-19 David S. Miller <davem@davemloft.net>
25463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25465 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25468 * math/s_ccosh.c: Include <float.h>
25469 (__ccosh): Avoid internal overflow calculating sinh and cosh
25470 values before multiplying by sin and cos values.
25471 * math/s_ccoshf.c: Likewise.
25472 * math/s_ccoshl.c: Likewise.
25473 * math/s_csin.c: Likewise.
25474 * math/s_csinf.c: Likewise.
25475 * math/s_csinl.c: Likewise.
25476 * math/s_csinh.c: Likewise.
25477 * math/s_csinhf.c: Likewise.
25478 * math/s_csinhl.c: Likewise.
25479 * math/libm-test.inc (ccos_test): Add more tests.
25480 (ccosh_test): Likewise.
25481 (csin_test): Likewise.
25482 (csinh_test): Likewise.
25483 * sysdeps/i386/fpu/libm-test-ulps: Update.
25484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25486 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25488 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25489 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25491 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25493 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25495 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25496 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25497 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25498 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25499 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25500 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25501 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25502 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25503 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25504 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25505 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25506 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25507 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25508 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25509 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25510 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25511 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25512 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25513 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25514 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25515 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25516 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25517 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25518 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25519 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25520 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25521 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25522 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25523 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25524 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25525 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25527 2012-05-18 Andreas Jaeger <aj@suse.de>
25529 * csu/.gitignore: Delete.
25531 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25533 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25534 (timex): Use __syscall_slong_t.
25536 2012-05-18 Andreas Jaeger <aj@suse.de>
25537 Carlos O'Donell <carlos_odonell@mentor.com>
25539 * manual/install.texi (Configuring and compiling): Update
25540 description about files modified in the source directory.
25541 * INSTALL: Regenerated.
25543 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25545 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25546 value. Use "or" to set return value to -1.
25547 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25548 negate return value.
25550 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25552 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25553 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25554 failure if the compiler has Graphite support disabled.
25555 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25557 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25558 CFLAGS-memmove.c): Likewise.
25559 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25562 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25564 * sysdeps/x86_64/x32/_itoa.h: New file.
25566 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25567 getdents system call only if kernel and user dirents have the
25568 same d_ino and d_off.
25570 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25571 LLONG_MAX != LONG_MAX.
25572 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25573 (_fitoa_word): Likewise.
25575 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25577 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25578 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25579 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25581 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25582 include <bits/wordsize.h>. Check __x86_64__ instead of
25584 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25585 if __x86_64__ is defined. Use anonymous union on fpstate.
25587 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25590 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25592 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25593 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25594 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25595 Refer to _rtld_local_ro instead of _rtld_global_ro.
25596 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25598 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25600 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25602 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25603 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25604 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25606 * sysdeps/powerpc/powerpc32/dl-machine.c
25607 (__elf_machine_runtime_setup) [PROF]: Don't reference
25610 2012-05-18 Andreas Jaeger <aj@suse.de>
25612 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25613 function only available for GCCs before 3.4 since GCC 3.4
25614 introduced a builtin.
25616 (llrintf): Likewise.
25617 (llrint): Likewise.
25624 (nearbyint): Likewise.
25625 (nearbyintf): Likewise.
25629 (floorf): Likewise.
25631 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25633 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25634 on both fields and cast pointer to __syscall_ulong_t.
25636 * bits/types.h (__fsword_t): New type.
25637 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25638 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25640 (__FSWORD_T_TYPE): Likewise.
25641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25642 (__FSWORD_T_TYPE): Likewise.
25643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25644 (__FSWORD_T_TYPE): Likewise.
25645 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25646 (__FSWORD_T_TYPE): Likewise.
25647 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25648 __SWORD_TYPE with __fsword_t.
25649 (statfs64): Likewise.
25651 2012-05-17 David S. Miller <davem@davemloft.net>
25653 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25655 2012-05-17 Andreas Jaeger <aj@suse.de>
25657 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25660 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25662 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25664 2012-05-17 Andreas Jaeger <aj@suse.de>
25666 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25669 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25671 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25673 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25675 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25676 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25678 2012-05-17 Andreas Jaeger <aj@suse.de>
25679 Carlos O'Donell <carlos_odonell@mentor.com>
25682 * sysdeps/x86_64/multiarch/init-arch.h
25683 (bit_YMM_Usable): Rename to...
25684 (bit_AVX_Usable): ... this.
25685 (bit_FMA4_Usable): New macro.
25686 (bit_XMM_state): New macro.
25687 (bit_YMM_state): New macro.
25688 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25689 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25690 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25691 (CPUID_OSXSAVE): New macro.
25692 (CPUID_AVX): New macro.
25693 (CPUID_FMA4): New macro.
25694 (index_YMM_Usable): Rename to...
25695 (index_AVX_Usable): ... this.
25696 (HAS_AVX): Use HAS_ARCH_FEATURE.
25697 (HAS_FMA4): Likewise.
25698 (HAS_YMM_USABLE): Remove.
25699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25700 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25702 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25703 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25704 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25705 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25706 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25708 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25710 * math/libm-test.c: Support platforms without multiple rounding modes.
25711 * math/bug-nextafter.c: Support platforms without FP exceptions.
25712 * math/bug-nexttoward.c: Likewise.
25713 * math/test-fenv.c: Likewise.
25714 * math/test-misc.c: Likewise.
25715 * stdlib/bug-getcontext.c: Likewise.
25717 2012-05-17 Andreas Jaeger <aj@suse.de>
25719 * manual/examples/search.c (critter_cmp): Change signature to
25721 * manual/string.texi (Collation Functions): Likewise.
25723 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25725 * bits/types.h: Fold copyright years.
25726 * bits/typesizes.h: Likewise.
25727 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25731 * time/time.h: Likewise.
25733 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25736 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25737 in instead of returning them. Return void.
25738 (__libc_mallinfo): Accumulate over all arenas.
25739 (__malloc_stats): Adjust for change in int_mallinfo interface.
25741 2012-05-16 Roland McGrath <roland@hack.frob.com>
25744 * configure.in (NM): Add AC_CHECK_TOOL for it.
25745 (libc_extra_cflags): New substituted variable.
25746 Check for -fstack-protector being used implicitly.
25747 * configure: Regenerated.
25748 * config.make.in (config-extra-cflags): New variable,
25749 gets @libc_extra_cflags@.
25750 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25753 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25754 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25755 * configure: Regenerated.
25756 * config.make.in (CPPUNDEFS): New substituted variable.
25757 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25758 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25759 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25761 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25763 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25764 (mq_attr): Use __syscall_slong_t.
25766 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25768 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25769 Check __x86_64__ instead of __WORDSIZE.
25770 (_STAT_VER_LINUX): Likewise.
25771 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25772 __syscall_ulong_t and __syscall_slong_t.
25773 (stat64): Likewise.
25775 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25777 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25779 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25781 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25783 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25785 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25788 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25789 include <bits/wordsize.h>. Check __x86_64__ instead of
25791 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25793 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25795 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25796 include <bits/wordsize.h>. Check __x86_64__ instead of
25798 (user_regs_struct): Use "__extension__ unsigned long long"
25799 instead of "unsigned long" if __x86_64__ is defined.
25800 (user): Likewise. Pad after pointer field if __ILP32__ is
25803 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25805 * configure.in (makeinfo): Require version 4.5 or later. Allow
25807 * configure: Regenerated.
25808 * manual/install.texi (texinfo): Increase version requirement to
25810 * INSTALL: Regenerated.
25812 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25814 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25816 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25818 * sysdeps/x86_64/x32/ffs.c: New file.
25820 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25822 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25823 defined. Use __syscall_ulong_t.
25824 (shminfo): Use __syscall_ulong_t.
25825 (shm_info): Likewise.
25827 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25830 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25832 (msgqnum_t): Use __syscall_ulong_t.
25833 (msglen_t): Likewise.
25834 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25837 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25838 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25840 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25842 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25843 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25845 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25848 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25849 include <bits/wordsize.h>. Check __x86_64__ instead of
25852 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25853 "unsigned long long int" if __x86_64__ is defined.
25854 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25856 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25857 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25858 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25860 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25862 (GET_PC): Cast to uintptr_t first.
25863 (GET_FRAME): Likewise.
25864 (GET_STACK): Likewise.
25866 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25867 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25868 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25869 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25870 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25871 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25872 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25873 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25874 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25875 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25876 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25877 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25878 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25879 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25880 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25881 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25882 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25883 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25884 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25885 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25886 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25887 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25888 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25889 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25890 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25891 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25892 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25893 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25894 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25896 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25898 * Makerules (+depfiles): Also collect depfiles from .oS in
25900 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25901 .oS, $(libnldbl-routines)).
25903 * Makerules (native-compile-mkdep-flags): Define.
25904 * sunrpc/Makefile (extra-objs): Add $(addprefix
25905 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25906 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25907 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25908 calling $(make-target-directory).
25910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25912 * bits/types.h (__snseconds_t): Removed.
25913 * time/time.h (struct timespec): Replace __snseconds_t with
25915 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25916 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25919 (__SNSECONDS_T_TYPE): Likewise.
25920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25921 (__SNSECONDS_T_TYPE): Likewise.
25922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25923 (__SNSECONDS_T_TYPE): Likewise.
25925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25927 * sysdeps/mach/hurd/bits/typesizes.h
25928 (__SYSCALL_SLONG_TYPE): New macro.
25929 (__SYSCALL_ULONG_TYPE): Likewise.
25931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25933 * bits/types.h (__syscall_slong_t): New type.
25934 (__syscall_ulong_t): Likewise.
25936 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25937 (__SYSCALL_ULONG_TYPE): Likewise.
25938 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25939 (__SYSCALL_SLONG_TYPE): Likewise.
25940 (__SYSCALL_ULONG_TYPE): Likewise.
25941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25942 (__SYSCALL_SLONG_TYPE): Likewise.
25943 (__SYSCALL_ULONG_TYPE): Likewise.
25944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25945 (__SYSCALL_SLONG_TYPE): Likewise.
25946 (__SYSCALL_ULONG_TYPE): Likewise.
25948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25950 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25951 Add sigaltstack-offsets.sym.
25952 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25953 <sigaltstack-offsets.h>.
25954 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25955 longjmp_msg pointer.
25956 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25957 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25959 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25961 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25963 * elf/stackguard-macros.h: Remove file.
25964 * sysdeps/generic/stackguard-macros.h: New file.
25965 * sysdeps/i386/stackguard-macros.h: Likewise.
25966 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25967 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25968 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25969 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25970 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25971 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25972 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25973 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25974 <elf/stackguard-macros.h>.
25977 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25978 __aligned__ in attribute.
25979 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25980 (gregset_t): Likewise.
25982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25984 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25985 * sysdeps/x86_64/64/Implies-after: Here. New file.
25986 * sysdeps/x86_64/x32/Implies-after: New file.
25988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25990 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25991 and access return value for _dl_profile_fixup. Use R10_LP to
25994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25996 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26000 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26001 * sysdeps/x86_64/x32/sysdep.h: New file.
26003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26005 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26006 * sysdeps/x86_64/setjmp.S: Likewise.
26008 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26010 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26011 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26012 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26013 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26014 remove unused global constant.
26016 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26018 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26019 include of <not-cancel.h>.
26021 2012-05-15 Roland McGrath <roland@hack.frob.com>
26023 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26025 2012-05-15 Jeff Law <law@redhat.com>
26026 Andreas Jaeger <aj@suse.de>
26029 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26031 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26032 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26033 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26034 code changing __hst_map_handle.map.
26036 2012-05-15 Roland McGrath <roland@hack.frob.com>
26038 * configure.in (sysnames): Look for Implies-before and Implies-after
26040 * configure: Regenerated.
26042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26044 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26045 8-byte data alignment with LP_SIZE alignment.
26047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26049 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26054 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26058 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26059 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26060 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26062 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26066 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26067 (stackinfo_sub_sp): Likewise.
26069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26071 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26076 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26081 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26084 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26086 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26090 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26091 into R11_LP and load __x86_64_shared_cache_size_half into
26094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26096 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26099 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26101 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26103 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26105 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26107 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26108 powerpc32/power7/fpu/s_logb.c via #include.
26109 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26110 powerpc32/power7/fpu/s_logbf.c via #include.
26111 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26112 powerpc32/power7/fpu/s_logbl.c via #include.
26114 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26116 * README.libm: Remove file.
26118 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26120 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26121 count for x32. Use R*_LP and omit operand-size suffix.
26123 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26125 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26126 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26127 * sysdeps/x86_64/x32/shlib-versions: New file.
26129 2012-05-14 Roland McGrath <roland@hack.frob.com>
26131 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26132 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26133 Use _dl_fatal_printf instead.
26135 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26137 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26138 set if not set by the user. Do not allow for being unset.
26139 * sysdeps/unix/sysv/linux/configure: Regenerated.
26141 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26143 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26144 the `q' suffix from lea and replace .quad with ASM_ADDR.
26146 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26149 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26151 (PTR_DEMANGLE): Likewise.
26153 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26155 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26157 (ASM_ADDR): Likewise.
26158 (RAX_LP): Likewise.
26159 (RBP_LP): Likewise.
26160 (RBX_LP): Likewise.
26161 (RCX_LP): Likewise.
26162 (RDI_LP): Likewise.
26163 (RSI_LP): Likewise.
26164 (RSP_LP): Likewise.
26167 (R10_LP): Likewise.
26168 (R10_LP): Likewise.
26169 (R11_LP): Likewise.
26170 (R12_LP): Likewise.
26171 (R13_LP): Likewise.
26172 (R14_LP): Likewise.
26173 (R15_LP): Likewise.
26175 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26177 * sysdeps/x86_64/x32/dl-machine.h: New file.
26179 2012-05-14 Andreas Jaeger <aj@suse.de>
26181 * manual/Makefile (subdir): Remove export of subdir.
26182 (all): Remove target.
26183 (.PHONY): Remove all from list.
26184 (mkinstalldirs): Remove.
26185 (.PHONY): Remove installdirs from list.
26186 ($(inst_infodir)/libc.info): Use make-target-directory.
26187 (installdirs): Remove.
26188 (subdir_%): Remove.
26189 (glibc-targets): Remove.
26192 ($(objpfx)stubs ../po/manual.pot): Remove.
26193 ($(objpfx)stamp%): Remove.
26194 (make-target-directory): Remove.
26195 (subdir_install): Remove.
26196 (routines): Remove.
26203 * manual/.gitignore: Remove, it's not needed anymore.
26204 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26206 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26208 (texis): Renamed to $(objpfx)texis.
26209 (texis-path): New, contains path to generated files.
26210 (chapters.%): Use texis-path for complete path, add extra argument
26212 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26213 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26214 (summary,texi, stamp-summary): Use complete path of
26215 files. Generate files in build dir.
26216 (dir-add.texi): Build in build dir.
26217 (libm-err.texi,stamp-libm-err): Likewise.
26218 (version.texi, stamp-version): Likewise.
26219 (.%c.texi): Likewise.
26220 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26221 (mostlyclean): Remove target.
26222 (realclean): Remove target.
26223 (generated): Add new variable with contents from mostlyclean and
26224 realclean, remove entries duplicated in common-mostlyclean, add
26225 stamp-libm-err and stamp-version.
26226 (generated-dirs): Add libc directory.
26227 ($(inst_infodir)/libc.info): Install files from build dir.
26229 * manual/install.texi (Configuring and compiling): Adjust since
26230 the info files are not part of the tar ball anymore.
26232 2012-05-14 Andreas Jaeger <aj@suse.de>
26234 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26237 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26240 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26241 to 2.2.0 where earlier.
26242 * sysdeps/unix/sysv/linux/configure: Regenerated.
26243 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26244 Remove conditional code.
26245 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26246 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26247 Remove conditional code.
26248 [!__NR_lchown]: Likewise.
26249 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26250 [__NR_lchown]: Likewise.
26251 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26252 comment referencing __ASSUME_LCHOWN_SYSCALL.
26253 * sysdeps/unix/sysv/linux/i386/sigaction.c
26254 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26255 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26256 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26257 Remove conditional code.
26258 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26259 (__protocol_available): Remove #if 0 code.
26260 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26262 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26263 * sysdeps/unix/sysv/linux/kernel-features.h
26264 (__ASSUME_GETCWD_SYSCALL): Don't define.
26265 (__ASSUME_REALTIME_SIGNALS): Likewise.
26266 (__ASSUME_PREAD_SYSCALL): Likewise.
26267 (__ASSUME_PWRITE_SYSCALL): Likewise.
26268 (__ASSUME_POLL_SYSCALL): Likewise.
26269 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26270 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26272 (__ASSUME_SIOCGIFNAME): Don't define.
26273 (__ASSUME_MSG_NOSIGNAL): Likewise.
26274 (__ASSUME_SENDFILE): Define unconditionally.
26275 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26276 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26278 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26279 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26280 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26281 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26282 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26283 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26284 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26286 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26287 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26289 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26292 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26295 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26298 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26299 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26301 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26302 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26304 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26305 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26307 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26309 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26310 Remove conditional code.
26311 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26312 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26313 Remove conditional code.
26314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26315 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26316 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26317 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26318 Remove conditional code.
26319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26320 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26321 Remove conditional code.
26322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26323 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26324 Remove conditional code.
26325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26326 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26327 Remove conditional code.
26328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26329 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26330 Remove conditional code.
26331 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26332 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26335 * sysdeps/unix/sysv/linux/sigaction.c
26336 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26337 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26338 * sysdeps/unix/sysv/linux/sigpending.c
26339 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26340 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26341 * sysdeps/unix/sysv/linux/sigprocmask.c
26342 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26343 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26344 * sysdeps/unix/sysv/linux/sigsuspend.c
26345 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26346 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26347 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26348 (__libc_missing_rt_sigs): Remove.
26349 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26350 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26351 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26352 Remove conditional code.
26353 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26354 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26356 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26357 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26358 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26359 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26361 2012-05-14 Andreas Jaeger <aj@suse.de>
26363 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26364 it's not used in glibc.
26365 (__coshm1): Likewise.
26366 (__acosh1p): Likewise.
26369 * manual/string.texi (Copying and Concatenation): Add missing
26370 variable in concat example.
26371 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26373 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26376 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26377 __builtin_clzl with __builtin_clzll.
26379 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26382 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26385 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26387 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26388 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26389 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26390 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26392 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26394 * NEWS: Update ia64 info.
26396 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26398 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26401 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26403 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26404 * sysdeps/unix/syscalls.list (dup3): Likewise.
26405 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26406 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26408 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26410 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26411 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26413 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26415 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26417 (TLS_IE): Use mov/add instead of movq/addq to load thread
26419 (TLS_GD_PREFIX): New.
26422 2012-05-11 David S. Miller <davem@davemloft.net>
26424 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26425 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26426 (_FPU_SETCW): Likewise.
26428 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26430 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26431 is 32-byte aligned.
26433 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26436 * iconvdata/gb18030.c: Update tables.
26437 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26438 characters specially.
26439 (BODY for TO_LOOP): Add encoding of missing ranges.
26441 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26444 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26445 * sysdeps/mach/hurd/dup3.c: Likewise.
26446 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26447 * sysdeps/powerpc/memmove.c:: Likewise.
26449 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26452 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26454 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26456 * elf/elf.h (R_X86_64_RELATIVE64): New.
26457 (R_X86_64_NUM): Updated.
26458 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26459 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26460 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26461 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26462 tst-quad1pie tst-quad2pie
26463 (modules-names): Add tst-quadmod1 tst-quadmod2.
26464 ($(objpfx)tst-quad1): New dependency.
26465 ($(objpfx)tst-quad2): Likewise.
26466 ($(objpfx)tst-quad1pie): Likewise.
26467 ($(objpfx)tst-quad2pie): Likewise.
26468 * sysdeps/x86_64/tst-quad1.c: New file.
26469 * sysdeps/x86_64/tst-quad1pie.c: New file.
26470 * sysdeps/x86_64/tst-quad2.c: Likewise.
26471 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26472 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26473 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26474 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26475 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26479 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26480 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26481 * streams/stropts.h (t_scalar_t): Define type.
26483 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26484 (_PATH_PRESERVE): Set to "/var/lib".
26485 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26487 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26490 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26491 if __dir_mkfile succeeded.
26493 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26494 checking for _hurd_dtablesize. Unlock it right after having
26495 finished _hurd_dtable allocation.
26497 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26499 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26500 * sysdeps/mach/hurd/configure: Regenerated.
26501 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26502 special-casing to...
26503 * sysdeps/gnu/configure.in: ... this new file.
26504 * sysdeps/unix/sysv/linux/configure: Regenerated.
26505 * sysdeps/gnu/configure: New generated file.
26507 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26508 for Linux: use nsec instead of usec, as well as:
26509 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26510 members of type struct timespec.
26511 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26513 (struct stat64): Likewise.
26514 (_STATBUF_ST_NSEC): New macro.
26515 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26517 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26518 __strtoul_internal rather than strtoul.
26520 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26522 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26525 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26527 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26528 which preserves existing values.
26529 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26531 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26533 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26534 TIMEOUT values. Return EINVAL for NFDS values either negative or
26535 greater than FD_SETSIZE.
26537 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26539 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26540 allocated, call __vm_protect to finish enabling the existing space, and
26541 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26542 allocate the remainder.
26544 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26546 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26547 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26551 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26552 sysdeps/mach/hurd/readlink.c.
26554 * posix/tst-sysconf.c (posix_options): Only use
26555 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26556 _POSIX_SYNCHRONIZED_IO when they are defined
26557 * sysdeps/mach/hurd/bits/posix_opt.h:
26558 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26559 (_XOPEN_REALTIME): Undefine macro.
26560 (_XOPEN_REALTIME_THREADS): Undefine macro.
26561 (_XOPEN_SHM): Undefine macro.
26562 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26564 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26566 (_POSIX_ASYNC_IO): Undefine macro.
26567 (_POSIX_PRIORITIZED_IO): Undefine macro.
26568 (_POSIX_SPIN_LOCKS): Define macro to -1.
26570 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26571 SA_NODEFER, SA_RESETHAND.
26572 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26573 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26578 * elf/Makefile (pldd-modules): Define unconditionally.
26580 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26582 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26584 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26586 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26587 Return ENOENT when name is empty.
26588 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26590 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26592 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26594 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26596 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26598 Fix mlock in all cases except non-readable pages.
26599 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26600 instead of VM_PROT_ALL as parameter to __vm_wire function.
26602 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26603 (__mkdir): When path is `/', just fail with EEXIST.
26604 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26608 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26609 <sys/uio.h> (for writev).
26610 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26611 and <sys/param.h> (for MIN).
26613 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26615 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26616 REQUESTED_TIME. Properly set the remaining time and return EINTR
26619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26621 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26622 Depend on against $(link-rpcuserlibs).
26624 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26626 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26627 (__libc_stack_end): Do not use attribute_relro.
26628 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26629 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26630 to libthread-provided value.
26631 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26634 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26637 * bits/libc-lock.h (__libc_once_get): New macro.
26638 * sysdeps/mach/bits/libc-lock.h: Likewise.
26639 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26640 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26641 instead of using implementation details.
26643 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26644 * libio/freopen.c: Likewise.
26645 * libio/freopen64.c: Likewise.
26646 * misc/syslog.c: Likewise.
26647 * nscd/connections.c: Likewise.
26648 * nscd/netgroupcache.c: Likewise.
26649 * sysdeps/posix/getcwd.c: Likewise.
26651 2012-05-10 Roland McGrath <roland@hack.frob.com>
26653 * math/w_ilogbf.c: Add #include <limits.h>.
26655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26657 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26658 path instead of returning without unlocking.
26660 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26661 immediate-write ioctls.
26662 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26666 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26667 __builtin_frame_address instead of making assumptions about the
26668 location of the return address relative to DATA. Force early load of
26669 the return address.
26670 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26671 __builtin_frame_address.
26674 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26675 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26676 implement dup3 and do some further code clean-ups.
26677 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26678 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26680 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26682 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26684 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26685 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26686 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26687 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26688 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26691 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26692 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26693 when handler == SIG_ERR, not when handler != SIG_ERR.
26695 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26697 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26698 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26701 accept4 for GNU Hurd.
26702 * include/sys/socket.h (__libc_accept4): New prototype.
26703 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26704 to implement __libc_accept4.
26705 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26707 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26709 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26710 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26711 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26712 signal-defines.sym.
26714 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26716 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26718 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26720 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26721 assertion on O_CLOEXEC flag.
26722 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26723 * hurd/intern-fd.c: Likewise.
26724 * hurd/port2fd.c: Likewise.
26726 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26729 * bits/in.h (IPV6_PKTINFO): Define new macro.
26730 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26732 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26737 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26738 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26739 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26740 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26741 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26742 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26743 * math/libm-test.inc (logb_test) : Additional logb tests.
26745 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26746 Andreas Jaeger <aj@suse.de>
26748 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26749 * configure: Regenerated.
26750 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26751 * config.make.in (link-obsolete-rpc): New substituted variable.
26752 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26753 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26754 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26755 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26756 so that libc.a contains the symbols.
26757 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26758 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26759 * sunrpc/auth_none.c: Likewise.
26760 * sunrpc/auth_unix.c: Likewise.
26761 * sunrpc/authdes_prot.c: Likewise.
26762 * sunrpc/authuxprot.c: Likewise.
26763 * sunrpc/clnt_gen.c: Likewise.
26764 * sunrpc/clnt_perr.c: Likewise.
26765 * sunrpc/clnt_raw.c: Likewise.
26766 * sunrpc/clnt_simp.c: Likewise.
26767 * sunrpc/clnt_tcp.c: Likewise.
26768 * sunrpc/clnt_udp.c: Likewise.
26769 * sunrpc/clnt_unix.c: Likewise.
26770 * sunrpc/des_crypt.c: Likewise.
26771 * sunrpc/des_soft.c: Likewise.
26772 * sunrpc/get_myaddr.c: Likewise.
26773 * sunrpc/key_call.c: Likewise.
26774 * sunrpc/key_prot.c: Likewise.
26775 * sunrpc/netname.c: Likewise.
26776 * sunrpc/pm_getmaps.c: Likewise.
26777 * sunrpc/pm_getport.c: Likewise.
26778 * sunrpc/pmap_clnt.c: Likewise.
26779 * sunrpc/pmap_prot.c: Likewise.
26780 * sunrpc/pmap_prot2.c: Likewise.
26781 * sunrpc/pmap_rmt.c: Likewise.
26782 * sunrpc/publickey.c: Likewise.
26783 * sunrpc/rpc_cmsg.c: Likewise.
26784 * sunrpc/rpc_common.c: Likewise.
26785 * sunrpc/rpc_dtable.c: Likewise.
26786 * sunrpc/rpc_prot.c: Likewise.
26787 * sunrpc/rpc_thread.c: Likewise.
26788 * sunrpc/rtime.c: Likewise.
26789 * sunrpc/svc.c: Likewise.
26790 * sunrpc/svc_auth.c: Likewise.
26791 * sunrpc/svc_raw.c: Likewise.
26792 * sunrpc/svc_run.c: Likewise.
26793 * sunrpc/svc_tcp.c: Likewise.
26794 * sunrpc/svc_udp.c: Likewise.
26795 * sunrpc/svc_unix.c: Likewise.
26796 * sunrpc/svcauth_des.c: Likewise.
26797 * sunrpc/xcrypt.c: Likewise.
26798 * sunrpc/xdr.c: Likewise.
26799 * sunrpc/xdr_array.c: Likewise.
26800 * sunrpc/xdr_float.c: Likewise.
26801 * sunrpc/xdr_intXX_t.c: Likewise.
26802 * sunrpc/xdr_mem.c: Likewise.
26803 * sunrpc/xdr_rec.c: Likewise.
26804 * sunrpc/xdr_ref.c: Likewise.
26805 * sunrpc/xdr_sizeof.c: Likewise.
26806 * sunrpc/xdr_stdio.c: Likewise.
26808 2012-05-10 Roland McGrath <roland@hack.frob.com>
26810 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26811 change. Update copyright years.
26813 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26815 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26817 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26818 Joseph Myers <joseph@codesourcery.com>
26819 Paul Pluzhnikov <ppluzhnikov@google.com>
26822 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26824 [cross-compiling] (extra-libs): Likewise.
26825 [cross-compiling] (extra-libs-others): Likewise.
26826 [cross-compiling] (librpcsvc-routines): Likewise.
26827 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26828 [cross-compiling] (omit-deps): Likewise.
26829 (sunrpc-CPPFLAGS): New variable.
26830 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26831 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26832 (cross-rpcgen-objs): New variable.
26833 (extra-objs): Append $(cross-rpcgen-objs).
26834 ($(cross-rpcgen-objs)): New rule.
26835 ($(objpfx)cross-rpcgen): Likewise.
26836 (rpcgen-cmd): Define to use $(built-program-file). Expand
26838 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26839 ($(objpfx)x%.stmp): Likewise.
26840 * sunrpc/proto.h [IS_IN_build] (_): Define.
26841 [IS_IN_build] (_libc_intl_domainname): Likewise.
26843 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26846 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26847 and R_X86_64_TPOFF64.
26849 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26851 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26852 sysdeps/unix/sysv/syscalls.list.
26855 * sysdeps/unix/sysv/syscalls.list: Remove file.
26857 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26860 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26861 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26862 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26863 (__LC_IDENTIFICATION): Make these macros useful in #if
26864 expressions, as required by C99.
26866 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26868 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26869 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26872 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26874 * stdlib/longlong.h: Updated from GCC.
26876 2012-05-09 Andreas Jaeger <aj@suse.de>
26878 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26879 default is first entry.
26880 (run_mode): Set type.
26881 (main): Remove informal message about syslog.
26882 (options): Fix typo.
26885 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26888 (llrintf): Likewise.
26889 (llrint): Likewise.
26892 (nearbyint): Likewise.
26893 (nearbyintf): Likewise.
26895 2012-05-09 Andreas Jaeger <aj@suse.de>
26896 Pedro Alves <palves@redhat.com>
26898 * nscd/nscd.c (run_mode): Use enum.
26899 (main): Cleanup coding style issue.
26901 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26902 Andreas Jaeger <aj@suse.de>
26904 * nscd/nscd.c (go_background): Replaced with...
26905 (run_mode): ... this.
26906 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26907 (options): Add -F --foreground.
26908 (main): Implement it.
26909 (parse_opt): Parse it.
26911 2012-05-09 Andreas Jaeger <aj@suse.de>
26914 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26915 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26916 -Wconversion warning.
26917 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26920 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26922 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26924 (LC_ALL): Use macro-int-constant.
26925 (LC_COLLATE): Likewise.
26926 (LC_CTYPE): Likewise.
26927 (LC_MESSAGES): Likewise.
26928 (LC_MONETARY): Likewise.
26929 (LC_NUMERIC): Likewise.
26930 (LC_TIME): Likewise.
26931 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26932 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26933 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26934 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26936 [C99-based standards] (float_t): Expect type.
26937 [C99-based standards] (double_t): Expect type.
26938 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26940 [C99-based standards] (HUGE_VALL): Likewise.
26941 [C99-based standards] (INFINITY): Likewise.
26942 [C99-based standards] (NAN): Likewise.
26943 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26944 [C99-based standards] (FP_NAN): Likewise.
26945 [C99-based standards] (FP_NORMAL): Likewise.
26946 [C99-based standards] (FP_SUBNORMAL): Likewise.
26947 [C99-based standards] (FP_ZERO): Likewise.
26948 [C99-based standards] (FP_FAST_FMA): Use
26949 optional-macro-int-constant. Specify type. Require == 1.
26950 [C99-based standards] (FP_FAST_FMAF): Likewise.
26951 [C99-based standards] (FP_FAST_FMAL): Likewise.
26952 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26953 [C99-based standards] (FP_ILOGBNAN): Likewise.
26954 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26956 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26957 [C99-based standards] (math_errhandling): Specify type.
26958 [ISO99 || ISO11] (signgam): Do not allow.
26959 [non-C99-based standards] (copysignf): Do not allow.
26960 [non-C99-based standards] (exp2f): Likewise.
26961 [non-C99-based standards] (log2f): Likewise.
26962 [non-C99-based standards] (modff): Allow.
26963 [non-C99-based standards] (erff): Do not allow.
26964 [non-C99-based standards] (erfcf): Likewise.
26965 [non-C99-based standards] (gammaf): Likewise.
26966 [non-C99-based standards] (hypotf): Likewise.
26967 [non-C99-based standards] (j0f): Likewise.
26968 [non-C99-based standards] (j1f): Likewise.
26969 [non-C99-based standards] (jnf): Likewise.
26970 [non-C99-based standards] (lgammaf): Likewise.
26971 [non-C99-based standards] (tgammaf): Likewise.
26972 [non-C99-based standards] (y0f): Likewise.
26973 [non-C99-based standards] (y1f): Likewise.
26974 [non-C99-based standards] (ynf): Likewise.
26975 [non-C99-based standards] (isnanf): Likewise.
26976 [non-C99-based standards] (acoshf): Likewise.
26977 [non-C99-based standards] (asinhf): Likewise.
26978 [non-C99-based standards] (atanhf): Likewise.
26979 [non-C99-based standards] (cbrtf): Likewise.
26980 [non-C99-based standards] (expm1f): Likewise.
26981 [non-C99-based standards] (ilogbf): Likewise.
26982 [non-C99-based standards] (log1pf): Likewise.
26983 [non-C99-based standards] (logbf): Likewise.
26984 [non-C99-based standards] (nextafterf): Likewise.
26985 [non-C99-based standards] (remainderf): Likewise.
26986 [non-C99-based standards] (rintf): Likewise.
26987 [non-C99-based standards] (scalbf): Likewise.
26988 [non-C99-based standards] (copysignl): Likewise.
26989 [non-C99-based standards] (exp2l): Likewise.
26990 [non-C99-based standards] (log2l): Likewise.
26991 [non-C99-based standards] (modfl): Allow.
26992 [non-C99-based standards] (erfl): Do not allow.
26993 [non-C99-based standards] (erfcl): Likewise.
26994 [non-C99-based standards] (gammal): Likewise.
26995 [non-C99-based standards] (hypotl): Likewise.
26996 [non-C99-based standards] (j0l): Likewise.
26997 [non-C99-based standards] (j1l): Likewise.
26998 [non-C99-based standards] (jnl): Likewise.
26999 [non-C99-based standards] (lgammal): Likewise.
27000 [non-C99-based standards] (tgammal): Likewise.
27001 [non-C99-based standards] (y0l): Likewise.
27002 [non-C99-based standards] (y1l): Likewise.
27003 [non-C99-based standards] (ynl): Likewise.
27004 [non-C99-based standards] (isnanl): Likewise.
27005 [non-C99-based standards] (acoshl): Likewise.
27006 [non-C99-based standards] (asinhl): Likewise.
27007 [non-C99-based standards] (atanhl): Likewise.
27008 [non-C99-based standards] (cbrtl): Likewise.
27009 [non-C99-based standards] (expm1l): Likewise.
27010 [non-C99-based standards] (ilogbl): Likewise.
27011 [non-C99-based standards] (log1pl): Likewise.
27012 [non-C99-based standards] (logbl): Likewise.
27013 [non-C99-based standards] (nextafterl): Likewise.
27014 [non-C99-based standards] (remainderl): Likewise.
27015 [non-C99-based standards] (rintl): Likewise.
27016 [non-C99-based standards] (scalbl): Likewise.
27017 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27018 [non-C99-based standards] (FP_*): Do not allow.
27019 [C99-based standards] (FP_*): Change to
27020 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27021 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27023 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27024 (SIG_ERR): Likewise.
27025 [X/Open-based standards] (SIG_HOLD): Likewise.
27026 (SIG_IGN): Likewise.
27027 (SIGABRT): Use macro-int-constant. Specify type. Require
27029 (SIGFPE): Likewise.
27030 (SIGILL): Likewise.
27031 (SIGINT): Likewise.
27032 (SIGSEGV): Likewise.
27033 (SIGTER): Likewise.
27034 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27035 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27036 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27037 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27038 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27039 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27040 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27041 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27042 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27043 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27044 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27045 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27046 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27047 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27048 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27049 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27050 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27051 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27052 [X/Open-based standards] (SIGTRAP): Likewise.
27053 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27054 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27055 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27056 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27057 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27060 2012-05-08 Ian Wienand <ianw@vmware.com>
27063 * time/tzset.c (__tzset_parse_tz): Update default rules for
27064 daylight time changes in the Energy Policy Act of 2005.
27066 2012-05-09 Andreas Jaeger <aj@suse.de>
27069 * elf/ldconfig.c (parse_conf): Change string to make clear that
27070 ldconfig only issued a warning if ld.so.conf does not exist.
27072 2012-05-08 David S. Miller <davem@davemloft.net>
27074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27075 movxtod instead of popping the value on the stack.
27077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27079 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27081 * config.h.in: Add HAVE_ARM_PCS_VFP.
27083 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
27086 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27087 checking but the checks are disabled for any reason.
27089 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27091 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27092 and ELF64_R_TYPE with ELFW(R_TYPE).
27094 2012-05-08 Joseph Myers <joseph@codesourcery.com>
27096 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27097 (ulimit): Likewise.
27099 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27100 (settimeofday): Likewise.
27102 2012-05-08 Mike Frysinger <vapier@gentoo.org>
27104 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27105 a struct th_u2 inside the union, and move tu_block/tu_code into
27106 a new th_u3 union of tu_block/tu_code inside of that. Move
27107 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27108 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27109 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27110 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27111 (th_stuff): Change to th_u1.tu_stuff.
27113 (th_msg): Change to th_u1.th_u2.tu_data.
27115 2012-05-07 David S. Miller <davem@davemloft.net>
27117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27120 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27121 (SETUP_PIC_REG): Use it.
27122 (SETUP_PIC_REG_LEAF): Use it.
27124 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27128 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27130 (EXPL_FINITE): Likewise.
27131 (FLDLOG): Likewise.
27132 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27133 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27135 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27137 (EXPL_FINITE): Likewise.
27138 (FLDLOG): Likewise.
27139 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27140 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27142 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27143 test of -max_value argument for long double.
27144 * sysdeps/i386/fpu/libm-test-ulps: Update.
27145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27147 2012-05-06 David S. Miller <davem@davemloft.net>
27149 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27150 quad soft-float symbols whose references which are compiler
27152 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27154 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27158 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27160 (EXPL_FINITE): Likewise.
27161 (FLDLOG): Likewise.
27164 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27165 Adjust comments for base varying.
27166 (__expl_finite): Change alias to EXPL_FINITE.
27167 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27169 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27170 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27171 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27172 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27175 (EXPL_FINITE): Likewise.
27176 (FLDLOG): Likewise.
27179 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27180 Adjust comments for base varying.
27181 (__expl_finite): Change alias to EXPL_FINITE.
27182 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27187 * math/libm-test.inc (check_float_internal): Correct ulp
27188 calculation for subnormal expected results.
27190 2012-05-06 Andreas Jaeger <aj@suse.de>
27192 * Makeconfig (+math-flags): New, set to -frounding-math.
27193 (+cflags): Add +math-flags so that all of glibc gets compiled with
27196 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27198 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27200 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27206 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27207 (__ieee754_expl): Allow for and saturate large arguments.
27208 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27209 (u_threshold): Likewise.
27210 (__exp): Call __ieee754_exp before checking for overflow and
27212 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27213 (u_threshold): Likewise.
27214 (__expf): Call __ieee754_expf before checking for overflow and
27216 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27217 (u_threshold): Likewise.
27218 (__expl): Call __ieee754_expl before checking for overflow and
27220 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27221 (__ieee754_expl): Allow for and saturate large arguments.
27222 * math/libm-test.inc (exp_test): Add another test. Do not allow
27223 missing overflow exception on overflow.
27224 (expm1_test): Do not allow missing overflow exception on overflow.
27226 * sysdeps/i386/fpu/e_expl.c: Move to ...
27227 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27228 rather than using inline asm.
27229 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27230 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27231 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27233 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27236 (signal): Likewise.
27240 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27242 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27243 sysdeps/unix/common/syscalls.list.
27244 (fchmod): Likewise.
27245 (fchown): Likewise.
27246 (ftruncate): Likewise.
27247 (getrusage): Likewise.
27248 (gettimeofday): Likewise.
27249 (setpgid): Likewise.
27250 (setregid): Likewise.
27251 (setreuid): Likewise.
27252 (sigaction): Likewise.
27253 (truncate): Likewise.
27254 (vhangup): Likewise.
27255 * sysdeps/unix/common/syscalls.list: Remove file.
27256 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27257 * sysdeps/unix/sysv/linux/Implies: Likewise.
27259 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27261 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27263 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27267 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27270 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27273 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27276 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27279 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27282 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27285 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27289 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27293 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27296 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27300 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27304 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27306 * sysdeps/unix/common/bits/dirent.h: Remove file.
27307 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27309 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27310 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27311 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27312 * sysdeps/unix/bsd/isatty.c: Likewise.
27313 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27314 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27315 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27317 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27320 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27321 long double comparison inaccuracies.
27322 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27325 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27327 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27328 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27330 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27333 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27334 nonzero digits before rounding a hex value.
27335 * stdlib/tst-strtod.c (tests): Add another test.
27337 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27339 * sysdeps/s390/fpu/libm-test-ulps: Update.
27341 2012-05-03 Andreas Jaeger <aj@suse.de>
27343 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27344 does not get optimized out.
27345 (malloc_opt_barrier): New.
27347 2012-05-03 Andreas Jaeger <aj@suse.de>
27348 Roland McGrath <roland@hack.frob.com>
27350 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27351 intermediate file deletion.
27352 (generated): Add .symlist files.
27354 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27357 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27358 Redirect under this condition.
27359 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27360 [__USE_GNU] (__dprintf_chk): Not under this condition.
27361 [__USE_GNU] (__vdprintf_chk): Likewise.
27362 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27363 under this condition.
27364 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27365 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27366 [__USE_XOPEN2K8] (vdprintf): Likewise.
27367 [__USE_GNU] (__dprintf_chk): Not under this condition.
27368 [__USE_GNU] (__vdprintf_chk): Likewise.
27369 [__USE_GNU] (dprintf): Likewise.
27370 [__USE_GNU] (vdprintf): Likewise.
27372 2012-05-03 Roland McGrath <roland@hack.frob.com>
27374 * elf/Makefile (common-generated): Set this instead of generated for
27375 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27376 $(all-built-dso)-derived lists.
27378 2012-05-03 Andreas Jaeger <aj@suse.de>
27380 * sysdeps/i386/fpu/libm-test-ulps: Update.
27383 * FAQ.in: Likewise.
27384 * scripts/gen-FAQ.pl: Likewise.
27385 * manual/install.texi (Installation): Point to online location of
27387 * Makefile (files-for-dist): Remove FAQ.
27390 2012-05-02 Allan McRae <allan@archlinux.org>
27392 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27393 (LDFLAGS-reldepmod5.so): Likewise.
27394 (LDFLAGS-reldep6mod1.so): Likewise.
27395 (LDFLAGS-reldep6mod4.so): Likewise.
27396 (LDFLAGS-reldep8mod3.so): Likewise.
27397 (LDFLAGS-unload4mod1.so): Likewise.
27398 (LDFLAGS-unload4mod2.so): Likewise.
27399 (LDFLAGS-tst-initorder): Likewise.
27400 (LDFLAGS-tst-initordera2.so): Likewise.
27401 (LDFLAGS-tst-initordera3.so): Likewise.
27402 (LDFLAGS-tst-initordera4.so): Likewise.
27403 (LDFLAGS-tst-initorderb2.so): Likewise.
27404 (LDFLAGS-noload): Likewise.
27405 (LDFLAGS-next): Likewise.
27406 (LDFLAGS-order2mod1.so): Likewise.
27407 (LDFLAGS-order2mod2.so): Likewise.
27408 (LDFLAGS-tst-initorder2): Likewise.
27409 (LDFLAGS-tst-initorder2a.so): Likewise.
27410 (LDFLAGS-tst-initorder2b.so): Likewise.
27411 (LDFLAGS-tst-initorder2c.so): Likewise.
27412 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27414 2012-05-02 David S. Miller <davem@davemloft.net>
27416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27418 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27421 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27423 2012-05-02 Andreas Jaeger <aj@suse.de>
27425 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27426 since we manipulate rounding mode.
27427 (CPPFLAGS-test-idouble.c): Likewise.
27428 (CPPFLAGS-test-ifloat.c): Likewise.
27429 (CFLAGS-test-ldouble.c): Likewise.
27430 (CFLAGS-test-double.c): Likewise.
27431 (CFLAGS-test-float.c): Likewise.
27432 (CFLAGS-test-misc.c): Likewise.
27433 (CFLAGS-test-test-fenv.c): Likewise.
27435 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27439 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27440 comparisons to determine direction to adjust input.
27442 2012-05-01 Roland McGrath <roland@hack.frob.com>
27444 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27445 output to the target.
27447 * scripts/localplt.awk: New file.
27448 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27449 (check-localplt-CFLAGS): Variable removed.
27450 ($(all-built-dso:=.jmprel)): New static pattern rule.
27451 (generated): Add those targets.
27452 (localplt-built-dso): New variable.
27453 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27455 * elf/check-localplt.c: File removed.
27457 * scripts/check-execstack.awk: New file.
27458 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27459 (check-execstack-CFLAGS): Variable removed.
27460 ($(objpfx)check-execstack.h): Target removed.
27461 ($(objpfx)execstack-default): New target.
27462 (generated): Add that instead of check-execstack.h.
27463 ($(all-built-dso:=.phdr)): New static pattern rule.
27464 (generated): Add those targets.
27465 * elf/check-execstack.c: File removed.
27467 * scripts/check-textrel.awk: New file.
27468 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27469 (check-textrel-CFLAGS): Variable removed.
27470 (all-built-dso): Use := to define.o
27471 ($(all-built-dso:=.dyn)): New static pattern rule.
27472 (generated): Add those targets.
27473 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27474 * config.make.in (READELF): New substituted variable.
27475 * elf/check-textrel.c: File removed.
27477 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27479 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27481 * conform/data/ctype.h-data [C99-based standards] (isblank):
27483 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27484 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27486 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27487 Specify type. Require positive value.
27488 (EILSEQ): Likewise.
27489 (ERANGE): Likewise.
27490 [ISO || POSIX] (EILSEQ): Do not expect.
27491 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27492 Specify type. Require positive value.
27493 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27494 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27495 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27496 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27497 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27498 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27499 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27500 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27501 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27502 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27503 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27504 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27505 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27506 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27507 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27508 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27509 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27510 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27511 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27512 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27513 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27514 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27515 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27516 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27517 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27518 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27519 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27520 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27521 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27522 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27523 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27524 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27525 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27526 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27527 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27528 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27529 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27530 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27531 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27532 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27533 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27534 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27535 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27536 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27537 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27538 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27539 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27540 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27541 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27542 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27543 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27544 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27545 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27546 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27547 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27548 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27549 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27550 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27551 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27552 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27553 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27554 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27555 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27556 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27557 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27558 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27559 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27560 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27561 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27562 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27563 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27564 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27565 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27566 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27567 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27568 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27569 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27571 (FLT_ROUNDS): Expect as macro, not constant.
27572 (FLT_MANT_DIG): Use macro-int-constant.
27573 (DBL_MANT_DIG): Likewise.
27574 (LDBL_MANT_DIG): Likewise.
27575 (FLT_DIG): Likewise.
27576 (DBL_DIG): Likewise.
27577 (LDBL_DIG): Likewise.
27578 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27579 (DBL_MIN_EXP): Likewise.
27580 (LDBL_MIN_EXP): Likewise.
27581 (FLT_MAX_EXP): Use macro-int-constant.
27582 (DBL_MAX_EXP): Likewise.
27583 (LDBL_MAX_EXP): Likewise.
27584 (FLT_MAX_10_EXP): Likewise.
27585 (DBL_MAX_10_EXP): Likewise.
27586 (LDBL_MAX_10_EXP): Likewise.
27587 (FLT_MAX): Use macro-constant.
27588 (DBL_MAX): Likewise.
27589 (LDBL_MAX): Likewise.
27590 (FLT_EPSILON): Use macro-constant. Give upper bound.
27591 (DBL_EPSILON): Likewise.
27592 (LDBL_EPSILON): Likewise.
27593 (FLT_MIN): Likewise.
27594 (DBL_MIN): Likewise.
27595 (LDBL_MIN): Likewise.
27596 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27597 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27598 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27599 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27600 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27601 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27602 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27603 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27604 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27605 [ISO11] (FLT_TRUE_MIN): Likewise.
27606 [ISO11] (LDBL_TRUE_MIN): Likewise.
27607 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27608 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27609 (SCHAR_MIN): Use macro-int-constant. Specify type.
27610 (SCHAR_MAX): Likewise.
27611 (UCHAR_MAX): Likewise.
27612 (CHAR_MIN): Likewise.
27613 (CHAR_MAX): Likewise.
27614 (MB_LEN_MAX): Use macro-int-constant.
27615 (SHRT_MIN): Use macro-int-constant. Specify type.
27616 (SHRT_MAX): Likewise.
27617 (USHRT_MAX): Likewise.
27618 (INT_MAX): Likewise.
27619 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27621 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27623 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27625 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27626 bound negative. Suffix upper bound with "L".
27627 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27629 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27631 [C99-based standards] (LLONG_MAX): Likewise.
27632 [C99-based standards] (ULLONG_MAX): Likewise.
27633 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27635 [ISO11] (max_align_t): Require type.
27636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27638 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27639 from $CFLAGS, without defining away __attribute__ calls.
27640 (checknamespace): Use $CFLAGS_namespace.
27642 * conform/conformtest.pl (@keywords): Only include C99 keywords
27643 for standards based on C99 or C11.
27645 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27647 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27650 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27651 usability of symbols in #if.
27653 * conform/conformtest.pl: If macro or constant types start
27654 "promoted:", expect the symbol to be of the following type
27655 promoted by the integer promotions.
27657 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27658 in one place. Also handle "macro-constant".
27660 * conform/conformtest.pl: Only accept expected macro values with
27661 "==". Parse all "macro" lines in one place.
27662 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27664 * conform/conformtest.pl: Handle braced types on "constant" lines
27665 instead of handling "typed-constant".
27666 * conform/data/signal.h-data: Use "constant" instead of
27669 * conform/conformtest.pl: Handle "optional-" at start of lines in
27670 one place rather than duplicating several cases. Handle each
27671 format of "macro" line with initial "optional-".
27673 * conform/conformtest.pl: Only accept expected constant or
27674 optional-constant values with "==". Parse all "constant" lines in
27675 one place. Parse all "optional-constant" lines in one place.
27676 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27677 * conform/data/fmtmsg.h-data: Likewise.
27678 * conform/data/netinet/in.h-data: Likewise.
27679 * conform/data/tar.h-data: Likewise.
27680 * conform/data/limits.h-data: Use "==" form on "constant" and
27681 "optional-constant" lines.
27683 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27684 Use -std=c99 for XOPEN2K.
27685 (@knownproblems): Remove.
27686 (newtoken): Don't check %isknown.
27688 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27689 Do not expect macro.
27690 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27691 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27692 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27693 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27694 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27695 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27696 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27697 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27698 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27699 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27700 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27701 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27702 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27703 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27704 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27705 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27706 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27707 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27708 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27709 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27710 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27711 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27712 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27713 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27714 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27715 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27716 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27717 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27718 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27719 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27720 [XPG3] (acosh): Likewise.
27721 [XPG3] (asinh): Likewise.
27722 [XPG3] (atanh): Likewise.
27723 [XPG3] (cbrt): Likewise.
27724 [XPG3] (expm1): Likewise.
27725 [XPG3] (ilogb): Likewise.
27726 [XPG3] (log1p): Likewise.
27727 [XPG3] (logb): Likewise.
27728 [XPG3] (nextafter): Likewise.
27729 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27730 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27731 [XPG3] (remainder): Likewise.
27732 [XPG3] (rint): Likewise.
27733 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27734 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27735 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27736 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27737 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27738 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27739 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27740 [UNIX98 || XOPEN2K] (scalb): Expect.
27741 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27742 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27743 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27744 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27745 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27746 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27747 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27748 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27749 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27750 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27751 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27752 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27753 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27754 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27755 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27756 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27757 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27758 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27759 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27760 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27761 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27762 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27763 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27764 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27765 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27766 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27767 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27768 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27769 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27770 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27771 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27772 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27773 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27774 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27775 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27776 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27777 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27778 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27779 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27780 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27781 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27782 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27783 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27784 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27785 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27786 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27787 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27788 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27789 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27790 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27791 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27792 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27793 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27794 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27795 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27796 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27797 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27798 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27799 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27800 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27801 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27802 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27803 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27804 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27805 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27806 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27807 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27808 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27809 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27810 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27811 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27812 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27813 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27814 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27815 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27816 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27817 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27818 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27819 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27820 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27821 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27822 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27823 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27824 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27825 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27826 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27827 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27828 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27829 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27830 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27831 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27832 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27833 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27834 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27835 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27836 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27837 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27838 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27839 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27840 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27841 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27842 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27843 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27844 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27845 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27846 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27847 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27848 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27849 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27850 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27851 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27852 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27853 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27854 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27855 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27856 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27857 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27858 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27859 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27860 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27861 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27862 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27863 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27864 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27865 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27866 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27867 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27868 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27869 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27870 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27871 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27872 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27873 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27874 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27875 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27876 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27877 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27879 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27880 _XOPEN_SOURCE_EXTENDED for XPG4.
27882 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27884 * Makeconfig (localtime): Remove variable.
27885 (inst_localtime-file): Likewise.
27887 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27908 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27912 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27913 comparisons to determine direction to adjust input.
27914 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27915 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27916 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27918 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27920 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27922 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27923 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27925 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27927 * math/libm-test.inc (nexttoward_test): Add more tests.
27929 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27932 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27933 in version GLIBC_2.1, not GLIBC_2.0.
27934 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27937 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27940 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27942 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27943 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27944 * math/libm-test.inc (acos_test): Add more tests.
27945 (asin_test): Likewise.
27946 * sysdeps/i386/fpu/libm-test-ulps: Update.
27947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27950 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27952 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27953 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27954 * math/libm-test.inc (acos_test_tonearest): New function.
27955 (acos_test_towardzero): Likewise.
27956 (acos_test_downward): Likewise.
27957 (acos_test_upward): Likewise.
27958 (asin_test_tonearest): Likewise.
27959 (asin_test_towardzero): Likewise.
27960 (asin_test_downward): Likewise.
27961 (asin_test_upward): Likewise.
27962 (main): Call the new functions.
27963 * sysdeps/i386/fpu/libm-test-ulps: Update.
27964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27968 * math/e_exp10.c: Include <float.h>.
27969 (__ieee754_exp10): Handle underflow here rather than multiplying
27970 large negative argument by M_LN10.
27971 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27973 * math/e_exp10l.c: Include <float.h>.
27974 (__ieee754_exp10l): Handle underflow here rather than multiplying
27975 large negative argument by M_LN10l.
27976 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27977 spurious overflow exception on underflow.
27979 2012-04-29 Marek Polacek <polacek@redhat.com>
27981 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27982 (__fortify_function): New macro.
27983 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27984 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27985 __extern_always_inline.
27986 * libio/bits/stdio2.h: Likewise.
27987 * libio/bits/stdio.h: Likewise.
27988 * string/string.h: Likewise.
27989 * string/bits/string3.h: Likewise.
27990 * include/stdio.h: Likewise.
27991 * stdlib/bits/stdlib.h: Likewise.
27992 * stdlib/stdlib.h: Likewise.
27993 * rt/bits/mqueue2.h: Likewise.
27994 * rt/mqueue.h: Likewise.
27995 * posix/bits/unistd.h: Likewise.
27996 * posix/unistd.h: Likewise.
27997 * io/bits/poll2.h: Likewise.
27998 * io/bits/fcntl2.h: Likewise.
27999 * io/fcntl.h: Likewise.
28000 * io/sys/poll.h: Likewise.
28001 * misc/bits/syslog.h: Likewise.
28002 * misc/bits/syslog-ldbl.h: Likewise.
28003 * misc/sys/syslog.h: Likewise.
28004 * socket/bits/socket2.h: Likewise.
28005 * socket/sys/socket.h: Likewise.
28006 * debug/tst-chk1.c: Likewise.
28007 * wcsmbs/bits/wchar2.h: Likewise.
28008 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28009 * wcsmbs/wchar.h: Likewise.
28011 2012-04-29 Andreas Jaeger <aj@suse.de>
28013 * Makerules (tests): Remove enable-check-abi protection.
28014 (check-abi-warn): Remove.
28015 (check-abi-%): Remove check-abi-warn usage.
28017 * configure.in: Remove check-abi configure option.
28018 * configure: Regenerated.
28019 * config.make.in (enable-check-abi): Remove.
28021 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28024 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28025 double functions to double *_finite functions.
28028 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28029 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28031 * stdio-common/Makefile (tests): Add tst-sprintf3.
28032 * stdio-common/tst-sprintf3.c: New file.
28034 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28035 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28037 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28039 * conform/conformtest.pl: Remove duplicate typed-constant
28042 2012-04-28 David S. Miller <davem@davemloft.net>
28044 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28045 (check-abi-%): Remove AWK script prerequisite and explicit
28047 (check-abi): Rewrite to just diff the symlist with the abilist.
28048 (config-tls, config-abi-config): Delete, no longer used.
28049 (update-abi-%): Remove AWK script and explicit abilist directory.
28050 (update-abi): Rewrite to simply compare and conditionally copy the
28051 symlist and the sysdep abilist file. Remove update-abi-config
28053 * abilist/ld.abilist: Remove.
28054 * abilist/libBrokenLocale.abilist: Remove.
28055 * abilist/libanl.abilist: Remove.
28056 * abilist/libcrypt.abilist: Remove.
28057 * abilist/libdl.abilist: Remove.
28058 * abilist/librt.abilist: Remove.
28059 * abilist/libthread_db.abilist: Remove.
28060 * abilist/libutil.abilist: Remove.
28061 * scripts/extract-abilist.awk: Remove.
28062 * scripts/merge-abilist.awk: Remove.
28063 * sysdeps/generic/libcidn.abilist: New file.
28064 * sysdeps/generic/libnss_compat.abilist: New file.
28065 * sysdeps/generic/libnss_db.abilist: New file.
28066 * sysdeps/generic/libnss_dns.abilist: New file.
28067 * sysdeps/generic/libnss_files.abilist: New file.
28068 * sysdeps/generic/libnss_hesiod.abilist: New file.
28069 * sysdeps/generic/libnss_nis.abilist: New file.
28070 * sysdeps/generic/libnss_nisplus.abilist: New file.
28071 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28072 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28073 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28075 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28076 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28077 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28078 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28079 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28080 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28081 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28082 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28083 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28085 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28086 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28087 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28088 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28090 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28091 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28092 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28093 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28094 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28095 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28097 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28098 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28099 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28101 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28204 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28205 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28206 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28208 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28209 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28210 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28211 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28212 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28213 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28214 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28215 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28216 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28217 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28269 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28271 * conform/conformtest.pl: Fix typo in handling typed-constant from
28274 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28276 * README: Cut down references to pre-2.6 Linux kernels and
28277 Linuxthreads. Update lists of configurations in libc and ports
28278 and sort alphabetically. Say "or newer" with Linux kernel version
28281 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28283 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28286 * math/libm-test.inc (logb_test_downward): New test to expose
28287 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28290 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28293 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28295 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28296 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28298 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28300 * sysdeps/unix/i386/brk.S: Remove file.
28301 * sysdeps/unix/i386/dl-brk.S: Likewise.
28302 * sysdeps/unix/i386/pipe.S: Likewise.
28303 * sysdeps/unix/i386/sigreturn.S: Likewise.
28304 * sysdeps/unix/i386/syscall.S: Likewise.
28305 * sysdeps/unix/i386/vfork.S: Likewise.
28306 * sysdeps/unix/i386/wait.S: Likewise.
28308 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28309 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28311 * configure.in (arm*-none*): Do not allow without
28312 --enable-hacker-mode.
28313 (netbsd*): Remove case setting base_os.
28314 (386bsd*): Likewise.
28315 (freebsd*): Likewise.
28318 (sunos*): Likewise.
28319 (ultrix*): Likewise.
28320 (newsos*): Likewise.
28321 (dynix*): Likewise.
28327 (minix*): Likewise.
28328 (irix4*): Likewise.
28329 (irix6*): Likewise.
28330 (solaris[2-9]*): Likewise.
28332 * configure: Regenerated.
28334 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28337 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28338 overflow or cancellation in calculating denominator.
28339 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28340 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28341 down expression to avoid unexpected rounding in newer GCCs.
28342 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28344 2012-04-26 David S. Miller <davem@davemloft.net>
28346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28347 long-double compat symbols.
28348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28362 2012-04-25 David S. Miller <davem@davemloft.net>
28364 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28365 HWCAP_* values only after the memory barriers have been defined.
28366 (atomic_full_barrier): Define.
28367 (atomic_read_barrier): Define.
28368 (atomic_write_barrier): Define.
28370 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28372 * shlib-versions: Add libgcc_s version information.
28373 * sysdeps/generic/libgcc_s.h: Remove.
28374 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28376 * sysdeps/gnu/unwind-resume.c: Likewise.
28377 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28379 2012-04-25 David S. Miller <davem@davemloft.net>
28381 * sysdeps/unix/sparc/brk.S: Delete.
28382 * sysdeps/unix/sparc/dl-brk.S: Delete.
28383 * sysdeps/unix/sparc/pipe.S: Delete.
28384 * sysdeps/unix/sparc/sysdep.S: Delete.
28385 * sysdeps/unix/sparc/sysdep.h: Delete.
28386 * sysdeps/unix/sparc/vfork.S: Delete.
28387 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28388 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28389 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28390 ret_ERRVAL, r0, r1, MOVE): Define.
28391 (JUMPTARGET): Remove.
28392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28393 sysdeps/unix/sparc/sysdep.h
28394 (ENTRY, END): Remove.
28395 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28397 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28399 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28400 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28403 * timezone/README: Update upstream location and email address for
28405 * timezone/zdump.c: Update from tzcode 2012b.
28406 * timezone/zic.c: Likewise.
28408 * configure.in (libc_cv_as_needed): Remove test.
28409 * configure: Regenerated.
28410 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28411 conditional definition.
28412 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28413 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28414 * config.make.in (have-as-needed): Remove variable.
28416 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28417 Paul Pluzhnikov <ppluzhnikov@google.com>
28419 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28422 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28424 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28425 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28426 * sysdeps/sh/strlen.S: Likewise.
28428 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28430 * sysdeps/unix/fork.S: Remove file.
28431 * sysdeps/unix/i386/fork.S: Likewise.
28432 * sysdeps/unix/sparc/fork.S: Likewise.
28434 * sysdeps/unix/system.c: Remove file.
28435 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28437 * sysdeps/unix/getegid.S: Remove file.
28438 * sysdeps/unix/geteuid.S: Likewise.
28440 2012-04-24 Roland McGrath <roland@hack.frob.com>
28442 * scripts/check-localplt.awk: New file.
28443 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28445 * scripts/data/localplt-generic.data: Add a comment.
28447 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28448 NODE when __dir_mkfile failed.
28449 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28450 Reported by Ludovic Courtès <ludo@gnu.org>.
28452 2012-04-24 Andreas Jaeger <aj@suse.de>
28454 * Makerules (common-clean): Also remove gen-as-const-headers
28457 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28459 * Makerules (native-compile): Do not change working directory for
28460 build. Use $(OUTPUT_OPTION) in command.
28461 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28463 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28466 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28467 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28468 * math/libm-test.inc (floor_test): Add more tests.
28469 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28471 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28473 * sysdeps/unix/getdents.c: Remove file.
28474 * sysdeps/unix/sysv/getdents.c: Likewise.
28475 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28477 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28478 sysdeps/unix/mman/syscalls.list.
28480 (mprotect): Likewise.
28482 (munmap): Likewise.
28483 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28484 * sysdeps/unix/mman/syscalls.list: Remove.
28485 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28487 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28488 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28489 * configure: Regenerated.
28490 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28491 $(libgcc_s_suffix).
28492 * config.make.in (libgcc_s_suffix): Remove variable.
28494 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28496 * sysdeps/unix/sysv/gethostname.c: Move to ...
28497 * sysdeps/posix/gethostname.c: ... here.
28499 * sysdeps/unix/execve.S: Remove file.
28501 * sysdeps/unix/_exit.S: Remove file.
28503 2012-04-23 Andreas Jaeger <aj@suse.de>
28506 * manual/Makefile: Remove make dist support, there's no
28507 need for a stand-alone documentation tar ball.
28508 (TEXI2DVI): Define always, it's not in Makeconfig.
28511 (edition): Removed.
28512 (glibc-doc-$(edition).tar): Removed
28516 (ETAGS): Remove, it's in Makeconfig.
28517 (move-if-change): Remove, it's in Makeconfig.
28519 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28522 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28523 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28524 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28525 (strtod_l, strtof_l, strtold_l): Remove __wur.
28526 It is not necessarily an error to ignore strtol's return value.
28527 One can reliably look at the stored endptr to decide whether
28528 the number had valid syntax.
28530 2012-04-21 Andreas Jaeger <aj@suse.de>
28533 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28535 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28537 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28538 * sysdeps/unix/sysv/Versions: Remove file.
28540 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28545 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28548 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28549 version from __vm86.
28551 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28553 * sysdeps/unix/common/lxstat.c: Remove file.
28554 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28556 * sysdeps/unix/sysv/Makefile: Remove file.
28558 * sysdeps/unix/sysv/direct.h: Remove file.
28560 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28561 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28562 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28563 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28564 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28565 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28566 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28568 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28570 * sysdeps/unix/xmknod.c: Remove file.
28571 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28573 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28575 * sysdeps/unix/sysv/i386/time.S: Remove file.
28577 * sysdeps/unix/fxstat.c: Remove file.
28578 * sysdeps/unix/xstat.c: Likewise.
28579 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28581 * sysdeps/unix/sysv/sigaction.c: Remove file.
28583 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28584 (sysdep_headers): Remove variable.
28585 [termio.h not in sysdep_headers] (generated): Likewise.
28586 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28587 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28588 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28589 * sysdeps/unix/sysv/tcflow.c: Likewise.
28590 * sysdeps/unix/sysv/tcflush.c: Likewise.
28591 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28592 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28593 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28594 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28595 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28597 * sysdeps/unix/siglist.c: Remove file.
28599 * sysdeps/unix/getppid.S: Remove file.
28601 * sysdeps/unix/mkdir.c: Remove file.
28602 * sysdeps/unix/rmdir.c: Likewise.
28604 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28606 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28608 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28609 errlist-compat value.
28611 2012-04-18 David S. Miller <davem@davemloft.net>
28613 * sysdeps/generic/memcopy.h (reg_char): Delete.
28614 * debug/strcat_chk.c: Use char, not reg_char.
28615 * debug/strcpy_chk.c: Likewise.
28616 * debug/strncat_chk.c: Likewise.
28617 * debug/strncpy_chk.c: Likewise.
28618 * string/memchr.c: Likewise.
28619 * string/memrchr.c: Likewise.
28620 * string/rawmemchr.c: Likewise.
28621 * string/strcat.c: Likewise.
28622 * string/strchr.c: Likewise.
28623 * string/strchrnul.c: Likewise.
28624 * string/strcmp.c: Likewise.
28625 * string/strcpy.c: Likewise.
28626 * string/strncat.c: Likewise.
28627 * string/strncmp.c: Likewise.
28628 * string/strncpy.c: Likewise.
28630 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28632 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28633 __builtin_memcopy is called when src and dest ranges are known to not
28636 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28638 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28639 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28640 fwd_align_merge macro call.
28641 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28642 bwd_align_merge macro call.
28643 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28645 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28647 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28648 bwd_align_merge macros.
28649 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28650 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28651 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28653 2012-04-18 David S. Miller <davem@davemloft.net>
28655 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28657 2012-04-18 Andreas Jaeger <aj@suse.de>
28660 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28661 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28662 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28664 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28665 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28666 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28668 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28669 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28670 Adjust for changed ldbl-128 files.
28672 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28673 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28674 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28676 2012-04-17 David S. Miller <davem@davemloft.net>
28678 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28680 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28682 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28683 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28684 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28685 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28686 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28687 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28689 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28692 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28693 * math/libm-test.inc: Add ilogb errno and exception tests.
28694 * math/w_ilogb.c: New file: ilogb wrapper.
28695 * math/w_ilogbf.c: New file: ilogbf wrapper.
28696 * math/w_ilogbl.c: New file: ilogbl wrapper.
28697 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28698 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28699 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28700 exception being thrown with 0.0 as argument.
28701 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28702 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28703 exception being thrown with 0.0 as argument.
28704 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28705 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28706 exception being thrown with 0.0 as argument.
28707 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28708 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28709 exception being thrown with 0.0 as argument.
28710 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28711 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28712 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28713 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28714 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28715 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28716 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28717 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28718 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28720 2012-04-17 Petr Baudis <pasky@ucw.cz>
28722 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28725 2012-04-16 Marek Polacek <polacek@redhat.com>
28727 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28729 2012-04-16 Marek Polacek <polacek@redhat.com>
28731 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28732 operands of fdivp instruction.
28734 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28736 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28737 * elf/tst-auditmod3b.c: Likewise.
28738 * elf/tst-auditmod4b.c: Likewise.
28739 * elf/tst-auditmod5b.c: Likewise.
28740 * elf/tst-auditmod6b.c: Likewise.
28741 * elf/tst-auditmod6c.c: Likewise.
28742 * elf/tst-auditmod7b.c: Likewise.
28743 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28744 * sysdeps/x86_64/preconfigure.in: Likewise.
28745 * sysdeps/x86_64/preconfigure: Regenerated.
28747 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28749 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28752 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28755 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28757 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28760 * locale/iso-639.def: Fix gl language name. Spotted by
28763 2012-04-12 Roland McGrath <roland@hack.frob.com>
28766 * libio/libio.h (__io_write_fn): Update comment.
28768 2012-04-12 Petr Baudis <pasky@ucw.cz>
28771 * stdio.texi (Hook Functions): The user provided writer function
28772 is not allowed to return -1.
28774 2012-04-11 David S. Miller <davem@davemloft.net>
28776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28778 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28780 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28781 Add a leading slash to rtkaio.
28783 2012-04-11 Jim Meyering <meyering@redhat.com>
28786 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28787 It is not necessarily an error to ignore fwrite's return
28788 value. One can reliably use ferror to test for errors after
28791 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28793 * bits/types.h (__snseconds_t): New type.
28794 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28796 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28797 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28798 (__SNSECONDS_T_TYPE): Likewise.
28799 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28800 (__SNSECONDS_T_TYPE): Likewise.
28801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28802 (__SNSECONDS_T_TYPE): Likewise.
28804 2012-04-10 Andreas Jaeger <aj@suse.de>
28807 * manual/time.texi (Processor Time): Return type of times is
28808 elapsed real time since an arbitrary point in the past.
28809 (CPU Time): Move CLK_TCK from here...
28810 (Processor Time): ...to here. Correct description.
28811 * manual/conf.texi (Constants for Sysconf): Correct description of
28814 2012-04-10 David S. Miller <davem@davemloft.net>
28817 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28818 where the is a gap between DT_REL(A) and DT_JMPREL.
28820 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28822 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28823 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28824 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28826 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28828 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28829 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28830 (dl_main): Handle --inhibit-cache.
28831 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28833 * elf/dl-load.c (_dl_map_object): Use it.
28834 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28836 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28839 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28840 (__ieee754_powl): Saturate large exponents rather than testing for
28841 overflow of y*log2(x).
28842 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28843 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28847 * math/s_ctan.c: Include <float.h>.
28848 (__ctan): Avoid internal overflow or cancellation in calculating
28850 * math/s_ctanf.c: Likewise.
28851 * math/s_ctanl.c: Likewise.
28852 * math/s_ctanh.c: Likewise.
28853 * math/s_ctanhf.c: Likewise.
28854 * math/s_ctanhl.c: Likewise.
28855 * math/libm-test.inc (ctan_test): Add more tests.
28856 (ctanh_test): Likewise.
28857 * sysdeps/i386/fpu/libm-test-ulps: Update.
28858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28860 2012-04-09 Andreas Jaeger <aj@suse.de>
28863 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28864 is an optional BSD extension.
28867 * manual/stdio.texi (Opening Streams): Document additional fopen
28870 2012-04-09 Roland McGrath <roland@hack.frob.com>
28872 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28873 %eax without telling the compiler.
28875 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28878 * manual/install.texi: Use sourceware.org.
28880 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28883 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28884 (__ieee754_pow): Generate overflow and underflow using huge*huge
28885 and tiny*tiny rather than just returning constant infinity or zero
28886 for large exponents.
28887 * math/libm-test.inc (pow_test): Require overflow exceptions for
28888 applicable cases of large exponents.
28891 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28892 (__ieee754_pow): Use iterative multiplication algorithm only for
28893 integer exponents with absolute value below 1024. Check for odd
28894 integer exponents when using algorithm for real exponents.
28895 * math/libm-test.inc (pow_test): Add more tests.
28896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28898 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28901 * math/libm-test.inc (exp_test): Do not allow overflow exception
28904 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28907 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28908 instead of __kernel_standard_f.
28910 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28912 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28913 * sysdeps/x86_64/memset_chk.S: Likewise.
28915 2012-04-08 Andreas Jaeger <aj@suse.de>
28918 * manual/startup.texi (Environment Access): Describe return value
28919 for putenv and setenv.
28922 * manual/filesys.texi (Directory Entries): Add description for
28926 * manual/filesys.texi (Directory Entries): Clarify that it's file
28927 system not operating system in the description of DT_UNKNOWN.
28930 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28932 2012-04-08 Stephen Compall <s11@member.fsf.org>
28935 * manual/llio.texi (Opening and Closing Files): Add cross
28936 reference to explain mode argument.
28938 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28940 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28941 * sysdeps/x86_64/memset_chk.S: Likewise.
28943 2012-04-07 David S. Miller <davem@davemloft.net>
28945 * elf/elf.h (R_SPARC_WDISP10): Define.
28946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28949 R_SPARC_SIZE64 and R_SPARC_H34.
28951 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28953 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28954 conditions and remove no longer applicable assertion.
28956 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28958 * bits/byteswap.h: Include <features.h>.
28959 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28960 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28962 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28964 * bits/byteswap.h (__bswap_16): Removed.
28965 Include <bits/byteswap-16.h> to get __bswap_16.
28966 * sysdeps/i386/bits/byteswap.h: Likewise.
28967 * sysdeps/s390/bits/byteswap.h: Likewise.
28968 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28969 * bits/byteswap-16.h: New file.
28970 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28971 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28972 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28973 * string/Makefile (headers): Add bits/byteswap-16.h.
28975 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28978 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28980 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28981 * nss/tst-nss-static.c: New.
28983 2012-04-06 Robert Millan <rmh@gnu.org>
28986 * manual/llio.texi (File Position Primitive): lseek
28987 refers to WHENCE when it really means OFFSET.
28989 2012-04-06 Andreas Jaeger <aj@suse.de>
28991 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28992 strncmp declarations.
28994 * abilist/libc.abilist: Add __poll and __ppoll.
28996 2012-04-05 David S. Miller <davem@davemloft.net>
28998 * scripts/check-local-headers.sh: Accept a host triplet in the
28999 path matched by the exclude regexp.
29001 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29003 * sysdeps/powerpc/powerpc32/dl-machine.h
29004 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29005 * sysdeps/s390/s390-32/dl-machine.h
29006 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29007 * sysdeps/sparc/sparc32/dl-machine.h
29008 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29009 * sysdeps/sparc/sparc64/dl-machine.h
29010 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29012 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29014 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29015 undefined symbol errors.
29017 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29020 2012-04-05 Michael Matz <matz@suse.de>
29023 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29025 2012-04-05 Andreas Jaeger <aj@suse.de>
29028 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29031 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29033 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29034 which ROUND is no valid rounding mode.
29036 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29038 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29040 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29042 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29044 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29045 an exception using FPU order intentionally.
29047 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29049 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29050 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29051 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29052 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29054 2012-04-05 Simon Josefsson <simon@josefsson.org>
29057 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29058 EINVAL when BUFLEN is too smal.
29060 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29063 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29064 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29066 2012-04-03 Andreas Jaeger <aj@suse.de>
29069 * manual/setjmp.texi (System V contexts): Fix sentence.
29072 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29073 New macro for this case.
29074 [!__GNUC__] (__bswap_64): New inline function for this case.
29075 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29076 * bits/byteswap.h: Likewise.
29077 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29078 ull, guard with __GLIBC_HAVE_LONG_LONG.
29080 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29081 __GLIBC_HAVE_LONG_LONG.
29083 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29084 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29086 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29089 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29090 inptr and inend, rather than using last_ch.
29092 2012-04-02 David S. Miller <davem@davemloft.net>
29094 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29095 * stdio-common/printf-parse.h (read_int): Change return type to
29096 'int', return -1 on INT_MAX overflow.
29097 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29098 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29099 overflows INT_MAX. Check for overflow of in-format-string precision
29100 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29101 SIZE_MAX not INT_MAX for integer overflow test.
29102 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29103 skip the construct in the format string but do not record anything.
29104 * stdio-common/bug22.c: Adjust to test both width/prevision
29105 INT_MAX overflow as well as total length INT_MAX overflow. Check
29106 explicitly for proper errno values.
29108 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29110 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29112 * string/test-strcmp.c [! WIDE]: Likewise.
29113 * time/tst-mktime2.c: Likewise for INT_MAX.
29114 * string/test-string.h: #include <sys/param.h> for MIN.
29116 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29117 * sysdeps/i386/init-first.c (init): Likewise.
29118 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29119 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29120 * sysdeps/sh/init-first.c (init): Likewise.
29122 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29124 * po/ru.po: Update from translation team.
29125 * po/vi.po: Likewise.
29127 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29129 * resolv/nss_dns/dns-host.c: Merge copyright years.
29131 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29133 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29134 Optimize memcpy with prefetch if
29135 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29136 src, dst pointers have unequal 16 byte alignments.
29138 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29141 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29142 from a CNAME entry and return the minimum ttl for the query.
29143 (gaih_getanswer_slice): Likewise.
29145 2012-03-30 Jeff Law <law@redhat.com>
29147 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29149 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29150 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29152 * resolv/nss_dns/dns-host.c: Update copyright year.
29154 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29156 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29157 requests to save a system call. Fix check that all bytes are sent.
29159 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29160 comments for sendmmsg.
29162 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29165 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29166 with only 1 character between 0x0041 and 0x01b0.
29167 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29168 * wcsmbs/tst-mbsnrtowcs.c: New file.
29170 2012-03-29 David S. Miller <davem@davemloft.net>
29172 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29173 small copies by hand.
29175 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29178 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29179 _nss_compat_initgroups_dyn): Fall back to malloc/free
29180 for large group memberships.
29182 2012-03-28 David S. Miller <davem@davemloft.net>
29184 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29185 that branches into memcpy.
29186 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29187 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29188 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29189 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29192 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29193 implementation too.
29194 * sysdeps/sparc/mempcpy.S: New file.
29196 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29197 the IFUNC routine in the libc case.
29198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29200 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29201 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29202 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29203 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29204 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29205 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29206 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29207 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29209 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29210 loop to 256 bytes instead of 64 bytes and fix test signedness.
29212 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29213 * sysdeps/sparc/sparc32/Makefile: rather than here...
29214 * sysdeps/sparc/sparc64/Makefile: and here.
29216 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29218 * malloc/mallocbug.c: Avoid warnings about unused variables.
29220 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29223 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29224 in the right place. Discard and retry query if response is
29225 larger than input buffer size.
29227 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29232 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29233 x for large integer exponent.
29234 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29235 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29236 sign of result as needed afterwards.
29237 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29238 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29239 result for underflowing pow the same as for overflow.
29240 (__kernel_standard_l): Handle powl overflow and underflow here
29241 rather than calling __kernel_standard.
29242 * math/libm-test.inc (pow_test): Add more tests.
29257 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29258 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29259 (__kernel_standard_l): New function.
29260 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29262 * math/w_acosl.c (__acosl): Likewise.
29263 * math/w_asinl.c (__asinl): Likewise.
29264 * math/w_atan2l.c (__atan2l): Likewise.
29265 * math/w_atanhl.c (__atanhl): Likewise.
29266 * math/w_coshl.c (__coshl): Likewise.
29267 * math/w_exp10l.c (__exp10l): Likewise.
29268 * math/w_exp2l.c (__exp2l): Likewise.
29269 * math/w_fmodl.c (__fmodl): Likewise.
29270 * math/w_hypotl.c (__hypotl): Likewise.
29271 * math/w_j0l.c (__j0l, __y0l): Likewise.
29272 * math/w_j1l.c (__j1l, __y1l): Likewise.
29273 * math/w_jnl.c (__jnl, __ynl): Likewise.
29274 * math/w_lgammal.c (__lgammal): Likewise.
29275 * math/w_log10l.c (__log10l): Likewise.
29276 * math/w_log2l.c (__log2l): Likewise.
29277 * math/w_logl.c (__logl): Likewise.
29278 * math/w_powl.c (__powl): Likewise.
29279 * math/w_remainderl.c (__remainderl): Likewise.
29280 * math/w_scalbl.c (sysv_scalbl): Likewise.
29281 * math/w_sinhl.c (__sinhl): Likewise.
29282 * math/w_sqrtl.c (__sqrtl): Likewise.
29283 * math/w_tgammal.c (__tgammal): Likewise.
29284 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29285 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29286 * math/libm-test.inc (acos_test): Add more tests.
29287 (acosh_test): Likewise.
29288 (asin_test): Likewise.
29289 (atanh_test): Likewise.
29290 (exp_test): Likewise.
29291 (exp10_test): Likewise.
29292 (exp2_test): Likewise.
29293 (expm1_test): Likewise.
29294 (lgamma_test): Likewise.
29295 (log_test): Likewise.
29296 (log10_test): Likewise.
29297 (log1p_test): Likewise.
29298 (log2_test): Likewise.
29299 (pow_test): Do not allow some spurious overflow exceptions.
29300 (sqrt_test): Add more tests.
29301 (tgamma_test): Likewise.
29302 (y0_test): Likewise.
29303 (y1_test): Likewise.
29304 (yn_test): Likewise.
29306 2012-03-27 Anton Blanchard <anton@samba.org>
29308 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29310 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29311 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29312 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29314 2012-03-27 David S. Miller <davem@davemloft.net>
29316 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29318 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29319 have-as-vis3 check.
29321 2012-03-27 Andreas Jaeger <aj@suse.de>
29323 * sysdeps/x86_64/elf/configure.in: Moved to ...
29324 * sysdeps/x86_64/configure.in: ... here.
29325 * sysdeps/x86_64/elf/start.S: Moved to ...
29326 * sysdeps/x86_64/start.S: ... here.
29327 * sysdeps/x86_64/elf/configure: Delete.
29329 * sysdeps/x86_64/configure.in: Merge contents from
29330 sysdeps/i386/configure.in (without i686 check).
29332 * sysdeps/i386/elf/Versions: Merge into ...
29333 * sysdeps/i386/Versions: ... this.
29334 * sysdeps/i386/elf/Versions: Delete file.
29335 * sysdeps/i386/elf/start.S: Moved to ...
29336 * sysdeps/i386/start.S: ...here.
29337 * sysdeps/i386/elf/configure.in: Merge into...
29338 * sysdeps/i386/configure.in: ...here.
29339 * sysdeps/i386/elf/configure.in: Delete file.
29340 * sysdeps/i386/elf/configure: Delete file.
29342 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29343 * debug/backtracesyms.c: ... here.
29344 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29345 * debug/backtracesymsfd.c: ... here.
29346 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29347 * sysdeps/generic/ifunc-sel.h: ... here.
29349 * sysdeps/unix/i386/start.c: Delete file.
29350 * sysdeps/unix/sparc/start.c: Delete file.
29351 * sysdeps/unix/start.c: Delete file.
29353 * sysdeps/sh/elf/configure.in: Moved to ...
29354 * sysdeps/sh/configure.in: ... here.
29355 * sysdeps/sh/elf/start.S: Moved to ...
29356 * sysdeps/sh/start.S: ... here.
29357 * sysdeps/sh/elf/configure: Delete file.
29359 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29360 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29361 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29362 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29363 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29364 * sysdeps/powerpc/powerpc64/start.S: here.
29365 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29366 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29367 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29368 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29369 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29371 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29372 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29373 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29374 * sysdeps/powerpc/powerpc32/start.S: ... here.
29375 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29376 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29377 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29379 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29380 * sysdeps/powerpc/ifunc-sel.h: ... here.
29381 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29382 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29384 * sysdeps/sparc/elf/configure.in: Moved to ...
29385 * sysdeps/sparc/configure.in: ... here.
29386 * sysdeps/sparc/elf/configure: Delete file.
29387 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29388 * sysdeps/sparc/sparc32/start.S: ... here.
29389 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29390 * sysdeps/sparc/sparc64/start.S: ... here.
29391 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29392 * sysdeps/sparc/sparc32/Makefile: ... this.
29393 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29394 * sysdeps/sparc/sparc64/Makefile: ... this.
29396 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29397 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29398 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29399 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29400 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29401 * sysdeps/s390/s390-32/setjmp.S: ... here.
29402 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29403 * sysdeps/s390/s390-32/configure.in: ... here.
29404 * sysdeps/s390/s390-32/elf/configure: Delete file.
29405 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29406 * sysdeps/s390/s390-32/start.S: ... here.
29408 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29409 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29410 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29411 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29412 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29413 * sysdeps/s390/s390-64/setjmp.S: ... here.
29414 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29415 * sysdeps/s390/s390-64/configure.in: ... here
29416 * sysdeps/s390/s390-64/elf/configure: Delete file.
29417 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29418 * sysdeps/s390/s390-64/start.S: ... here.
29419 * sysdeps/s390/s390-64/elf/configure: Delete.
29421 * configure.in: Remove support for elf directories in sysdeps.
29423 * configure: Regenerated.
29424 * sysdeps/i386/configure: Regenerated.
29425 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29426 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29427 * sysdeps/s390/s390-32/configure: Regenerated.
29428 * sysdeps/s390/s390-64/configure: Regenerated.
29429 * sysdeps/sh/configure: Regenerated.
29430 * sysdeps/sparc/configure: Regenerated.
29431 * sysdeps/x86_64/configure: Regenerated.
29433 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29437 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29438 denormal result into account.
29440 2012-03-25 Roland McGrath <roland@hack.frob.com>
29442 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29443 Reported by Allan McRae <allan@archlinux.org>.
29445 2012-03-23 Jeff Law <law@redhat.com>
29447 * nss/getnssent.c (__nss_getent): Fix typo.
29449 2012-03-23 David S. Miller <davem@davemloft.net>
29451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29453 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29455 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29456 to pad to uint64_t for each field.
29457 (dl_tls_index): Replace unsigned long with uint64_t.
29459 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29460 Paul Pluzhnikov <ppluzhnikov@google.com>
29463 * grp/Makefile (otherlibs): Don't set it.
29464 * inet/Makefile (otherlibs): Likewise.
29465 * login/Makefile (otherlibs): Likewise.
29466 * nscd/Makefile (otherlibs): Likewise.
29467 * posix/Makefile (otherlibs): Likewise.
29468 * pwd/Makefile (otherlibs): Likewise.
29469 * rt/Makefile (otherlibs): Likewise.
29470 * sunrpc/Makefile (otherlibs): Likewise.
29471 * nss/Makefile (otherlibs): Likewise.
29472 Add libnss_files to routines and static-only-routines.
29473 ($(objpfx)getent): Remove rule.
29474 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29475 static-only-routines.
29477 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29480 * math/s_cexp.c: Include <float.h>.
29481 (__cexp): Handle exp result overflowing not necessarily
29482 overflowing both real and imaginary parts of result.
29483 * math/s_cexpf.c: Likewise.
29484 * math/s_cexpl.c: Likewise.
29485 * math/libm-test.inc (cexp_test): Add more tests.
29486 * sysdeps/i386/fpu/libm-test-ulps: Update.
29487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29489 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29491 * include/link.h (ELFW): New macro.
29492 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29493 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29495 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29497 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29500 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29502 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29504 (struct La_x32_retval): Likewise.
29506 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29508 * sysdeps/x86_64/preconfigure.in: New file.
29509 * sysdeps/x86_64/preconfigure: New generated file.
29511 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29514 * math/e_exp2l.c: Include <float.h>.
29515 (__ieee754_exp2l): Handle overflow and underflow cases
29516 separately. Only pass fractional part of argument to
29518 * math/libm-test.inc (exp2_test): Add more tests.
29520 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29521 negating x to take absolute value.
29522 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29524 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29525 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29527 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29528 computing low part if x was negated.
29529 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29531 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29533 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29534 la_x32_gnu_pltexit.
29535 (pltexit): Cast int_retval to ptrdiff_t.
29536 * elf/tst-auditmod3b.c: Likewise.
29537 * elf/tst-auditmod4b.c: Likewise.
29538 * elf/tst-auditmod5b.c: Likewise.
29539 * elf/tst-auditmod6b.c: Likewise.
29540 * elf/tst-auditmod6c.c: Likewise.
29541 * elf/tst-auditmod7b.c: Likewise.
29543 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29544 and x32_gnu_pltexit.
29546 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29547 __ELF_NATIVE_CLASS.
29548 (La_x32_regs): New macro.
29549 (La_x32_retval): Likewise.
29550 (la_x32_gnu_pltenter): New function prototype.
29551 (la_x32_gnu_pltexit): Likewise.
29553 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29555 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29560 * configure.in (libc_cv_cc_nofma): Check for option to disable
29561 generation of FMA instructions.
29562 * configure: Regenerate.
29563 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29564 * sysdeps/ieee754/dbl-64/Makefile: New file.
29565 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29566 Remove brandred-fma4.
29567 (CFLAGS-brandred-fma4.c): Remove.
29568 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29569 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29571 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29574 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29576 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29577 LLONG_MAX != LONG_MAX.
29578 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29579 (_fitoa_word): Likewise.
29580 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29581 LLONG_MAX != LONG_MAX.
29582 * stdio-common/_itowa.h: Include <_itoa.h>.
29583 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29584 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29585 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29586 only if not defined.
29587 (_ITOA_WORD_TYPE): Likewise.
29588 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29589 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29591 2012-03-21 David S. Miller <davem@davemloft.net>
29593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29595 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29597 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29598 of x86_64 when setting libc_cv_slibdir, libdir and
29600 * sysdeps/unix/sysv/linux/configure: Regenerated.
29602 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29604 * manual/lang.texi (Old Varargs): Remove section.
29605 (How Variadic): Update menu.
29606 (va_start): Do not mention varargs.h.
29608 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29609 Joseph Myers <joseph@codesourcery.com>
29611 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29613 * configure: Regenerated.
29615 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29617 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29618 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29621 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29624 * Makefile (files-for-dist): Remove NOTES.
29625 (NOTES): Remove rule.
29626 * README: Don't refer to NOTES.
29627 * manual/creature.texi: Don't include macros.texi.
29628 * manual/intro.texi (creature.texi): Remove comment referring to
29631 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29632 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29633 * configure: Regenerated.
29634 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29635 LIBC_TRY_CC_OPTION.
29636 (libc_cv_as_i686): Likewise.
29637 (libc_cv_cc_avx): Likewise.
29638 (libc_cv_cc_sse2avx): Likewise.
29639 (libc_cv_cc_fma4): Likewise.
29640 (libc_cv_cc_novzeroupper): Likewise.
29641 * sysdeps/i386/configure: Regenerated.
29644 * sysdeps/i386/fpu/s_cexp.S: Remove.
29645 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29646 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29647 * math/libm-test.inc (cexp_test): Add more tests.
29648 * sysdeps/i386/fpu/libm-test-ulps: Update.
29649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29651 2012-03-21 Allan McRae <allan@archlinux.org>
29653 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29655 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29658 * math/w_exp2.c: Do not include <float.h>.
29659 (o_threshold, u_threshold): Remove.
29660 (__exp2): Calculate result before checking finiteness and calling
29662 * math/w_exp2f.c: Likewise.
29663 * math/w_exp2l.c: Likewise.
29664 * math/libm-test.inc (exp2_test): Require overflow exception for
29668 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29669 range of signed 64-bit integers before using fistpll. Remove
29670 checks for whether integers fit in mantissa bits.
29671 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29672 the range of signed 32-bit integers before using fistpl. Remove
29673 checks for whether integers fit in mantissa bits.
29674 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29675 (__ieee754_powl): Test for y outside the range of signed 64-bit
29676 integers before using fistpll. Reduce 64-bit values to 63-bit
29678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29679 divide-by-zero is raised for zero to large negative powers.
29680 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29681 (__ieee754_powl): Test for y outside the range of signed 64-bit
29682 integers before using fistpll. Reduce 64-bit values to 63-bit
29684 * math/libm-test.inc (pow_test): Add more tests.
29686 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29688 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29689 <stdio-common/_itoa.h>.
29690 * debug/segfault.c: Likewise.
29691 * elf/dl-cache.c: Likewise.
29692 * elf/dl-minimal.c: Likewise.
29693 * elf/dl-misc.c: Likewise.
29694 * elf/dl-sysdep.c: Likewise.
29695 * elf/dl-version.c: Likewise.
29696 * elf/rtld.c: Likewise.
29697 * hurd/hurdsock.c: Likewise.
29698 * hurd/lookup-retry.c: Likewise.
29699 * malloc/malloc.c: Likewise.
29700 * malloc/mtrace.c: Likewise.
29701 * nscd/nscd_getgr_r.c: Likewise.
29702 * nscd/nscd_getpw_r.c: Likewise.
29703 * nscd/nscd_getserv_r.c: Likewise.
29704 * posix/getopt_init.c: Likewise.
29705 * posix/wordexp.c: Likewise.
29706 * stdio-common/_itoa.c: Likewise.
29707 * stdio-common/printf_fphex.c: Likewise.
29708 * stdio-common/vfprintf.c: Likewise.
29709 * string/_strerror.c: Likewise.
29710 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29711 * sysdeps/i386/i686/hp-timing.h: Likewise.
29712 * sysdeps/mach/_strerror.c: Likewise.
29713 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29714 * sysdeps/mach/hurd/sethostid.c: Likewise.
29715 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29716 * sysdeps/mach/xpg-strerror.c: Likewise.
29717 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29718 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29719 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29720 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29721 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29722 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29723 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29724 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29725 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29726 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29727 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29728 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29729 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29730 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29731 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29732 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29733 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29734 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29735 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29736 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29737 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29739 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29741 * stdio-common/_itoa.h: Moved to ...
29742 * sysdeps/generic/_itoa.h: Here.
29744 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29746 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29747 instead of "_itoa.h" and "_itowa.h".
29748 * stdio-common/vfprintf.: Likewise.
29750 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29752 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29754 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29755 (__signbit): Likwise.
29756 (llrintf): Likwise.
29759 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29761 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29764 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29766 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29767 OVERFLOW_EXCEPTION_OK.
29768 * math/libm-test.inc ("Philosophy"): Update comment about
29770 (OVERFLOW_EXCEPTION): Define.
29771 (OVERFLOW_EXCEPTION_OK): Likewise.
29772 (INVALID_EXCEPTION_OK): Renumber.
29773 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29774 (IGNORE_ZERO_INF_SIGN): Likewise.
29775 (test_exceptions): Handle FE_OVERFLOW.
29776 (exp10_test): Expect overflow exceptions.
29777 (exp2_test): Likewise.
29778 (expm1_test): Likewise.
29779 (nextafter_test): Likewise.
29780 (pow_test): Likewise.
29781 (scalbn_test): Likewise.
29782 (scalbln_test): Likewise.
29784 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29786 * sysdeps/x86_64/bits/atomic.h
29787 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29789 (atomic_exchange_acq): Likewise.
29790 (__arch_exchange_and_add_body): Likewise.
29791 (__arch_add_body): Likewise.
29792 (atomic_add_negative): Likewise.
29793 (atomic_add_zero): Likewise.
29795 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29797 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29798 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29800 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29802 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29803 Check __x86_64__ instead of __WORDSIZE.
29805 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29807 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29809 2012-03-19 David S. Miller <davem@davemloft.net>
29811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29813 * sysdeps/sparc/fpu/fenv_private.h: New file.
29814 * sysdeps/sparc/fpu/math_private.h: Use it.
29815 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29817 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29818 (libc_feholdexcept_setroundl): Remove.
29819 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29821 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29822 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29824 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29826 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29827 int64_t instead of long int.
29828 (INSERT_WORDS64): Likwise.
29830 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29832 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29833 _Unwind_GetCFA return to _Unwind_Ptr first.
29835 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29838 * math/s_clog.c: Include <float.h>.
29839 (__clog): Scale large or subnormal inputs.
29840 * math/s_clogf.c: Likewise.
29841 * math/s_clogl.c: Likewise.
29842 * math/s_clog10.c: Include <float.h>.
29843 (M_LOG10_2): Define.
29844 (__clog10): Scale large or subnormal inputs.
29845 * math/s_clog10f.c: Likewise.
29846 * math/s_clog10l.c: Likewise.
29847 * math/libm-test.inc (clog_test): Add more tests.
29848 (clog10_test): Likewise.
29849 * sysdeps/i386/fpu/libm-test-ulps: Update.
29850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29853 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29855 * math/libm-test.inc (atan2_test): Add another test.
29857 * Makerules (common-objdir-compile): Remove.
29858 * sysdeps/unix/Makefile (config-generated): Do not add
29859 $(unix-generated) to variable.
29860 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29861 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29863 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29865 [generic bits/local_lim.h] (before-compile): Do not append to
29867 [generic bits/local_lim.h] (common-generated): Likewise.
29868 [generic sys/param.h] (before-compile): Do not append to variable.
29869 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29870 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29871 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29872 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29874 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29875 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29876 [generic sys/param.h] ($(addprefix
29877 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29878 [generic sys/param.h] (common-generated): Do not append to
29880 [generic sys/param.h] (sysdep_headers): Likewise.
29881 [generic bits/errno.h] (before-compile): Do not append to
29883 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29885 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29886 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29887 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29888 [generic bits/errno.h] (common-generated): Do not append to
29890 [generic bits/ioctls.h] (before-compile): Do not append to
29892 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29894 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29895 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29896 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29898 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29899 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29900 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29901 [generic bits/ioctls.h] (common-generated): Do not append to
29903 [generic sys/syscall.h] (syscall.h): Remove variable.
29904 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29906 [generic sys/syscall.h] (before-compile): Do not append to
29908 [generic sys/syscall.h] (common-generated): Likewise.
29909 * sysdeps/unix/errnos-tmpl.c: Remove file.
29910 * sysdeps/unix/errnos.awk: Likewise.
29911 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29912 * sysdeps/unix/ioctls.awk: Likewise.
29913 * sysdeps/unix/mk-local_lim.c: Likewise.
29914 * sysdeps/unix/snarf-ioctls: Likewise.
29916 2012-03-19 Richard Henderson <rth@twiddle.net>
29918 * sysdeps/i386/fpu/fenv_private.h: New file.
29919 * sysdeps/i386/fpu/math_private.h: Use it.
29920 (math_opt_barrier, math_force_eval): Remove.
29921 (libc_feholdexcept_setround_53bit): Remove.
29922 (libc_feupdateenv_53bit): Remove.
29923 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29924 (math_opt_barrier, math_force_eval): Remove.
29925 (libc_feholdexcept): Remove.
29926 (libc_feholdexcept_setround): Remove.
29927 (libc_fetestexcept, libc_fesetenv): Remove.
29928 (libc_feupdateenv_test): Remove.
29929 (libc_feupdateenv, libc_feholdsetround): Remove.
29930 (libc_feresetround): Remove.
29932 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29933 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29935 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29936 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29937 (libc_feupdateenv_testl): New.
29938 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29939 (libc_feupdateenv_testf): New.
29940 (libc_feupdateenv): Use libc_feupdateenv_test.
29941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29942 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29944 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29945 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29946 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29947 (libc_feresetround_noex): New.
29948 (libc_feresetround_noexf): New.
29949 (libc_feresetround_noexl): New.
29950 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29951 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29952 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29953 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29955 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29956 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29958 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29959 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29960 SET_RESTORE_ROUND_NOEX.
29961 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29962 SET_RESTORE_ROUND_NOEXF.
29963 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29964 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29965 (libc_feholdsetroundf): New.
29966 (libc_feresetround, libc_feresetroundf): New.
29968 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29969 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29970 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29972 * sysdeps/generic/math_private.h: Include <fenv.h>.
29973 (default_libc_feholdexcept): New.
29974 (default_libc_feholdexcept_setround): New.
29975 (default_libc_fesetenv, default_libc_feupdateenv): New.
29976 (libc_feholdexcept): Only define if undefined.
29977 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29978 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29979 (libc_feholdexcept_setroundl): Likewise.
29980 (libc_feholdexcept_setround_53bit): Likewise.
29981 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29982 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29983 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29984 (libc_feupdateenv_53bit): Likewise.
29985 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29986 (libc_feholdexcept): Convert from macro to inline function.
29987 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29988 (libc_fesetenv, libc_feupdateenv): Likewise.
29990 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29991 not previously defined.
29992 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29993 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29994 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29995 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29996 * sysdeps/ieee754/flt-32/math_private.h: New file.
29997 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29998 math_private.h below SET_FLOAT_WORD.
29999 (__isnan, __isinf_ns, __finite): Remove.
30000 (__isnanf, __isinf_nsf, __finitef): Remove.
30002 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30006 2012-03-17 David S. Miller <davem@davemloft.net>
30009 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30012 2012-03-16 David S. Miller <davem@davemloft.net>
30014 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30018 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30020 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30021 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30022 sysdep_routines when subdir is sysvipc.
30023 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30024 __getshmlba helper.
30026 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30028 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30030 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30033 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30036 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30037 (__lround): Renamed to ...
30038 (__llround): This. Replace long int with long long int.
30039 Define lround functions as aliases of llround functions.
30040 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30042 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30044 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30045 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30046 adresses to uintptr_t. Replace "long int" and "unsigned long
30047 int" with "greg_t" on va_arg.
30049 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30051 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30052 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30054 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30055 Move e_machine check before EI_CLASS check. Handle x32
30056 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30057 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30058 SKIP_EM_IA_64 and include
30059 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30061 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30062 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30063 (add_system_dir): New macro.
30065 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30066 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30068 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30079 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30081 * math/w_j0f.c (j0f): Likewise.
30083 * math/w_j0l.c (__j0l): Likewise.
30085 * math/w_j1.c (j1): Likewise.
30087 * math/w_j1f.c (j1f): Likewise.
30089 * math/w_j1l.c (__j1l): Likewise.
30091 * math/w_jn.c (jn): Likewise.
30093 * math/w_jnf.c (jnf): Likewise.
30095 * math/w_jnl.c (__jnl): Likewise.
30097 * math/libm-test.inc (j0_test): Add more tests.
30098 (j1_test): Likewise.
30099 (jn_test): Likewise. Add trailing semicolon to existing test.
30100 (y0_test): Likewise.
30101 (y1_test): Likewise.
30102 * sysdeps/i386/fpu/libm-test-ulps: Update.
30103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30107 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30108 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30109 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30110 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30111 (__tanl): Set errno for infinite argument.
30112 * sysdeps/i386/fpu/mptan.c: Remove.
30113 * sysdeps/i386/fpu/s_tan.S: Likewise.
30114 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30115 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30116 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30117 * math/libm-test.inc (tan_test): Add more tests and enable more
30118 tests for double and long double.
30119 * sysdeps/i386/fpu/libm-test-ulps: Update.
30120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30122 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30124 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30125 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30127 2012-03-16 Roland McGrath <roland@hack.frob.com>
30129 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30130 * configure.in: Use it for both main tree and add-ons.
30131 * configure: Regenerated.
30133 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30135 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30137 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30139 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30143 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30144 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30145 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30146 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30147 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30149 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30150 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30151 != 0 for prec == 2.
30152 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30153 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30154 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30155 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30156 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30157 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30158 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30159 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30160 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30161 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30162 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30163 * math/libm-test.inc (cos_test): Add more tests and enable more
30164 tests for long double.
30165 (sin_test): Likewise.
30166 (sincos_test): Likewise.
30167 * sysdeps/i386/fpu/libm-test-ulps: Update.
30168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30170 2012-03-16 David S. Miller <davem@davemloft.net>
30172 * sysdeps/sparc/fpu/math_private.h: New file.
30174 2012-03-15 David S. Miller <davem@davemloft.net>
30176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30186 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30190 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30191 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30193 * sysdeps/sparc/sparc-ifunc.h: New file.
30194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30232 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30233 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30236 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30237 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30239 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30241 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30245 2012-03-15 Andreas Jaeger <aj@suse.de>
30248 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30249 ieee754/flt-32 implementation for sin, cos and sincos.
30250 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30251 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30252 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30253 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30254 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30255 ieee754/flt-32 implementation for tan.
30257 * math/libm-test.inc (cos_test): Enable some large input tests for
30259 (sin_test): Likewise.
30260 (sincos_test): Likewise.
30261 (tan_test): Add tests for large input.
30263 * sysdeps/i386/fpu/libm-test-ulps: Update.
30265 2012-03-15 Andreas Jaeger <aj@suse.de>
30268 * math/libm-test.inc (cos_test): Add more test cases.
30269 (sin_test): Likewise.
30270 (sincos_test): Likewise.
30272 2012-03-15 Andreas Jaeger <aj@suse.de>
30275 * math/libm-test.inc (cos_test): Add a test case for large input
30277 (sin_test): Likewise.
30278 (sincos_test): Likewise.
30280 2012-03-15 Andreas Jaeger <aj@suse.de>,
30281 Joseph Myers <joseph@codesourcery.com>
30284 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30285 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30286 * sysdeps/i386/fpu/branred.c: Likewise.
30287 * sysdeps/i386/fpu/dosincos.c: Likewise.
30288 * sysdeps/i386/fpu/mpa.c: Likewise.
30289 * sysdeps/i386/fpu/s_cos.S: Likewise.
30290 * sysdeps/i386/fpu/s_sin.S: Likewise.
30291 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30292 * sysdeps/i386/fpu/sincos32.c: Likewise.
30294 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30296 (libc_feupdateenv_53bit): Define.
30297 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30299 (libc_feupdateenv_53bit): Define.
30301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30302 53 bit (without extend i386 double precision).
30304 * math/libm-test.inc (sincos_test): Add tests for large input.
30308 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30310 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30314 2012-03-15 David S. Miller <davem@davemloft.net>
30316 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30317 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30318 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30319 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30344 fmin/fmax sysdep routines.
30345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30347 2012-03-14 David S. Miller <davem@davemloft.net>
30349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30353 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30354 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30355 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30356 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30369 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30373 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30374 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30421 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30426 * sysdeps/sparc/configure.in: New file.
30427 * sysdeps/sparc/configure: Generate.
30428 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30429 * configure: Regenerate.
30430 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30431 * config.make.in (have-as-vis3): New.
30432 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30433 available use -Av9d instead of -Av9a.
30434 * sysdeps/sparc/sparc64/Makefile: Likewise.
30435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30444 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30445 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30450 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30451 fzeros/fnegs to load 0x80000000 into a float register instead of
30453 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30455 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30459 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30460 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30461 ($(inst_includedir)/bits/syscall.h): Remove rule.
30462 ($(objpfx)bits/syscall.d): Include instead of
30463 $(objpfx)syscall-list.d.
30464 (generated): Change syscall-list.h and syscall-list.d to
30465 bits/syscall.h and bits/syscall.d.
30467 2012-03-14 Roland McGrath <roland@hack.frob.com>
30470 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30472 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30475 * math/s_csqrt.c: Include <float.h>.
30476 (__csqrt): Scale large or subnormal inputs.
30477 * math/s_csqrtf.c: Likewise.
30478 * math/s_csqrtl.c: Likewise.
30479 * math/libm-test.inc (csqrt_test): Add more tests.
30480 * sysdeps/i386/fpu/libm-test-ulps: Update.
30481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30484 * math/libm-test.inc (hypot_test): Add more tests.
30486 2012-03-13 David S. Miller <davem@davemloft.net>
30489 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30490 double-precision for the calculation instead of scaling.
30492 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30494 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30495 manipulate bits before adding and subtracting TWO52[sx].
30496 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30497 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30499 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30501 2012-03-13 David S. Miller <davem@davemloft.net>
30503 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30504 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30506 rtld-global-offsets.h
30507 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30509 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30512 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30514 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30515 'err' in the ifdef scope in which it is actually used.
30517 * nss/nss_db/db-init.c: Include string.h
30519 2012-03-12 David S. Miller <davem@davemloft.net>
30521 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30522 masking out of the most significant byte of random value used.
30523 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30524 Fix coding style in previous change.
30526 * sysdeps/unix/sysv/linux/kernel-features.h
30527 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30528 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30530 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30533 2012-03-11 David S. Miller <davem@davemloft.net>
30535 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30536 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30537 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30538 for 'resultvar' otherwise things get truncated on 64-bit.
30540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30541 Fix masking out of the most significant byte of random value used.
30543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30545 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30549 2012-03-09 David S. Miller <davem@davemloft.net>
30551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30552 variables with appropriate CPP guards.
30553 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30554 frame pointer, not the stack pointer. Correct layout comments. Fix test
30555 on resulting framesize and the management of the outregs buffer for pltexit.
30556 Preserve floating point return values across _dl_call_pltexit call.
30557 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30558 framesize and the management of the outregs buffer for pltexit.
30559 Preserve floating point return values across _dl_call_pltexit
30561 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30562 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30563 (print_exit): Fix format string for return register value.
30565 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30567 * sunrpc/Makefile (others): Add rpcgen.
30568 ($(objpfx)rpcgen): Remove special build rule and dependency on
30570 * sunrpc/rpcgen.c: New file.
30572 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30575 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30576 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30577 * sysdeps/i386/crti.S: Likewise.
30578 * sysdeps/i386/crtn.S: Likewise.
30579 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30580 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30581 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30582 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30583 * sysdeps/sh/crti.S: Likewise.
30584 * sysdeps/sh/crtn.S: Likewise.
30585 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30588 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30590 * locale/programs/locfile-kw.gperf: Likewise.
30591 * locale/programs/charmap-kw.h: Regenerated.
30592 * locale/programs/locfile-kw.h: Likewise.
30595 * intl/plural.y: Replace FSF snail mail address with URL.
30596 * intl/plural.c: Regenerated.
30598 2012-03-09 Richard Henderson <rth@twiddle.net>
30600 * include/math_private.h: Remove file.
30601 * math/math_private.h: Move file ...
30602 * sysdeps/generic/math_private.h: ... here.
30604 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30605 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30606 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30608 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30609 and <math_private.h>.
30610 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30611 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30612 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30613 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30614 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30615 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30616 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30617 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30618 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30621 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30624 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30625 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30626 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30649 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30657 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30658 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30659 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30660 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30661 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30662 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30663 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30664 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30665 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30667 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30668 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30669 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30670 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30671 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30672 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30673 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30674 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30675 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30676 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30677 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30678 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30679 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30680 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30681 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30682 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30683 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30684 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30685 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30686 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30688 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30689 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30690 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30691 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30692 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30693 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30694 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30696 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30697 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30698 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30699 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30700 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30701 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30702 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30703 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30704 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30705 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30706 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30707 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30708 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30709 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30710 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30711 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30712 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30713 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30714 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30715 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30716 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30717 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30718 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30719 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30720 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30721 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30722 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30723 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30724 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30725 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30726 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30727 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30728 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30729 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30730 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30731 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30732 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30733 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30734 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30735 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30736 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30737 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30738 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30739 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30740 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30741 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30742 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30743 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30744 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30745 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30746 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30747 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30748 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30749 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30750 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30751 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30752 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30753 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30754 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30755 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30756 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30757 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30758 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30759 * sysdeps/ieee754/k_standard.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30827 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30828 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30833 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30834 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30835 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30836 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30837 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30838 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30843 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30844 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30845 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30848 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30849 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30850 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30851 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30852 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30853 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30856 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30857 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30858 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30859 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30861 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30862 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30863 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30864 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30865 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30866 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30867 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30868 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30869 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30870 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30871 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30872 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30873 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30874 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30875 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30876 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30877 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30878 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30879 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30880 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30881 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30882 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30883 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30884 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30885 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30886 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30887 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30888 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30889 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30890 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30891 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30892 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30893 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30894 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30895 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30896 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30897 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30899 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30901 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30902 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30903 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30904 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30905 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30906 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30907 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30908 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30909 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30910 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30911 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30912 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30913 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30914 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30915 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30916 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30917 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30918 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30919 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30920 * sysdeps/ieee754/s_lib_version.c: Likewise.
30921 * sysdeps/ieee754/s_matherr.c: Likewise.
30922 * sysdeps/ieee754/s_signgam.c: Likewise.
30923 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30924 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30925 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30926 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30927 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30928 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30929 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30930 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30931 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30932 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30933 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30934 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30935 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30936 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30937 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30938 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30939 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30940 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30941 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30942 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30943 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30945 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30947 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30948 * sunrpc/rpc_main.c: Likewise.
30949 * sunrpc/rpc_svcout.c: Likewise.
30951 2012-03-09 David S. Miller <davem@davemloft.net>
30953 * include/math_private.h: New file.
30955 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30957 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30958 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30959 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30960 from <bits/socket_type.h>.
30961 (enum __socket_type): Don't define here.
30962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30964 bits/socket_type.h.
30967 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30968 checking __USE_GNU.
30970 * Makerules ($(inst_includedir)/%.h): New rule.
30971 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30972 (install-others): Remove variable setting.
30973 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30975 2012-03-08 Richard Henderson <rth@twiddle.net>
30977 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30978 from macro to inline function; merge with the
30979 !__LIBC_INTERNAL_MATH_INLINES version.
30980 (__ieee754_sqrtf): Likewise.
30982 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30983 to inline function.
30984 (__rintf, __floor, __floorf): Likewise.
30986 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30987 macro to inline function.
30988 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30990 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30991 not <math/math_private.h>.
30993 2012-03-08 David S. Miller <davem@davemloft.net>
30995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30997 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30999 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31001 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31003 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31004 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31006 2012-03-08 Ulrich Drepper <drepper@gmail.com>
31008 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31009 be defined individually, they must be defined as a block. Define
31010 S for printing a string instead of hidint the different by using a
31011 macro for adding the 'l'.
31012 * stdio-common/tst-fphex-wide.c: Adjust.
31014 2012-03-07 Marek Polacek <polacek@redhat.com>
31016 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31018 2012-03-08 Marek Polacek <polacek@redhat.com>
31021 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31022 * stdio-common/tst-fphex.c: Define a few macros to make the
31023 test reusable. Use them.
31024 * stdio-common/tst-fphex-wide.c: New file.
31026 2012-03-08 Joseph Myers <joseph@codesourcery.com>
31029 * manual/macros.texi (gnusystems): New macro.
31030 (nongnusystems): Likewise.
31031 (gnulinuxhurdsystems): Likewise.
31032 (gnuhurdsystems): Likewise..
31033 (gnulinuxsystems): Likewise.
31034 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31035 variants of the GNU system, not "GNU system".
31036 * manual/conf.texi: Likewise.
31037 * manual/errno.texi: Likewise. Update example of errno macro
31039 * manual/filesys.texi: Likewise.
31040 (getumask): Document as specific to GNU/Hurd.
31041 * manual/install.texi: Likewise. Reword some references to
31043 * manual/intro.texi: Likewise.
31044 * manual/io.texi: Likewise.
31045 (File Name Portability): Detail which constraints are inapplicable
31046 to all GNU systems and which are only inapplicable to GNU/Hurd.
31047 * manual/job.texi: Likewise.
31048 * manual/llio.texi: Likewise.
31049 (O_NOCTTY): Document as present on GNU/Linux.
31050 * manual/maint.texi: Likewise.
31051 * manual/memory.texi: Likewise.
31052 * manual/pattern.texi: Likewise.
31053 * manual/pipe.texi: Likewise.
31054 * manual/process.texi: Likewise.
31055 * manual/resource.texi: Likewise.
31056 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31058 * manual/setjmp.texi: Likewise.
31059 * manual/signal.texi: Likewise.
31060 * manual/startup.texi: Likewise.
31061 * manual/stdio.texi: Likewise.
31062 * manual/terminal.texi: Likewise.
31063 (ONLCR): Document as POSIX.
31064 (OXTABS): Document availability on GNU/Linux as XTABS.
31065 (ONOEOT): Document availability separately from other bits.
31066 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31067 * manual/time.texi: Likewise.
31068 * manual/users.texi: Likewise.
31069 * INSTALL: Regenerated.
31070 * sysdeps/gnu/errlist.c: Regenerated.
31072 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31073 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31074 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31076 * configure: Regenerated.
31078 2012-03-07 Joseph Myers <joseph@codesourcery.com>
31080 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31081 default includes instead of AC_HEADER_CHECK.
31082 * sysdeps/i386/configure: Regenerated.
31085 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31086 * math/s_cacoshf.c (__cacoshf): Likewise.
31087 * math/s_cacoshl.c (__cacoshl): Likewise.
31088 * math/s_casinh.c (__casinh): Set signs of result from argument.
31089 * math/s_casinhf.c (__casinhf): Likewise.
31090 * math/s_casinhl.c (__casinhl): Likewise.
31091 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31092 (casinh_test): Add more tests.
31093 * sysdeps/i386/fpu/libm-test-ulps: Update.
31094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31096 2012-03-07 Ulrich Drepper <drepper@gmail.com>
31098 * po/zh_TW.po: Update from translation team.
31100 * login/Makefile (distribute): Remove variable.
31101 * catgets/Makefile: Likewise.
31102 * mach/Makefile: Likewise.
31103 * malloc/Makefile: Likewise.
31104 * misc/Makefile: Likewise.
31105 * iconv/Makefile: Likewise.
31106 * nscd/Makefile: Likewise.
31107 * hurd/Makefile: Likewise.
31108 * manual/Makefile: Likewise.
31109 * locale/Makefile: Likewise.
31110 * intl/Makefile: Likewise.
31111 * conform/Makefile: Likewise.
31112 * nss/Makefile: Likewise.
31113 * time/Makefile: Likewise.
31114 * soft-fp/Makefile: Likewise.
31115 * dirent/Makefile: Likewise.
31116 * gmon/Makefile: Likewise.
31117 * po/Makefile: Likewise.
31118 * rt/Makefile: Likewise.
31119 * socket/Makefile: Likewise.
31120 * math/Makefile: Likewise.
31121 * signal/Makefile: Likewise.
31122 * debug/Makefile: Likewise.
31123 * elf/Makefile: Likewise.
31124 * timezone/Makefile: Likewise.
31125 * stdlib/Makefile: Likewise.
31126 * iconvdata/Makefile: Likewise.
31127 * sunrpc/Makefile: Likewise.
31128 * io/Makefile: Likewise.
31129 * argp/Makefile: Likewise.
31130 * inet/Makefile: Likewise.
31131 * hesiod/Makefile: Likewise.
31132 * grp/Makefile: Likewise.
31133 * csu/Makefile: Likewise.
31134 * wctype/Makefile: Likewise.
31135 * crypt/Makefile: Likewise.
31136 * libio/Makefile: Likewise.
31137 * string/Makefile: Likewise.
31138 * nis/Makefile: Likewise.
31139 * resolv/Makefile: Likewise.
31140 * stdio-common/Makefile: Likewise.
31141 * wcsmbs/Makefile: Likewise.
31142 * dlfcn/Makefile: Likewise.
31143 * posix/Makefile: Likewise.
31146 * timezone/Makefile: Don't install timezone files, just the programs
31149 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31151 * nss/databases.def: Add missing gshadow entry.
31153 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31155 2012-03-06 Marek Polacek <polacek@redhat.com>
31158 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31159 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31160 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31161 * stdio-common/tst-long-dbl-fphex.c: New file.
31163 2012-03-06 David S. Miller <davem@davemloft.net>
31165 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31166 (set_obp_int): New function.
31167 (get_obp_int): New function.
31168 (__get_clockfreq_via_dev_openprom): Likewise.
31169 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31170 Avoid unused variable warnings on 'val' and use builtin_expect.
31171 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31173 (INLINE_CLONE_SYSCALL): Likewise.
31175 2012-03-05 David S. Miller <davem@davemloft.net>
31177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31179 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31183 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31184 only for |x| >= 40.
31185 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31187 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31190 Replace gettimeofday with __vdso_gettimeofday.
31192 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31193 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31194 __vdso_clock_gettime and __vdso_getcpu.
31196 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31197 time with __vdso_time.
31199 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31201 * manual/lang.texi (size_t): Note types to which size_t may be
31202 equivalent with the GNU C Library, but do not describe when
31203 differences between them are significant.
31205 2012-03-05 Andreas Jaeger <aj@suse.de>
31207 * sysdeps/i386/fpu/libm-test-ulps: Update.
31209 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31212 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31213 (__ieee754_pow): Save and restore rounding mode and use
31214 round-to-nearest for main computations.
31215 * math/libm-test.inc (pow_test_tonearest): New function.
31216 (pow_test_towardzero): Likewise.
31217 (pow_test_downward): Likewise.
31218 (pow_test_upward): Likewise.
31219 (main): Call the new functions.
31220 * sysdeps/i386/fpu/libm-test-ulps: Update.
31221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31224 * math/libm-test.inc (cosh_test_tonearest): New function.
31225 (cosh_test_towardzero): Likewise.
31226 (cosh_test_downward): Likewise.
31227 (cosh_test_upward): Likewise.
31228 (sinh_test_tonearest): Likewise.
31229 (sinh_test_towardzero): Likewise.
31230 (sinh_test_downward): Likewise.
31231 (sinh_test_upward): Likewise.
31232 (main): Call the new functions.
31233 * sysdeps/i386/fpu/libm-test-ulps: Update.
31234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31236 2012-03-05 Tom de Vries <tom@codesourcery.com>
31238 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31239 default stack guard is set in last bytes.
31240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31242 2012-03-05 Kees Cook <keescook@chromium.org>
31244 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31247 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31248 possibly allocate from heap instead of stack.
31249 * stdio-common/bug-vfprintf-nargs.c: New file.
31250 * stdio-common/Makefile (tests): Add nargs overflow test.
31252 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31256 2012-03-03 Marek Polacek <polacek@redhat.com>
31258 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31259 * math/math_private.h: Likewise.
31260 * stdlib/tst-strtod.c: Likewise.
31261 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31262 * sysdeps/x86_64/bits/atomic.h: Likewise.
31264 2012-03-02 David S. Miller <davem@davemloft.net>
31266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31270 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31271 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31272 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31273 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31275 2012-03-02 Roland McGrath <roland@hack.frob.com>
31278 * manual/examples/README: New file, says the example source files
31279 can be used under GPL>=2.
31280 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31281 line containing just "*/".
31282 * manual/examples/add.c: Add copyright header (GPL>=2).
31283 * manual/examples/argp-ex1.c: Likewise.
31284 * manual/examples/argp-ex2.c: Likewise.
31285 * manual/examples/argp-ex3.c: Likewise.
31286 * manual/examples/argp-ex4.c: Likewise.
31287 * manual/examples/atexit.c: Likewise.
31288 * manual/examples/db.c: Likewise.
31289 * manual/examples/dir.c: Likewise.
31290 * manual/examples/dir2.c: Likewise.
31291 * manual/examples/execinfo.c: Likewise.
31292 * manual/examples/filecli.c: Likewise.
31293 * manual/examples/filesrv.c: Likewise.
31294 * manual/examples/fmtmsgexpl.c: Likewise.
31295 * manual/examples/genpass.c: Likewise.
31296 * manual/examples/inetcli.c: Likewise.
31297 * manual/examples/inetsrv.c: Likewise.
31298 * manual/examples/isockad.c: Likewise.
31299 * manual/examples/longopt.c: Likewise.
31300 * manual/examples/memopen.c: Likewise.
31301 * manual/examples/memstrm.c: Likewise.
31302 * manual/examples/mkfsock.c: Likewise.
31303 * manual/examples/mkisock.c: Likewise.
31304 * manual/examples/mygetpass.c: Likewise.
31305 * manual/examples/pipe.c: Likewise.
31306 * manual/examples/popen.c: Likewise.
31307 * manual/examples/rprintf.c: Likewise.
31308 * manual/examples/search.c: Likewise.
31309 * manual/examples/select.c: Likewise.
31310 * manual/examples/setjmp.c: Likewise.
31311 * manual/examples/sigh1.c: Likewise.
31312 * manual/examples/sigusr.c: Likewise.
31313 * manual/examples/stpcpy.c: Likewise.
31314 * manual/examples/strdupa.c: Likewise.
31315 * manual/examples/strftim.c: Likewise.
31316 * manual/examples/strncat.c: Likewise.
31317 * manual/examples/subopt.c: Likewise.
31318 * manual/examples/swapcontext.c: Likewise.
31319 * manual/examples/termios.c: Likewise.
31320 * manual/examples/testopt.c: Likewise.
31321 * manual/examples/testpass.c: Likewise.
31322 * manual/examples/timeval_subtract.c: Likewise.
31325 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31327 * manual/timeval_subtract.c.texi: ... here, new file.
31329 2012-03-02 David S. Miller <davem@davemloft.net>
31331 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31333 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31336 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31337 (__sin): Save and restore rounding mode and use round-to-nearest
31338 for all computations.
31339 (__cos): Save and restore rounding mode and use round-to-nearest
31340 for all computations.
31341 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31343 (tan): Save and restore rounding mode and use round-to-nearest for
31345 * math/libm-test.inc (cos_test_tonearest): New function.
31346 (cos_test_towardzero): Likewise.
31347 (cos_test_downward): Likewise.
31348 (cos_test_upward): Likewise.
31349 (sin_test_tonearest): Likewise.
31350 (sin_test_towardzero): Likewise.
31351 (sin_test_downward): Likewise.
31352 (sin_test_upward): Likewise.
31353 (tan_test_tonearest): Likewise.
31354 (tan_test_towardzero): Likewise.
31355 (tan_test_downward): Likewise.
31356 (tan_test_upward): Likewise.
31357 (main): Call the new functions.
31358 * sysdeps/i386/fpu/libm-test-ulps: Update.
31359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31362 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31363 small n, then large n, before computing and testing k+n.
31364 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31365 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31367 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31369 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31370 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31371 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31372 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31373 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31374 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31375 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31376 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31377 * math/libm-test.inc (scalbn_test): Add more tests.
31378 (scalbln_test): Likewise.
31380 * manual/filesys.texi (mode_t): Describe constraints on size and
31381 signedness, not exact equivalence to a particular type.
31383 (ino64_t): Likewise.
31385 (nlink_t): Likewise.
31386 (blkcnt_t): Likewise.
31387 (blkcnt64_t): Likewise.
31388 * manual/llio.texi (off_t): Likewise.
31391 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31392 (__ieee754_exp): Save and restore rounding mode and use
31393 round-to-nearest for all computations.
31394 * math/libm-test.inc (exp_test_tonearest): New function.
31395 (exp_test_towardzero): Likewise.
31396 (exp_test_downward): Likewise.
31397 (exp_test_upward): Likewise.
31398 (main): Call the new functions.
31399 * sysdeps/i386/fpu/libm-test-ulps: Update.
31400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31402 2012-03-01 Chris Demetriou <cgd@google.com>
31404 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31405 have predictable order.
31407 2012-03-01 David S. Miller <davem@davemloft.net>
31409 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31411 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31412 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31413 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31414 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31416 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31417 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31418 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31420 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31421 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31422 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31423 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31424 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31428 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31429 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31430 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31432 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31433 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31434 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31435 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31436 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31437 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31438 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31439 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31440 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31441 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31442 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31443 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31444 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31445 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31446 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31448 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31449 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31450 * sysdeps/sparc/elf/configure: Regenerated.
31452 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31454 * configure.in (AS, LD): Require binutils 2.20 or later.
31455 * configure: Regenerated.
31456 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31457 as required minimum version.
31458 * INSTALL: Regenerated.
31462 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31463 before squaring exponent.
31464 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31465 bottom long double and 27 bits of top long double before squaring
31467 * math/libm-test.inc (erfc_test): Add more tests.
31468 * sysdeps/i386/fpu/libm-test-ulps: Update.
31469 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31472 2012-03-01 Kai Tietz <ktietz@redhat.com>
31474 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31475 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31476 containing bit-fields.
31477 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31478 * soft-fp/single.h (_FP_UNION_S): Likewise.
31479 * soft-fp/double.h (_FP_UNION_D): Likewise.
31481 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31484 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31485 not include ../strcmp.S.
31486 [USE_AS_STRNCASECMP_L]: Likewise.
31487 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31488 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31489 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31490 (__strncasecmp_l_ia32): Define as alias to
31491 __strncasecmp_l_nonascii.
31494 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31495 * sysdeps/i386/fpu/libm-test-ulps: Update.
31496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31498 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31501 2012-02-29 Jeff Law <law@redhat.com>
31503 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31504 out of bounds read.
31506 2012-02-29 Marek Polacek <polacek@redhat.com>
31509 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31510 * elf/Makefile: Add rules to run tst-unused-dep.out.
31512 2012-02-28 David S. Miller <davem@davemloft.net>
31514 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31515 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31516 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31517 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31518 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31519 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31521 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31523 * math/libm-test.inc (llround_test): Move one test from
31524 lround_test. Use TEST_f_L in moved test.
31525 (lround_test): Move misplaced test to llround_test. Add testcase
31528 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31530 * sysdeps/x86_64/fpu/e_expf.S: New file.
31531 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31533 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31536 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31537 of remain_len that may cause incomplete multi-byte character and
31539 * posix/bug-regex33.c: New file.
31540 * posix/Makefile (tests): Add bug-regex33.
31542 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31544 * manual/macros.texi: New file.
31545 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31546 * manual/libc.texinfo: Include macros.texi.
31547 * manual/creatute.texi: Likewise.
31548 * manual/install.texi: Likewise.
31549 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31550 @glibcadj{} in references to the GNU C Library.
31551 * manual/charset.texi: Likewise.
31552 * manual/conf.texi: Likewise.
31553 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31554 when not using those macros.
31555 * manual/creature.texi: Likewise.
31556 * manual/crypt.texi: Likewise.
31557 * manual/errno.texi: Likewise.
31558 * manual/filesys.texi: Likewise.
31559 * manual/header.texi: Likewise.
31560 * manual/install.texi: Likewise.
31561 * manual/intro.texi: Likewise.
31562 * manual/io.texi: Likewise.
31563 * manual/job.texi: Likewise.
31564 * manual/lang.texi: Likewise.
31565 * manual/libc.texiinfo: Likewise.
31566 * manual/llio.texi: Likewise.
31567 * manual/locale.texi: Likewise.
31568 * manual/maint.texi: Likewise.
31569 * manual/math.texi: Likewise.
31570 * manual/memory.texi: Likewise.
31571 * manual/message.texi: Likewise.
31572 * manual/nss.texi: Likewise.
31573 * manual/pattern.texi: Likewise.
31574 * manual/process.texi: Likewise.
31575 * manual/resource.texi: Likewise.
31576 * manual/search.texi: Likewise.
31577 * manual/setjmp.texi: Likewise.
31578 * manual/signal.texi: Likewise.
31579 * manual/socket.texi: Likewise.
31580 * manual/startup.texi: Likewise.
31581 * manual/stdio.texi: Likewise.
31582 * manual/string.texi: Likewise.
31583 * manual/sysinfo.texi: Likewise.
31584 * manual/syslog.texi: Likewise.
31585 * manual/terminal.texi: Likewise.
31586 * manual/time.texi: Likewise.
31587 * manual/users.texi: Likewise.
31588 * INSTALL: Regenerated.
31589 * NOTES: Regenerated.
31590 * sysdeps/gnu/errlist.c: Regenerated.
31592 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31594 * include/dirent.h: Include <dirstream.h> before
31597 2012-02-28 David S. Miller <davem@davemloft.net>
31599 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31600 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31601 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31602 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31604 2012-02-27 David S. Miller <davem@davemloft.net>
31606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31608 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31609 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31612 frame pointer instead of stack pointer relative arg slot.
31613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31614 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31615 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31617 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31620 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31622 2012-02-27 David S. Miller <davem@davemloft.net>
31624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31628 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31629 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31630 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31631 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31633 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31635 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31636 later. Allow versions 5-9.
31637 * configure: Regenerated.
31638 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31639 required minimum version and 4.6 as recommended version. Do not
31640 mention bugs in GCC 2.7 and 2.8.
31641 * INSTALL: Regenerated.
31643 2012-02-27 David S. Miller <davem@davemloft.net>
31645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31649 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31650 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31651 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31652 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31655 manipulate bits before adding and subtracting TWO112[sx].
31656 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31658 2012-02-27 Roland McGrath <roland@hack.frob.com>
31661 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31662 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31663 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31664 being in POSIX, because they are in 1003.1-2008.
31666 * rt/tst-aio.c: Include <fcntl.h>.
31667 * rt/tst-aio7.c: Likewise.
31668 * rt/tst-aio64.c: Likewise.
31670 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31672 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31674 * manual/install.texi (--with-headers): Describe headers as
31675 interface headers, not private headers.
31676 (Specific advice for GNU/Linux systems): Describe use of headers
31677 from "make headers_install", not private headers from older
31679 * INSTALL: Regenerated.
31680 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31682 * sysdeps/unix/sysv/linux/configure: Regenerated.
31684 * manual/llio.texi (fclean): Remove documentation.
31686 * manual/Makefile (libc-texi-generated): New variable. Include
31688 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31689 $(libc-texi-generated), not duplicated list of files.
31690 (version.texi, stamp-version): New rules.
31691 (realclean): Remove $(libc-texi-generated), not individual files
31692 from that list. Do not remove dir-add.texinfo.
31693 * manual/libc.texinfo: Comment out uses of edition numbers and
31694 references to printed manual. Remove last-updated dates.
31695 (EDITION): Comment out.
31697 (VERSION, UPDATED): Remove.
31698 (version.texi): Include.
31700 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31702 * sysdeps/posix/spawni.c: Include <signal.h>.
31703 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31704 * sysdeps/pthread/aio_fsync.c: Likewise.
31706 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31708 * conform/Makefile (tests): Run only when not cross-compiling and
31709 when fast-check is not defined.
31711 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31712 * conform/data/limits.h-data: Fixes for POSIX2008.
31713 * conform/run-conformtest.sh: Run all tests.
31714 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31716 * include/bits/dlfcn.h: Likewise.
31717 * include/langinfo.h: Likewise.
31718 * include/monetary.h: Likewise.
31719 * include/sys/poll.h: Likewise.
31721 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31723 * posix/spawn.h: Define __need_sigset_t.
31724 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31725 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31726 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31727 to get sigevent_t only.
31728 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31729 only for __USE_GNU.
31730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31731 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31732 process_vm_writev only for __USE_GNU.
31733 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31735 * conform/Makefile: For now ignore errors from run-conformtest.
31736 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31737 POSIX to avoid namespace pollution. Don't prepend headers.
31738 * conform/data/aio.h-data: Fixes for POSIX testing.
31739 * conform/data/fcntl.h-data: Likewise.
31740 * conform/data/glob.h-data: Likewise.
31741 * conform/data/grp.h-data: Likewise.
31742 * conform/data/pthread.h-data: Likewise.
31743 * conform/data/pwd.h-data: Likewise.
31744 * conform/data/signal.h-data: Likewise.
31745 * conform/data/spawn.h-data: Likewise.
31746 * conform/data/stdio.h-data: Likewise.
31747 * conform/data/stdlib.h-data: Likewise.
31748 * conform/data/stropts.h-data: Likewise.
31749 * conform/data/sys/mman.h-data: Likewise.
31750 * conform/data/sys/stat.h-data: Likewise.
31751 * conform/data/sys/types.h-data: Likewise.
31752 * conform/data/sys/wait.h-data: Likewise.
31753 * conform/data/time.h-data: Likewise.
31754 * conform/data/unistd.h-data: Likewise.
31755 * conform/data/utime.h-data: Likewise.
31757 * io/sys/stat.h: fchmod was always in POSIX.
31758 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31759 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31760 * rt/aio.h: Define __need_timespec before including <time.h>.
31761 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31762 struct. Add forward declaration of pthread_attr_t and use it in
31764 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31765 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31766 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31767 always remove CLK_TCK definition.
31769 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31771 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31773 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31775 * conform/run-conformtest.sh: New file.
31776 * conform/Makefile: Run run-conformtest for tests.
31777 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31780 * conform/data/uchar.h-data: New file.
31781 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31782 * conform/data/arpa/inet.h-data: Likewise.
31783 * conform/data/assert.h-data: Likewise.
31784 * conform/data/complex.h-data: Likewise.
31785 * conform/data/cpio.h-data: Likewise.
31786 * conform/data/ctype.h-data: Likewise.
31787 * conform/data/dirent.h-data: Likewise.
31788 * conform/data/dlfcn.h-data: Likewise.
31789 * conform/data/errno.h-data: Likewise.
31790 * conform/data/fcntl.h-data: Likewise.
31791 * conform/data/float.h-data: Likewise.
31792 * conform/data/fmtmsg.h-data: Likewise.
31793 * conform/data/fnmatch.h-data: Likewise.
31794 * conform/data/ftw.h-data: Likewise.
31795 * conform/data/glob.h-data: Likewise.
31796 * conform/data/grp.h-data: Likewise.
31797 * conform/data/iconv.h-data: Likewise.
31798 * conform/data/inttypes.h-data: Likewise.
31799 * conform/data/langinfo.h-data: Likewise.
31800 * conform/data/libgen.h-data: Likewise.
31801 * conform/data/limits.h-data: Likewise.
31802 * conform/data/locale.h-data: Likewise.
31803 * conform/data/math.h-data: Likewise.
31804 * conform/data/monetary.h-data: Likewise.
31805 * conform/data/mqueue.h-data: Likewise.
31806 * conform/data/ndbm.h-data: Likewise.
31807 * conform/data/net/if.h-data: Likewise.
31808 * conform/data/netdb.h-data: Likewise.
31809 * conform/data/netinet/in.h-data: Likewise.
31810 * conform/data/nl_types.h-data: Likewise.
31811 * conform/data/poll.h-data: Likewise.
31812 * conform/data/pthread.h-data: Likewise.
31813 * conform/data/pwd.h-data: Likewise.
31814 * conform/data/regex.h-data: Likewise.
31815 * conform/data/sched.h-data: Likewise.
31816 * conform/data/search.h-data: Likewise.
31817 * conform/data/semaphore.h-data: Likewise.
31818 * conform/data/setjmp.h-data: Likewise.
31819 * conform/data/signal.h-data: Likewise.
31820 * conform/data/spawn.h-data: Likewise.
31821 * conform/data/stdarg.h-data: Likewise.
31822 * conform/data/stdio.h-data: Likewise.
31823 * conform/data/stdlib.h-data: Likewise.
31824 * conform/data/string.h-data: Likewise.
31825 * conform/data/strings.h-data: Likewise.
31826 * conform/data/stropts.h-data: Likewise.
31827 * conform/data/sys/ipc.h-data: Likewise.
31828 * conform/data/sys/mman.h-data: Likewise.
31829 * conform/data/sys/msg.h-data: Likewise.
31830 * conform/data/sys/resource.h-data: Likewise.
31831 * conform/data/sys/select.h-data: Likewise.
31832 * conform/data/sys/sem.h-data: Likewise.
31833 * conform/data/sys/shm.h-data: Likewise.
31834 * conform/data/sys/socket.h-data: Likewise.
31835 * conform/data/sys/stat.h-data: Likewise.
31836 * conform/data/sys/statvfs.h-data: Likewise.
31837 * conform/data/sys/time.h-data: Likewise.
31838 * conform/data/sys/timeb.h-data: Likewise.
31839 * conform/data/sys/times.h-data: Likewise.
31840 * conform/data/sys/types.h-data: Likewise.
31841 * conform/data/sys/uio.h-data: Likewise.
31842 * conform/data/sys/un.h-data: Likewise.
31843 * conform/data/sys/utsname.h-data: Likewise.
31844 * conform/data/sys/wait.h-data: Likewise.
31845 * conform/data/syslog.h-data: Likewise.
31846 * conform/data/tar.h-data: Likewise.
31847 * conform/data/termios.h-data: Likewise.
31848 * conform/data/utime.h-data: Likewise.
31849 * conform/data/utmpx.h-data: Likewise.
31850 * conform/data/varargs.h-data: Likewise.
31851 * conform/data/wchar.h-data: Likewise.
31852 * conform/data/wctype.h-data: Likewise.
31853 * conform/data/wordexp.h-data: Likewise.
31855 * include/stropts.h: New file.
31856 * include/uchar.h: New file.
31857 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31858 * include/assert.h: Likewise.
31859 * include/ctype.h: Likewise.
31860 * include/dirent.h: Likewise.
31861 * include/dlfcn.h: Likewise.
31862 * include/fcntl.h: Likewise.
31863 * include/fnmatch.h: Likewise.
31864 * include/glob.h: Likewise.
31865 * include/grp.h: Likewise.
31866 * include/libio.h: Likewise.
31867 * include/locale.h: Likewise.
31868 * include/math.h: Likewise.
31869 * include/net/if.h: Likewise.
31870 * include/netdb.h: Likewise.
31871 * include/netinet/in.h: Likewise.
31872 * include/pthread.h: Likewise.
31873 * include/pwd.h: Likewise.
31874 * include/regex.h: Likewise.
31875 * include/sched.h: Likewise.
31876 * include/search.h: Likewise.
31877 * include/setjmp.h: Likewise.
31878 * include/signal.h: Likewise.
31879 * include/stdio.h: Likewise.
31880 * include/stdlib.h: Likewise.
31881 * include/string.h: Likewise.
31882 * include/sys/cdefs.h: Likewise.
31883 * include/sys/mman.h: Likewise.
31884 * include/sys/msg.h: Likewise.
31885 * include/sys/resource.h: Likewise.
31886 * include/sys/select.h: Likewise.
31887 * include/sys/socket.h: Likewise.
31888 * include/sys/stat.h: Likewise.
31889 * include/sys/statvfs.h: Likewise.
31890 * include/sys/time.h: Likewise.
31891 * include/sys/times.h: Likewise.
31892 * include/sys/uio.h: Likewise.
31893 * include/sys/utsname.h: Likewise.
31894 * include/sys/wait.h: Likewise.
31895 * include/termios.h: Likewise.
31896 * include/time.h: Likewise.
31897 * include/ulimit.h: Likewise.
31898 * include/unistd.h: Likewise.
31899 * include/utime.h: Likewise.
31900 * include/wchar.h: Likewise.
31901 * include/wctype.h: Likewise.
31902 * include/wordexp.h: Likewise.
31904 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31906 * time/time.h: TIME_UTC must be a macro.
31907 Make timespec_get available for ISO C11 only as well.
31909 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31911 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31912 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31914 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31916 * configure.in: Use -o not -a in test for unsupported multi-arch.
31918 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31920 * manual/texinfo.tex: Update to version 2012-01-19.16.
31922 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31924 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31926 2012-02-24 Roland McGrath <roland@hack.frob.com>
31929 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31930 * manual/fdl-1.3.texi: New file.
31931 * manual/fdl-1.1.texi: File removed.
31934 * manual/libc.texinfo (FDL_VERSION): New @set.
31935 Use it for mention of FDL in cover text.
31936 (Documentation License): Use it in @include file name.
31938 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31939 Roland McGrath <roland@hack.frob.com>
31942 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31943 not LONG_LONG_MAX and LONG_LONG_MIN.
31944 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31945 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31947 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31949 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31953 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31954 manipulate bits before adding and subtracting TWO23[sx].
31955 * math/libm-test.inc (nearbyint_test): Add more tests.
31957 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31960 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31961 bits before adding and subtracting TWO23[sx].
31962 * math/libm-test.inc (rint_test): Add more tests.
31963 (rint_test_tonearest): Likewise.
31964 (rint_test_towardzero): Likewise.
31965 (rint_test_downward): Likewise.
31966 (rint_test_upward: Likewise.
31968 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31971 * include/stdc-predef.h: New file. Extracted from features.h.
31972 * include/features.h: Include stdc-predef.h.
31973 * Makefile (headers): Add stdc-predef.h.
31974 * CONFORMANCE (Compiler limitations): Update.
31976 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31978 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31980 2012-02-21 David S. Miller <davem@davemloft.net>
31982 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31983 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31985 2012-02-20 David S. Miller <davem@davemloft.net>
31987 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31988 using a normal save/restore sequence, rather than allocating a
31989 dummy stack frame just to store a frame pointer and restore.
31990 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31992 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31994 * manual/install.texi: Fix stray word in line-wrapped comment.
31996 2012-02-20 David S. Miller <davem@davemloft.net>
31998 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31999 both binutils and gcc support GOTDATA.
32001 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32002 "rd %pc" in the PIC register setup sequences.
32004 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32005 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32006 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32007 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32008 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32010 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32011 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32013 (SYSCALL_ERROR_HANDLER): Likewise.
32014 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32015 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32017 (SYSCALL_ERROR_HANDLER): Likewise.
32019 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32020 (HAVE_GCC_GOTDATA): New.
32021 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32022 relocation support in both binutils and gcc.
32023 * sysdeps/sparc/elf/configure: Regenerate.
32025 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32026 * sysdeps/sparc/sparc32/elf/configure: Delete.
32027 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32028 * sysdeps/sparc/sparc64/elf/configure: Delete.
32029 * sysdeps/sparc/elf/configure.in: New file.
32030 * sysdeps/sparc/elf/configure: Generate.
32032 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32033 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32034 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32035 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32036 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32038 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32040 * manual/install.texi: Do not mention specific glibc version
32042 * manual/libc.texinfo (VERSION, UPDATED): Update.
32043 (@copying): Use @copyright{} and range of years.
32045 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32048 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32049 [crti.S not in sysdirs] (generated): Do not append.
32050 [crti.S not in sysdirs] (omit-deps): Likewise.
32051 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32052 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32053 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32054 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32055 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32057 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32058 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32059 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32060 * csu/defs.awk: Remove file.
32061 * sysdeps/generic/initfini.c: Likewise.
32062 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32064 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32067 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32069 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32070 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32071 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32073 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32074 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32076 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32077 (__EPOLL_PACKED): Define to empty if not defined by
32079 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32083 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32085 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32086 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32087 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32088 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32090 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32094 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32096 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32098 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32099 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32100 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32103 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32105 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32106 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32108 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32110 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32111 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32113 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32115 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32118 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32120 * math/w_acos.c: Use non-signaling floating-point comparisons.
32121 * math/w_acosf.c: Likewise.
32122 * math/w_acosh.c: Likewise.
32123 * math/w_acoshf.c: Likewise.
32124 * math/w_acoshl.c: Likewise.
32125 * math/w_acosl.c: Likewise.
32126 * math/w_asin.c: Likewise.
32127 * math/w_asinf.c: Likewise.
32128 * math/w_asinl.c: Likewise.
32129 * math/w_atanh.c: Likewise.
32130 * math/w_atanhf.c: Likewise.
32131 * math/w_atanhl.c: Likewise.
32132 * math/w_exp2.c: Likewise.
32133 * math/w_exp2f.c: Likewise.
32134 * math/w_exp2l.c: Likewise.
32135 * math/w_j0.c: Likewise.
32136 * math/w_j0f.c: Likewise.
32137 * math/w_j0l.c: Likewise.
32138 * math/w_j1.c: Likewise.
32139 * math/w_j1f.c: Likewise.
32140 * math/w_j1l.c: Likewise.
32141 * math/w_jn.c: Likewise.
32142 * math/w_jnf.c: Likewise.
32143 * math/w_log.c: Likewise.
32144 * math/w_log10.c: Likewise.
32145 * math/w_log10f.c: Likewise.
32146 * math/w_log10l.c: Likewise.
32147 * math/w_log2.c: Likewise.
32148 * math/w_log2f.c: Likewise.
32149 * math/w_log2l.c: Likewise.
32150 * math/w_logf.c: Likewise.
32151 * math/w_logl.c: Likewise.
32152 * math/w_sqrt.c: Likewise.
32153 * math/w_sqrtf.c: Likewise.
32154 * math/w_sqrtl.c: Likewise.
32155 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32156 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32157 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32158 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32159 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32161 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32164 * manual/string.texi (strnlen): Use correct parameter name in
32165 equivalent expression.
32167 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32170 * manual/users.texi (seteuid): Consistently use neweuid for
32173 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32176 * manual/nss.texi (Services in the NSS configuration): Correct
32177 list of services in example configuration file.
32179 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32182 * manual/arith.texi: Remove statements about negative zero
32183 behaving identically to zero.
32185 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32188 * manual/install.texi: Do not document upgrading from libc5.
32190 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32193 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32195 2012-02-18 David S. Miller <davem@davemloft.net>
32197 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32198 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32199 %o7 across the call.
32200 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32202 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32203 SETUP_PIC_REG_LEAF.
32204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32205 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32206 * sysdeps/sparc/crtn.S: Likewise.
32208 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32210 * aout/Makefile: Remove.
32212 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32215 * manual/examples/argp-ex1.c (main): Format definition in GNU
32217 * manual/examples/argp-ex2.c (main): Likewise.
32218 * manual/examples/argp-ex3.c (main): Likewise.
32219 * manual/examples/argp-ex4.c (main): Likewise.
32220 * manual/examples/longopt.c (main): Use new-style prototype
32222 * manual/examples/strncat.c (main): Specify return type and use
32223 (void) for arguments.
32224 * manual/examples/subopt.c (main): Use char **argv argument.
32226 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32229 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32232 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32235 * manual/string.texi (strchr): Change when strchrnul is
32238 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32241 * manual/locale.texi (setlocale): Document LOCPATH.
32243 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32246 * manual/process.texi (execle): Move @dots{} before last argument.
32248 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32251 * manual/charset.texi (Generic Charset Conversion): Fix typo
32252 (LC_TYPE -> LC_CTYPE).
32254 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32257 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32258 (scalbnf): Likewise.
32259 (scalbnl): Likewise.
32260 (scalbln): Likewise.
32261 (scalblnf): Likewise.
32262 (scalblnl): Likewise.
32263 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32264 (vwarnx): Likewise.
32267 * manual/filesys.texi (telldir): Use braces around return type.
32268 * manual/llio.texi (mmap): Add space after comma.
32269 (mmap64): Likewise.
32270 * manual/math.texi (jn): Use @var{} on parameter names.
32276 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32278 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32280 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32281 (sched_get_priority_max): Likewise.
32282 * manual/signal.texi (sigvec): Add space after comma.
32283 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32285 (if_indextoname): Likewise.
32286 (if_freenameindex): Likewise.
32287 (sendto): Use ',' instead of '.' in prototype.
32288 * manual/startup.texi (syscall): Use @dots{} instead of literal
32290 * manual/stdio.texi (__fpending): Separate initial words of
32291 paragraph from @deftypefun line.
32292 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32294 (vsyslog): Use @var{} on parameter names.
32295 * manual/terminal.texi (stty): Use @var{} on parameter names.
32296 * manual/users.texi (getutmp): Use @var{} on parameter names.
32297 (getutmpx): Likewise.
32299 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32302 * manual/stdio.texi (fopen): Fix typos in description of
32305 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32308 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32309 get clock_id definition.
32311 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32314 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32315 (madvise): Cast every argument to void on its own.
32317 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32320 * manual/startup.texi (Exit Status): Fix typo.
32322 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32325 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32326 * manual/examples/argp-ex2.c: Likewise.
32327 * manual/examples/argp-ex3.c: Likewise.
32329 2012-02-16 Richard Henderson <rth@redhat.com>
32331 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32332 * sysdeps/s390/s390-32/initfini.c: Remove.
32333 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32334 * sysdeps/s390/s390-64/initfini.c: Remove.
32336 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32338 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32339 compiler output for sysdeps/generic/initfini.c.
32340 * sysdeps/sh/elf/initfini.c: Remove file.
32342 2012-02-16 David S. Miller <davem@davemloft.net>
32345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32347 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32348 * sysdeps/sparc/crti.S: New file.
32349 * sysdeps/sparc/crtn.S: New file.
32350 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32351 * sysdeps/sparc/sparc64/Makefile: Likewise.
32353 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32356 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32358 2012-02-15 Roland McGrath <roland@hack.frob.com>
32361 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32363 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32364 (write, read, close): Likewise.
32365 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32367 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32369 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32370 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32371 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32372 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32374 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32378 2012-02-14 Marek Polacek <polacek@redhat.com>
32380 * sysdeps/x86_64/crti.S: New file.
32381 * sysdeps/x86_64/crtn.S: New file.
32382 * sysdeps/x86_64/elf/initfini.c: Remove file.
32384 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32386 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32387 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32388 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32389 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32391 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32395 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32397 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32398 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32399 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32400 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32402 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32406 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32408 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32409 __feraiseexcept instead of feraiseexcept.
32411 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32412 nanosleep invocations.
32413 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32414 strings, and add error checking for a nanosleep invocations.
32416 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32418 Replace FSF snail mail address with URLs, as per GNU coding standards.
32419 Most of the snail mail addresses were wrong anyway, and omitting
32420 them makes the source code easier to maintain. Almost all of the
32421 changes are to license notices and to locale LC_IDENTIFICATION
32422 addresses, except for this one:
32423 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32424 not its snail mail address.
32426 2012-02-09 Richard Henderson <rth@twiddle.net>
32428 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32429 of kernel-features.h.
32431 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32433 2012-02-08 Marek Polacek <polacek@redhat.com>
32435 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32436 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32437 * sysdeps/gnu/_G_config.h: Likewise.
32438 * sysdeps/generic/_G_config.h: Likewise.
32440 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32442 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32446 * sysdeps/powerpc/powerpc32/crti.S: New file.
32447 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32448 * sysdeps/powerpc/powerpc64/crti.S: New file.
32449 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32451 * Makeconfig (have-initfini): Don't set.
32452 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32453 * configure.in (nopic_initfini): Don't substitute.
32454 * config.h.in (HAVE_INITFINI): Don't #undef.
32455 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32456 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32458 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32460 Support crti.S and crtn.S provided directly by architectures.
32461 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32462 [crti.S in sysdirs] (omit-deps): Likewise.
32463 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32464 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32465 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32466 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32467 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32468 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32469 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32470 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32471 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32472 compiler output for sysdeps/generic/initfini.c.
32473 * sysdeps/i386/elf/Makefile: Remove file.
32474 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32476 2012-02-07 Marek Polacek <polacek@redhat.com>
32478 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32479 * sysdeps/gnu/_G_config.h: Likewise.
32480 * sysdeps/mach/hurd/_G_config.h: Likewise.
32482 2012-02-07 Marek Polacek <polacek@redhat.com>
32484 * math/Makefile (tests): Add tst-CMPLX2.
32485 * math/tst-CMPLX2.c: New file.
32487 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32489 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32491 * math/libm-test.inc (jn_test): Add missing L suffix.
32493 2012-02-06 Marek Polacek <polacek@redhat.com>
32495 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32496 * sysdeps/i386/fpu/e_powf.S: Likewise.
32497 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32498 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32499 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32500 * sysdeps/i386/fpu/e_pow.S: Likewise.
32501 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32502 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32503 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32504 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32505 * sysdeps/i386/fpu/e_log2.S: Likewise.
32506 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32507 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32508 * sysdeps/i386/fpu/e_powl.S: Likewise.
32509 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32510 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32511 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32512 * sysdeps/i386/fpu/e_logl.S: Likewise.
32513 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32514 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32515 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32516 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32517 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32518 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32519 * sysdeps/i386/fpu/e_log.S: Likewise.
32520 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32521 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32522 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32523 * sysdeps/i386/fpu/e_logf.S: Likewise.
32524 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32525 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32526 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32527 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32528 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32529 * sysdeps/i386/fpu/e_log10.S: Likewise.
32530 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32531 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32532 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32533 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32534 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32535 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32536 * sysdeps/i386/asm-syntax.h: Likewise.
32537 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32538 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32539 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32540 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32541 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32542 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32543 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32544 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32545 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32546 * sysdeps/powerpc/sysdep.h: Likewise.
32547 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32548 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32550 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32553 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32555 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32557 * sysdeps/i386/sysdep.h: Include <features.h>.
32558 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32561 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32563 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32565 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32568 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32570 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32571 (SETUP_PIC_REG): Use GET_PC_THUNK.
32572 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32575 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32577 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32578 for non-PIC compilation.
32579 (SETUP_PIC_REG): Add .p2align directive.
32580 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32581 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32582 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32583 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32584 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32585 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32586 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32587 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32588 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32589 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32590 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32591 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32592 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32593 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32594 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32595 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32596 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32597 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32598 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32599 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32600 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32601 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32602 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32603 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32604 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32605 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32606 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32607 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32608 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32609 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32610 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32611 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32612 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32613 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32614 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32615 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32616 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32617 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32618 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32619 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32620 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32622 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32624 * math/tst-CMPLX.c: Include <stdio.h>.
32626 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32628 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32630 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32631 * sysdeps/sparc/bits/mathdef.h: Likewise.
32633 2012-01-31 Marek Polacek <polacek@redhat.com>
32635 * libio/libio.h: Don't define _PARAMS.
32636 * locale/programs/config.h: Don't define PARAMS.
32637 * stdlib/strtol_l.c: Likewise.
32638 (__strtol_l): Remove PARAMS from the prototype.
32640 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32642 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32643 names. Just use the correct names. Remove unnecessary wrapper
32645 * malloc/arena.c: Likewise.
32646 * malloc/hooks.c: Likewise.
32648 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32649 ARENA_TEST says not to. Simplify test for creation of a new arena.
32650 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32652 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32654 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32656 (update_get_addr): New function.
32657 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32658 GET_ADDR_MODULE parameter.
32660 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32662 * crypt/cert.c: Remove __STDC__ conditionals.
32663 * crypt/crypt-entry.c: Likewise.
32664 * crypt/crypt_util.c: Likewise.
32665 * libio/filedoalloc.c: Likewise.
32666 * libio/fileops.c: Likewise.
32667 * libio/genops.c: Likewise.
32668 * libio/iofclose.c: Likewise.
32669 * libio/iofdopen.c: Likewise.
32670 * libio/iofopen.c: Likewise.
32671 * libio/iofopen64.c: Likewise.
32672 * libio/iogetdelim.c: Likewise.
32673 * libio/iopopen.c: Likewise.
32674 * libio/obprintf.c: Likewise.
32675 * libio/oldfileops.c: Likewise.
32676 * libio/oldiofclose.c: Likewise.
32677 * libio/oldiofdopen.c: Likewise.
32678 * libio/oldiofopen.c: Likewise.
32679 * libio/oldiopopen.c: Likewise.
32680 * libio/wfiledoalloc.c: Likewise.
32681 * libio/wgenops.c: Likewise.
32682 * locale/programs/xmalloc.c: Likewise.
32683 * misc/syslog.c: Likewise.
32684 * stdio-common/xbug.c: Likewise.
32685 * string/memchr.c: Likewise.
32686 * string/memcmp.c: Likewise.
32687 * string/memrchr.c: Likewise.
32688 * string/rawmemchr.c: Likewise.
32689 * sysdeps/posix/getcwd.c: Likewise.
32690 * time/strftime_l.c: Likewise.
32692 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32694 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32695 * config.make.in (config-cflags-sse2avx): Define.
32696 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32699 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32701 * scripts/config.guess: Update from upstream config git repository.
32702 * scripts/config.sub: Likewise.
32704 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32706 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32708 (R_TILEPRO_*, R_TILEGX_*): New macros.
32710 * scripts/firstversions.awk: Fix bug in version range handling.
32712 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32714 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32716 * include/sys/epoll.h: New file.
32717 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32720 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32722 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32723 Avoid unnecessary __WORDSIZE == 64 test.
32724 (fmaxf): Use VEX format if possible.
32729 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32730 * math/math_private.h: Remove libc_fegetround* and
32732 * sysdeps/i386/configure.in: Check for -msse2avx.
32733 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32734 also if SSE2AVX is defined.
32735 Remove libc_fegetround* and libc_fesetround*.
32736 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32737 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32738 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32740 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32741 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32742 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32743 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32744 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32746 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32748 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32750 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32752 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32754 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32757 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32759 * Makeconfig (libm): Define.
32760 * elf/Makefile: Add rules to build and run tst-relsort1.
32761 * elf/tst-relsort1.c: New file.
32762 * elf/tst-relsort1mod1.c: New file.
32763 * elf/tst-relsort1mod2.c: New file.
32765 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32767 * math/s_ldexp.c: Remove __STDC__ conditionals.
32768 * math/s_ldexpf.c: Likewise.
32769 * math/s_ldexpl.c: Likewise.
32770 * math/s_nextafter.c: Likewise.
32771 * math/s_nexttowardf.c: Likewise.
32772 * math/s_significand.c: Likewise.
32773 * math/s_significandf.c: Likewise.
32774 * math/s_significandl.c: Likewise.
32775 * math/w_jnl.c: Likewise.
32776 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32777 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32778 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32779 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32780 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32781 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32782 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32783 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32784 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32785 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32786 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32787 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32788 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32789 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32790 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32791 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32792 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32793 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32794 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32795 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32796 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32797 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32798 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32800 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32801 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32802 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32803 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32804 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32805 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32806 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32807 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32808 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32809 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32810 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32811 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32812 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32813 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32814 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32815 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32816 * sysdeps/ieee754/k_standard.c: Likewise.
32817 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32818 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32819 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32820 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32821 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32822 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32823 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32824 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32825 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32826 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32827 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32828 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32829 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32830 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32831 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32833 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32834 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32835 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32836 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32837 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32838 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32839 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32840 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32841 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32842 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32843 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32846 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32847 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32848 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32849 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32850 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32851 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32852 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32853 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32854 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32855 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32856 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32857 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32858 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32859 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32860 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32861 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32862 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32863 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32864 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32865 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32866 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32867 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32868 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32869 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32870 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32871 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32872 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32873 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32874 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32875 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32876 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32877 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32878 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32879 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32880 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32881 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32882 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32883 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32884 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32885 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32886 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32887 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32888 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32889 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32890 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32891 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32892 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32893 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32894 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32895 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32896 * sysdeps/ieee754/s_matherr.c: Likewise.
32897 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32898 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32899 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32900 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32902 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32904 * crypt/md5.h: Remove __STDC__ conditionals.
32905 * libio/libioP.h: Likewise.
32906 * locale/programs/config.h: Likewise.
32907 * sysdeps/generic/sysdep.h: Likewise.
32908 * sysdeps/i386/asm-syntax.h: Likewise.
32909 * sysdeps/s390/asm-syntax.h: Likewise.
32910 * sysdeps/unix/sysdep.h: Likewise.
32911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32914 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32916 * libio/libio.h: Remove __STDC__ conditionals.
32917 * malloc/obstack.h: Likewise.
32918 * math/complex.h: Likewise.
32919 * math/math.h: Likewise.
32920 * sysdeps/generic/_G_config.h: Likewise.
32921 * sysdeps/gnu/_G_config.h: Likewise.
32922 * sysdeps/mach/hurd/_G_config.h: Likewise.
32923 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32924 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32925 * sysdeps/sparc/bits/mathdef.h: Likewise.
32927 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32930 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32931 Clean up HAS_* macros.
32932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32933 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32935 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32937 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32938 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32939 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32940 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32941 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32943 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32945 * elf/tst-unique3.cc (gets): Remove declaration.
32946 * elf/tst-unique3lib.cc (gets): Likewise.
32947 * elf/tst-unique3lib2.cc (gets): Likewise.
32948 * elf/tst-unique4.cc (gets): Likewise.
32950 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32952 * include/stdio.h: Add C++ protection. Add gets declarations and
32954 * debug/tst-chk1.c: Don't declare gets here.
32955 * stdio-common/tst-gets.c: Likewise.
32957 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32959 * posix/glob: Remove directory.
32961 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32963 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32965 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32967 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32968 of the non-standard EPFNOSUPPORT.
32970 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32972 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32973 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32974 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32976 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32978 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32980 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32982 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32984 * nscd/grpcache.c (cache_addgr): Likewise.
32985 * nscd/hstcache.c (cache_addhst): Likewise.
32986 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32987 * nscd/pwdcache.c (cache_addpw): Likewise.
32988 * nscd/servicescache.c (cache_addserv): Likewise.
32990 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32992 * malloc/malloc.c: Various cleanups.
32993 * malloc/hooks.c: Likewise.
32995 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32996 * stdlib/bug-fmtmsg1.c: New file.
32998 * stdlib/fmtmsg.c (init): Add missing unlock.
32999 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33001 2012-01-12 Marek Polacek <polacek@redhat.com>
33003 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33006 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33008 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33009 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33010 macro to ensure uniqueness of label name.
33011 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33012 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33014 2012-01-11 Ulrich Drepper <drepper@gmail.com>
33016 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33018 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33019 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33020 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33023 2012-01-10 Ulrich Drepper <drepper@gmail.com>
33025 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33027 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33028 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33029 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33031 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33033 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33034 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33035 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33038 * math/bits/math-finite.h: Add ldexp support.
33040 2012-01-10 Marek Polacek <polacek@redhat.com>
33042 * locale/programs/localedef.h (show_archive_content): Add noreturn
33045 2012-01-09 Ulrich Drepper <drepper@gmail.com>
33047 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33049 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33051 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33053 * io/Makefile (headers): Add bits/poll2.h.
33055 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33058 typo #include statement.
33060 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33062 * include/sys/cdefs.h: Define __attribute_alloc_size.
33063 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33064 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33065 * elf/pldd.c: Likewise.
33066 * iconv/iconv_charmap.c: Likewise.
33067 * iconv/iconvconfig.c: Likewise.
33068 * iconv/strtab.c: Likewise.
33069 * locale/programs/locale.c: Likewise.
33070 * locale/programs/localedef.h: Likewise.
33071 * locale/programs/simple-hash.c: Likewise.
33072 * nscd/nscd.h: Likewise.
33073 * nss/makedb.c: Likewise.
33074 * sysdeps/generic/ldconfig.h: Likewise.
33075 * locale/programs/localedef.c: Remove xmalloc prototype.
33076 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33078 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33080 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33083 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33085 * math/Makefile (tests): Add tst-CMPLX.
33086 * math/tst-CMPLX.c: New file.
33088 * math/complex.h (CMPLXL): Fix typo.
33090 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33091 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33093 * debug/tst-chk1.c: Add poll and ppoll tests.
33094 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33095 * include/sys/poll.h: Add hidden proto for ppoll.
33096 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33097 * sysdeps/mach/hurd/ppoll.c: Likewise.
33098 * io/ppoll.c: Likewise.
33099 * debug/poll_chk.c: New file.
33100 * debug/ppoll_chk.c: New file.
33101 * include/bits/poll2.h: New file.
33102 * io/bits/poll2.h: New file.
33105 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33107 * configure.in: static is always set to yes. Remove.
33108 * config.make.in: Don't set build-static.
33109 * Makeconfig: Remove use of build-static.
33110 * dlfcn/Makefile: Likewise.
33111 * elf/Makefile: Likewise.
33112 * math/Makefile: Likewise.
33113 * misc/Makefile: Likewise.
33114 * nptl/Makefile: Likewise.
33115 * sysdeps/mach/hurd/Makefile: Likewise.
33117 * configure.in: PWD_P is not used anymore.
33118 * config.make.in: Remove PWD_P entry.
33120 * configure.in: Remove last remnants of RANLIB.
33121 No need to check for signed size_t anymore.
33122 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33124 Remove __builtin_expect test because we require at least gcc 3.4.
33125 * aclocal.m4: Likewise.
33127 * wcsmbs/mbrtoc16.c: Implement using towc function.
33128 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33129 * wcsmbs/wcsmbsload.c: Likewise.
33130 * iconv/gconv_simple.c: Likewise.
33131 * iconv/gconv_int.h: Likewise.
33132 * iconv/gconv_builtin.h: Likewise.
33133 * iconv/iconv_prog.c: Remove CHAR16 handling.
33135 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33137 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33139 * configure.in: Remove --with-elf and --enable-bounded options.
33140 Dont set base_machine for ia64. More non-ELF conditions removed.
33141 Remove testing and setting of leading underscore information.
33142 * config.make.in (build-bounded): Set to no.
33143 * config.h.in: Remove NO_UNDERSCORES entry.
33144 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33146 * csu/start.c: Remove !NO_UNDERSCORE code.
33147 * locale/localeinfo.h: Likewise.
33148 * sysdeps/generic/machine-gmon.h: Likewise.
33149 * sysdeps/generic/sysdep.h: Likewise.
33150 * sysdeps/i386/sysdep.h: Likewise.
33151 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33152 * sysdeps/mach/sysdep.h: Likewise.
33153 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33155 * sysdeps/sh/sysdep.h: Likewise.
33156 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33157 * sysdeps/unix/i386/sysdep.S: Likewise.
33158 * sysdeps/unix/sparc/start.c: Likewise.
33159 * sysdeps/unix/sparc/sysdep.S: Likewise.
33160 * sysdeps/unix/sparc/sysdep.h: Likewise.
33161 * sysdeps/unix/start.c: Likewise.
33162 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33163 * sysdeps/x86_64/sysdep.h: Likewise.
33165 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33168 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33170 * argp/argp-fmtstream.h: Use const instead __const.
33171 * argp/argp.h: Likewise.
33172 * assert/assert.h: Likewise.
33173 * bits/fenv.h: Likewise.
33174 * bits/sched.h: Likewise.
33175 * bits/sigset.h: Likewise.
33176 * bits/sigthread.h: Likewise.
33177 * catgets/nl_types.h: Likewise.
33178 * conform/data/pthread.h-data: Likewise.
33179 * crypt/crypt-private.h: Likewise.
33180 * crypt/crypt.h: Likewise.
33181 * crypt/crypt_util.c: Likewise.
33182 * ctype/ctype.h: Likewise.
33183 * debug/execinfo.h: Likewise.
33184 * debug/mbsnrtowcs_chk.c: Likewise.
33185 * debug/mbsrtowcs_chk.c: Likewise.
33186 * debug/wcsnrtombs_chk.c: Likewise.
33187 * debug/wcsrtombs_chk.c: Likewise.
33188 * debug/wcstombs_chk.c: Likewise.
33189 * dirent/dirent.h: Likewise.
33190 * dlfcn/dlfcn.h: Likewise.
33191 * elf/neededtest4.c: Likewise.
33192 * grp/grp.h: Likewise.
33193 * gshadow/gshadow.h: Likewise.
33194 * iconv/gconv.h: Likewise.
33195 * iconv/gconv_int.h: Likewise.
33196 * iconv/gconv_simple.c: Likewise.
33197 * iconv/iconv.h: Likewise.
33198 * iconv/loop.c: Likewise.
33199 * iconv/skeleton.c: Likewise.
33200 * include/aio.h: Likewise.
33201 * include/aliases.h: Likewise.
33202 * include/argz.h: Likewise.
33203 * include/arpa/inet.h: Likewise.
33204 * include/assert.h: Likewise.
33205 * include/dirent.h: Likewise.
33206 * include/dlfcn.h: Likewise.
33207 * include/execinfo.h: Likewise.
33208 * include/fcntl.h: Likewise.
33209 * include/fenv.h: Likewise.
33210 * include/glob.h: Likewise.
33211 * include/grp.h: Likewise.
33212 * include/libintl.h: Likewise.
33213 * include/mntent.h: Likewise.
33214 * include/netdb.h: Likewise.
33215 * include/pwd.h: Likewise.
33216 * include/rpc/netdb.h: Likewise.
33217 * include/sched.h: Likewise.
33218 * include/search.h: Likewise.
33219 * include/shadow.h: Likewise.
33220 * include/signal.h: Likewise.
33221 * include/stdio.h: Likewise.
33222 * include/stdlib.h: Likewise.
33223 * include/string.h: Likewise.
33224 * include/sys/socket.h: Likewise.
33225 * include/sys/stat.h: Likewise.
33226 * include/sys/statfs.h: Likewise.
33227 * include/sys/statvfs.h: Likewise.
33228 * include/sys/syslog.h: Likewise.
33229 * include/sys/time.h: Likewise.
33230 * include/sys/uio.h: Likewise.
33231 * include/time.h: Likewise.
33232 * include/unistd.h: Likewise.
33233 * include/utmp.h: Likewise.
33234 * include/wchar.h: Likewise.
33235 * include/wctype.h: Likewise.
33236 * inet/aliases.h: Likewise.
33237 * inet/arpa/inet.h: Likewise.
33238 * inet/netinet/ether.h: Likewise.
33239 * inet/netinet/in.h: Likewise.
33240 * intl/libintl.h: Likewise.
33241 * io/bits/fcntl2.h: Likewise.
33242 * io/fcntl.h: Likewise.
33243 * io/ftw.h: Likewise.
33244 * io/sys/poll.h: Likewise.
33245 * io/sys/stat.h: Likewise.
33246 * io/sys/statfs.h: Likewise.
33247 * io/sys/statvfs.h: Likewise.
33248 * io/utime.h: Likewise.
33249 * libio/bits/stdio.h: Likewise.
33250 * libio/bits/stdio2.h: Likewise.
33251 * libio/libio.h: Likewise.
33252 * libio/libioP.h: Likewise.
33253 * libio/stdio.h: Likewise.
33254 * locale/lc-ctype.c: Likewise.
33255 * locale/locale.h: Likewise.
33256 * login/utmp.h: Likewise.
33257 * malloc/arena.c: Likewise.
33258 * malloc/malloc.c: Likewise.
33259 * malloc/malloc.h: Likewise.
33260 * malloc/mcheck.c: Likewise.
33261 * malloc/mtrace.c: Likewise.
33262 * math/bits/mathcalls.h: Likewise.
33263 * math/fenv.h: Likewise.
33264 * math/math_private.h: Likewise.
33265 * misc/bits/error.h: Likewise.
33266 * misc/bits/syslog.h: Likewise.
33267 * misc/err.h: Likewise.
33268 * misc/error.h: Likewise.
33269 * misc/fstab.h: Likewise.
33270 * misc/mntent.h: Likewise.
33271 * misc/regexp.h: Likewise.
33272 * misc/search.h: Likewise.
33273 * misc/sgtty.h: Likewise.
33274 * misc/sys/mman.h: Likewise.
33275 * misc/sys/syslog.h: Likewise.
33276 * misc/sys/uio.h: Likewise.
33277 * misc/sys/xattr.h: Likewise.
33278 * misc/ttyent.h: Likewise.
33279 * nis/rpcsvc/ypclnt.h: Likewise.
33280 * nss/nss.h: Likewise.
33281 * posix/bits/unistd.h: Likewise.
33282 * posix/fnmatch.h: Likewise.
33283 * posix/glob.h: Likewise.
33284 * posix/sched.h: Likewise.
33285 * posix/spawn.h: Likewise.
33286 * posix/sys/wait.h: Likewise.
33287 * posix/unistd.h: Likewise.
33288 * posix/wordexp.h: Likewise.
33289 * pwd/pwd.h: Likewise.
33290 * resolv/netdb.h: Likewise.
33291 * resource/sys/resource.h: Likewise.
33292 * rt/aio.h: Likewise.
33293 * rt/bits/mqueue2.h: Likewise.
33294 * rt/mqueue.h: Likewise.
33295 * shadow/shadow.h: Likewise.
33296 * signal/signal.h: Likewise.
33297 * socket/send.c: Likewise.
33298 * socket/sendto.c: Likewise.
33299 * socket/sys/socket.h: Likewise.
33300 * stdio-common/printf.h: Likewise.
33301 * stdlib/bits/stdlib.h: Likewise.
33302 * stdlib/fmtmsg.h: Likewise.
33303 * stdlib/monetary.h: Likewise.
33304 * stdlib/stdlib.h: Likewise.
33305 * stdlib/ucontext.h: Likewise.
33306 * streams/stropts.h: Likewise.
33307 * string/argz.h: Likewise.
33308 * string/bits/string2.h: Likewise.
33309 * string/string.h: Likewise.
33310 * string/strings.h: Likewise.
33311 * sunrpc/rpc/auth.h: Likewise.
33312 * sunrpc/rpc/auth_des.h: Likewise.
33313 * sunrpc/rpc/clnt.h: Likewise.
33314 * sunrpc/rpc/netdb.h: Likewise.
33315 * sunrpc/rpc/pmap_clnt.h: Likewise.
33316 * sunrpc/rpc/xdr.h: Likewise.
33317 * sysdeps/generic/inttypes.h: Likewise.
33318 * sysdeps/generic/net/if.h: Likewise.
33319 * sysdeps/generic/sys/swap.h: Likewise.
33320 * sysdeps/gnu/net/if.h: Likewise.
33321 * sysdeps/gnu/utmpx.h: Likewise.
33322 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33323 * sysdeps/i386/i486/bits/string.h: Likewise.
33324 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33325 * sysdeps/s390/bits/string.h: Likewise.
33326 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33327 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33328 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33329 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33330 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33331 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33332 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33333 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33334 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33335 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33336 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33337 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33338 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33339 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33340 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33341 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33342 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33344 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33345 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33346 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33347 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33348 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33349 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33350 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33351 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33352 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33353 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33354 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33355 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33356 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33357 * sysvipc/sys/ipc.h: Likewise.
33358 * sysvipc/sys/msg.h: Likewise.
33359 * sysvipc/sys/sem.h: Likewise.
33360 * sysvipc/sys/shm.h: Likewise.
33361 * termios/termios.h: Likewise.
33362 * time/sys/time.h: Likewise.
33363 * time/time.h: Likewise.
33364 * wcsmbs/bits/wchar2.h: Likewise.
33365 * wcsmbs/uchar.h: Likewise.
33366 * wcsmbs/wchar.h: Likewise.
33367 * wctype/wctype.h: Likewise.
33370 * Makeconfig: Remove all but ELF support including AIX support.
33371 * Makerules: Likewise.
33372 * config.h.in: Likewise.
33373 * config.make.in: Likewise.
33374 * configure: Likewise.
33375 * configure.in: Likewise.
33376 * csu/Makefile: Likewise.
33377 * csu/version.c: Likewise.
33378 * debug/Makefile: Likewise.
33379 * dlfcn/Makefile: Likewise.
33380 * elf/Makefile: Likewise.
33381 * extra-lib.mk: Likewise.
33382 * iconv/Makefile: Likewise.
33383 * include/libc-symbols.h: Likewise.
33384 * include/shlib-compat.h: Likewise.
33385 * resolv/Makefile: Likewise.
33386 * resolv/res_libc.c: Likewise.
33387 * rt/Makefile: Likewise.
33388 * sysdeps/i386/asm-syntax.h: Likewise.
33389 * sysdeps/i386/sysdep.h: Likewise.
33390 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33391 * sysdeps/mach/sysdep.h: Likewise.
33392 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33393 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33394 * sysdeps/s390/asm-syntax.h: Likewise.
33395 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33396 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33397 * sysdeps/sh/sysdep.h: Likewise.
33398 * sysdeps/unix/sparc/sysdep.h: Likewise.
33399 * sysdeps/wordsize-32/divdi3.c: Likewise.
33400 * sysdeps/x86_64/sysdep.h: Likewise.
33402 * argp/Versions: Remove _argp_unlock_xxx.
33405 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33406 * abilist/libBrokenLocale.abilist: Likewise.
33407 * abilist/libanl.abilist: Likewise.
33408 * abilist/libc.abilist: Likewise.
33409 * abilist/libcrypt.abilist: Likewise.
33410 * abilist/libdl.abilist: Likewise.
33411 * abilist/libm.abilist: Likewise.
33412 * abilist/libnsl.abilist: Likewise.
33413 * abilist/libpthread.abilist: Likewise.
33414 * abilist/libresolv.abilist: Likewise.
33415 * abilist/librt.abilist: Likewise.
33416 * abilist/libthread_db.abilist: Likewise.
33417 * abilist/libutil.abilist: Likewise.
33418 * abilist/libnss_db.abilist: New file.
33420 * scripts/abilist.awk: Add support for indirect functions.
33422 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33424 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33426 * shlib-versions: Remove entries for ports architectures.
33428 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33430 * elf/stackguard-macros.h: Remove support for IA-64.
33431 * elf/tst-auditmod1.c: Likewise.
33432 * sysdeps/generic/ldsodefs.h: Likewise.
33434 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33435 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33439 * configure.in: Remove --enable-omitfp support.
33441 * config.make.in: Likewise.
33442 * Makeconfig: Likewise.
33443 * manual/install.texi: Likewise.
33445 In case anyone cares, the IA-64 architecture could move to ports.
33446 * sysdeps/ia64/*: Removed.
33447 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33448 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33451 * configure.in: Remove entries for unsupported architectures.
33454 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33455 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33457 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33458 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33459 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33460 fall back to using wcrtomb.
33461 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33462 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33464 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33465 * wcsmbs/tst-c16c32-1.c: New file.
33467 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33470 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33472 * elf/tst-unique3.cc: Add explicit declaration of gets.
33473 * elf/tst-unique3lib.cc: Likewise.
33474 * elf/tst-unique3lib2.cc: Likewise.
33475 * elf/tst-unique4.cc: Likewise.
33477 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33479 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33482 * assert/assert.h (static_assert): Don't define for C++.
33483 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33484 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33486 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33488 * iconv/loop.c (single loop): Fix assertion in storing of
33491 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33493 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33495 * posix/getconf.c: Update copyright year.
33496 * nss/getent.c: Likewise.
33497 * nss/makedb.c: Likewise.
33498 * iconv/iconvconfig.c: Likewise.
33499 * iconv/iconv_prog.c: Likewise.
33500 * elf/ldconfig.c: Likewise.
33501 * elf/pldd.c: Likewise.
33502 * elf/sotruss.ksh: Likewise.
33503 * catgets/gencat.c: Likewise.
33504 * csu/version.c: Likewise.
33505 * elf/ldd.bash.in: Likewise.
33506 * elf/sprof.c (print_version): Likewise.
33507 * locale/programs/locale.c: Likewise.
33508 * locale/programs/localedef.c: Likewise.
33509 * login/programs/pt_chown.c: Likewise.
33510 * nscd/nscd.c (print_version): Likewise.
33511 * debug/xtrace.sh: Likewise.
33512 * malloc/memusage.sh: Likewise.
33513 * malloc/mtrace.pl: Likewise.
33514 * debug/catchsegv.sh: Likewise.
33516 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33518 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33521 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33524 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33525 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33527 * iconv/gconv_int.h: Likewise.
33528 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33529 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33530 from libc for GLIBC_2.16.
33531 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33532 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33533 * wcsmbs/uchar.h: Really define mbstate_t.
33534 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33535 * wcsmbs/c16rtomb.c: New file.
33536 * wcsmbs/mbrtoc16.c: New file.
33537 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33538 for C/POSIX locale.
33539 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33540 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33542 * wcsmbs/wchar.h: Add missing __restrict.
33544 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33547 * time/Makefile (routines): Add timespec_get.
33548 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33549 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33550 timespec for ISO C11.
33551 * time/timespec_get.c: New file.
33552 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33553 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33556 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33557 * stdlib/stdlib.h: Declare aligned_alloc.
33558 * Versions.def: Add GLIBC_2.16 for libc.
33559 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33562 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33565 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33569 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33572 * assert/assert.h (static_assert): Define.
33574 * version.h: Update for 2.16 development version.
33577 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33580 * version.h (RELEASE): Bump for 2.15 release.
33581 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33583 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33584 Patch by Marek Polacek <mpolacek@redhat.com>.
33586 * bits/byteswap.h: Protect long long constants with __extension__.
33587 * sysdeps/i386/bits/byteswap.h: Likewise.
33588 * sysdeps/ia64/bits/byteswap.h: Likewise.
33589 * sysdeps/s390/bits/byteswap.h: Likewise.
33590 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33592 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33595 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33596 destination buffer.
33597 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33599 2011-12-23 Marek Polacek <polacek@redhat.com>
33601 * elf/dl-addr.c (determine_info): Add inline keyword.
33602 * elf/tst-auditmod4b.c (check_avx): Likewise.
33603 * elf/tst-auditmod6b.c (check_avx): Likewise.
33604 * elf/tst-auditmod6c.c (check_avx): Likewise.
33605 * elf/tst-auditmod7b.c (check_avx): Likewise.
33607 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33609 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33612 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33615 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33616 processing for last bytes.
33618 2011-08-06 Bruno Haible <bruno@clisp.org>
33621 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33622 U+0385, not to U+1FEE.
33625 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33626 entry for U+00A5 U+0301.
33628 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33631 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33632 buffer for the output is too small.
33634 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33638 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33639 SSE flags if possible.
33641 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33644 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33645 processing for last bytes.
33647 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33649 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33650 (syscall-list-default-options, syscall-list-default-condition)
33651 (syscall-list-includes): Define.
33652 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33653 list of ABIs and options and #if conditions for each ABI. Do not
33654 handle common syscalls between ABIs specially.
33655 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33657 (syscall-list-variants, syscall-list-32bit-options)
33658 (syscall-list-32bit-condition, syscall-list-64bit-options)
33659 (syscall-list-64bit-condition): Define.
33660 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33661 (syscall-list-variants, syscall-list-32bit-options)
33662 (syscall-list-32bit-condition, syscall-list-64bit-options)
33663 (syscall-list-64bit-condition): Define.
33664 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33666 (syscall-list-variants, syscall-list-32bit-options)
33667 (syscall-list-32bit-condition, syscall-list-64bit-options)
33668 (syscall-list-64bit-condition): Define.
33669 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33671 (syscall-list-variants, syscall-list-32bit-options)
33672 (syscall-list-32bit-condition, syscall-list-64bit-options)
33673 (syscall-list-64bit-condition): Define.
33675 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33677 * locale/iso-639.def: Add brx entry.
33680 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33681 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33683 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33684 __feraiseexcept_renamed.
33686 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33689 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33690 EPOLLET with unsigned values.
33691 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33692 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33694 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33695 to large cancellation.
33696 * math/s_cacoshf.c: Likewise.
33697 * math/s_cacoshl.c: Likewise.
33699 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33703 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33704 * math/s_cacoshf.c: Likewise.
33705 * math/s_cacoshl.c: Likewise.
33707 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33710 * iconv/gconv.h: Define __GCONV_SWAP.
33711 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33712 * iconvdata/utf-16.c: Likewise.
33713 * iconvdata/utf-32.c: Likewise.
33715 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33718 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33719 numerator after shifting it by one limb.
33721 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33723 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33724 under [__USE_EXTERN_INLINES].
33726 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33729 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33731 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33733 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33734 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33736 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33737 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33738 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33739 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33740 for strncasecmp/strncasecmp_l compilation.
33741 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33742 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33744 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33747 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33750 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33753 * time/tzfile.c (__tzfile_read): Check values from file header.
33755 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33757 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33758 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33759 * powerpc/powerpc32/dl-start.S: Likewise.
33760 * powerpc/powerpc32/elf/start.S: Likewise.
33761 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33762 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33763 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33764 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33765 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33766 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33767 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33768 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33769 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33770 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33771 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33772 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33773 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33774 * powerpc/powerpc32/memset.S: Likewise.
33775 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33776 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33777 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33778 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33779 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33780 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33781 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33782 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33783 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33784 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33785 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33786 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33787 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33789 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33791 * math/libm-test.inc: Added more nearbyint tests.
33792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33793 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33795 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33797 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33799 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33802 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33804 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33805 Add wcscpy-ssse3 wcscpy-c.
33806 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33807 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33808 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33809 * sysdeps/x86_64/wcschr.S: New file.
33810 * sysdeps/x86_64/wcsrchr.S: New file.
33811 * string/test-strcmp.c: Remove checking of wcscmp function for
33813 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33814 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33815 wcsrchr-sse2 wcsrchr-c.
33816 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33817 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33818 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33819 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33820 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33821 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33822 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33823 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33824 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33825 * wcsmbc/wcschr.c (WCSCHR): New macro.
33827 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33829 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33830 * wcsmbs/test-wcsrchr.c: New file.
33831 * string/test-strrchr.c: Add wcsrchr support.
33833 * wcsmbs/test-wcscpy.c: New file.
33834 * string/test-strcpy.c: Add wcscpy support.
33837 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33839 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33842 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33845 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33847 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33849 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33850 Minor optimizations.
33852 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33853 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33854 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33856 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33858 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33859 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33860 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33861 for gcc to avoid warnings.
33862 * inet/Makefile (tests): Add tst-checks.
33863 * inet/tst-checks.c: New file.
33865 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33868 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33871 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33872 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33874 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33876 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33878 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33881 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33883 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33885 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33886 conditional on GCC version.
33887 (__arch_compare_and_exchange_val_8_acq)
33888 (__arch_compare_and_exchange_val_16_acq)
33889 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33890 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33891 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33893 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33895 * sysdeps/sh/backtrace.c: New file.
33897 2011-12-02 Andreas Schwab <schwab@redhat.com>
33899 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33902 2011-12-01 Andreas Schwab <schwab@redhat.com>
33904 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33905 falling back to utime.
33907 2011-11-30 Andreas Schwab <schwab@redhat.com>
33909 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33910 expectations for float.
33912 2011-11-29 Andreas Schwab <schwab@redhat.com>
33914 * locale/weight.h (findidx): Add parameter len.
33915 * locale/weightwc.h (findidx): Likewise.
33916 * posix/fnmatch_loop.c (FCT): Adjust caller.
33917 * posix/regcomp.c (build_equiv_class): Likewise.
33918 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33919 * posix/regexec.c (check_node_accept_bytes): Likewise.
33920 * string/strcoll_l.c (STRCOLL): Likewise.
33921 * string/strxfrm_l.c (STRXFRM): Likewise.
33923 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33925 * Makefile.in: Remove CVSOPT handling.
33926 * configure.in: Remove use of AC_REVISION.
33927 * iconvdata/Makefile (distribute): No need to filter out CVS.
33928 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33931 2011-11-16 Andreas Schwab <schwab@redhat.com>
33933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33934 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33935 [USE_AS_STRNCASECMP_L]: Likewise.
33936 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33937 NO_TLS_DIRECT_SEG_REFS.
33938 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33939 Fix argument offsets for non-PIC.
33940 [USE_AS_STRNCASECMP_L]: Likewise.
33941 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33942 NO_TLS_DIRECT_SEG_REFS.
33944 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33946 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33948 * locale/loadlocale.c (_nl_load_locale): Likewise.
33950 2011-11-15 Andreas Schwab <schwab@redhat.com>
33952 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33953 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33954 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33955 (SYSCALL_GETTIME): Set errno on error.
33957 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33958 count references to noai6ai_cached.
33960 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33962 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33964 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33965 FD_CLOEXEC for /proc/self/maps.
33967 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33968 FD_CLOEXEC for /proc/meminfo.
33970 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33973 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33974 FD_CLOEXEC for given file.
33976 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33978 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33979 FD_CLOEXEC for /etc/hosts.
33980 (_gethtent): Likewise.
33982 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33984 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33985 cancellation and set FD_CLOEXEC for /etc/netgroup.
33987 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33988 reading /etc/publickey.
33990 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33991 allow cancellation when reading /etc/group.
33993 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33995 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33997 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33998 when using data file.
34000 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34002 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34003 (write_nis_obj): Use "c" and "e" in fopen.
34005 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34007 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34009 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34011 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34013 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34016 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34018 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34020 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34022 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34023 file parsing and set FD_CLOEXEC.
34025 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34027 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34029 2011-11-14 Andreas Schwab <schwab@redhat.com>
34031 * malloc/arena.c (arena_get2): Don't call reused_arena when
34032 _int_new_arena failed.
34034 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34036 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34037 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34038 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34039 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34041 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34042 to compile strcasecmp and strncasecmp.
34043 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34044 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34048 2011-11-13 Ulrich Drepper <drepper@gmail.com>
34050 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34051 locale-defines.sym to gen-as-const-headers.
34052 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34053 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34055 to compile strcasecmp and strncasecmp.
34056 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34057 strcasecmp_l and strncasecmp_l.
34058 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34059 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34060 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34061 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34062 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34063 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34064 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34065 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34066 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34067 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34068 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34070 2011-11-12 Ulrich Drepper <drepper@gmail.com>
34072 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34073 result of SYSDEP_GETTIME_CPU to retval.
34074 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34075 parameter list to macro. Remove trailing semicolon. Adjust users.
34077 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34080 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34082 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34084 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34085 from unused variable.
34087 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34089 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34092 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34095 * sunrpc/rpc_prot.c (rejected): Fix case value.
34097 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34098 unsigned long long int to avoid warnings in shift.
34100 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34102 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34105 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34106 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34107 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34109 * nis/nis_table.c (nis_list): Use variable of correct type for
34110 result of __follow_path call.
34112 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34114 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34115 of math functions ceil, trunc, floor, round, and sqrt, when
34116 avaliable on the platform.
34117 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34119 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34120 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34121 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34123 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34125 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34126 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34128 2011-11-11 Roland McGrath <roland@hack.frob.com>
34130 * include/unistd.h: Fix __readlink return type.
34131 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34133 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34135 * stdlib/ucontext.h: Undo last change for makecontext.
34137 2011-11-11 Andreas Schwab <schwab@redhat.com>
34139 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34141 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34142 * setjmp/setjmp.h: Mark functions as non-leaf.
34143 * setjmp/bits/setjmp2.h: Likewise.
34144 * stdlib/ucontext.h: Likewise.
34146 2011-11-10 Andreas Schwab <schwab@redhat.com>
34148 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34149 (reused_arena): Don't check arena limit.
34150 (arena_get2): Atomically check arena limit.
34152 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34154 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34155 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34160 2011-11-07 Andreas Schwab <schwab@redhat.com>
34162 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34163 handler when locking.
34165 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34166 Fix size of allocated buffer.
34168 2011-11-04 Andreas Schwab <schwab@redhat.com>
34171 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34172 declarations for long double functions.
34173 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34175 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34177 2011-11-03 Andreas Schwab <schwab@redhat.com>
34179 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34182 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34185 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34187 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34189 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34191 * include/alloca.h (stackinfo_alloca_round): Define.
34192 (extend_alloca): Use it.
34193 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34194 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34197 * scripts/check-local-headers.sh: Ignore libaudit.h.
34199 * nscd/Makefile (extra-objs): Make recursively expanded.
34201 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34203 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34206 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34207 * posix/tst-rfc3484-2.c: Likewise.
34208 * posix/tst-rfc3484-3.c: Likewise.
34210 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34212 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34214 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34215 process_vm_writev from libc using GLIBC_2.15 version.
34217 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34219 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34221 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34224 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34227 * nss/getent.c (initgroups_keys): Show error message in case no group
34230 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34231 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34232 __bump_nl_timestamp.
34233 * nscd/connections (nscd_init): When host database is served open
34234 netlink socket and request notification about configuration changes.
34235 (main_loop_poll): Track netlink file descriptor and bump timestamp
34236 in case data becomes available.
34237 (main_loop_epoll): Likewise.
34238 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34239 (database_pers_head): Add extra_data fileds.
34240 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34241 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34242 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34244 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34245 in6ai data, call __free_in6ai.
34246 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34247 Add -DHAVE_NETLINK.
34248 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34249 interface information. Reuse previous data if netlink timestamp
34251 (__bump_nl_timestamp): New function.
34252 (__free_in6ai): New function.
34254 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34256 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34257 close_not_cancel_no_status here.
34258 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34260 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34263 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34266 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34267 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34268 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34270 2011-07-03 Andreas Jaeger <aj@suse.de>
34273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34274 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34275 * math/libm-test.inc (sin_test): Add test case.
34277 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34280 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34281 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34283 * elf/chroot_canon.c (chroot_canon): Cleanups.
34285 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34288 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34289 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34291 * string/test-strchr.c: Make usable for strchrnul testing.
34292 * string/test-strchrnul.c: New file.
34293 * string/Makefile (strop-tests): Add strchrnul.
34295 * po/it.po: Update from translation team.
34296 * po/es.po: Likewise.
34298 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34300 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34301 the three constants needed as parameters. Drop the others.
34302 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34303 __m128i_strloadu_tolower.
34304 Create and initialize variable zero and use it in all the places
34305 where _mm_setzero_si128 was used.
34307 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34308 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34309 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34310 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34312 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34313 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34314 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34315 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34316 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34317 __mpranred, __mptan.
34318 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34319 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34320 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34321 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34322 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34323 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34324 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34325 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34326 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34328 2011-10-28 Andreas Schwab <schwab@redhat.com>
34330 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34331 redefine if SHARED.
34332 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34335 wide char related routines to wcsmbs subdir.
34337 2011-10-27 Andreas Schwab <schwab@redhat.com>
34340 * misc/sys/cdefs.h (__THROWNL): Define.
34341 * posix/unistd.h: Use __THREADNL instead of __THREAD
34342 for memory synchronization functions.
34344 2011-10-26 Roland McGrath <roland@hack.frob.com>
34347 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34349 * manual/stdio.texi (Obstack Streams): Node removed.
34351 2011-10-26 Andreas Schwab <schwab@redhat.com>
34353 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34354 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34355 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34357 * math/math_private.h (math_force_eval): Allow non-addressable
34359 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34361 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34363 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34364 file is not needed.
34366 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34367 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34368 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34369 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34370 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34371 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34372 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34373 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34375 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34376 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34377 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34378 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34379 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34380 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34381 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34382 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34383 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34384 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34385 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34386 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34387 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34388 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34389 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34390 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34391 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34392 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34393 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34395 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34396 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34398 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34399 place. Use VEX encoding when compiling for AVX.
34401 2011-10-25 Andreas Schwab <schwab@redhat.com>
34403 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34404 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34406 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34408 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34410 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34411 useless if() expression.
34412 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34413 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34414 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34415 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34416 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34417 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34418 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34419 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34420 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34421 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34422 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34423 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34424 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34425 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34426 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34427 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34428 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34429 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34430 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34432 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34434 2011-10-25 Andreas Schwab <schwab@redhat.com>
34436 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34438 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34440 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34442 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34443 .text section. Avoid duplicate constants.
34444 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34446 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34448 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34451 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34452 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34453 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34454 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34455 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34456 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34457 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34458 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34459 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34460 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34461 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34462 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34464 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34465 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34466 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34467 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34468 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34469 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34470 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34471 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34472 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34473 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34474 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34475 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34476 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34477 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34478 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34479 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34480 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34481 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34482 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34483 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34484 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34485 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34486 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34487 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34488 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34490 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34492 * sysdeps/x86_64/dla.h: Move to ...
34493 * sysdeps/x86_64/fpu/dla.h: ...here.
34494 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34495 situations. Use __builtin_fma only for gcc 4.6 and up.
34497 * config.make.in: Add have-mfma4 entry.
34498 * configure.in: Substitute libc_cv_cc_fma4.
34499 * math/Makefile (dbl-only-routines): Add sincostab.
34500 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34501 Use __sincostab not sincos.
34502 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34504 * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise. Define singArctan2
34509 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34510 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34511 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34512 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34514 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34515 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34517 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34518 define aliases when function name is a macro.
34519 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34520 sysdeps/ieee754/dbl-64/sincos.tbl.
34521 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34522 fma4-enabled routines.
34523 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34524 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34525 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34526 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34528 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34529 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34530 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34531 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34532 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34533 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34534 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34535 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34536 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34537 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34538 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34539 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34540 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34541 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34542 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34543 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34544 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34545 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34546 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34547 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34548 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34549 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34550 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34551 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34552 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34554 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34565 2011-10-24 Andreas Schwab <schwab@redhat.com>
34567 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34569 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34571 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34573 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34575 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34577 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34578 Remove unused variable magic_bits.
34579 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34581 * string/strnlen.c: Define and use STRNLEN macro.
34582 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34583 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34584 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34585 * wcsmbs/wcslen.c: Define and use WCSLEN.
34586 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34587 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34588 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34589 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34590 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34591 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34592 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34594 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34597 strnlen-sse2-no-bsf.
34598 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34599 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34600 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34601 Add strnlen support.
34602 (USE_AS_STRNLEN): New macro.
34603 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34604 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34605 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34606 * sysdeps/x86_64/wcslen.S: New file.
34608 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34610 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34611 XMM-moves are used for copying on small sizes.
34613 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34615 * wcsmbs/Makefile (strop-tests): Add wcschr.
34616 * wcsmbs/test-wcschr.c: New file.
34617 * string/test-strchr.c: Update.
34618 Add wcschr support.
34621 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34623 * wcsmbs/Makefile (strop-tests): Add wcslen.
34624 * wcsmbs/test-wcslen.c: New file.
34625 * string/test-strlen.c: Update.
34626 Add wcslen support.
34629 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34631 * po/it.po: Update from translation team.
34633 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34635 * sysdeps/x86_64/wcscmp.S: Update.
34636 Fix wrong comparison semantics.
34637 wcscmp shall use signed comparison not unsigned.
34638 Don't use substraction to avoid overflow bug.
34639 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34640 * wcsmbc/wcscmp.c: Likewise.
34641 * string/test-strcmp.c: Likewise.
34642 Add new tests to check cases with negative values.
34644 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34646 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34647 * sysdeps/x86_64/dla.h: ...here. New file.
34648 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34653 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34658 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34660 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34661 __ynl_finite aliases.
34663 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34667 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34669 [DLA_FMA] (EMULV): Use DLA_FMA.
34670 [DLA_FMA] (MUL12): Use EMULV.
34671 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34672 that are not needed.
34673 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34675 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34676 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34677 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34678 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34681 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34683 * math/s_nan.c: Undef __nan.
34684 * math/s_nanf.c: Undef __nanf.
34685 * math/s_nanl.c: Undef __nanl.
34686 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34689 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34691 * math/s_catan.c: Add branch predictions.
34692 * math/s_catanf.c: Likewise.
34693 * math/s_catanh.c: Likewise.
34694 * math/s_catanhf.c: Likewise.
34695 * math/s_catanhl.c: Likewise.
34696 * math/s_catanl.c: Likewise.
34697 * math/s_cexp.c: Likewise.
34698 * math/s_cexpf.c: Likewise.
34699 * math/s_cexpl.c: Likewise.
34700 * math/s_clog.c: Likewise.
34701 * math/s_clog10.c: Likewise.
34702 * math/s_clog10f.c: Likewise.
34703 * math/s_clog10l.c: Likewise.
34704 * math/s_clogf.c: Likewise.
34705 * math/s_clogl.c: Likewise.
34706 * math/s_csqrt.c: Likewise.
34707 * math/s_csqrtf.c: Likewise.
34708 * math/s_csqrtl.c: Likewise.
34709 * math/s_ctanf.c: Likewise.
34710 * math/s_ctanh.c: Likewise.
34711 * math/s_ctanhf.c: Likewise.
34712 * math/s_ctanhl.c: Likewise.
34713 * math/s_ctanl.c: Likewise.
34715 * math/math_private.h: Define __nan, __nanf, __nanl.
34716 * math/s_cacosh.c: Include <math_private.h>.
34717 * math/s_cacoshl.c: Likewise.
34718 * math/s_casinh.c: Likewise.
34719 * math/s_casinhf.c: Likewise.
34720 * math/s_casinhl.c: Likewise.
34721 * math/s_ccos.c: Rely entire on ccosh.
34722 * math/s_ccosf.c: Rely entire on ccoshf.
34723 * math/s_ccosl.c: Rely entirely on ccoshl.
34724 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34725 Remove tests for FE_INVALID.
34726 * math/s_ccoshf.c: Likewise.
34727 * math/s_ccoshl.c: Likewise.
34728 * math/s_csin.c: Likewise.
34729 * math/s_csinf.c: Likewise.
34730 * math/s_csinh.c Likewise.
34731 * math/s_csinhf.c: Likewise.
34732 * math/s_csinhl.c: Likewise.
34733 * math/s_csinl.c: Likewise.
34734 * math/s_ctan.c: Likewise.
34735 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34736 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34737 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34739 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34742 compilation problems.
34744 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34747 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34749 * sysdeps/i386/configure.in: Test for -mfma4 option.
34750 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34751 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34752 COMMON_CPUID_INDEX_80000001.
34753 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34754 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34755 use it if FMA3 is not supported.
34756 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34758 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34759 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34761 2011-10-20 Andreas Schwab <schwab@redhat.com>
34764 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34765 it would create a cycle with a link time dependency.
34767 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34769 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34771 * string/Makefile (strop-tests): Add rawmemchr.
34772 * string/test-rawmemchr.c: New file.
34774 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34776 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34777 when compiling str{,n}casecmp and when AVX is available. Hook up
34778 new optimized code in initializers.
34780 2011-10-19 Andreas Schwab <schwab@redhat.com>
34782 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34783 __feraiseexcept instead of feraiseexcept.
34785 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34787 * math/math_private.h: Define defaults for libc_fetestexcept and
34789 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34790 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34791 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34792 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34793 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34794 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34795 libc_fetestexcept and libc_feupdateenv.
34797 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34798 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34799 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34800 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34801 libc_feholdexcept_setround.
34803 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34804 Add s_nearbyint-c and s_nearbyintf-c.
34805 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34806 nearbyintf inlines.
34807 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34808 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34809 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34810 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34812 * math/math_private.h: Define defaults for libc_fegetround,
34813 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34814 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34815 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34816 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34817 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34818 standard functions.
34819 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34820 Remove comments and hacks for old compiler versions.
34821 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34822 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34823 libc_feholdexceptl.
34825 2011-10-18 Andreas Schwab <schwab@redhat.com>
34827 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34828 (__feraiseexcept_renamed): Add __NTH.
34829 (feraiseexcept): Add __NTH. Rename local variables to fix
34830 namespace violations.
34832 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34834 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34836 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34838 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34839 recently added interfaces.
34840 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34842 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34843 about macro parameter expansion.
34845 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34846 __NO_MATH_INLINES is defined. Cleanups.
34848 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34849 and __floorf is target has SSE4.1.
34850 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34851 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34852 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34853 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34855 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34857 (floorf): Likewise.
34859 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34861 2011-10-17 Andreas Schwab <schwab@redhat.com>
34863 * misc/sys/cdefs.h: Fix last change.
34865 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34868 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34870 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34872 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34873 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34874 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34875 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34876 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34877 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34878 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34879 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34880 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34881 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34882 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34883 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34884 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34885 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34886 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34887 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34888 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34889 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34890 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34891 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34892 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34893 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34895 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34896 ceil, ceilf, floor, floorf.
34898 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34899 Perform IRELATIVE relocations last.
34901 * elf/do-rel.h: Add another parameter nrelative, replacing the
34902 local variable with the same name. Change name of the function
34903 to end in Rel or Rela (uppercase).
34904 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34905 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34906 elf_dynamic_do_##reloc function.
34908 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34910 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34911 is sufficient, at least on modern CPUs.
34913 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34915 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34916 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34918 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34920 * math/bits/math-finite.h: Add entries for exp.
34921 * math/e_expl.c: Add __*_finite alias.
34922 * sysdeps/i386/fpu/e_exp.S: Likewise.
34923 * sysdeps/i386/fpu/e_expf.S: Likewise.
34924 * sysdeps/i386/fpu/e_expl.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34926 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34927 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34928 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34930 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34931 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34933 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34934 is sufficient, at least on modern CPUs.
34936 * ctype/ctype-info.c (__ctype_init): Define.
34937 * include/ctype.h (__ctype_init): Declare.
34938 (__ctype_b_loc): The variable is always initialized.
34939 (__ctype_toupper_loc): Likewise.
34940 (__ctype_tolower_loc): Likewise.
34941 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34942 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34944 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34946 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34948 * configure.in: Also look in $cxxmachine/include for C++ system
34951 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34953 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34954 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34955 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34956 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34957 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34958 (USE_AS_WMEMCMP): New macro.
34960 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34961 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34962 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34963 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34965 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34966 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34967 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34968 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34969 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34970 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34971 (USE_AS_WMEMCMP): New macro.
34972 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34973 * sysdeps/string/test-memcmp.c: Update.
34974 Fix simple_wmemcmp.
34976 * wcsmbs/wmemcmp.c: Update.
34977 (WMEMCMP): New macro.
34980 2011-10-12 Andreas Jaeger <aj@suse.de>
34983 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34985 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34987 * libio/iofwide.c (do_length): Avoid warning.
34989 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34991 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34993 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34995 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34996 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34997 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34998 * sysdeps/i386/i686/fpu/e_log.S: New file.
34999 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35000 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35002 * ctype/ctype.h: Add support for inlined isXXX functions when
35003 compiling C++ code.
35005 2011-10-14 Andreas Schwab <schwab@redhat.com>
35007 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35009 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35011 2011-10-13 Roland McGrath <roland@hack.frob.com>
35014 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35016 2011-10-13 Andreas Schwab <schwab@redhat.com>
35018 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35019 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35022 * sysdeps/x86_64/memrchr.S: Check for zero size.
35024 * string/stratcliff.c: Add memrchr tests.
35026 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35029 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35030 rawmemchr-sse2 rawmemchr-sse2-bsf.
35031 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35032 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35033 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35034 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35035 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35036 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35037 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35038 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35039 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35040 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35041 * string/memrchr.c (MEMRCHR): New macro.
35043 2011-10-12 Ulrich Drepper <drepper@gmail.com>
35045 Add integration with gcc's -ffinite-math-only and optimize wrapper
35047 * Versions.def: Define GLIBC_2.15 version for libm.
35048 * math/Makefile (headers): Add bits/math-finite.h.
35049 * math/bits/math-finite.h: New file.
35050 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35051 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35052 * math/e_acoshl.c: Add __*_finite alias.
35053 * math/e_acosl.c: Likewise.
35054 * math/e_asinl.c: Likewise.
35055 * math/e_atan2l.c: Likewise.
35056 * math/e_atanhl.c: Likewise.
35057 * math/e_coshl.c: Likewise.
35058 * math/e_exp10.c: Likewise.
35059 * math/e_exp10f.c: Likewise.
35060 * math/e_exp10l.c: Likewise.
35061 * math/e_exp2l.c: Likewise.
35062 * math/e_fmodl.c: Likewise.
35063 * math/e_gammal_r.c: Likewise.
35064 * math/e_hypotl.c: Likewise.
35065 * math/e_j0l.c: Likewise.
35066 * math/e_j1l.c: Likewise.
35067 * math/e_jnl.c: Likewise.
35068 * math/e_lgammal_r.c: Likewise.
35069 * math/e_log10l.c: Likewise.
35070 * math/e_log2l.c: Likewise.
35071 * math/e_logl.c: Likewise.
35072 * math/e_powl.c: Likewise.
35073 * math/e_sinhl.c: Likewise.
35074 * math/e_sqrtl.c: Likewise.
35075 * math/e_scalb.c: Completely rewritten and optimized.
35076 * math/e_scalbf.c: Likewise.
35077 * math/e_scalbl.c: Likewise.
35078 * math/w_acos.c: Likewise.
35079 * math/w_acosf.c: Likewise.
35080 * math/w_acosl.c: Likewise.
35081 * math/w_acosh.c: Likewise.
35082 * math/w_acoshf.c: Likewise.
35083 * math/w_acoshl.c: Likewise.
35084 * math/w_asin.c: Likewise.
35085 * math/w_asinf.c: Likewise.
35086 * math/w_asinl.c: Likewise.
35087 * math/w_atan2.c: Likewise.
35088 * math/w_atan2f.c: Likewise.
35089 * math/w_atan2l.c: Likewise.
35090 * math/w_atanh.c: Likewise.
35091 * math/w_atanhf.c: Likewise.
35092 * math/w_atanhl.c: Likewise.
35093 * math/w_exp10.c: Likewise.
35094 * math/w_exp10f.c: Likewise.
35095 * math/w_exp10l.c: Likewise.
35096 * math/w_fmod.c: Likewise.
35097 * math/w_fmodf.c: Likewise.
35098 * math/w_fmodl.c: Likewise.
35099 * math/w_j0.c: Likewise.
35100 * math/w_j0f.c: Likewise.
35101 * math/w_j0l.c: Likewise.
35102 * math/w_j1.c: Likewise.
35103 * math/w_j1f.c: Likewise.
35104 * math/w_j1l.c: Likewise.
35105 * math/w_jn.c: Likewise.
35106 * math/w_jnf.c: Likewise.
35107 * math/w_log.c: Likewise.
35108 * math/w_logf.c: Likewise.
35109 * math/w_logl.c: Likewise.
35110 * math/w_log10.c: Likewise.
35111 * math/w_log10f.c: Likewise.
35112 * math/w_log10l.c: Likewise.
35113 * math/w_log2.c: Likewise.
35114 * math/w_log2f.c: Likewise.
35115 * math/w_log2l.c: Likewise.
35116 * math/w_pow.c: Likewise.
35117 * math/w_powf.c: Likewise.
35118 * math/w_powl.c: Likewise.
35119 * math/w_remainder.c: Likewise.
35120 * math/w_remainderf.c: Likewise.
35121 * math/w_remainderl.c: Likewise.
35122 * math/w_scalb.c: Likewise.
35123 * math/w_scalbf.c: Likewise.
35124 * math/w_scalbl.c: Likewise.
35125 * math/w_sqrt.c: Likewise.
35126 * math/w_sqrtf.c: Likewise.
35127 * math/w_sqrtl.c: Likewise.
35128 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35129 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35131 * math/math_private.h: Declare __kernel_standard_f.
35132 * math/w_cosh.c: Remove cruft and optimize a bit.
35133 * math/w_coshf.c: Likewise.
35134 * math/w_coshl.c: Likewise.
35135 * math/w_exp2.c: Likewise.
35136 * math/w_exp2f.c: Likewise.
35137 * math/w_exp2l.c: Likewise.
35138 * math/w_hypot.c: Likewise.
35139 * math/w_hypotf.c: Likewise.
35140 * math/w_hypotl.c: Likewise.
35141 * math/w_lgamma.c: Likewise.
35142 * math/w_lgamma_r.c: Likewise.
35143 * math/w_lgammaf.c: Likewise.
35144 * math/w_lgammaf_r.c: Likewise.
35145 * math/w_lgammal.c: Likewise.
35146 * math/w_lgammal_r.c: Likewise.
35147 * math/w_sinh.c: Likewise.
35148 * math/w_sinhf.c: Likewise.
35149 * math/w_sinhl.c: Likewise.
35150 * math/w_tgamma.c: Likewise.
35151 * math/w_tgammaf.c: Likewise.
35152 * math/w_tgammal.c: Likewise.
35153 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35154 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35155 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35156 Minor optimizations. Pretty printing. Remove cruft.
35157 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35158 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35159 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35160 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35161 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35162 * sysdeps/i386/fpu/e_asin.S: Likewise.
35163 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35164 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35165 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35166 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35167 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35168 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35169 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35170 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35171 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35172 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35173 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35174 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35175 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35176 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35177 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35178 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35179 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35180 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35181 * sysdeps/i386/fpu/e_log.S: Likewise.
35182 * sysdeps/i386/fpu/e_log10.S: Likewise.
35183 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35184 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35185 * sysdeps/i386/fpu/e_log2.S: Likewise.
35186 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35187 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35188 * sysdeps/i386/fpu/e_logf.S: Likewise.
35189 * sysdeps/i386/fpu/e_logl.S: Likewise.
35190 * sysdeps/i386/fpu/e_pow.S: Likewise.
35191 * sysdeps/i386/fpu/e_powf.S: Likewise.
35192 * sysdeps/i386/fpu/e_powl.S: Likewise.
35193 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35194 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35195 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35196 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35197 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35198 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35199 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35200 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35201 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35202 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35203 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35205 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35206 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35207 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35208 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35209 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35210 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35211 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35212 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35213 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35214 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35215 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35216 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35218 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35219 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35220 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35222 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35223 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35224 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35225 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35226 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35227 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35228 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35229 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35230 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35231 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35232 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35233 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35234 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35235 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35236 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35237 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35238 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35239 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35240 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35241 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35242 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35243 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35244 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35245 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35247 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35248 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35249 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35250 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35252 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35253 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35254 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35255 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35257 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35258 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35259 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35260 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35261 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35262 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35263 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35264 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35266 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35267 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35268 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35270 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35271 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35272 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35273 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35274 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35275 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35276 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35277 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35278 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35279 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35280 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35281 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35282 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35283 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35284 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35285 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35286 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35287 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35288 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35289 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35290 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35291 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35292 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35293 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35294 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35295 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35296 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35297 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35298 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35299 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35300 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35301 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35302 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35303 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35304 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35305 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35306 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35307 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35308 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35309 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35310 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35311 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35312 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35313 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35314 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35315 (__isnanf): Likewise.
35316 (__isinf_ns): Likewise.
35317 (__isinf_nsf): Likewise.
35318 (__finite): Likewise.
35319 (__finitef): Likewise.
35320 (__ieee754_sqrt): Define as macro.
35321 (__ieee754_sqrtf): Define as macro.
35322 (__ieee754_sqrtl): Define as macro.
35323 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35325 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35326 __FINITE_MATH_ONLY__ consistent.
35327 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35329 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35331 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35334 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35336 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35338 * po/ja.po: Update from translation team.
35340 2011-10-08 Roland McGrath <roland@hack.frob.com>
35342 * locale/programs/locarchive.c (prepare_address_space): New function.
35343 (create_archive, enlarge_archive, open_archive): Use it.
35345 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35346 inside [SHARED], where it is used.
35348 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35350 * nss/getent.c (netgroup_keys): Remove unused variable.
35351 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35353 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35355 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35356 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35358 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35359 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35360 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35361 * math/Makefile (libm-calls): Add s_isinf_ns.
35362 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35363 * math/multc3.c: Likewise.
35364 * math/s_casin.c: Likewise.
35365 * math/s_casinf.c: Likewise.
35366 * math/s_casinl.c: Likewise.
35367 * math/s_ccos.c: Likewise.
35368 * math/s_ccosf.c: Likewise.
35369 * math/s_ccosl.c: Likewise.
35370 * math/s_ctan.c: Likewise.
35371 * math/s_ctanf.c: Likewise.
35372 * math/s_ctanh.c: Likewise.
35373 * math/s_ctanhf.c: Likewise.
35374 * math/s_ctanhl.c: Likewise.
35375 * math/s_ctanl.c: Likewise.
35376 * math/w_fmod.c: Likewise.
35377 * math/w_fmodf.c: Likewise.
35378 * math/w_fmodl.c: Likewise.
35379 * math/w_remainder.c: Likewise.
35380 * math/w_remainderf.c: Likewise.
35381 * math/w_remainderl.c: Likewise.
35382 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35383 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35384 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35386 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35387 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35388 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35389 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35391 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35393 * stdio-common/printf_fphex.c: Likewise.
35394 * stdio-common/printf_size.c: Likewise.
35396 * math/e_exp10.c: Include math_private.h using <...> not "...".
35397 * math/e_exp10f.c: Likewise.
35398 * math/e_exp10l.c: Likewise.
35399 * math/e_exp2l.c: Likewise.
35400 * math/e_j0l.c: Likewise.
35401 * math/e_j1l.c: Likewise.
35402 * math/e_jnl.c: Likewise.
35403 * math/e_lgammal_r.c: Likewise.
35404 * math/e_rem_pio2l.c: Likewise.
35405 * math/e_scalb.c: Likewise.
35406 * math/e_scalbf.c: Likewise.
35407 * math/e_scalbl.c: Likewise.
35408 * math/k_cosl.c: Likewise.
35409 * math/k_sinl.c: Likewise.
35410 * math/k_tanl.c: Likewise.
35411 * math/s_cacoshf.c: Likewise.
35412 * math/s_catan.c: Likewise.
35413 * math/s_catanf.c: Likewise.
35414 * math/s_catanh.c: Likewise.
35415 * math/s_catanhf.c: Likewise.
35416 * math/s_catanhl.c: Likewise.
35417 * math/s_catanl.c: Likewise.
35418 * math/s_ccosh.c: Likewise.
35419 * math/s_ccoshf.c: Likewise.
35420 * math/s_ccoshl.c: Likewise.
35421 * math/s_cexp.c: Likewise.
35422 * math/s_cexpf.c: Likewise.
35423 * math/s_cexpl.c: Likewise.
35424 * math/s_clog.c: Likewise.
35425 * math/s_clog10.c: Likewise.
35426 * math/s_clog10f.c: Likewise.
35427 * math/s_clog10l.c: Likewise.
35428 * math/s_clogf.c: Likewise.
35429 * math/s_clogl.c: Likewise.
35430 * math/s_csin.c: Likewise.
35431 * math/s_csinf.c: Likewise.
35432 * math/s_csinh.c: Likewise.
35433 * math/s_csinhf.c: Likewise.
35434 * math/s_csinhl.c: Likewise.
35435 * math/s_csinl.c: Likewise.
35436 * math/s_csqrt.c: Likewise.
35437 * math/s_csqrtf.c: Likewise.
35438 * math/s_csqrtl.c: Likewise.
35439 * math/s_ctan.c: Likewise.
35440 * math/s_ctanf.c: Likewise.
35441 * math/s_ctanh.c: Likewise.
35442 * math/s_ctanhf.c: Likewise.
35443 * math/s_ctanhl.c: Likewise.
35444 * math/s_ctanl.c: Likewise.
35445 * math/s_ldexp.c: Likewise.
35446 * math/s_ldexpf.c: Likewise.
35447 * math/s_ldexpl.c: Likewise.
35448 * math/s_significand.c: Likewise.
35449 * math/s_significandf.c: Likewise.
35450 * math/s_significandl.c: Likewise.
35451 * math/w_acos.c: Likewise.
35452 * math/w_acosf.c: Likewise.
35453 * math/w_acosh.c: Likewise.
35454 * math/w_acoshf.c: Likewise.
35455 * math/w_acoshl.c: Likewise.
35456 * math/w_acosl.c: Likewise.
35457 * math/w_asin.c: Likewise.
35458 * math/w_asinf.c: Likewise.
35459 * math/w_asinl.c: Likewise.
35460 * math/w_atan2.c: Likewise.
35461 * math/w_atan2f.c: Likewise.
35462 * math/w_atan2l.c: Likewise.
35463 * math/w_atanh.c: Likewise.
35464 * math/w_atanhf.c: Likewise.
35465 * math/w_atanhl.c: Likewise.
35466 * math/w_cosh.c: Likewise.
35467 * math/w_coshf.c: Likewise.
35468 * math/w_coshl.c: Likewise.
35469 * math/w_dremf.c: Likewise.
35470 * math/w_exp10.c: Likewise.
35471 * math/w_exp10f.c: Likewise.
35472 * math/w_exp10l.c: Likewise.
35473 * math/w_exp2.c: Likewise.
35474 * math/w_exp2f.c: Likewise.
35475 * math/w_fmod.c: Likewise.
35476 * math/w_fmodf.c: Likewise.
35477 * math/w_fmodl.c: Likewise.
35478 * math/w_hypot.c: Likewise.
35479 * math/w_hypotf.c: Likewise.
35480 * math/w_hypotl.c: Likewise.
35481 * math/w_j0.c: Likewise.
35482 * math/w_j0f.c: Likewise.
35483 * math/w_j0l.c: Likewise.
35484 * math/w_j1.c: Likewise.
35485 * math/w_j1f.c: Likewise.
35486 * math/w_j1l.c: Likewise.
35487 * math/w_jn.c: Likewise.
35488 * math/w_jnf.c: Likewise.
35489 * math/w_jnl.c: Likewise.
35490 * math/w_lgamma.c: Likewise.
35491 * math/w_lgamma_r.c: Likewise.
35492 * math/w_lgammaf.c: Likewise.
35493 * math/w_lgammaf_r.c: Likewise.
35494 * math/w_lgammal.c: Likewise.
35495 * math/w_lgammal_r.c: Likewise.
35496 * math/w_log.c: Likewise.
35497 * math/w_log10.c: Likewise.
35498 * math/w_log10f.c: Likewise.
35499 * math/w_log10l.c: Likewise.
35500 * math/w_log2.c: Likewise.
35501 * math/w_log2f.c: Likewise.
35502 * math/w_log2l.c: Likewise.
35503 * math/w_logf.c: Likewise.
35504 * math/w_logl.c: Likewise.
35505 * math/w_pow.c: Likewise.
35506 * math/w_powf.c: Likewise.
35507 * math/w_powl.c: Likewise.
35508 * math/w_remainder.c: Likewise.
35509 * math/w_remainderf.c: Likewise.
35510 * math/w_remainderl.c: Likewise.
35511 * math/w_scalb.c: Likewise.
35512 * math/w_scalbf.c: Likewise.
35513 * math/w_scalbl.c: Likewise.
35514 * math/w_sinh.c: Likewise.
35515 * math/w_sinhf.c: Likewise.
35516 * math/w_sinhl.c: Likewise.
35517 * math/w_sqrt.c: Likewise.
35518 * math/w_sqrtf.c: Likewise.
35519 * math/w_sqrtl.c: Likewise.
35520 * math/w_tgamma.c: Likewise.
35521 * math/w_tgammaf.c: Likewise.
35522 * math/w_tgammal.c: Likewise.
35524 * po/ja.po: Update from translation team.
35526 2011-09-29 Andreas Jaeger <aj@suse.de>
35529 * sunrpc/netname.c (netname2host): Fix logic.
35533 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35535 * math/w_remainder.c (__remainder): Likewise.
35536 * math/w_remainderf.c (__remainderf): Likewise.
35537 * math/libm-test.inc (remainder_test): Add test cases.
35539 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35541 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35544 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35546 * string/test-memcmp.c: Avoid unncessary #defines.
35547 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35549 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35551 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35552 Use new sse2 version for core i3 - i7 as it's faster
35553 than sse42 version.
35554 (bit_Prefer_PMINUB_for_stringop): New.
35555 * sysdeps/x86_64/rawmemchr.S: Update.
35556 Replace with faster SSE2 version.
35557 * sysdeps/x86_64/memrchr.S: New file.
35558 * sysdeps/x86_64/memchr.S: Update.
35559 Replace with faster SSE2 version.
35561 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35563 * elf/dl-load.c (lose): Add cast to avoid warning.
35565 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35567 * po/ca.po: Update from translation team.
35569 * inet/getnetgrent_r.c: Hook up nscd.
35570 * nscd/Makefile (routines): Add nscd_netgroup.
35571 (nscd-modules): Add netgroupcache.
35572 (CFLAGS-netgroupcache.c): Define.
35573 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35574 (cache_search): Add const to second parameter.
35575 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35577 (dbs): Add netgrdb entry.
35578 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35579 (verify_persistent_db): Handle netgrdb.
35580 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35581 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35583 (netgroup_response_header): Define.
35584 (innetgroup_response_header): Define.
35585 (datahead): Add netgroup_response_header and innetgroup_response_header
35587 * nscd/nscd.conf: Add entries for netgroup cache.
35588 * nscd/nscd.h (dbtype): Add netgrdb.
35589 (_PATH_NSCD_NETGROUP_DB): Define.
35590 (netgroup_iov_disabled): Declare.
35591 (xmalloc, xcalloc, xrealloc): Move declarations here.
35592 (cache_search): Adjust prototype.
35593 Add netgroup-related prototypes.
35594 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35595 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35596 (__nscd_innetgr): Declare.
35597 * nscd/selinux.c (perms): Use access_vector_t as element type and
35598 add netgroup-related initializers.
35599 * nscd/netgroupcache.c: New file.
35600 * nscd/nscd_netgroup.c: New file.
35601 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35602 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35603 For four parameters use innetgr.
35604 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35605 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35606 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35607 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35609 * nscd/connections.c (register_traced_file): Don't register file
35610 for disabled databases.
35612 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35614 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35616 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35617 from tree and freeing node.
35619 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35621 * nss/nsswitch.c (__nss_database_lookup): Handle
35622 nss_parse_service_list out of memory case.
35624 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35626 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35627 out of memory case.
35629 2011-10-04 Andreas Schwab <schwab@redhat.com>
35631 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35632 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35634 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35635 elf_machine_rela, elf_machine_lazy_rel.
35636 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35637 (ELF_DYNAMIC_DO_REL): Likewise.
35638 (ELF_DYNAMIC_DO_RELA): Likewise.
35639 (ELF_DYNAMIC_RELOCATE): Likewise.
35640 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35641 to ELF_DYNAMIC_DO_REL.
35642 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35643 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35644 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35646 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35647 skip_ifunc, don't call ifunc function if non-zero.
35648 (elf_machine_rela): Likewise.
35649 (elf_machine_lazy_rel): Likewise.
35650 (elf_machine_lazy_rela): Likewise.
35651 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35652 (elf_machine_lazy_rel): Likewise.
35653 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35655 (elf_machine_lazy_rel): Likewise.
35656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35658 (elf_machine_lazy_rel): Likewise.
35659 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35660 (elf_machine_lazy_rel): Likewise.
35661 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35662 (elf_machine_lazy_rel): Likewise.
35663 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35664 (elf_machine_lazy_rel): Likewise.
35665 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35666 (elf_machine_lazy_rel): Likewise.
35667 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35668 (elf_machine_lazy_rel): Likewise.
35669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35670 (elf_machine_lazy_rel): Likewise.
35672 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35674 * nss/nss_files/files-init.c (_nss_files_init): Use static
35675 initialization for all the *_traced_file variables.
35677 2011-09-28 Andreas Schwab <schwab@redhat.com>
35679 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35681 2011-09-27 Roland McGrath <roland@hack.frob.com>
35684 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35686 2011-09-27 Andreas Schwab <schwab@redhat.com>
35688 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35689 Reread the line before reparsing it.
35691 2011-09-26 Andreas Schwab <schwab@redhat.com>
35693 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35695 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35696 Maxim Kuvyrkov <maxim@codesourcery.com>
35697 Joseph Myers <joseph@codesourcery.com>
35699 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35700 if needed for __stack_chk_guard.
35702 2011-09-19 Roland McGrath <roland@hack.frob.com>
35704 * sysdeps/posix/spawni.c (script_execute): Always define it.
35705 It will be optimized away if unused.
35706 (maybe_script_execute): New function.
35707 (__spawni): Call it.
35709 * Makerules: Don't include tls.make.
35710 (config-tls): Always set to thread.
35711 * tls.make.c: File removed.
35713 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35715 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35716 * config.make.in (CPPFLAGS-config): New substituted variable.
35718 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35720 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35723 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35724 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35726 2011-09-15 Roland McGrath <roland@hack.frob.com>
35728 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35729 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35730 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35731 (CALL_FAIL): Likewise.
35732 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35733 (CALL_FAIL): Macro removed.
35734 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35736 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35738 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35739 for __FINITE_MATH_ONLY__ == 1.
35741 2011-09-15 Andreas Schwab <schwab@redhat.com>
35743 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35744 __ieee754_sqrt instead of sqrt.
35745 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35746 __ieee754_sqrtf instead of sqrtf.
35747 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35748 __floorf instead of floorf.
35749 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35750 __floorf, __truncf instead of floorf, truncf.
35752 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35754 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35756 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35757 __extern_always_inline.
35758 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35761 2011-09-14 Andreas Schwab <schwab@redhat.com>
35763 * elf/rtld.c (dl_main): Also relocate in dependency order when
35764 doing symbol dependency testing.
35766 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35768 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35769 Always define `refsym'.
35771 2011-09-13 Andreas Schwab <schwab@redhat.com>
35773 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35774 (__FD_ELT): Renamed from __FDELT.
35775 * misc/bits/select2.h (__FD_ELT): Likewise.
35776 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35777 __FD_MASK instead of __FDELT, __FDMASK.
35778 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35780 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35783 * elf/Makefile (gen-ldd): Fix pattern.
35785 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35786 (init_tls): Likewise.
35788 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35790 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35792 2011-09-12 Andreas Schwab <schwab@redhat.com>
35794 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35795 `struct cmsghdr *' instead of `void *'.
35796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35799 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35801 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35803 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35804 ldd_rewrite_script.
35806 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35808 * configure.in: Remove --with-tls option.
35809 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35810 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35811 out in case it is missing.
35812 * sysdeps/ia64/elf/configure.in: Likewise.
35813 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35814 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35815 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35816 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35817 * sysdeps/sh/elf/configure.in: Likewise.
35818 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35819 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35820 * sysdeps/x86_64/elf/configure.in: Likewise.
35821 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35822 * sysdeps/mach/hurd/tls.h: Likewise.
35825 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35828 * configure.in: Fix use of AC_INIT.
35830 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35832 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35834 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35836 * malloc/hooks.c: Likewise.
35839 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35840 variables statically.
35841 (narenas): Initialize.
35842 (list_lock): Initialize.
35843 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35844 initializtion of main_arena and list_lock. Small cleanups.
35845 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35846 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35847 Add initializers to main_arena and mp_.
35848 (malloc_state): Remove pagesize member. Change all users to use
35851 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35852 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35853 is always initialized.
35855 * malloc/malloc.c: Removed unused configurations and dead code.
35856 * malloc/arena.c: Likewise.
35857 * malloc/hooks.c: Likewise.
35858 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35860 * include/tls.h: Removed. USE___THREAD must always be defined.
35861 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35862 * elf/dl-libc.c: Likewise.
35863 * elf/dl-tsd.c: Likewise.
35864 * include/errno.h: Likewise.
35865 * include/netdb.h: Likewise.
35866 * include/resolv.h: Likewise.
35867 * inet/herrno-loc.c: Likewise.
35868 * inet/herrno.c: Likewise.
35869 * malloc/arena.c: Likewise.
35870 * malloc/hooks.c: Likewise.
35871 * malloc/malloc.c: Likewise.
35872 * resolv/res-state.c: Likewise.
35873 * resolv/res_libc.c: Likewise.
35874 * sysdeps/i386/dl-machine.h: Likewise.
35875 * sysdeps/ia64/dl-machine.h: Likewise.
35876 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35877 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35878 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35879 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35880 * sysdeps/sh/dl-machine.h: Likewise.
35881 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35882 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35883 * sysdeps/unix/i386/sysdep.S: Likewise.
35884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35885 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35887 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35889 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35890 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35894 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35895 * sysdeps/x86_64/dl-machine.h: Likewise.
35896 * tls.make.c: Likewise.
35898 * configure.in: Remove --with-__thread option. Make tests for
35899 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35900 tls_model attribute fail if no support is available. Remove
35902 * Makeconfig: Adjust for dropped configure option. All features are
35904 * Makerules: Likewise.
35905 * Versions.def: Likewise.
35906 * argp/argp-fmtstream.c: Likewise.
35907 * argp/argp-fmtstream.h: Likewise.
35908 * argp/argp-help.c: Likewise.
35909 * assert/assert.c: Likewise.
35910 * config.h.in: Likewise.
35911 * config.make.in: Likewise.
35912 * configure: Likewise.
35913 * configure.in: Likewise.
35914 * csu/Versions: Likewise.
35915 * csu/init.c: Likewise.
35916 * elf/tst-audit2.c: Likewise.
35917 * elf/tst-tls10.c: Likewise.
35918 * elf/tst-tls10.h: Likewise.
35919 * elf/tst-tls11.c: Likewise.
35920 * elf/tst-tls12.c: Likewise.
35921 * elf/tst-tls14.c: Likewise.
35922 * elf/tst-tlsmod11.c: Likewise.
35923 * elf/tst-tlsmod12.c: Likewise.
35924 * elf/tst-tlsmod13.c: Likewise.
35925 * elf/tst-tlsmod13a.c: Likewise.
35926 * elf/tst-tlsmod14a.c: Likewise.
35927 * elf/tst-tlsmod15b.c: Likewise.
35928 * elf/tst-tlsmod16a.c: Likewise.
35929 * elf/tst-tlsmod16b.c: Likewise.
35930 * elf/tst-tlsmod7.c: Likewise.
35931 * elf/tst-tlsmod8.c: Likewise.
35932 * elf/tst-tlsmod9.c: Likewise.
35933 * gmon/gmon.c: Likewise.
35934 * grp/fgetgrent_r.c: Likewise.
35935 * grp/putgrent.c: Likewise.
35936 * hurd/fopenport.c: Likewise.
35937 * include/libc-symbols.h: Likewise.
35938 * include/tls.h: Likewise.
35939 * intl/gettextP.h: Likewise.
35940 * intl/loadinfo.h: Likewise.
35941 * locale/global-locale.c: Likewise.
35942 * locale/localeinfo.h: Likewise.
35943 * mach/devstream.c: Likewise.
35944 * malloc/arena.c: Likewise.
35945 * malloc/set-freeres.c: Likewise.
35946 * misc/err.c: Likewise.
35947 * misc/getttyent.c: Likewise.
35948 * misc/mntent_r.c: Likewise.
35949 * posix/getopt.c: Likewise.
35950 * posix/wordexp.c: Likewise.
35951 * pwd/fgetpwent_r.c: Likewise.
35952 * resolv/Versions: Likewise.
35953 * resolv/res_hconf.c: Likewise.
35954 * shadow/fgetspent_r.c: Likewise.
35955 * shadow/putspent.c: Likewise.
35956 * stdio-common/printf_fphex.c: Likewise.
35957 * stdio-common/tmpfile.c: Likewise.
35958 * stdlib/abort.c: Likewise.
35959 * stdlib/fmtmsg.c: Likewise.
35960 * sunrpc/auth_unix.c: Likewise.
35961 * sunrpc/clnt_perr.c: Likewise.
35962 * sunrpc/clnt_tcp.c: Likewise.
35963 * sunrpc/clnt_udp.c: Likewise.
35964 * sunrpc/clnt_unix.c: Likewise.
35965 * sunrpc/openchild.c: Likewise.
35966 * sunrpc/svc_simple.c: Likewise.
35967 * sunrpc/svc_tcp.c: Likewise.
35968 * sunrpc/svc_udp.c: Likewise.
35969 * sunrpc/svc_unix.c: Likewise.
35970 * sunrpc/xdr.c: Likewise.
35971 * sunrpc/xdr_array.c: Likewise.
35972 * sunrpc/xdr_rec.c: Likewise.
35973 * sunrpc/xdr_ref.c: Likewise.
35974 * sunrpc/xdr_stdio.c: Likewise.
35976 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35978 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35980 2011-07-03 Andreas Jaeger <aj@suse.de>
35982 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35983 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35984 regenerate with gen-libm-tests.pl.
35986 2010-05-12 Petr Baudis <pasky@suse.cz>
35989 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35990 around j0() zero points by switching to j1().
35991 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35992 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35996 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35998 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36000 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36003 Patch in part by Pavel Roskin <proski@gnu.org>.
36006 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36008 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36009 Free memory block if necessary.
36012 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36013 be NULL. Don't lock in this case.
36015 2011-09-09 Roland McGrath <roland@hack.frob.com>
36017 * elf/elf.h (ELFOSABI_GNU): New macro.
36018 (ELFOSABI_LINUX): Define to that.
36020 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36022 * string/strncat.c (strncat): Undef the symbol in case it has been
36023 defined in bits/string.h.
36025 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36027 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36029 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36032 2011-08-17 Andreas Jaeger <aj@suse.de>
36034 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36036 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36037 Ian Lance Taylor <iant@google.com>
36039 * math/libm-test.inc (lround_test): New testcase.
36040 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36042 2011-09-08 Ulrich Drepper <drepper@gmail.com>
36044 * Makefile: Remove support for automatic cvs check-ins.
36045 * Makerules: Likewise.
36046 * config.make.in: Likewise.
36047 * configure.in: Likewise.
36048 * intl/Makefile: Likewise.
36049 * locale/Makefile: Likewise.
36050 * po/Makefile: Likewise.
36051 * posix/Makefile: Likewise.
36052 * sysdeps/gnu/Makefile: Likewise.
36053 * sysdeps/mach/hurd/Makefile: Likewise.
36054 * sysdeps/sparc/sparc32/Makefile: Likewise.
36057 * posix/Makefile (bug-regex32-ENV): Define.
36058 Patch by John Stanley <jpsinthemix@verizon.net>.
36060 * misc/Makefile (headers): Add bits/select2.h.
36061 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36062 * misc/bits/select2.h: New file.
36063 * include/bits/select2.h: New file.
36064 * debug/Makefile (routines): Add fdelt_chk.
36065 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36066 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36068 * debug/fdelt_chk.c: New file.
36070 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36071 * wcsmbs/test-wmemcmp.c: Likewise.
36072 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36073 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36075 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36077 * string/Makefile (strop-tests): Add memcmp.
36078 * string/test-wmemcmp.c: New file.
36079 * string/test-memcmp.c: Add wmemcmp support.
36081 2011-09-08 Roland McGrath <roland@hack.frob.com>
36084 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36087 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36088 garbage value in a __mach_port_mod_refs call in the cases of the
36089 task-self and thread-self ports.
36091 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36093 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36095 2011-09-08 Andreas Schwab <schwab@redhat.com>
36097 * elf/dl-load.c (lose): Check for non-null L.
36099 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36101 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36103 * elf/dl-libc.c (dlerror_run): Pass back error code from
36107 * elf/dl-load.c (lose): Free l_origin if it is valid.
36109 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36111 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36112 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36114 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36115 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36116 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36118 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36120 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36121 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36122 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36123 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36124 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36125 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36126 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36127 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36128 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36129 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36131 2011-08-15 Alan Modra <amodra@gmail.com>
36134 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36135 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36136 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36137 ppc_mcount to static-only-routines.
36138 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36140 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36141 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36143 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36145 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36146 for finite and infinity parameters.
36148 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36150 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36151 and add nop instructions for throughput optimization.
36152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36154 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36156 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36157 aligned copy for power7 with vector-scalar instructions.
36158 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36160 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36162 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36165 2011-09-07 Andreas Schwab <schwab@redhat.com>
36168 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36171 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36173 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36174 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36175 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36176 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36179 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36181 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36182 Forgot to demangle the pointer.
36184 * sysdeps/i386/sysdep.h: Define atom_text_section.
36185 * sysdeps/x86_64/sysdep.h: Likewise.
36186 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36187 section with atom_text_section.
36188 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36189 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36190 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36192 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36194 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36195 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36196 already be defined. Change to take two parameters and don't assign
36197 result to variable. Adjust all users.
36198 Define INTERNAL_GETTIME if not already defined.
36199 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36202 HAVE_CLOCK_GETTIME_VSYSCALL.
36203 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36206 gettimeofday vsyscall, just use time.
36208 2011-09-06 Andreas Schwab <schwab@redhat.com>
36210 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36213 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36215 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36219 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36220 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36221 syscall if possible.
36223 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36225 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36226 e_ident. Don't pass to find_mapsXX.
36227 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36229 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36232 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36233 * sysdeps/x86_64/multiarch/strchr.S: Update.
36234 Check bit_slow_BSF bit.
36235 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36236 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36237 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36239 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36242 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36244 (tryshell): Define.
36245 (__spawni): Change last parameter to be flag. Test
36246 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36247 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36248 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36249 * posix/spawni.c: Likewise.
36250 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36251 * posix/spawnp.c: Likewise. Change normal version to use
36252 SPAWN_XFLAGS_USE_PATH.
36253 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36254 SPAWN_XFLAGS_TRY_SHELL.
36257 * posix/glob.h: Remove gcc 1.x support.
36260 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36262 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36264 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36265 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36267 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36268 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36269 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36270 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36271 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36272 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36274 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36276 * sysdeps/x86_64/wcscmp.S: New file.
36278 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36279 wcscmp-c wcscmp-sse2
36280 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36281 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36282 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36283 * wcsmbs/wcscmp.c: Allow renaming.
36285 2011-09-05 David S. Miller <davem@davemloft.net>
36287 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36288 stack slot, rather than the struct return pointer slot.
36289 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36290 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36292 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36294 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36296 * po/ja.po: Update from translation team.
36299 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36300 kernel in 64-bit binaries.
36302 2011-09-01 David S. Miller <davem@davemloft.net>
36304 * elf/elf.h (HWCAP_SPARC_*): Move to..
36305 * sysdeps/sparc/sysdep.h: this new file and add new values.
36306 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36307 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36308 _DL_HWCAP_COUNT to 24.
36309 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36311 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36312 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36313 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36315 instead of magic constants.
36316 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36318 2011-08-31 David S. Miller <davem@davemloft.net>
36320 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36322 Reimplement to do errno handling inline.
36323 (SYSCALL_ERROR_HANDLER): New macro.
36324 (__SYSCALL_STRING): Do not do errno handling in asm.
36325 (__CLONE_SYSCALL_STRING): Delete.
36326 (__INTERNAL_SYSCALL_STRING): Delete.
36327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36328 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36329 (PSEUDO): Reimplement to do errno handling inline.
36330 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36331 (SYSCALL_ERROR_HANDLER): New macro.
36332 (__SYSCALL_STRING): Do not do errno handling in asm.
36333 (__CLONE_SYSCALL_STRING): Delete.
36334 (__INTERNAL_SYSCALL_STRING): Delete.
36335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36336 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36338 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36339 (inline_syscall*): Add 'err' argument.
36340 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36341 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36342 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36343 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36345 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36346 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36348 2011-08-30 Andreas Schwab <schwab@redhat.com>
36350 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36352 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36354 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36357 2011-08-24 David S. Miller <davem@davemloft.net>
36359 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36361 2011-08-24 Andreas Schwab <schwab@redhat.com>
36363 * elf/Makefile: Add rules to build and run unload8 test.
36364 * elf/unload8.c: New file.
36365 * elf/unload8mod1.c: New file.
36366 * elf/unload8mod1x.c: New file.
36367 * elf/unload8mod2.c: New file.
36368 * elf/unload8mod3.c: New file.
36370 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36373 2011-08-23 David S. Miller <davem@davemloft.net>
36375 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36376 subtract stack bias.
36377 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36378 %sp not %fp in calculations.
36379 (_JMPBUF_UNWINDS_ADJ): Likewise.
36381 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36382 (aio_suspend): Call it to force an exception region around the
36383 AIO_MISC_WAIT() invocation.
36385 2011-08-23 Andreas Schwab <schwab@redhat.com>
36387 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36390 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36392 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36394 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36395 and <dl-machine.h>.
36396 (Elf64_FuncDesc): Remove.
36398 2011-08-22 David S. Miller <davem@davemloft.net>
36400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36401 sigaltstack check, add missing cfi directives.
36402 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36403 missing cfi directives, and sigaltstack handling.
36405 2011-08-16 Andreas Schwab <schwab@redhat.com>
36408 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36409 object is seen twice.
36410 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36412 * elf/Makefile (distribute): Add tst-initorder2.c.
36413 (tests): Add tst-initorder2.
36414 (modules-names): Add tst-initorder2a tst-initorder2b
36415 tst-initorder2c tst-initorder2d. Add rules to build them.
36416 ($(objpfx)tst-initorder2.out): New rule.
36417 * elf/tst-initorder2.c: New file.
36418 * elf/tst-initorder2.exp: New file.
36420 2011-08-22 Andreas Schwab <schwab@redhat.com>
36422 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36424 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36425 dependencies back to end of function.
36427 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36428 $(elfobjdir)/ld.so.
36430 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36433 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36435 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36436 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36437 of __vdso_gettimeofday.
36438 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36439 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36441 (_libc_vdso_platform_setup): Remove initialization of
36442 __vdso_gettimeofday and __vdso_time.
36444 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36446 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36447 and fgetc_unlocked.
36448 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36451 * elf/dl-open.c (add_to_global): Report additions to the global scope
36452 for LD_DEBUG=scopes.
36453 (dl_open_worker): Also print scope of newly loaded dependencies.
36454 (_dl_show_scope): Indicate if there is no scope.
36457 * stdio-common/Makefile (tests): Add bug24.
36458 * stdio-common/bug24.c: New file.
36460 2011-08-19 Andreas Jaeger <aj@suse.de>
36463 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36464 non-existant file when using close-on-exec mode.
36466 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36468 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36469 the very first instruction.
36471 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36472 the CFI state in the end.
36473 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36474 inclusion of dl-trampoline.h.
36475 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36477 2011-08-19 Andreas Schwab <schwab@redhat.com>
36479 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36480 expectations for long double.
36482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36483 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36485 2011-08-14 David S. Miller <davem@davemloft.net>
36487 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36488 artificual limit depends upon the system page size.
36490 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36492 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36493 * resolv/Makefile: Define CFLAGS-libresolv.
36495 2011-08-17 Andreas Schwab <schwab@redhat.com>
36497 * nss/makedb.c (compute_tables): Make variables used in nested
36500 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36502 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36503 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36504 if buffer was too small.
36506 * elf/pldd.c (main): Attach to all threads in the process.
36507 Rewrite /proc handling to use *at functions.
36509 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36511 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36512 specifies first scope to show.
36513 (dl_open_worker): Update callers. Move printing scope of new
36514 object to before the relocation.
36515 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36516 * sysdeps/generic/ldsodefs.h: Update declaration.
36518 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36519 string for the scope number.
36521 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36523 * nscd/servicescache.c (cache_addserv): Make sure written is always
36526 2011-08-14 Roland McGrath <roland@hack.frob.com>
36528 * sysdeps/i386/i486/bits/atomic.h
36529 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36530 statement expression, so as to suppress "set but not used" warning.
36531 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36533 * string/strncat.c (STRNCAT): Use prototype definition.
36535 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36536 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36538 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36539 (localedef-modules): Add localedef.
36540 (locale-modules): Add locale.
36542 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36543 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36544 to avoid a warning.
36546 2011-08-14 David S. Miller <davem@davemloft.net>
36548 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36549 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36551 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36553 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36554 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36555 * elf/rtld.c (dl_main): Set l_name of vDSO.
36556 Call _dl_show_scope when DL_DEBUG_SCOPES.
36557 (process_dl_debug): Recognize scopes flag and also set it for all.
36558 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36559 Declare _dl_show_scope.
36561 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36562 (do_dlopen): Pass caller_dlopen to dl_open.
36563 (__libc_dlopen_mode): Initialize caller_dlopen.
36565 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36566 of libc. Make tolower call locale-independent. Optimize a bit by
36567 using isdigit instead of isalnum.
36568 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36570 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36572 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36573 was a dependency or dynamically loaded.
36575 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36577 * intl/l10nflist.c: Allow architecture-specific pop function.
36578 * sysdeps/x86_64/l10nflist.c: New file.
36580 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36583 2011-08-10 Andreas Schwab <schwab@redhat.com>
36585 * include/dirent.h: Add libc_hidden_proto for scandirat and
36586 scandirat64. Don't declare __scandirat64.
36587 * dirent/scandirat.c: Add libc_hidden_def.
36588 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36589 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36591 2011-08-10 David S. Miller <davem@davemloft.net>
36593 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36596 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36597 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36599 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36601 * Versions.def [libc]: Add GLIBC_2.15.
36602 * dirent/Makefile (routines): Add scandirat and scandirat64.
36603 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36605 * dirent/dirent.h: Declare scandirat and scandirat64.
36606 * dirent/scandirat.c: New file.
36607 * dirent/scandirat64.c: New file.
36608 * sysdeps/wordsize-64/scandirat.c: New file.
36609 * sysdeps/wordsize-64/scandirat64.c: New file.
36610 * dirent/opendir.c: Define opendirat.
36611 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36613 * dirent/scandir64.c: Adjust for scandir.c change.
36614 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36615 __scandirat64, and __scandir_cancel_handler.
36616 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36617 additional parameter and use openat instead of open (outside of ld.so).
36618 Add new __opendir as wrapper around __opendirat.
36619 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36620 here without requiring old scandirat implementation.
36622 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36624 * dirent/scandir.c (cancel_handler): Renamed to
36625 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36626 defined. Adjust users.
36627 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36628 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36630 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36632 * string/test-string.h (IMPL): Use __STRING to expand name and then
36635 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36638 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36640 * string/Makefile: Update.
36641 (strop-tests): Append strncat.
36642 * string/test-wcscmp.c: New file.
36643 New comprehensive test for wcscmp.
36644 * string/test-strcmp.c: Update.
36645 (WIDE): New define.
36647 2011-07-22 Andreas Schwab <schwab@redhat.com>
36649 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36652 2011-07-26 Andreas Schwab <schwab@redhat.com>
36654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36655 encoding to ACE if AI_IDN.
36657 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36659 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36660 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36662 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36664 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36665 Fix overflow bug in strncat.
36666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36668 * string/test-strncat.c: Update.
36669 Add new tests for checking overflow bugs.
36671 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36674 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36675 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36676 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36677 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36678 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36679 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36680 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36681 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36684 (USE_AS_STRCAT): Define.
36685 Add strcat and strncat support.
36686 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36688 2011-07-25 Andreas Schwab <schwab@redhat.com>
36690 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36691 __n bigger than INT_MAX+1.
36692 (__strncmp_g): Likewise.
36694 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36696 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36697 * libio/stido.h: Likewise.
36699 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36704 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36705 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36706 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36707 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36711 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36716 (_dl_x86_64_save_sse): Likewise.
36718 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36722 (_dl_x86_64_save_sse): Likewise.
36724 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36726 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36728 2011-07-21 Andreas Schwab <schwab@redhat.com>
36730 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36732 (_dl_x86_64_save_sse): Use correct AVX check.
36734 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36736 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36737 bug in strncpy/strncat.
36738 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36740 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36742 * string/tester.c (test_strcat): Add tests for different alignments
36743 of source and destination.
36744 (test_strncat): Likewise.
36746 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36749 * posix/glob.c (glob): Check passed in values before using them in
36750 expressions to avoid some overflows.
36751 (glob_in_dir): Likewise.
36754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36755 check for AVX enablement so that we don't crash with old kernels and
36757 * elf/tst-audit4.c: Add same checks here.
36758 * elf/tst-audit6.c: Likewise.
36760 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36762 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36764 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36766 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36768 * po/cs.po: Update from translation team.
36769 * po/bg.po: Likewise.
36771 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36773 * misc/sys/cdefs.h: Add support for const attribute.
36774 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36775 to gnu_dev_{major,minor,makedev} functions.
36777 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36779 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36781 2011-07-20 Andreas Schwab <schwab@redhat.com>
36783 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36786 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36789 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36790 register in order to avoid conflicts with the soft frame pointer
36791 being held in r11 when necessary.
36792 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36793 (INTERNAL_VSYSCALL_NCS): Likewise.
36795 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36797 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36798 * elf/dl-fini.c (_dl_fini): Adjust caller.
36799 * elf/dl-close.c (_dl_close_worker): Likewise.
36800 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36802 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36804 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36805 "aux_cache->nlibs < 0".
36807 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36808 in the reload-count case.
36810 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36813 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36814 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36815 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36816 * sysdeps/x86_64/multiarch/strcat.S: New file.
36817 * sysdeps/x86_64/multiarch/strncat.S: New file.
36818 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36819 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36820 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36821 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36822 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36823 (USE_AS_STRCAT): Define.
36824 Add strcat and strncat support.
36825 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36826 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36827 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36828 * string/strncat.c: Update.
36829 (USE_AS_STRNCAT): Define.
36830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36831 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36833 * sysdeps/x86_64/multiarch/init-arch.h
36834 (bit_Prefer_PMINUB_for_stringop): New.
36835 (index_Prefer_PMINUB_for_stringop): Likewise.
36836 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36837 bit_Prefer_PMINUB_for_stringop.
36839 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36841 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36843 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36844 of casting of buffer.
36845 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36846 buffer32 and buffer64.
36847 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36848 writes instead of casting of buffer.
36849 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36851 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36854 2011-07-19 Andreas Schwab <schwab@redhat.com>
36856 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36858 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36860 * nscd/nscd.c (termination_handler): Don't do anything for a database
36861 if it has not yet been initialized.
36863 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36865 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36867 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36869 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36871 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36873 * po/nl.po: Update from translation team.
36874 * po/sv.po: Likewise.
36876 2011-07-16 Roland McGrath <roland@hack.frob.com>
36878 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36879 now disallowed by GCC.
36881 * configure.in (use-default-link): Default to yes if a test -shared
36882 link meets our qualifications.
36883 * configure: Regenerated.
36885 * config.make.in (output-format): New variable.
36886 * configure.in: Check for ld --print-output-format support.
36887 * configure: Regenerated.
36888 * Makerules ($(common-objpfx)format.lds)
36889 [$(output-format) != unknown]: Just use $(output-format),
36890 instead of the linker-script munging.
36892 2011-07-14 Roland McGrath <roland@hack.frob.com>
36894 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36895 of $(common-objpfx)shlib.lds.
36896 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36898 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36899 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36901 * configure.in (-z relro check): Adjust test code to add a large
36902 writable data section after it.
36903 * configure: Regenerated.
36905 2011-07-11 Roland McGrath <roland@hack.frob.com>
36907 * configure.in (-z relro check): Fix test code to make the variable
36909 * configure: Regenerated.
36911 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36913 * nscd/nscd.h (struct traced_file): Define.
36914 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36915 elements. Add traced_files.
36916 (inotify_fd): Declare.
36917 (register_traced_file): Declare.
36918 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36919 (inotify_fd): Export.
36920 (resolv_conf_descr): Remove.
36921 (nscd_init): Move inotify descriptor creation to main.
36922 Don't register files for notification here.
36923 (register_traced_file): New function.
36924 (invalidate_cache): Don't use reset_res to determine whether to call
36925 res_init, go through the list of registered files.
36926 (main_loop_poll): The inotify descriptors are now stored in the
36927 structures for the traced files.
36928 (main_loop_epoll): Likewise
36929 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36930 to __nss_disable_nscd.
36931 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36932 for a database anymore. Check the records for all the registered
36934 * nss/Makefile (libnss_files-routines): Add files-init.
36935 (libnss_db-routines): Add db-init.
36936 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36937 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36938 * nss/nss_db/db-init.c: New file.
36939 * nss/nss_files/files-init.c: New file.
36940 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36941 __nss_lookup_function.
36942 (__nss_lookup_function): Call nss_load_library.
36943 (nss_load_all_libraries): New function.
36944 (__nss_disable_nscd): Take parameter with callback function for files
36945 to register. Set is_nscd. Load all the DSOs for the NSS modules
36946 used for the cached services.
36947 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36948 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36949 options for features to all the files in nscd.
36951 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36953 2011-07-10 Roland McGrath <roland@hack.frob.com>
36955 * csu/elf-init.c (__libc_csu_init): Comment typo.
36957 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36959 * po/pl.po: Update from translation team.
36960 * po/ja.po: Likewise.
36961 * po/ru.po: Likewise.
36962 * po/ko.po: Likewise.
36963 * po/fr.po: Likewise.
36965 2011-07-09 Roland McGrath <roland@hack.frob.com>
36967 * configure.in (.ctors/.dtors header and trailer check):
36968 Use an empirical test on a built program.
36969 * configure: Regenerated.
36971 * configure.in (-z relro check): Use an empirical test on a built DSO.
36972 Detect, but do not require, on ia64.
36973 * configure: Regenerated.
36975 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36976 Update tests that use readelf to use $READELF instead.
36977 * configure: Regenerated.
36979 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36981 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36982 if the result is not used.
36984 2011-07-05 Andreas Jaeger <aj@suse.de>
36987 * stdlib/tst-strtod.c: Add testcase.
36989 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36991 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36992 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36993 The latter has a higher limit. Take additional parameter to pass to
36995 (__pathconf): Pass file to __statfs_link_max.
36996 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36998 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37002 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37003 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37005 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37006 (__statfs_filesize_max): Likewise.
37007 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37009 2011-07-05 Andreas Jaeger <aj@suse.de>
37011 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37013 2011-07-06 Marek Polacek <mpolacek@redhat.com>
37015 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37017 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37020 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37022 * Makefile (strop-tests): Add strncat.
37023 * string/test-strncat.c: New file.
37025 2011-06-30 Marek Polacek <mpolacek@redhat.com>
37027 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37029 2011-06-21 Andreas Jaeger <aj@suse.de>
37031 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37032 Copy rule from iconvdata/Makefile.
37034 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37037 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37038 but no long options are defined, just return 'W'.
37040 2011-06-22 Marek Polacek <mpolacek@redhat.com>
37043 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37045 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37047 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37049 (innetgr): Likewise.
37051 2011-07-05 Roland McGrath <roland@hack.frob.com>
37053 * config.make.in (install_root): Default to $(DESTDIR).
37055 2011-07-05 Ulrich Drepper <drepper@gmail.com>
37057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37059 2011-07-02 Roland McGrath <roland@hack.frob.com>
37061 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37063 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37064 containing directory rather than embedding absolute directory names.
37066 * scripts/check-local-headers.sh: Rewritten using awk.
37067 Match by word, not by line. Print error messages for matches.
37068 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37070 * Makerules [shlib-lds-flags empty]:
37071 ($(common-objpfx)libc_pic.opts): New target.
37072 ($(common-objpfx)libc_pic.os.clean): New target.
37073 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37075 * config.make.in (OBJCOPY): New variable.
37076 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37077 * configure: Regenerated.
37079 * config.make.in (use-default-link): New variable.
37080 * configure.in (use_default_link): Grok --with-default-link to set it.
37081 * configure: Regenerated.
37082 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37083 (shlib-lds, shlib-lds-flags): Define to empty.
37085 * Makerules (shlib-lds): New variable.
37086 (shlib-lds-flags): New variable.
37087 (build-shlib, build-moduile, build-module-asneeded): Use it.
37088 ($(common-objpfx)libc.so): Use $(shlib-lds).
37089 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37090 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37092 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37093 DT_FLAGS/DT_FLAGS_1 with zero flags.
37095 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37096 linker script munging.
37098 2011-07-02 Ulrich Drepper <drepper@gmail.com>
37100 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37102 * crypt/sha512.c (sha512_process_block): Perform total addition using
37103 128-bit if possible.
37104 (__sha512_finish_ctx): Likewise.
37105 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37107 * crypt/sha256.c (SWAP64): Define.
37108 (sha256_process_block): Perform total addition using 64-bit if
37110 (__sha256_finish_ctx): Likewise.
37112 2011-07-01 Ulrich Drepper <drepper@gmail.com>
37114 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37115 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37116 * nscd/hstcache.c (cache_addhst): Likewise.
37117 * nscd/grpcache.c (cache_addgr): Likewise.
37118 * nscd/aicache.c (addhstaiX): Likewise
37119 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37121 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37123 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37124 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37125 * nscd/hstcache.c (cache_addhst): Likewise.
37126 * nscd/grpcache.c (cache_addgr): Likewise.
37127 * nscd/aicache.c (addhstaiX): Likewise
37129 2011-07-01 Andreas Schwab <schwab@redhat.com>
37131 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37132 domain only when needed.
37134 2011-06-30 Andreas Schwab <schwab@redhat.com>
37136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37137 is always restored.
37139 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37141 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37142 are re-adding the entry.
37143 * nscd/servicescache.c (cache_addserv): Likewise.
37145 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37147 * sysdeps/generic/dl-irel.h: fix protection against multiple
37149 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37151 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37154 * malloc/memusage.sh: Fix quoting in message.
37155 * debug/xtrace.sh: Likewise.
37157 * configure.in: Remove support for --experimental-malloc option, make
37159 * config.make.in: Likewise.
37160 * malloc/Makefile: Likewise.
37162 2011-06-27 Andreas Schwab <schwab@redhat.com>
37164 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37165 two-byte characters.
37167 2011-06-27 Roland McGrath <roland@hack.frob.com>
37169 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37170 AC_CACHE_CHECK invocation.
37171 * configure: Regenerated.
37173 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37175 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37178 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37179 bit from old_res_options.
37181 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37183 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37184 value type for setfct.
37186 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37189 __gettimeofday instead of gettimeofday.
37191 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37193 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37195 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37197 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37199 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37202 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37205 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37206 strcpy-sse2-unaligned strncpy-sse2-unaligned
37207 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37208 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37209 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37210 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37211 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37212 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37213 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37214 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37215 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37216 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37217 (STRCPY): Support SSE2 and SSSE3 versions.
37219 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37222 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37223 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37224 kernels which artificially limit size of requests.
37226 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37229 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37230 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37231 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37232 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37233 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37234 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37235 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37236 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37238 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37239 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37240 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37241 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37242 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37244 Enable unaligned load optimization for Intel Core i3, i5 and i7
37246 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37248 (index_Fast_Unaligned_Load): Define.
37249 (HAS_FAST_UNALIGNED_LOAD): Define.
37251 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37253 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37255 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37258 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37259 until it is clear that the information is realy needed.
37260 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37262 2011-06-22 Andreas Schwab <schwab@redhat.com>
37264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37266 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37269 /sys/devices/system/cpu/online if it is usable.
37271 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37272 reading the information from the /proc filesystem to once a second.
37274 2011-06-21 Andreas Jaeger <aj@suse.de>
37276 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37277 NULL after inclusion of kernel headers.
37279 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37281 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37282 calls to internal_setent.
37285 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37286 addresses using gethostbyname4_r ignore IPv4 addresses.
37288 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37289 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37291 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37293 2011-06-20 David S. Miller <davem@davemloft.net>
37295 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37297 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37299 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37300 (elf_irel): Use it.
37301 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37302 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37303 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37304 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37305 * sysdeps/x86_64/dl-irel.h: Likewise.
37307 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37308 * elf/dl-sym.c: Likewise.
37310 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37312 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37313 need to dereference resplen2.
37315 2011-06-14 Andreas Schwab <schwab@redhat.com>
37317 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37319 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37321 * Makeconfig: Define vardbdir and inst_vardbdir.
37322 * nss/Makefile: Add rules to install db-Makefile.
37324 * nss/nss_db/db-XXX.c: Cleanup.
37326 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37327 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37329 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37330 * nss/makedb.c: Implement -g option to specify that value strings
37331 are generated and should not be added to table iterated over for
37333 * nss/nss_db/db-initgroups.c: New file.
37335 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37338 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37339 (internal_getgrouplist): Adjust to name change.
37340 Update use_initgroups_entry if this is not the first call.
37341 * nss/databases.def: Add initgroups entry.
37343 * nss/makedb.c (compute_tables): Check result of multiple hash table
37344 sizes to minimize maximum chain length.
37346 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37348 * Versions.def: Add entry for libnss_db.
37349 * shlib-versions: Likewise.
37350 * nss/Makefile: Add rules to build libnss_db.
37351 * nss/Versions: Add libnss_db information. Organize libnss_files
37353 * nss/db-Makefile: Add gshadow support. Change rules for the new
37354 makedb progra. Some minor improvements to generate smaller files.
37355 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37357 * nss/makedb.c: ...here.
37358 Improve database format to be smaller and require less memory at
37360 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37362 * nss/nss_db/db-netgrp.c: Likewise.
37363 * nss/nss_db/db-open.c: Likewise.
37364 * nss/nss_files/flies-XXX.x: Adjust comments.
37365 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37366 * nss/nss_files/files-grp.c: Likewise.
37367 * nss/nss_files/files-hosts.c: Likewise.
37368 * nss/nss_files/files-network.c: Likewise.
37369 * nss/nss_files/files-proto.c: Likewise.
37370 * nss/nss_files/files-pwd.c: Likewise.
37371 * nss/nss_files/files-rpc.c: Likewise.
37372 * nss/nss_files/files-service.c: Likewise.
37373 * nss/nss_files/files-sgrp.c: Likewise.
37374 * nss/nss_files/files-spwd.c: Likewise.
37375 * nss/nss_db/db-alias.c: Removed.
37376 * nss/nss_db/dummy-db.h: Removed.
37378 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37380 * nss/makedb.c: Rewritten to not use database library.
37381 * nss/Makefile: Update to build new makedb program.
37383 2011-06-14 Andreas Jaeger <aj@suse.de>
37385 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37386 memset declaration.
37388 2011-06-10 Andreas Schwab <schwab@redhat.com>
37390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37393 2011-06-10 Roland McGrath <roland@hack.frob.com>
37395 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37396 * elf/Makefile ($(objpfx)ld.so): Likewise.
37398 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37399 Don't list ld.so twice in dependencies.
37401 * posix/bug-regex31.c: Include <stdlib.h>.
37403 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37405 * nis/nss_compat/compat-spwd.c
37406 (getspent_next_nss_netgr): Remove unused variable.
37407 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37409 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37410 nonmembers" output to use the right array.
37412 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37414 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37416 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37417 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37418 * catgets/gencat.c (read_input_file): Likewise.
37419 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37421 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37422 variable definition inside #if's controlling its use.
37424 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37426 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37428 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37430 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37433 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37435 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37436 * configure: Regenerated.
37438 * Makerules: Revert last change.
37439 * elf/Makefile: Likewise.
37441 2011-06-09 Roland McGrath <roland@hack.frob.com>
37443 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37444 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37445 (reloc-link): Likewise.
37447 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37449 * elf/Makefile: Add rules to build pldd.
37450 * elf/pldd.c: New file.
37451 * elf/pldd-xx.c: New file.
37453 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37455 * version.h: Update for 2.15 development version.
37457 2011-06-07 David S. Miller <davem@davemloft.net>
37459 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37461 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37462 elf_machine_lazy_rel): Likewise.
37463 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37464 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37465 elf_machine_lazy_rel): Likewise.
37466 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37467 dl_hwcap via passed in argument.
37468 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37471 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37473 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37475 2011-06-06 Roland McGrath <roland@hack.frob.com>
37478 * manual/fdl-1.1.texi: New file, verbatim from:
37479 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37480 * manual/lgpl-2.1.texi: New file, verbatim from:
37481 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37482 * manual/Makefile (licenses): New variable, list those new file names.
37484 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37486 * manual/fdl.texi: File removed.
37487 * manual/lesser.texi: File removed.
37488 * manual/libc.texinfo (Copying, Documentation License):
37489 Use new @include file names, put @appendix directive before @include.
37491 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37494 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37495 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37496 (mq_open): Add __NTH.
37498 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37501 Assume Intel Core i3/i5/i7 processor if AVX is available.
37503 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37508 2011-05-31 Andreas Schwab <schwab@redhat.com>
37510 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37511 memory. Use alloca_account. Fix memory leak when retrying.
37513 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37515 * version.h (RELEASE): Bump for 2.14 release.
37516 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37518 * config.make.in (RANLIB): Remove entry.
37520 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37522 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37523 (libc.pot): Work around missing support for .ksh extension in xgettext.
37526 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37527 if both request failed.
37528 (send_dg): In case of server errors clear resplen or *resplen2.
37531 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37532 when there are multiple maps.
37533 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37534 (_dl_fini): Remove test here.
37536 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37538 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37541 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37542 bit from old_res_options.
37543 (gaih_inet): Likewise.
37546 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37549 * resolv/res_init.c (res_setoptions): Make the code more compact.
37552 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37556 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37558 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37561 * malloc/malloc.h: Declare malloc hook variables as volatile.
37563 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37567 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37568 raise in the comment.
37569 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37570 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37571 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37573 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37576 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37577 grow the buffers more if it already has to be sufficient.
37578 (build_wcs_upper_buffer): Likewise.
37579 * posix/regexec.c (check_matching): Likewise.
37580 (clean_state_log_if_needed): Likewise.
37581 (extend_buffers): Don't enlarge buffers beyond size of the input
37583 Patches mostly by Emil Wojak <emil@wojak.eu>.
37584 * posix/bug-regex32.c: New file.
37585 * posix/Makefile (tests): Add bug-regex32.
37587 * locale/findlocale.c (_nl_find_locale): Return right away if
37588 _nl_explode_name failed.
37589 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37591 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37593 * debug/xtrace.sh: Unify messages.
37594 * malloc/memusage.sh: Likewise.
37597 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37598 time symbol from vDSO. Substitute with vsyscall if not available.
37599 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37602 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37603 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37604 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37605 Add sendmmsg and internal_sendmmsg.
37606 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37607 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37608 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37610 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37611 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37612 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37614 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37617 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37618 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37620 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37624 * iconvdata/Makefile (tests): Add bug-iconv9.
37625 * iconvdata/bug-iconv9.c: New file.
37627 2011-05-27 Andreas Schwab <schwab@redhat.com>
37630 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37632 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37634 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37635 (struct user_regs_struct): Change intcs field back to cs.
37637 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37639 * po/ja.po: Update from translation team.
37641 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37644 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37645 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37647 2011-05-20 Andreas Schwab <schwab@redhat.com>
37649 * stdlib/longlong.h: Update from GCC.
37651 2011-05-23 Andreas Schwab <schwab@redhat.com>
37653 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37655 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37656 Add parameter name.
37657 (__sysconf): Pass it down.
37659 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37662 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37664 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37665 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37666 add in in __libc_use_alloca calls. Adjust callers.
37667 (glob): Use malloc in some situations.
37669 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37670 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37673 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37675 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37676 and CLOCK_BOOTTIME_ALARM.
37679 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37682 * string/_strerror.c (__strerror_r): Print negative errors as signed
37686 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37687 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37688 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37690 * configure.in: Fix typo in redirection and correct removal of test
37691 files in two cases.
37694 * locale/setlocale.c (new_composite_name): Fix test to check for
37695 identical name of all categories.
37698 * libio/filedoalloc.c (local_isatty): New function.
37699 (_IO_file_doallocate): Use local_isatty.
37700 * stdio-common/perror.c (perror): In case a new stream is used
37701 forward the stream error.
37702 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37705 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37710 * include/alloca.h (extend_alloca_account): Define.
37713 * posix/regex.h: Fix comments with documentation of user-accessible
37714 fields after compilation and describe correct free'ing of pattern
37715 after re_compile_pattern.
37716 Patch by Reuben Thomas <rrt@sc3d.org>.
37718 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37720 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37721 and -mno-altivec to prevent the compiler from using Altivec and/or
37722 VSX instructions when the corresponding registers are not available.
37724 2011-05-19 Andreas Schwab <schwab@redhat.com>
37726 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37728 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37730 * libio/freopen.c (freopen): Use __dup2, not dup2.
37731 * libio/freopen64.c (freopen64): Likewise.
37733 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37736 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37737 * math/Makefile (tests): Add test-powl.
37738 (CFLAGS-test-powl.c): Define.
37739 * math/test-powl.c: New file.
37741 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37743 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37745 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37748 * iconvdata/gb18030.c: Update to GB18020-2005.
37750 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37752 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37753 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37754 Patch by Aharon Robbins <arnold@skeeve.com>.
37757 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37761 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37762 through underflows.
37765 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37766 point to strings before performing equality test for error_one_per_line
37770 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37773 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37774 (struct user_fpregs_struct): Avoid __uint*_t types.
37777 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37778 symbol info. Use it instead of calling _dl_addr locally.
37779 (lock_and_info): New function.
37780 (tr_freehook): Call lock_and_info and pass symbol info as additional
37781 parameter to tr_where.
37782 (tr_mallochook): Likewise.
37783 (tr_reallochook): Likewise.
37784 (tr_memalignhook): Likewise.
37786 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37787 used and couldn't be at all thread-safe.
37789 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37791 * libio/freopen.c (freopen): Don't close old file descriptor
37792 before the new one is opened. Instead dup the new file descriptor
37793 to the old one after the new stream is created.
37794 * libio/freopen64.c (freopen64): Likewise.
37795 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37796 * libio/fileops.c (_IO_new_file_close_it): Handle new
37797 _IO_FLAGS2_NOCLOSE flag.
37798 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37799 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37800 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37801 _IO_FLAGS2_NOCLOSE flag.
37802 * include/unistd.h: Add hidden_proto for dup3.
37803 Define __have_dup3.
37804 * io/dup3.c: Define hidden symbol.
37805 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37808 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37809 when an incomplete long option is used.
37810 * posix/tst-getopt_long1.c: New file.
37811 * posix/Makefile (tests): Add tst-getopt_long1.
37814 * scripts/config.guess: Update from autoconf-2.68.
37815 * scripts/config.sub: Likewise.
37818 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37820 (has_cpuclock): ...this. New function.
37821 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37822 macro here based on has_cpuclock code.
37825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37826 First byte (not low byte) is now always NUL.
37827 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37830 Use non-cancelable interfaces.
37833 * locale/iso-639.def: Add entry for Sorani.
37836 * include/stdlib.h: Move include protection to the right place.
37837 Define abort_msg_s. Declare __abort_msg with it.
37838 * stdlib/abort.c (__abort_msg): Adjust type.
37839 * assert/assert.c (__assert_fail_base): New function. Majority
37840 of code from __assert_fail. Allocate memory for __abort_msg with
37842 (__assert_fail): Now call __assert_fail_base.
37843 * assert/assert-perr.c: Remove bulk of implementation. Use
37844 __assert_fail_base.
37845 * include/assert.hL Declare __assert_fail_base.
37846 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37848 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37850 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37854 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37855 until all modules are registered in the DTV.
37856 * elf/Makefile: Add rules to build and run tst-tls19.
37857 * elf/tst-tls19.c: New file.
37858 * elf/tst-tls19mod1.c: New file.
37859 * elf/tst-tls19mod2.c: New file.
37860 * elf/tst-tls19mod3.c: New file.
37861 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37864 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37868 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37869 two-byte sequence errors.
37870 * iconvdata/Makefile (tests): Add bug-iconv8.
37871 * iconvdata/bug-iconv8.c: New file.
37874 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37877 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37880 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37881 (dummy_getcfa): New function.
37882 (init): Get _Unwind_GetCFA address, use dummy if not found.
37883 (backtrace_helper): In recursion check, also check whether CFA changes.
37884 (__backtrace): Completely initialize arg.
37886 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37887 storing incomplete byte sequence in state object. Avoid testing for
37888 guaranteed too small input if we know there is enough data available.
37890 2011-05-11 Andreas Schwab <schwab@redhat.com>
37892 * Makeconfig (+link-pie): Indent.
37893 * Rules (binaries-pie): Define if $(have-fpie) and
37895 (binaries-shared): Also filter out $(binaries-pie).
37896 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37897 * nscd/Makefile (others-pie): Add nscd.
37898 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37899 ($(objpfx)nscd): Remove command override.
37900 * login/Makefile (others-pie): Add pt_chown.
37901 ($(objpfx)pt_chown): Remove command override.
37902 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37903 remove command overrides.
37905 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37907 * libio/tst_putwc.c: Fix error messages.
37910 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37911 currently writing and seek to current position when not.
37912 * libio/Makefile (tests): Add bug-fclose1.
37913 * libio/bug-fclose1.c: New file.
37915 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37918 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37919 don't set DF_1_NODELETE here.
37920 (do_lookup_x): When entering new entry test for copy relocation
37921 and if necessary set DF_1_NODELETE flag.
37922 * elf/tst-unique4.cc: New file.
37923 * elf/tst-unique4.h: New file.
37924 * elf/tst-unique4lib.cc: New file.
37925 * elf/Makefile: Add rules to build and run tst-unique4.
37926 Patch by Piotr Bury <pbury@goahead.com>.
37928 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37931 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37934 * misc/mntent_r.c (addmntent): Flush the stream after the output
37937 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37938 (is_trusted_path_normalize): Skip initial colon. Append slash
37939 to empty buffer. Duplicate is_trusted_path code but allow
37940 constructed patch to be prefix.
37941 (is_dst): Allow $ORIGIN followed by /.
37942 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37943 Correct testing of result of is_trusted_path_normalize
37944 (decompose_rpath): Fix warning.
37946 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37949 * grp/initgroups.c (internal_getgrouplist): When we found the service
37950 list through the initgroups entry in nsswitch.conf do not always
37951 continue on a successful lookup. Don't always use the
37952 __nss_group_database value if it is set.
37953 * nss/nsswitch.conf (initgroups): Change action for successful db
37954 lookup to continue for compatibility.
37956 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37959 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37961 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37963 * iconvdata/tst-tables.sh: Likewise.
37964 * iconvdata/cp770.c: New file.
37965 * iconvdata/cp771.c: New file.
37966 * iconvdata/cp772.c: New file.
37967 * iconvdata/cp773.c: New file.
37968 * iconvdata/cp774.c: New file.
37969 * iconvdata/testdata/CP770: New file.
37970 * iconvdata/testdata/CP770..UTF8: New file.
37971 * iconvdata/testdata/CP771: New file.
37972 * iconvdata/testdata/CP771..UTF8: New file.
37973 * iconvdata/testdata/CP772: New file.
37974 * iconvdata/testdata/CP772..UTF8: New file.
37975 * iconvdata/testdata/CP773: New file.
37976 * iconvdata/testdata/CP773..UTF8: New file.
37977 * iconvdata/testdata/CP774: New file.
37978 * iconvdata/testdata/CP774..UTF8: New file.
37980 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37982 * iconvdata/gen-8bit-gap.sh: Likewise.
37983 * iconvdata/gen-8bit.sh: Likewise.
37985 * locale/iso-639.def: Add ary entry.
37988 * locale/C-translit.h.in: Add U20A1 transliteration.
37991 * locale/iso-639.def: Add wae entry.
37992 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37995 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37999 * locale/C-translit.h.in: Add entry for U20B9.
38000 Patch by pravin.d.s@gmail.com.
38002 2011-05-08 Ulrich Drepper <drepper@gmail.com>
38005 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38006 ENAMETOOLONG use generic getcwd.
38007 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38008 in rtld. Use *stat64.
38009 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38010 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38011 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38012 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38013 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38014 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38015 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38016 __fstatat64 macros.
38017 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38018 * dirent/rewinddir.c: Add libc_hidden_def.
38019 * sysdeps/mach/hurd/rewinddir.c: Likewise.
38020 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
38022 * include/dirent.h (__alloc_dir): Add flags parameter.
38023 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38024 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38026 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38027 from fdopendir if O_CLOEXEC is already set.
38029 2011-03-15 Alan Modra <amodra@gmail.com>
38031 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38032 l_tls_firstbyte_offset non-zero. Save padding offset in
38033 l_tls_firstbyte_offset for later use.
38034 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38035 freeing static tls block.
38037 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38039 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38040 where #ifdef was intended. The intent is to prevent ARG_MAX from
38041 being defined by the kernel headers.
38043 2011-05-07 Ulrich Drepper <drepper@gmail.com>
38046 * resolv/resolv.h: Define RES_NOTLDQUERY.
38047 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38048 no-tld-query and set RES_NOTLDQUERY.
38049 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38050 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38051 modern BIND to search name as TLD unless forbidden.
38053 2011-05-07 Petr Baudis <pasky@suse.cz>
38054 Ulrich Drepper <drepper@gmail.com>
38057 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38058 (is_trusted_path): ...to here.
38059 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38060 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38061 using is_trusted_path_normalize() in setuid scripts.
38063 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38065 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38066 __BEGIN/__END_DECLS.
38068 2011-05-06 Ulrich Drepper <drepper@gmail.com>
38070 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38071 NSS_STATUS_NOTFOUND if no record was found.
38073 2011-05-05 Andreas Schwab <schwab@redhat.com>
38075 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38076 (headers-not-in-tirpc): Remove rpc/netdb.h
38077 * resolv/netdb.h: Revert last change.
38079 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38081 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38082 circular dependency between libgcc.a and libc.a.
38084 2011-05-05 Andreas Schwab <schwab@redhat.com>
38086 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38087 * nis/Makefile: Don't install rpcsvc/*.
38088 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38089 instead of <rpc/types.h>.
38090 (MAXHOSTNAMELEN): Define.
38092 2011-05-03 Andreas Schwab <schwab@redhat.com>
38094 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38096 2011-04-28 Maciej Babinski <mbabinski@google.com>
38099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38100 gethostbyname4_r when IPv6 results are possible.
38102 2011-05-02 Ulrich Drepper <drepper@gmail.com>
38105 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38106 _PC_PIPE_BUF handling.
38108 2011-04-30 Bruno Haible <bruno@clisp.org>
38111 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38112 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38114 * inet/getnameinfo.c (getnameinfo): Likewise.
38116 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38118 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38119 to groups setting in database lookup.
38120 * nss/nsswitch.conf: Add initgroups entry.
38122 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38125 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38127 Patch by Eric Blake <eblake@redhat.com>.
38129 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38131 * sunrpc/Makefile (need-export-routines): Add svc_run.
38132 (routines): Remove svc_run.
38133 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38134 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38135 * sunrpc/svc_run.c (svc_run): Likewise.
38136 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38138 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38141 problem in reallocation in last patch.
38143 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38145 * sunrpc/Makefile: Move inclusion of Rules.
38147 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38149 * nss/nss_files/files-initgroups.c: New file.
38150 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38151 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38152 _nss_files_initgroups_dyn.
38154 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38156 * elf/elf.h (R_ARM_IRELATIVE): Define.
38158 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38160 * po/ru.po: Update from translation team.
38162 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38164 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38167 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38170 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38171 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38173 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38176 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38178 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38180 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38181 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38182 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38184 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38187 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38189 * stdlib/bug-getcontext.c: New file.
38190 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38192 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38194 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38195 instructions into .machine "z9-109".
38196 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38197 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38199 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38201 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38202 between environment variables and auxiliary vector.
38204 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38206 * Makefile: Add rules to build linkobj/libc.so.
38207 * include/libc-symbols.h: Define libc_hidden_nolink.
38208 * include/rpc/auth.h: Mark functions which are to be hidden.
38209 * include/rpc/auth_des.h: Likewise.
38210 * include/rpc/auth_unix.h: Likewise.
38211 * include/rpc/clnt.h: Likewise.
38212 * include/rpc/des_crypt.h: Likewise.
38213 * include/rpc/key_prot.h: Likewise.
38214 * include/rpc/pmap_clnt.h: Likewise.
38215 * include/rpc/pmap_prot.h: Likewise.
38216 * include/rpc/pmap_rmt.h: Likewise.
38217 * include/rpc/rpc_msg.h: Likewise.
38218 * include/rpc/svc.h: Likewise.
38219 * include/rpc/svc_auth.h: Likewise.
38220 * include/rpc/xdr.h: Likewise.
38221 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38222 * nss/Makefile: Likewise.
38223 * sunrpc/Makefile: Don't install headers. Build library with normal
38224 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38225 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38226 for the compat linking library. Remove use of INTDEF/INTUSE.
38227 * sunrpc/auth_none.c: Likewise.
38228 * sunrpc/auth_unix.c: Likewise.
38229 * sunrpc/authdes_prot.c: Likewise.
38230 * sunrpc/authuxprot.c: Likewise.
38231 * sunrpc/clnt_gen.c: Likewise.
38232 * sunrpc/clnt_perr.c: Likewise.
38233 * sunrpc/clnt_raw.c: Likewise.
38234 * sunrpc/clnt_simp.c: Likewise.
38235 * sunrpc/clnt_tcp.c: Likewise.
38236 * sunrpc/clnt_udp.c: Likewise.
38237 * sunrpc/clnt_unix.c: Likewise.
38238 * sunrpc/des_crypt.c: Likewise.
38239 * sunrpc/des_soft.c: Likewise.
38240 * sunrpc/get_myaddr.c: Likewise.
38241 * sunrpc/key_call.c: Likewise.
38242 * sunrpc/key_prot.c: Likewise.
38243 * sunrpc/netname.c: Likewise.
38244 * sunrpc/pm_getmaps.c: Likewise.
38245 * sunrpc/pm_getport.c: Likewise.
38246 * sunrpc/pmap_clnt.c: Likewise.
38247 * sunrpc/pmap_prot.c: Likewise.
38248 * sunrpc/pmap_prot2.c: Likewise.
38249 * sunrpc/pmap_rmt.c: Likewise.
38250 * sunrpc/publickey.c: Likewise.
38251 * sunrpc/rpc_cmsg.c: Likewise.
38252 * sunrpc/rpc_common.c: Likewise.
38253 * sunrpc/rpc_dtable.c: Likewise.
38254 * sunrpc/rpc_prot.c: Likewise.
38255 * sunrpc/rpc_thread.c: Likewise.
38256 * sunrpc/rtime.c: Likewise.
38257 * sunrpc/svc.c: Likewise.
38258 * sunrpc/svc_auth.c: Likewise.
38259 * sunrpc/svc_authux.c: Likewise.
38260 * sunrpc/svc_raw.c: Likewise.
38261 * sunrpc/svc_run.c: Likewise.
38262 * sunrpc/svc_simple.c: Likewise.
38263 * sunrpc/svc_tcp.c: Likewise.
38264 * sunrpc/svc_udp.c: Likewise.
38265 * sunrpc/svc_unix.c: Likewise.
38266 * sunrpc/svcauth_des.c: Likewise.
38267 * sunrpc/xcrypt.c: Likewise.
38268 * sunrpc/xdr.c: Likewise.
38269 * sunrpc/xdr_array.c: Likewise.
38270 * sunrpc/xdr_float.c: Likewise.
38271 * sunrpc/xdr_intXX_t.c: Likewise.
38272 * sunrpc/xdr_mem.c: Likewise.
38273 * sunrpc/xdr_rec.c: Likewise.
38274 * sunrpc/xdr_ref.c: Likewise.
38275 * sunrpc/xdr_sizeof.c: Likewise.
38276 * sunrpc/xdr_stdio.c: Likewise.
38278 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38281 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38282 * sysdeps/ia64/dl-tls.h: Likewise.
38283 * sysdeps/powerpc/dl-tls.h: Likewise.
38284 * sysdeps/s390/dl-tls.h: Likewise.
38285 * sysdeps/sh/dl-tls.h: Likewise.
38286 * sysdeps/sparc/dl-tls.h: Likewise.
38287 * sysdeps/x86_64/dl-tls.h: Likewise.
38288 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38290 2011-03-14 Andreas Schwab <schwab@redhat.com>
38292 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38293 rpath element also skip the following colon.
38294 (expand_dynamic_string_token): Add is_path parameter and pass
38295 down to DL_DST_REQUIRED and _dl_dst_substitute.
38296 (decompose_rpath): Call expand_dynamic_string_token with
38297 non-zero is_path. Ignore empty rpaths.
38298 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38301 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38306 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38309 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38310 Patch by Filipe David Manana <fdmanana@apache.org>.
38312 2011-04-07 Andreas Schwab <schwab@redhat.com>
38314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38315 Maintain aligned stack.
38316 (CHECK_RSP): Remove unused macro.
38318 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38320 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38321 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38323 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38325 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38327 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38329 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38332 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38333 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38334 * sysdeps/x86_64/memmove.c: New file.
38335 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38336 (memcpy): Renamed to ...
38337 (__new_memcpy): This.
38338 (memcpy): Provide GLIBC_2_14 memcpy.
38339 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38340 (memcpy): Provide GLIBC_2_2_5 memcpy.
38342 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38345 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38347 2011-03-30 Andreas Schwab <schwab@redhat.com>
38349 * misc/syncfs.c: New file.
38350 * misc/Makefile (routines): Add syncfs.
38351 * posix/unistd.h: Declare syncfs.
38352 * sysdeps/unix/syscalls.list: Add syncfs.
38354 2011-04-01 Andreas Schwab <schwab@redhat.com>
38356 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38359 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38363 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38364 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38366 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38368 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38369 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38370 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38376 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38377 sync_file_range.c with -fexceptions.
38378 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38379 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38380 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38381 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38382 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38383 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38385 sync_file_range as cancellation point
38386 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38387 now a wrapper around __call_sync_file_range with cancellation handling.
38388 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38389 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38390 function name to __call_sync_file_range.
38391 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38392 Add call_sync_file_range.
38394 2011-04-01 Andreas Schwab <schwab@redhat.com>
38396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38399 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38401 * iconv/iconv.h: Fix typo in comment.
38402 * io/fcntl.h: Likewise.
38403 * libio/stdio.h: Likewise.
38404 * posix/spawn.h: Likewise.
38405 * posix/unistd.h: Likewise.
38406 * stdlib/stdlib.h: Likewise.
38407 * time/time.h: Likewise.
38408 * wcsmbs/wchar.h: Likewise.
38410 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38411 open_by_handle): Add.
38412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38413 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38414 Augment a few comments.
38415 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38416 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38417 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38420 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38423 * io/fcntl.h (AT_EMPTY_PATH): Define.
38425 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38427 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38428 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38429 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38431 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38432 * Versions.def: Add GLIBC_2.14.
38433 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38436 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38438 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38440 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38442 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38445 * string/test-strncmp.c (do_page_test): New function.
38446 (check2): Likewise.
38447 (test_main): Call check2.
38448 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38450 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38453 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38454 Handle cache information in CPU leaf 4.
38455 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38457 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38460 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38461 character representation.
38462 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38464 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38466 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38467 END(__isnan) to END(__isnanf) to match function entry point/label
38468 EALIGN(__isnanf,...).
38470 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38472 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38474 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38477 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38478 copy from the symbol referenced in the relocation to initialize the
38480 Patch by Piotr Bury <pbury@goahead.com>.
38481 * elf/Makefile: Add rules to build and tst-unique3.
38482 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38483 * elf/tst-unique3.cc: New file.
38484 * elf/tst-unique3.h: New file.
38485 * elf/tst-unique3lib.cc: New file.
38486 * elf/tst-unique3lib2.cc: New file.
38488 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38490 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38492 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38493 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38496 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38498 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38499 to-be-loaded object along a path to loader is ld.so.
38501 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38502 Ulrich Drepper <drepper@gmail.com>
38504 * sysdeps/x86_64/memset.S: After aligning destination, code
38505 branches to different locations depending on the value of
38506 misalignment, when multiarch is enabled. Fix this.
38508 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38510 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38511 Set _x86_64_preferred_memory_instruction for AMD processsors.
38512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38513 Set bit_Prefer_SSE_for_memop for AMD processors.
38515 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38517 * libio/fmemopen.c (fmemopen): Optimize a bit.
38519 2011-03-03 Andreas Schwab <schwab@redhat.com>
38521 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38523 2011-03-03 Roland McGrath <roland@redhat.com>
38525 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38527 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38529 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38530 __bzero_ultra1 instead of __memset_ultra1.
38532 2011-02-23 Andreas Schwab <schwab@redhat.com>
38533 Ulrich Drepper <drepper@gmail.com>
38536 * include/link.h (struct link_map): Add l_orig_initfini.
38537 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38538 returning unsuccessfully.
38539 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38540 close of a file loaded at startup, restore the original l_initfini
38542 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38543 list, store the pointer.
38544 * elf/Makefile ($(objpfx)noload-mem): New rule.
38545 (noload-ENV): Define.
38546 (tests): Add $(objpfx)noload-mem.
38547 * elf/noload.c: Include <memcheck.h>.
38548 (main): Call mtrace. Close all opened handles.
38550 2011-02-17 Andreas Schwab <schwab@redhat.com>
38553 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38554 dependencies are missing.
38556 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38558 Fix __if_freereq crash: Unlike the generic version which uses free,
38560 * sysdeps/mach/hurd/ifreq.h: New file.
38562 2011-01-27 Petr Baudis <pasky@suse.cz>
38563 Ulrich Drepper <drepper@gmail.com>
38566 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38567 to extend_alloca().
38568 * stdio-common/bug23.c: New file.
38569 * stdio-common/Makefile (tests): Add bug23.
38571 2010-09-28 Andreas Schwab <schwab@redhat.com>
38572 Ulrich Drepper <drepper@gmail.com>
38575 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38576 before performing relro protection. At old place add assertion
38577 to make sure nothing changed.
38579 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38580 Glauber de Oliveira Costa <glommer@gmail.com>
38582 * elf/elf.h: Add new ARM TLS relocs.
38584 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38587 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38589 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38591 * sysdeps/wordsize-64/tst-writev.c: New file.
38593 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38595 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38596 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38597 insns in _dl_start to prevent a TOC reference before relocs are
38600 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38603 * Makeconfig: Remove RANLIB definition.
38604 * Makerules: Don't use RANLIB.
38605 * aclocal.m4: Remove ranlib test.
38606 * configure.in: No need to check for ranlib.
38607 * elf/rtld-Rules: Don't use RANLIB.
38609 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38611 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38613 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38614 inclusion protection macro.
38616 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38617 SIGRTMIN and SIGRTMAX and print information in that case only when
38618 SIGRTMIN is defined.
38620 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38622 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38623 arginfo fn returning -1.
38625 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38626 and thousands string is zero terminated.
38628 2011-02-03 Andreas Schwab <schwab@redhat.com>
38630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38631 sysdeps/unix/sysv/linux/bits/socket.h.
38633 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38635 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38636 (__CPU_COUNT): Remove old macros.
38637 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38638 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38639 (__CPU_ALLOC, __CPU_FREE): Add macros.
38640 (__sched_cpualloc, __sched_cpufree): Add declarations.
38642 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38644 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38645 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38646 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38647 (readdhstai): Return value of addhstaiX call.
38648 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38649 (addgrbyX): Return value returned by cache_addgr.
38650 (readdgrbyname): Return value returned by addgrbyX.
38651 (readdgrbygid): Likewise.
38652 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38653 (addpwbyX): Return value returned by cache_addpw.
38654 (readdpwbyname): Return value returned by addhstbyX.
38655 (readdpwbyuid): Likewise.
38656 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38657 (addservbyX): Return value returned by cache_addserv.
38658 (readdservbyname): Return value returned by addservbyX:
38659 (readdservbyport): Likewise.
38660 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38661 (addhstbyX): Return value returned by cache_addhst.
38662 (readdhstbyname): Return value returned by addhstbyX.
38663 (readdhstbyaddr): Likewise.
38664 (readdhstbynamev6): Likewise.
38665 (readdhstbyaddrv6): Likewise.
38666 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38667 (readdinitgroups): Return value returned by addinitgroupsX.
38668 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38669 (prune_cache): Keep track of timeout value of re-added entries.
38670 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38671 * nscd/nscd.h: Adjust prototypes of readd* functions.
38673 2011-02-04 Roland McGrath <roland@redhat.com>
38675 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38676 (nis_stats): Likewise.
38677 * nis/nis_modify.c (nis_modify): Likewise.
38678 * nis/nis_remove.c (nis_remove): Likewise.
38679 * nis/nis_add.c (nis_add): Likewise.
38681 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38683 * posix/fnmatch_loop.c: Add some consts.
38685 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38687 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38690 * config.make.in (config-cflags-novzeroupper): Define.
38691 * configure.in: Substitute libc_cv_cc_novzeroupper.
38692 * elf/Makefile (AVX-CFLAGS): Define.
38693 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38694 (CFLAGS-tst-auditmod4a.c): Likewise.
38695 (CFLAGS-tst-auditmod4b.c): Likewise.
38696 (CFLAGS-tst-auditmod6b.c): Likewise.
38697 (CFLAGS-tst-auditmod6c.c): Likewise.
38698 (CFLAGS-tst-auditmod7b.c): Likewise.
38699 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38701 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38703 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38704 function to the callback.
38705 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38707 2011-02-02 Andreas Schwab <schwab@redhat.com>
38709 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38712 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38715 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38717 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38719 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38722 * elf/Makefile: Add rules to build and run new test.
38723 * elf/tst-initorder.c: New file.
38724 * elf/tst-initorder.exp: New file.
38725 * elf/tst-initordera1.c: New file.
38726 * elf/tst-initordera2.c: New file.
38727 * elf/tst-initordera3.c: New file.
38728 * elf/tst-initordera4.c: New file.
38729 * elf/tst-initorderb1.c: New file.
38730 * elf/tst-initorderb2.c: New file.
38731 * elf/tst-order-a1.c: New file.
38732 * elf/tst-order-a2.c: New file.
38733 * elf/tst-order-a3.c: New file.
38734 * elf/tst-order-a4.c: New file.
38735 * elf/tst-order-b1.c: New file.
38736 * elf/tst-order-b2.c: New file.
38737 * elf/tst-order-main.c: New file.
38738 New test case by George Gensure <werkt0@gmail.com>.
38740 2010-10-01 Andreas Schwab <schwab@redhat.com>
38742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38743 decoding ACE if AI_CANONIDN.
38745 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38747 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38749 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38751 * version.h (RELEASE): Bump for 2.13 release.
38752 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38754 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38756 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38758 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38759 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38760 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38761 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38762 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38763 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38765 * posix/getconf.c: Update copyright year.
38766 * catgets/gencat.c: Likewise.
38767 * csu/version.c: Likewise.
38768 * debug/catchsegv.sh: Likewise.
38769 * debug/xtrace.sh: Likewise.
38770 * elf/ldconfig.c: Likewise.
38771 * elf/ldd.bash.in: Likewise.
38772 * elf/sprof.c (print_version): Likewise.
38773 * iconv/iconv_prog.c: Likewise.
38774 * iconv/iconvconfig.c: Likewise.
38775 * locale/programs/locale.c: Likewise.
38776 * locale/programs/localedef.c: Likewise.
38777 * malloc/memusage.sh: Likewise.
38778 * malloc/mtrace.pl: Likewise.
38779 * nscd/nscd.c (print_version): Likewise.
38780 * nss/getent.c: Likewise.
38782 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38783 PF_CAIF, and PF_ALG.
38784 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38786 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38788 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38789 (modules-names): Use them.
38790 (ifunc-test-modules, ifunc-pie-tests): Define.
38791 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38792 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38793 (test-extras): Likewise.
38794 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38795 $(compile-command.c).
38796 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38797 (all-built-dso): Define.
38798 (check-textrel.out, check-execstack.out): Depend on it.
38800 * configure.in: Don't override --enable-multi-arch.
38802 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38805 * nscd/hstcache.c (tryagain): Define.
38806 (cache_addhst): Return tryagain not notfound for temporary errors.
38807 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38810 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38813 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38814 to make the syscall.
38815 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38818 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38819 and fall back to matching as normal character if the string ends before
38820 the matching ']' is found. This is what POSIX requires.
38821 * posix/testfnm.c: Adjust test result.
38822 * posix/globtest.sh: Adjust test result. Add new test.
38823 * posix/tst-fnmatch.input: Likewise.
38824 * posix/tst-fnmatch2.c: Add new test.
38826 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38828 * elf/Makefile (check-execstack): Revert last change. Depend on
38830 (check-execstack.h): New target.
38831 (generated): Add check-execstack.h.
38832 * elf/check-execstack.c: Include "check-execstack.h".
38833 (main): Revert last change.
38834 (handle_file): Return zero if GNU_STACK is absent and
38835 DEFAULT_STACK_PERMS doesn't include PF_X.
38837 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38839 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38840 in child fails because the descriptor is already closed.
38841 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38842 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38843 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38846 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38850 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38851 temporary buffer used to handle multi lookups locally.
38852 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38854 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38856 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38859 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38861 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38862 alignment for SSE2.
38864 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38867 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38868 characters. When rounding increased number of integer digits recompute
38870 * stdio-common/tst-grouping.c: New file.
38871 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38873 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38875 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38876 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38878 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38880 * bits/select.h: Likewise.
38882 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38884 * po/ja.po: Update from translation team.
38886 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38889 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38890 implementation just like for lxstat, fxstatat, et al.
38892 2010-12-27 Jim Meyering <meyering@redhat.com>
38895 * posix/regexec.c (build_trtable): Return failure indication upon
38896 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38898 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38901 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38902 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38903 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38904 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38907 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38910 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38911 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38913 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38915 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38916 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38917 script has SORT_BY_INIT_PRIORITY.
38918 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38919 NO_CTORS_DTORS_SECTIONS is defined.
38920 * elf/soinit.c: Likewise.
38921 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38922 NO_CTORS_DTORS_SECTIONS is defined.
38923 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38924 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38925 * sysdeps/sh/init-first.c: Likewise.
38926 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38928 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38930 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38931 always use the slow path.
38933 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38935 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38936 similar rule which adds the sysdep directories to the header search in
38937 order to pick up the correct platform stackinfo.h.
38938 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38939 perform test if it is, otherwise return successfully without testing.
38940 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38941 DEFAULT_STACK_PERMS define in stackinfo.h.
38942 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38943 defined in stackinfo.h.
38944 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38945 DEFAULT_STACK_PERMS defined in stackinfo.h.
38946 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38947 * sysdeps/ia64/stackinfo.h: Likewise.
38948 * sysdeps/s390/stackinfo.h: Likewise.
38949 * sysdeps/sh/stackinfo.h: Likewise.
38950 * sysdeps/sparc/stackinfo.h: Likewise.
38951 * sysdeps/x86_64/stackinfo.h: Likewise.
38952 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38953 PF_X for powerpc64. Retain PF_X for powerpc32.
38955 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38957 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38959 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38960 GETDENTS_64BIT_ALIGNED.
38962 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38964 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38966 2010-12-10 Andreas Schwab <schwab@redhat.com>
38968 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38971 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38972 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38974 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38975 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38977 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38980 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38983 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38985 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38987 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38989 * po/it.po: Update from translation team.
38991 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38996 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38998 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39000 2010-11-24 Andreas Schwab <schwab@redhat.com>
39002 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39004 (gaih_getanswer_slice): Likewise.
39006 2010-10-20 Jakub Jelinek <jakub@redhat.com>
39008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39010 2010-05-31 Petr Baudis <pasky@suse.cz>
39013 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39014 silently even in the chroot mode.
39016 2010-11-22 Ulrich Drepper <drepper@gmail.com>
39018 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39019 last patch a bit. Pretty printing
39021 2010-05-31 Petr Baudis <pasky@suse.cz>
39024 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39025 initialization of skip_initgroups_dyn.
39027 2010-11-19 Ulrich Drepper <drepper@gmail.com>
39029 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39030 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39032 2010-11-16 Ulrich Drepper <drepper@gmail.com>
39034 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39036 2010-11-11 Andreas Schwab <schwab@redhat.com>
39038 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39039 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39040 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39041 ($(objpfx)tst-fnmatch-mem): New rule.
39042 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39043 * posix/tst-fnmatch.c (main): Call mtrace.
39045 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39048 Support Intel processor model 6 and model 0x2c.
39050 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
39052 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39055 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39058 * string/test-strncasecmp.c (check_result): New function.
39059 (do_one_test): Use it.
39060 (check1): New function.
39061 (test_main): Use it.
39062 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39063 Support strcasecmp and strncasecmp.
39065 2010-11-08 Ulrich Drepper <drepper@gmail.com>
39068 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39069 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39071 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39073 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39077 * sysdeps/x86_64/multiarch/bzero.S: New file.
39078 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39079 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39080 * sysdeps/x86_64/multiarch/memset.S: New file.
39081 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39083 Set bit_Prefer_SSE_for_memop for Intel processors.
39084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39086 (index_Prefer_SSE_for_memop): Define.
39087 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39089 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
39091 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39092 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39094 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39097 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39098 (__x86_64_raw_data_cache_size_half): Likewise.
39099 (__x86_64_raw_shared_cache_size): Likewise.
39100 (__x86_64_raw_shared_cache_size_half): Likewise.
39102 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39103 (__x86_64_raw_data_cache_size_half): Likewise.
39104 (__x86_64_raw_shared_cache_size): Likewise.
39105 (__x86_64_raw_shared_cache_size_half): Likewise.
39106 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39107 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39108 and __x86_64_raw_shared_cache_size_half. Round
39109 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39110 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39111 to multiple of 256 bytes.
39113 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39116 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39117 of inacessible symlinks. Verify result of symlink before returning it.
39118 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39119 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39121 2010-10-28 Erich Ritz <erichritz@gmail.com>
39123 * math/math.h (isinf): Fix typo in comment.
39125 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39127 * po/da.po: Update from translation team.
39129 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39131 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39132 is added to the list.
39134 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39135 Ulrich Drepper <drepper@gmail.com>
39137 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39138 the global list here. Move code to...
39139 (_dl_add_to_namespace_list): ...here. New function.
39140 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39141 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39142 * elf/dl-load.c (lose): Don't remove the element from the list.
39143 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39144 (_dl_map_object): Likewise.
39146 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39149 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39150 into all bytes of SSE register.
39151 Patch by Richard Li <richardpku@gmail.com>.
39153 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39156 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39159 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39161 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39162 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39163 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39164 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39169 2010-10-22 Andreas Schwab <schwab@redhat.com>
39171 * include/dlfcn.h (__RTLD_SECURE): Define.
39172 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39173 mode & __RTLD_SECURE instead.
39174 (open_path): Rename preloaded parameter to secure.
39175 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39176 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39177 * elf/dl-deps.c (openaux): Likewise.
39178 * elf/rtld.c (struct map_args): Remove is_preloaded.
39179 (map_doit): Don't use it.
39180 (dl_main): Likewise.
39181 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39182 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39184 2010-09-09 Andreas Schwab <schwab@redhat.com>
39186 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39187 (sysd-rules-targets): Remove duplicates.
39188 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39189 rtld-%.$o dependency.
39191 2010-10-18 Andreas Schwab <schwab@redhat.com>
39193 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39194 _dl_map_object do it.
39196 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39198 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39199 fast fma builtins, define the macros in the C99 standard.
39200 (FP_FAST_FMAF): Likewise.
39201 (FP_FAST_FMAL): Likewise.
39202 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39204 * bits/mathdef.h: Update copyright year.
39205 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39207 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39209 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39210 builtins, define the macros in the C99 standard.
39211 (FP_FAST_FMAF): Likewise.
39212 (FP_FAST_FMAL): Likewise.
39213 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39215 (FP_FAST_FMAF): Likewise.
39217 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39220 * math/libm-test.inc (fma_test): Some new testcases.
39221 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39222 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39223 y and infinite z. Do multiplication by C already in long double.
39224 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39226 y and infinite z. Do bitwise or of inexact bit into u.d.
39227 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39228 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39229 * sysdeps/i386/fpu/s_fma.S: Removed.
39230 * sysdeps/i386/fpu/s_fmal.S: Removed.
39232 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39235 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39237 computation is not scheduled after fetestexcept. Fix value
39238 of minimum denormal long double.
39240 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39243 * math/libm-test.inc (fma_test): Add some more tests.
39244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39247 2010-10-15 Andreas Schwab <schwab@redhat.com>
39249 * scripts/data/localplt-s390-linux-gnu.data: New file.
39250 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39252 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39255 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39256 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39258 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39260 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39262 if one of x and y is very large and the other is subnormal.
39263 * sysdeps/s390/fpu/s_fmaf.c: New file.
39264 * sysdeps/s390/fpu/s_fma.c: New file.
39265 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39266 * sysdeps/powerpc/fpu/s_fma.S: New file.
39267 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39268 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39269 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39271 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39274 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39276 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39277 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39278 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39279 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39280 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39281 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39282 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39284 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39287 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39288 * posix/bug-regex31.input: Add test case.
39290 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39292 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39293 * posix/bug-regex31.input: New file.
39296 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39297 (parse_sub_exp): Fix last change, use postorder.
39299 * posix/bug-regex31.c: New file.
39300 * posix/Makefile: Add rules to build and run bug-regex31.
39302 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39305 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39308 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39309 to have entries in sys_siglist.
39312 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39315 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39318 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39319 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39320 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39321 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39322 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39323 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39324 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39325 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39326 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39327 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39328 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39329 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39330 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39331 * math/ftestexcept.c (fetestexcept): Likewise.
39332 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39333 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39334 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39335 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39336 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39337 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39338 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39340 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39343 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39346 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39348 * string/bug-strstr1.c: New file.
39349 * string/Makefile: Add rules to build and run bug-strstr1.
39351 2010-10-05 Eric Blake <eblake@redhat.com>
39354 * string/str-two-way.h (two_way_long_needle): Always clear memory
39355 when skipping input due to the shift table.
39357 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39360 * malloc/mcheck.c: Handle large requests.
39363 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39364 for strncmp and strncasecmp.
39365 * string/stratcliff.c: Add tests for strcmp and strncmp.
39366 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39368 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39370 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39373 2010-09-30 Andreas Jaeger <aj@suse.de>
39375 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39376 (CGROUP_SUPER_MAGIC): Define.
39377 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39378 Handle btrfs and cgroup file systems.
39379 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39382 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39384 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39385 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39387 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39390 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39391 trying to locate the ELF header.
39393 2010-09-27 Andreas Schwab <schwab@redhat.com>
39396 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39397 Mask out sign-bit copies when constructing f_fsid.
39399 2010-09-24 Petr Baudis <pasky@suse.cz>
39401 * debug/stack_chk_fail_local.c: Add missing licence exception.
39402 * debug/warning-nop.c: Likewise.
39404 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39407 implementing getdents64 using getdents syscall, set d_type if
39408 __ASSUME_GETDENTS32_D_TYPE.
39410 2010-09-16 Andreas Schwab <schwab@redhat.com>
39412 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39413 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39415 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39418 * posix/unistd.h: Undo change of feature selection for ftruncate from
39421 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39423 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39426 2010-09-20 Andreas Schwab <schwab@redhat.com>
39428 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39430 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39432 2010-09-14 Andreas Schwab <schwab@redhat.com>
39434 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39435 variables after CHECK_SP call.
39436 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39438 2010-09-13 Andreas Schwab <schwab@redhat.com>
39439 Ulrich Drepper <drepper@redhat.com>
39441 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39442 re-relocationg ld.so.
39443 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39444 _dl_init_paths call.
39445 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39448 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39450 * resolv/res_init.c (__res_vinit): Count the default server we added.
39452 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39453 Ulrich Drepper <drepper@redhat.com>
39456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39457 (____longjmp_chk): Use %ebx for saving value across system call.
39460 2010-09-06 Andreas Schwab <schwab@redhat.com>
39462 * manual/Makefile: Don't mix pattern rules with normal rules.
39464 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39466 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39468 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39469 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39470 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39471 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39472 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39475 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39478 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39479 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39481 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39483 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39484 * sysdeps/x86_64/addmul_1.S: Likewise.
39485 * sysdeps/x86_64/lshift.S: Likewise.
39486 * sysdeps/x86_64/mul_1.S: Likewise.
39487 * sysdeps/x86_64/rshift.S: Likewise.
39488 * sysdeps/x86_64/sub_n.S: Likewise.
39489 * sysdeps/x86_64/submul_1.S: Likewise.
39491 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39493 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39494 Define __sched_param instead of SCHED_* and sched_param when
39495 <bits/sched.h> is included with __need_schedparam defined.
39496 * bits/sched.h [__need_schedparam]
39497 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39498 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39499 (__defined_schedparam): Define to 1.
39500 (__sched_param): New structure, identical to sched_param.
39501 (__need_schedparam): Undefine.
39503 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39505 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39506 (epoll_create1): Declare.
39508 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39510 2010-08-31 Andreas Schwab <schwab@redhat.com>
39513 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39514 shifting retval into place.
39516 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39518 * nis/rpcsvc/nis.h: Update copyright notice.
39519 * nis/rpcsvc/nis.x: Likewise.
39520 * nis/rpcsvc/nis_callback.h: Likewise.
39521 * nis/rpcsvc/nis_callback.x: Likewise.
39522 * nis/rpcsvc/nis_object.x: Likewise.
39523 * nis/rpcsvc/nis_tags.h: Likewise.
39524 * nis/rpcsvc/yp.h: Likewise.
39525 * nis/rpcsvc/yp.x: Likewise.
39526 * nis/rpcsvc/ypupd.h: Likewise.
39527 * nis/yp_xdr.c: Likewise.
39528 * nis/ypupdate_xdr.c: Likewise.
39530 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39531 mainly the body of pmap_getport. Add parameters to specify timeouts.
39532 (pmap_getport): Use __libc_rpc_getport.
39533 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39534 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39535 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39537 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39542 2010-08-27 Roland McGrath <roland@redhat.com>
39544 * sysdeps/i386/i686/multiarch/Makefile
39545 (CFLAGS-varshift.c): New variable.
39547 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39549 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39550 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39554 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39556 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39558 * sysdeps/x86_64/strlen.S: Unroll the loop.
39559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39560 strlen-sse2 strlen-sse2-bsf.
39561 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39562 __strlen_no_bsf if bit_Slow_BSF is set.
39563 (__strlen_sse42): Removed.
39564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39565 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39567 2010-08-25 Roland McGrath <roland@redhat.com>
39569 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39570 * sysdeps/x86_64/multiarch/varshift.c: New file.
39571 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39572 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39573 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39574 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39576 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39579 strlen-sse2 strlen-sse2-bsf.
39580 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39581 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39582 (__strlen_sse2): Removed.
39583 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39584 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39586 bit_Slow_BSF for Atom.
39587 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39588 (index_Slow_BSF): Define.
39589 (HAS_SLOW_BSF): Define.
39591 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39594 * resolv/res_init.c (__res_vinit): When no server address at all
39595 is given default to loopback.
39597 2010-08-24 Roland McGrath <roland@redhat.com>
39599 * configure.in: Remove config-name.h generation.
39600 * configure: Regenerated.
39601 * config-name.in: File removed.
39602 * scripts/config-uname.sh: New file.
39603 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39604 ($(objdir)config-name.h): New target.
39606 * sunrpc/rpc_parse.h: Avoid nested comment.
39608 2010-08-24 Richard Henderson <rth@redhat.com>
39609 Ulrich Drepper <drepper@redhat.com>
39610 H.J. Lu <hongjiu.lu@intel.com>
39612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39614 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39615 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39616 _mm_alignr_epi8 with _mm_loadu_si128.
39617 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39618 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39619 (__m128i_shift_right): Removed.
39620 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39621 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39622 * sysdeps/x86_64/multiarch/varshift.h: New file.
39623 * sysdeps/x86_64/multiarch/varshift.S: New file.
39625 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39627 * configure.in: Move assembler checks to before sysdep dir checking.
39629 2010-08-20 Petr Baudis <pasky@suse.cz>
39631 * LICENSES: Sync the sunrpc license.
39633 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39635 * sunrpc/auth_des.c: Update copyright notice once again.
39636 * sunrpc/auth_none.c: Likewise.
39637 * sunrpc/auth_unix.c: Likewise.
39638 * sunrpc/authdes_prot.c: Likewise.
39639 * sunrpc/authuxprot.c: Likewise.
39640 * sunrpc/bindrsvprt.c: Likewise.
39641 * sunrpc/clnt_gen.c: Likewise.
39642 * sunrpc/clnt_perr.c: Likewise.
39643 * sunrpc/clnt_raw.c: Likewise.
39644 * sunrpc/clnt_simp.c: Likewise.
39645 * sunrpc/clnt_tcp.c: Likewise.
39646 * sunrpc/clnt_udp.c: Likewise.
39647 * sunrpc/clnt_unix.c: Likewise.
39648 * sunrpc/des_crypt.c: Likewise.
39649 * sunrpc/des_soft.c: Likewise.
39650 * sunrpc/get_myaddr.c: Likewise.
39651 * sunrpc/getrpcport.c: Likewise.
39652 * sunrpc/key_call.c: Likewise.
39653 * sunrpc/key_prot.c: Likewise.
39654 * sunrpc/openchild.c: Likewise.
39655 * sunrpc/pm_getmaps.c: Likewise.
39656 * sunrpc/pm_getport.c: Likewise.
39657 * sunrpc/pmap_clnt.c: Likewise.
39658 * sunrpc/pmap_prot.c: Likewise.
39659 * sunrpc/pmap_prot2.c: Likewise.
39660 * sunrpc/pmap_rmt.c: Likewise.
39661 * sunrpc/rpc/auth.h: Likewise.
39662 * sunrpc/rpc/auth_unix.h: Likewise.
39663 * sunrpc/rpc/clnt.h: Likewise.
39664 * sunrpc/rpc/des_crypt.h: Likewise.
39665 * sunrpc/rpc/key_prot.h: Likewise.
39666 * sunrpc/rpc/netdb.h: Likewise.
39667 * sunrpc/rpc/pmap_clnt.h: Likewise.
39668 * sunrpc/rpc/pmap_prot.h: Likewise.
39669 * sunrpc/rpc/pmap_rmt.h: Likewise.
39670 * sunrpc/rpc/rpc.h: Likewise.
39671 * sunrpc/rpc/rpc_des.h: Likewise.
39672 * sunrpc/rpc/rpc_msg.h: Likewise.
39673 * sunrpc/rpc/svc.h: Likewise.
39674 * sunrpc/rpc/svc_auth.h: Likewise.
39675 * sunrpc/rpc/types.h: Likewise.
39676 * sunrpc/rpc/xdr.h: Likewise.
39677 * sunrpc/rpc_clntout.c: Likewise.
39678 * sunrpc/rpc_cmsg.c: Likewise.
39679 * sunrpc/rpc_common.c: Likewise.
39680 * sunrpc/rpc_cout.c: Likewise.
39681 * sunrpc/rpc_dtable.c: Likewise.
39682 * sunrpc/rpc_hout.c: Likewise.
39683 * sunrpc/rpc_main.c: Likewise.
39684 * sunrpc/rpc_parse.c: Likewise.
39685 * sunrpc/rpc_parse.h: Likewise.
39686 * sunrpc/rpc_prot.c: Likewise.
39687 * sunrpc/rpc_sample.c: Likewise.
39688 * sunrpc/rpc_scan.c: Likewise.
39689 * sunrpc/rpc_scan.h: Likewise.
39690 * sunrpc/rpc_svcout.c: Likewise.
39691 * sunrpc/rpc_tblout.c: Likewise.
39692 * sunrpc/rpc_util.c: Likewise.
39693 * sunrpc/rpc_util.h: Likewise.
39694 * sunrpc/rpcinfo.c: Likewise.
39695 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39696 * sunrpc/rpcsvc/key_prot.x: Likewise.
39697 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39698 * sunrpc/rpcsvc/mount.x: Likewise.
39699 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39700 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39701 * sunrpc/rpcsvc/rex.x: Likewise.
39702 * sunrpc/rpcsvc/rstat.x: Likewise.
39703 * sunrpc/rpcsvc/rusers.x: Likewise.
39704 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39705 * sunrpc/rpcsvc/spray.x: Likewise.
39706 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39707 * sunrpc/rtime.c: Likewise.
39708 * sunrpc/svc.c: Likewise.
39709 * sunrpc/svc_auth.c: Likewise.
39710 * sunrpc/svc_authux.c: Likewise.
39711 * sunrpc/svc_raw.c: Likewise.
39712 * sunrpc/svc_run.c: Likewise.
39713 * sunrpc/svc_simple.c: Likewise.
39714 * sunrpc/svc_tcp.c: Likewise.
39715 * sunrpc/svc_udp.c: Likewise.
39716 * sunrpc/svc_unix.c: Likewise.
39717 * sunrpc/svcauth_des.c: Likewise.
39718 * sunrpc/xcrypt.c: Likewise.
39719 * sunrpc/xdr.c: Likewise.
39720 * sunrpc/xdr_array.c: Likewise.
39721 * sunrpc/xdr_float.c: Likewise.
39722 * sunrpc/xdr_mem.c: Likewise.
39723 * sunrpc/xdr_rec.c: Likewise.
39724 * sunrpc/xdr_ref.c: Likewise.
39725 * sunrpc/xdr_sizeof.c: Likewise.
39726 * sunrpc/xdr_stdio.c: Likewise.
39728 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39731 2010-08-19 Andreas Schwab <schwab@redhat.com>
39733 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39735 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39737 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39738 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39739 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39740 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39741 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39742 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39743 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39744 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39745 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39746 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39747 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39748 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39749 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39750 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39752 2010-07-26 Anton Blanchard <anton@samba.org>
39754 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39755 * malloc/arena.c (heap_trim): Likewise.
39757 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39759 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39761 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39762 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39764 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39766 * sysdeps/i386/elf/Makefile: New file.
39768 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39770 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39771 from fanotify_init.
39772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39775 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39777 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39779 * sysdeps/multiarch/strcmp.S: Likewise.
39781 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39783 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39784 strncase_l-nonascii.
39785 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39786 Add strncase_l-ssse3.
39787 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39788 * sysdeps/x86_64/strcmp.S: Likewise.
39789 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39790 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39791 * sysdeps/x86_64/strncase.S: New file.
39792 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39793 * sysdeps/x86_64/strncase_l.S: New file.
39794 * string/Makefile (strop-tests): Add strncasecmp.
39795 * string/test-strncasecmp.c: New file.
39797 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39800 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39801 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39803 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39805 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39807 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39809 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39810 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39811 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39813 2010-05-01 Alan Modra <amodra@gmail.com>
39815 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39816 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39817 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39818 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39819 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39820 tidying. Don't tail-call __sigjmp_save for static lib.
39821 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39823 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39824 (CALL_MCOUNT): Add eh info, and nop after bl.
39825 (TAIL_CALL_SYSCALL_ERROR): New macro.
39826 (PSEUDO_RET): Use it.
39827 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39828 Correct save location of integer regs and cr.
39829 (_dl_profile_resolve): Correct cr save location. Delete nops
39830 after bl when SHARED. Reduce cfi size a little by better
39831 placement of cfi directives.
39832 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39833 make a stack frame. Instead use parm save area as a temp.
39834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39835 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39837 Don't make a stack frame for parent, use parm save area.
39838 Increase child stack frame to 112 bytes. Don't save unused reg,
39839 and adjust reg usage. Set up cfi on error recovery and
39840 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39842 (__makecontext): Add dummy nop after jump to exit.
39843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39844 Use correct parm save area and cr save, reduce stack frame.
39845 Correct cfi for possible PSEUDO_RET frame setup.
39846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39847 Branch to local label emitted by PSEUDO_RET rather than
39850 2010-08-12 Andreas Schwab <schwab@redhat.com>
39853 * locale/programs/locale.c (print_assignment): New function.
39854 (show_locale_vars): Use it.
39856 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39858 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39860 (struct statfs64): Likewise.
39861 (_STATFS_F_FLAGS): Define.
39862 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39864 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39865 (ST_VALID): Define locally.
39866 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39867 __statvfs_getflags, use the provided value.
39868 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39869 __ASSUME_STATFS_F_FLAGS.
39871 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39873 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39874 Add sys/fanotify.h.
39875 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39876 fanotify_mask for GLIBC_2.13.
39877 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39878 fanotify_init and fanotify_mark.
39879 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39880 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39882 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39884 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39885 prlimit64 for GLIBC_2.13.
39886 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39891 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39892 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39893 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39896 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39899 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39900 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39902 * nss/Makefile: Add rules to build and run tst-nss-test1.
39903 * shlib-versions: Add entry for libnss_test1.
39904 * nss/nss_test1.c: New file.
39905 * nss/tst-nss-test1.c: New file.
39907 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39908 (__nss_configure_lookup): Set appropriate entry in
39909 __nss_configure_lookup to true.
39910 * nss/nsswitch.h: Define enum with indeces of databases in
39911 databases and __nss_database_custom arrays. Declare
39912 __nss_database_custom.
39913 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39914 to avoid using nscd when custom rules are installed.
39915 * nss/getXXbyYY_r.c: Likewise.
39916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39918 * nss/nss_files/files-parse.c: Whitespace fixes.
39920 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39923 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39924 * posix/fnmatch_loop.c: Likewise.
39926 2010-07-17 Andi Kleen <ak@linux.intel.com>
39928 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39929 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39930 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39931 * Versions.def [GLIBC_2.13]: Add.
39933 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39935 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39936 Also fail if tpwd after pwuid call is NULL.
39938 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39940 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39941 when converting to ms.
39943 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39945 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39946 EOPNOTSUPP errors with ENOTTY.
39947 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39948 EOPNOTSUPP errors with ENOTTY.
39950 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39952 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39953 Add strcasecmp_l-ssse3.
39954 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39956 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39957 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39958 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39960 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39962 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39964 * string/Makefile (strop-tests): Add strcasecmp.
39965 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39966 strcasecmp_l-nonascii.
39967 (gen-as-const-headers): Add locale-defines.sym.
39968 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39969 * sysdeps/x86_64/strcasecmp.S: New file.
39970 * sysdeps/x86_64/strcasecmp_l.S: New file.
39971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39972 * sysdeps/x86_64/locale-defines.sym: New file.
39973 * string/test-strcasecmp.c: New file.
39975 * string/test-strcasestr.c: Test both ends of the range of characters.
39976 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39978 2010-07-29 Roland McGrath <roland@redhat.com>
39981 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39983 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39985 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39988 2010-07-27 Andreas Schwab <schwab@redhat.com>
39990 * manual/memory.texi (Malloc Tunable Parameters): Document
39993 2010-07-26 Roland McGrath <roland@redhat.com>
39996 * configure.in (-fgnu89-inline check): Set and substitute
39997 gnu89_inline, not libc_cv_gnu89_inline.
39998 * configure: Regenerated.
39999 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40001 2010-07-26 Ulrich Drepper <drepper@redhat.com>
40003 * string/test-strnlen.c: New file.
40004 * string/Makefile (strop-tests): Add strnlen.
40005 * string/tester.c (test_strnlen): Add a few more test cases.
40006 * string/tst-strlen.c: Better error reporting.
40008 * sysdeps/x86_64/strnlen.S: New file.
40010 2010-07-24 Ulrich Drepper <drepper@redhat.com>
40012 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40013 lower-latency instructions.
40015 2010-07-23 Ulrich Drepper <drepper@redhat.com>
40017 * string/test-strcasestr.c: New file.
40018 * string/test-strstr.c: New file.
40019 * string/Makefile (strop-tests): Add strstr and strcasestr.
40020 * string/str-two-way.h: Don't undefine MAX.
40021 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40023 2010-07-21 Andreas Schwab <schwab@redhat.com>
40025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40026 strcasestr-nonascii.
40027 (CFLAGS-strcasestr-nonascii.c): Define.
40028 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40029 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40030 Remove unused attribute.
40032 2010-07-20 Roland McGrath <roland@redhat.com>
40034 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40035 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40036 ld.so.cache was broken. With it, there is no way to disable dsocaps
40037 like LD_HWCAP_MASK can disable hwcaps.
40039 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40041 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40043 2010-07-16 Ulrich Drepper <drepper@redhat.com>
40045 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40046 call in strcasestr.
40047 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40048 __strcasestr_sse42_nonascii.
40049 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40050 strcasestr-nonascii.c.
40051 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40053 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
40055 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40056 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40057 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40058 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40060 2010-07-09 Ulrich Drepper <drepper@redhat.com>
40062 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40065 2010-07-06 Andreas Schwab <schwab@redhat.com>
40068 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40071 2010-07-06 Ulrich Drepper <drepper@redhat.com>
40073 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40074 _PC_PIPE_BUF using F_GETPIPE_SZ.
40076 2010-07-05 Roland McGrath <roland@redhat.com>
40078 * manual/arith.texi (Rounding Functions): Fix rint description
40079 implicit in round description.
40081 2010-07-02 Ulrich Drepper <drepper@redhat.com>
40083 * elf/Makefile: Fix linking for a few tests to make recent linker
40086 2010-06-30 Andreas Schwab <schwab@redhat.com>
40088 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40089 $(common-objpfx)libc_nonshared.a.
40091 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
40093 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40094 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40095 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40096 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40097 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40098 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40099 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40100 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40115 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40116 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40117 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40118 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40119 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40120 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40121 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40122 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40123 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40124 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40125 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40126 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40142 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40144 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40145 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40146 * string/memmove.c (memmove): Renamed to ...
40147 (MEMMOVE): ...this. Default to memmove.
40148 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40149 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40152 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40153 mempcpy-ssse3-back memmove-ssse3-back.
40154 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40155 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40156 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40157 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40158 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40159 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40160 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40161 * sysdeps/x86_64/multiarch/memmove.c: New file.
40162 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40163 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40164 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40165 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40166 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40167 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40169 (index_Fast_Copy_Backward): Define.
40170 (HAS_ARCH_FEATURE): Define.
40171 (HAS_FAST_REP_STRING): Define.
40172 (HAS_FAST_COPY_BACKWARD): Define.
40174 2010-06-21 Andreas Schwab <schwab@redhat.com>
40176 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40177 Restore proper fallback handling.
40179 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40182 * posix/group_member.c (__group_member): Correct checking loop.
40184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40185 OOM in getpwuid_r correctly. Return error number when the caller
40186 should return, otherwise -1.
40187 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40188 call returning > 0 value.
40189 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40191 2010-06-07 Andreas Schwab <schwab@redhat.com>
40193 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40194 libc_nonshared.a from targets in modules-names.
40196 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40198 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40201 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40203 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40204 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40206 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40208 2010-06-02 Andreas Schwab <schwab@redhat.com>
40210 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40212 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40214 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40220 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40223 2010-06-14 Roland McGrath <roland@redhat.com>
40225 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40227 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40229 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40230 __REDIRECT followed by __THROW.
40231 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40232 * posix/getopt.h (getopt): Likewise.
40234 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40236 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40237 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40238 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40240 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40241 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40243 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40245 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40247 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40251 Properly check family and model.
40253 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40255 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40257 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40259 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40261 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40263 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40266 2010-05-19 Andreas Schwab <schwab@redhat.com>
40268 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40271 2010-05-21 Andreas Schwab <schwab@redhat.com>
40273 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40274 and internal_recvmmsg.
40275 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40276 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40277 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40278 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40280 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40281 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40282 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40284 2010-05-20 Andreas Schwab <schwab@redhat.com>
40286 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40288 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40290 POWER7 optimizations.
40291 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40292 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40294 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40296 * version.h: Update for 2.13 development version.
40298 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40300 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40301 exceptions. Return 0.
40303 2010-05-07 Roland McGrath <roland@redhat.com>
40305 * elf/ldconfig.c (main): Add a const.
40307 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40309 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40310 (args_options): Add no-idn option.
40311 (ahosts_keys_int): Add idn_flags to ai_flags.
40312 (parse_option): Handle 'i' option to clear idn_flags.
40314 * malloc/malloc.c (_int_free): Possible race in the most recently
40315 added check. Only act on the data if no current modification
40318 See ChangeLog.17 for earlier changes.